Speech/voiceband data discriminator

Abstract: Input signals are processed to generate a plurality of signals having different features according to whether the input signals are speech signals or voiceband data signals, and these plural signals are entered into a neural network to be determined whether they have features closer to those of speech signals or of voiceband data signals. The classifying function of the neural network is achieved by inputting samples of speech signals and voiceband data signals and learning how to obtain correct classification results.

Description: BACKGROUND OF THE INVENTION The present invention relates to a speech/voiceband data discriminator for determining whether a given digital input signal is a speech signal or a voiceband data signal. With a view to effective utilization of long-distance lines for satellite communication and submarine cable communication, high efficiency digital circuit multiplication equipment (DCME) combining high efficiency speech coding (for instance ADPCM) and digital speech insertion techniques has been developed. This equipment requires different bit rates for the encoding of speech signals and that of voiceband data signals. For example, while speech signals are encoded at 32 kbps ADPCM, encoding of voiceband data signals, especially high speed voiceband data signals, at this bit rate would invite a data error rate higher than the permissible limit. In order to keep the data error ratio within the permissible limit, voiceband data signals should be encoded at a higher rate than speech signals are, for instance at 40 kbps ADPCM. Therefore, the aforementioned high efficiency DCME requires a speech/voiceband data discriminator in order to distinguish between speech and voiceband data signals among time division multiplexed signals and lead them to their respective encoding circuits. Such a speech/voiceband data discriminator is disclosed, for example, by S. Casale et al. in IEEE GLOBECOM'88 (Global Telecommunications Conference & Exhibition, 1988), Conference Record Vol. III, pp. 1419-1427. As illustrated in Fig. 2 of this article, the speech/voiceband data discriminator according to the prior art computes short time energy and zero crossing count for every one of three different signals - a given signal, a high frequency component resulting from the passing of this original signal by a high pass filter and a low frequency resulting from the passing of the original signal by a low pass filter - and the zero crossing counts of differential signals, and decides whether the given signal is a speech signal or a voiceband data signal by comparing the ranges of distribution of the computed results with the corresponding thresholds. Each of the thresholds, which this decision refers to, is set on the basis of the statistical analysis of sampled data collected in advance for speech and voiceband data signals. The final discrimination is made as to whether the input signal is a voice signal or a voiceband data signal with reference to the individual results of decision. The conventional speech/voiceband data discriminator referred to above is so composed that the the computed data of short time energy and zero crossing count are entered into separate decision circuits, whose decision results are further entered into a final decision circuit. Since the decision results of each decision circuit are denominated in one or the other of two levels, i.e. either "0" or "1", much of the information indicating correlations between short time energy and zero crossing count is lost. Accordingly, there can be obtained no sufficient quantity of information required for accurate discrimination between speech and voiceband data signals on various lines differing from each other in signal-to-noise ratio, resulting in a low discrimination ratio relative to the quantity of data processed. Moreover, a vast volume of experimental data and a vast number of analyzing manhours are required to so set the threshold of each decision circuit as to permit the final decision to be made without inconsistency from the decision results of individual decision circuits. In an article entitled Fast on-line Speech/Voiceband - Data Discrimination for Statistical Multiplexing of Data with Telephone Conversations, by Christian Roberge and Jean-Pierre Adoul, which was published in the IEEE Transactions on Communications, Vol. Com-34, No. 8, August 1986, there is described an approach to the design of a speech/data discriminator with the speed and accuracy required for statistical multiplexing of speech and high-speed baseband data on a single telephone line. The article mentions, as a possible application for such a system, the transmission of both the speech and diagnostic routines over the same line during the installation of a microcomputer. An object of the present invention is to provide a speech/voiceband data discriminator with a high discriminating probability. Another object of the invention is to provide a speech/voiceband data discriminator capable of automatically setting parameters which give the conditions for signal discrimination. A speech/voiceband data discriminator which will be described below processes an input signal to generate a plurality of signals having different characteristics according to whether the input signal is a speech signal or a voiceband data signal, and enters these processed signals into a neural network, whose regional classifying function is utilized to identify the input signal as a speech signal or a voiceband data signal. Suitable as the signals having different characteristics according to the type of input signal are what indicate the auto-correlation of input signals, such as the short time auto-correlation coefficient or the prediction coefficient of an adaptive predictor. As the neural network, a layered neural network is suitable because of its small circuit scale and learning ease. Since signals indicating the auto-correlation of input signals have distinctly different characteristics depending on whether the input signals are speech or voiceband data signals and, moreover, are hardly susceptible to the effects of white noise, they can be classified by a neutral network to give a high enough discrimination probability for practical purposes. Furthermore, the weight of the neural network, which is a condition for signal discrimination, is automatically set during the learning process. Moreover, where there are used plural sets of signals having characteristics differing with the type of input signal, for instance where the short time energy and zero crossing count of the input signals are used, those plural sets of signals can be entered into the same neural network to classify them including the relationships among the plural sets as well. Therefore, a higher discrimination ratio can be achieved than is provided by a conventional discriminator, which performs discrimination on a set-by-set basis. The extent of protection to be conferred hereby is to be determined by the terms of the appended claims, interpreted with the aid of the following description and drawings, which disclose, by way of example, the invention which is characterised in the claims. Arrangements which are helpful in understanding the invention, as well as arrangements which illustrate the invention by way of example, will now be described with reference to the accompanying drawings, in which: Figure 1 is a block schematic circuit diagram; Figures 2 (a) and (b) are block schematic circuit diagrams illustrating the configuration of a neural network; Figure 3 is a block schematic circuit diagram illustrating part of an embodiment of the invention; Figure 4 is a block schematic circuit diagram of a further embodiment of the invention; Figure 5 is a block schematic circuit diagram of yet another embodiment of the invention; Figure 6 is a block schematic circuit diagram illustrating the configuration of the noise power level holding circuit in Figure 5; Figures 7 (a) and (b) are block schematic circuit diagrams of a still further embodiment of the invention; and Figure 8 is a block schematic circuit diagram of yet a further embodiment of the invention. Referring to Figure 1, a circuit arrangement is described in which there are connected in cascade a short time auto-correlation coefficient calculator 30, a neural network 6 and a decision circuit 31. In this circuit, a digital signal entered from an input terminal 1 is inputted to the short time auto-correlation coefficient calculator 30, which uses the time series of input digital signals {x(n): n is an integer} and a square window having a time window width W to calculate the auto-correlation coefficient by the following equation: (k = 0, 1, 2, ...., W-1) This short time auto-correlation coefficient is normalized with R n (0), which is the power level of the input digital signal, to be cleared of the influence of the input digital signal amplitude, and becomes <R n (k)>. < R n (k) > = R n (k) R n (0) The normalized short time auto-correlation coefficient is entered into the neural network 6. FIGS. 2 (a) and (b) are block diagrams typically illustrating the connecting configuration and constituent elements, respectively, of the neural network 6 in FIG. 1. Thus, FIG. 2 (a) shows the neural network having a layered structure comprising an input layer 60, an intermediate layer 61 and an output layer 62. The input layer 60 has four units 70; the intermediate layer 61, two units 71; and the output layer 62, one unit 72. The units 70, for instance, receive data x₁, x₂, x₃ and x₄ from the input ends as illustrated in FIG. 2 (b) and, after giving them weights w₁, w₂, w₃ and w₄ with multipliers 81, 82, 83 and 84, adds them into a total sum u: This sum, after a function f is brought to act on it with a function generator 86, is supplied as output. As the function f, a differentiable sigmoid function, f(u) = 1/(1+ e -u ) is used, and this value is made the output data of the units 70. The units 71 and 72 in FIG. 2 (a) similarly generate output data resulting from the total sums of their respective weighted input data on which a sigmoid function is brought to act. FIG. 2 (a) illustrates an example in which a layered neural network is used, having a configuration in which the input layer 60, the intermediate layer 61 and the output layer 62, none of which has a feedback connection from the output to the input side, are connected in cascade. The layered neural network 6 learns the regional classifying function in a back propagation algorithm. Thus input data are fed to each of the units 70 of the input layer 60, converted by each unit 70, and conveyed to the intermediate layer 61, and the resultant output is finally supplied from the output layer 62. This actual output value and the desirable output value are compared, and the weights w i are corrected step by step so as to minimize the difference between the two output values. In this correcting process, from the mth corrected value w i (m) of the weight w i on an input x i to a given unit, the (m+1)th corrected value w i (m+1) is computed by the following equations (5) to (7). w i (m+1) = w i (m) + ηδx ′ i where x ′ / i is the input value to be multiplied by the weight w i in the unit, and η is the learning coefficient If the unit is within the output layer, δ = v(1 - v) (d - v) where v is the actual output value, and d is the desirable output value. If the unit is intermediate layer, where the total sum k covers all the units in the layers downstream from this particular unit, and x ′ / j is the output value of this unit. The foregoing algorithm gradually so corrects the weights w i as to minimize the average squared error between the actual output value v and the desirable output value d. In the learning procedure, after initial setting each weight in the neural network 6 temporarily, sampled data of short time auto-correlation functions (normalized) of many speech and voiceband data signals are successively entered into the neural network 6 to obtain output data. The desired output value has one of the two levels: "1" if a speech signal is entered or "0" if a voiceband data signal is entered. After the output data of the neural data 6 has been obtained for each sampled data unit, the correction of the weights by equations (5) to (7) is executed, beginning with the output layer 62 and proceeding toward the input layer 60. This correction is repeated until the minimal point of the aforementioned average squared error is reached. After the completion of learning in the above described back propagation process, the neural network 6 operates using the learned weights. Short time auto-correlation coefficients entered during this operation are classified by the regional classifying function of the neural network 6 into short time auto-correlation coefficients in the speech signal region and ones in the voiceband data signal region. The output of the neural network 6, even if it has learned, for instance, to output "1" for a speech signal and "0" for a voiceband data signal, can take consecutive values between "0" and "1" because the response function of the unit 72 is a sigmoid function. For this reason, when compared with a predetermined threshold (0.5 for example) by the decision circuit 31, an input signal is determined to be a speech signal if the output is not less than the threshold or a voiceband data signal if it is less than the threshold, and the result of discrimination is supplied from an output terminal 8. FIG. 3 is a block diagram of an embodiment of the present invention, which illustrates a configuration in which an integrator comprising an adder 32 and a multiplier 33, which multiplies the output data of the adder 32 by a constant to give an input data to the adder 32, is additionally connected after the decision circuit 31 of the first embodiment (see FIG. 1), and another decision circuit 34 is further additionally connected after the integrator. The addition of this integrator makes it possible to smooth and remove sporadic discrimination errors, prevent the sporadic instability of discrimination results in a short period of time and thereby improve the discrimination probability. Next will be cited an example of experimental data. This experiment was conducted with the circuit of FIG. 3 (involving that of FIG. 1) realized with a general purpose digital signal processor (DSP) integrated circuit (µPD77C25, a product of NEC Corp., Tokyo, Japan). The short time auto-correlation coefficient calculator 30 calculates the values of functions with the time window width W = 64 and delays k = 0 to 4, and enters normalized values R(1) to R(4) into the neural network 6. The neural network 6 used had a two-layered configuration having three units 70 in its input layer 60 and one unit 72 in its output layer 62, but had no intermediate layer 61. Learning by the neural network 6 was accomplished by off-line simulation on a minicomputer. The learning had as its objects speech signals from two male and one female Japanese adults and voiceband data signals of 2400 bps (CCITT V.26 bis), 4800 bps (V.27 bis) and 9600 bps (V.29), and the neural network 6 was caused to so learn by the back propagation method as to give an output of "1" when a speech signal was entered or one of "0" when a voiceband data signal was entered. The weight coefficients obtained by the learning were set into the neural network 6 for discrimination, and the discrimination probability listed in Table 1 were achieved. (Approximately 2 seconds each) In Table 1, the discrimination Probability (A) refers to the experimental data with the embodiment of FIG. 1, and the discrimination probability (B), those with the embodiment of FIG. 3. Speech signals 1 ○ to 3 ○ and voiceband data signals 9 ○ to are learned input signals, and the remaining speech signals 4 ○ to 7 ○ and voiceband data signals 8 ○ and 9 ○, unlearned input signals. As hitherto described, the first and second preferred embodiments are capable of classifying the features of input digital signals by a few short time auto-correlation coefficients concerning delays, and achieve sufficiently high discrimination probability for practical purposes. Along with that, the required number of units in the neural network can be reduced, and the network can automatically accomplish learning in a shorter period of time. As regards the neural network 6, although a layered one is caused to learn by the back propagation method in the above described embodiments, this is not the only choice. An interlinked type, involving feedback links for the connection of units, can as well be caused to learn by a method proposed by J.J. Hopfield or another by G.E. Hinton et al. These learning methods are described in the following pieces of literature. Hopfield, J.J.: Neural network and physical systems with emergent collective computational abilities, Proc. Natl. Acad. Sci. USA, vol. 79, 1982. Hopfield, J.K.: Neurons with graded response have collective computational properties like those of two-state neurons, Proc. Natl. Acad. Sci. USA, vol. 81, 1984. Ackley, D.H. Hinton, G.E. and Sejnowski, T.J.: A Learning Algorithm for Boltzmann Machines, Cognitive Sci., 9, 1985. FIG. 4 is a block diagram of a further embodiment of the present invention, which illustrates a configuration in which an integrator comprising an adder 32 and a multiplier 33 is connected immediately after the neural network 6 of the arrangement shown in FIG. 1, and a decision circuit 34 is additionally connected, which determines whether a given input signal is a speech signal or a voiceband data signal according to whether the output data value of the integrator exceeds a threshold or not. This configuration, equivalent to the embodiment of FIG. 3 deprived of the decision circuit 31, can achieve steady discrimination results by smoothening the sporadic instability of the function values outputted by the neural network 6 as in the case illustrated in FIG. 2. In the circuits of FIGS. 1, 3 and 4, when the background white noise contained in input digital signals is too great to ignore, the short time auto-correlation coefficient R(0) for a delay of k = 0 increases by the power level of the background white noise. On the other hand, short time auto-correlation coefficients R(n) (n > 0) for other delays than k = 0 are hardly affected by the background white noise. As a result, the short time auto-correlation coefficients <R(n)> (n > 0) normalized with reference to R(0) take smaller values than when no noise is involved, and thereby become more likely to commit signal discrimination errors. FIG. 5 is a block diagram of yet another embodiment of the present invention, which is supplemented with means to eliminate such an adverse effect of background white noise. The circuit shown in this diagram has a configuration in which the circuit of FIG. 1 is augmented with a noise power level holding circuit 13, which receives an input digital signal and R n (0) provided by a short time auto-correlation coefficient calculator 16, and holds the power level of input digital signals in their silent part. The noise power level holding circuit 13, as shown in FIG. 6, consists of an activity detector 13A for detecting the sound part of input digital signals, a delay circuit 13B for delaying the entered power level of the input signal by a sampling time corresponding to the detection time of the activity detector 13A, and a holding circuit 13C for holding the signal power level when the activity detector 13A has given an output indicating silence. Now will be described the operation of this embodiment with reference to FIGS. 5 and 6. A digital signal entered from the input terminal 1 is inputted to the correlation coefficient calculator 12 and the noise power level holding circuit 13 of the short time auto-correlation coefficient calculator 16. The correlation coefficient calculator 12, as in the case of the circuit shown in FIG. 1, calculates a short time auto-correlation coefficient by equation (1) cited above. In the noise power level holding circuit 13, the input digital signal is entered into the activity detector 13A, which determines whether the entered digital signal has sound or is silent. The delay circuit 13B compensates for any delay in detection by the activity detector 13A by delaying the input signal, i.e. the power level R n (0), by a sampling time corresponding to the delay time before outputting the signal. The holding circuit 13C holds the output value of the delay circuit 13B at the time of a change in the output of the activity detector 13A from silence to a sounding state. Thus the noise power level holding circuit 13 receives as its inputs the input digital signal and the short time auto-correlation coefficient R n (O) (input signal power level) having zero delay, supplied by the correlation coefficient calculator 12, holds and outputs the power level of background white noise in the absence of input digital signal. Into a normalizer 14 are entered the output data of the correlation coefficient calculator 12 and the noise power level holding circuit 13. The input signal power level R n (0) here includes the power level of background white noise added to it, and this power level of background white noise is deemed constant irrespective of the presence or absence of signal. Therefore, the power level of background white level is that of the input signal in the absence of input digital signal, and it is outputted from the noise power level holding circuit 13. In the normalizer 14, the output level of the noise power level holding circuit 13 is subtracted from the input signal power level R n (0), which is also cleared of the effect of background white noise, resulting in a short time auto-correlation coefficient R′ n (0) having zero delay. R′ n (0) = R n (0) - NOISE where NOISE is the output level of the noise power level holding circuit 13. Normalization by the normalizer 14 is accomplished by the following equation (9) using the result of equation (8). R′ n (k) = R n (k) R′ n (0) The short time auto-correlation coefficient obtained by equation (9) is immune from the effect of background white noise because it is normalized with reference to the short time auto-correlation coefficient R′ n (0) cleared of the effect of background white noise. This normalized short time auto-correlation coefficient is entered into the neural network 6, and the entered short time auto-correlation coefficient is ascribed by the regional classifying function of the neural network 6 to either the speech signal region or the voiceband data region. The output of the neural network 6, even if it has learned, for instance, to output "1" for a speech signal and "0" for a voiceband data signal, can take consecutive values between "0" and "1" because the response functions of the neuron units are sigmoid functions. For this reason, when compared with a predetermined threshold (0.5 for example) by the decision circuit 31, an input signal is determined to be a speech signal if the output is not less than the threshold or a voiceband data signal if it is less than the threshold, and the result of discrimination is supplied from the output terminal 8. Thus this embodiment provides short time auto-correlation coefficients R′ n (k) , unaffected by background white noise, by normalizing the short time auto-correlation coefficients R n (0) with reference to a value from which the signal power level of background white noise has been subtracted. As a result, the probability of discrimination between speech and voiceband data signals does not deteriorate even in an environment where much background white noise is present. FIGS. 7 (a) and (b) are block diagrams illustrating a still further embodiment of the present invention. Referring to FIG. 7(a), a digital signal entered from the input terminal 1 is inputted to an adaptive predictor 21 and a subtractor 22. The adaptive predictor 21 which may be, for instance, one for use in ADPCM receives from the subtractor 22 an error signal which is the difference between a predictive signal and the input digital signal, and so corrects a prediction coefficient 24 as to bring the error signal close to zero. The adaptive predictor 21, as shown in FIG. 7(b), multiplies the tap outputs of a tapped delay circuit consisting of m (m is an integer) delayers D₁, D₂, ..., D m by coefficients a₁, a₂, ..., a m provided by coefficient generators A₁, A₂, ..., A m with multipliers M₁, M₂, ..., M m , adds the respective results of multiplication with an adder S, and supplies the resultant sum as a predictive signal. Each of the coefficients a₁ to a m , adaptively corrected so as to bring the error signal received from the subtractor 22 close to zero, is supplied to the multipliers M₁ to M m and at the same time to the neural network 6 as the prediction coefficient 24. This prediction coefficient differs in feature depending on whether the input digital signal is a speech signal or a voiceband data signal, and moreover is dependent on neither the signal-to-noise ratio nor signal amplitude of the input digital signal. It is classified as either a speech signal or a voiceband data signal by the neural network 6 having completed learning, and further identified by the decision circuit 31, which compares it with a threshold. FIG. 8 is a block diagram of yet a further embodiment of the present invention. Referring to the diagram, an input digital signal entered from the input terminal 1 is inputted to a low pass filter 11, a high pass filter 12, a short time energy calculator 13 and a zero crossing rate claculator 14. The short time energy calculator 13 receives the input signal and the output signals of the low pass filter 11 and the high pass filter 12, and calculates the short time energy of each signal. The zero crossing rate calculator 14 receives the input signal and the output signals of the low pass filter 11 and the high pass filter 12, and calculates the zero crossing rate of each and that of the signal of difference between each received signal and a signal one sample before. Into the neural network 6 are entered in parallel the output signals of a short time energy calculator 13 and a zero crossing rate calculator 14. These input signals to the neural network 6, like those used in any conventional speech/voiceband data discriminator, have different features depending on whether they pertain to speech signals or voiceband data signals. While short time energies and zero crossing rates are supplied to separate decision circuits for signal discrimination in the conventional discriminator, both are fed in parallel to the neural network 6 in this preferred embodiment of the invention to be classified into different signal regions. Therefore, unlike in the conventional discriminator where signals cannot be distinguished according to correlations between short time energies and zero crossing rates, this embodiment is capable of integrated signal discrimination taking account of their correlations as well, resulting in a higher discrimination probability than the conventional circuit. Although the present invention has been described with reference to specific embodiments, this description is not meant to be construed in a limiting sense. Various modifications of the disclosed embodiments, as well as other embodiments of the invention, will become apparent to persons skilled in the art upon reference to the description of the invention. It is therefore contemplated that the appended claims will cover any such modifications or embodiments as fall within the true scope of the invention.

Claims: A speech/voiceband data discriminator incorporating a signal processor for processing input signals to generate a plurality of signals, which include signals indicating auto-correlation of input signals and signals indicating short time energy and zero crossing of the input signals, having characteristics which differ according to whether the input signals are speech signals or voiceband data signals, a decision circuit (34) responsive to the functional value data for deciding, based on functional value data, whether the input signals are speech signals or voiceband data signals, and for supplying signals to indicate the decision, characterised by the signal processor including a layered type neural network (6) responsive to the plurality of signals for generating functional value data to indicate whether the input signals have features close to speech signals or to voiceband signals, and by the decision circuit (34) including an integrator (32) (33) for smoothening the functional value data and means for determining whether the smoothened data exceeds a predetermined threshold or not and for outputting a signal accordingly to indicate whether the input signals are speech signals or voiceband data signals. A speech/voiceband data discriminator, as claimed in claim 1, wherein the signal processor has a correlation coefficient calculator (16) for calculating the short time auto-correlation coefficients of the input signals, a noise power level holding circuit (13) for detecting the silent part of the input signals and holding the value of the short time auto-correlation coefficient corresponding to a delay of zero at the time of detecting the silent part, and normalizer (14) for sending out a plurality of signals indicating normalised coefficient values obtained by dividing the short time auto-correlation coefficients not corresponding to a delay of zero by a value obtained by subtracting the value held by the noise power level holding circuit from the short time auto-correlation coefficient corresponding to a delay of zero. A speech/voiceband data discriminator, as claimed in claim 2, wherein the noise power level holding circuit (13) includes an activity detector (13A) for detecting the silent part of the input signals, a delay circuit (13B) for delaying the short time auto-correlation coefficient corresponding to a delay of zero by a sampling time corresponding to the detection time of the activity detector (13A), and a holding circuit (13C) for holding and outputting the output signal of the delay circuit (13B) when the detection result of the activity detector (13A) indicates the silent part. A speech/voiceband data discriminator, as claimed in claim 1, wherein the signal processor includes an adaptive predictor (21) for so adaptively correcting prediction coefficients and generating predictive signals as to bring the error between each of the input signals and the corresponding one of the predictive signals close to zero, and for sending to the neural network (6) a plurality of signals indicating the values of the predictive signals.

Inventors: AIKOH SHINICHI C O NEC CORPORA, NISHITANI TAKAO C O NEC CORPOR, SHINTA MINORU C O NEC CORPORAT, AIKOH, SHINICHI, C/O NEC CORPORATION, NISHITANI, TAKAO, C/O NEC CORPORATION, SHINTA, MINORU, C/O NEC CORPORATION
Applicants: NIPPON ELECTRIC CO, NEC CORPORATION
Application year: 1990
Main classification: G10L3
IPC codes: G10L15, H04J3, G10L11, H04M11