METHOD AND ARRANGEMENT FOR IMPLEMENTING CONVOLUTIONAL DECODING

Abstract: The invention relates to a method and arrangement for advantageously decoding and channel correcting a convolutionally encoded signal received over a transmission path. The signal comprises code words and the arrangement comprises a neural network comprising a set of neurons which comprise a set of inputs and an output. The received code words (400) and at least some of the output signals (402) of the neural network neurons are connected to the inputs of the neurons, and the neurons comprise means (404) for multiplying at least some of the neuron inputs prior to combining means (406). The arrangement also comprises means (123) for estimating the transmission channel. Further, estimated channel data (400) is connected to the inputs of the neurons and a predetermined neuron is arranged to give an estimate of the channel-corrected and decoded symbol in its output signal.

Description: METHOD AND ARRANGEMENT FOR IMPLEMENTING CONVOLUTIONAL DECODING FIELD OF THE INVENTION The invention relates to a method and an arrangement for decoding and channel correcting a convolutionally encoded signal in a receiver, by means of a feedback neural network, said signal being received over a transmission path. BACKGROUND OF THE INVENTION In telecommunication connections, the transmission path used for transmitting signals is known to cause interference to telecommunication. This occurs regardless of the physical form of the transmission path, i.e. whether the transmission path is a radio link, an optical fibre or a copper cable. Particularly in telecommunications over a radio path there are frequently situations where the quality of the transmission path varies from one occasion to another and also during a connection. Radio path fading is a typical phenomenon that causes changes in a transmission channel. Other simultaneous connections may also cause interferences and they can vary as a function of time and place. In a typical radio telecommunication environment the signals be- tween a transmitter and a receiver propagate on a plurality of routes. This multipath propagation mainly results from signal reflections from surrounding surfaces. The signals that propagated via different routes reach the receiver at different times due to different transit delays. Various methods have been developed in order to compensate the interference caused by this multipath propagation. In order to reduce the effects of interference caused by the transmission path, a digital signal is encoded so as to make the transmission connection more reliable. Thus the errors caused by the interference in the transmitted signal can be detected and, depending on the encoding method used, also corrected without retransmission. Conventional encoding methods used in digital telecommunication include, for instance, block coding and convolutional coding. In block coding the bits to be encoded are grouped into blocks at the end of which are added parity bits, by means of which the correctness of the bits of the preceding block can be checked. In the receiver, the errors caused by multipath propagation are typi- cally first corrected, for instance, by a linear transversal corrector and thereafter the convolutional code is decoded. The efficiency of convolutional coding depends on the code rate and constraint length used. A large constraint length enables good error cor- rection capability, but on the other hand, decoding by known methods is then very complicated. In general, convolutional coding is decoded by using a Viterbi algorithm that has nearly optimal performance. However, the Viterbi algorithm has a drawback that its complexity increases exponentially as the constraint length increases. This restricts the constraint lengths available. Another known decoding method is sequential decoding that is described in greater detail in Digital Communications, J.G. Proakis, 3rd edition, pp. 500-503. One drawback of this algorithm is that the decoding delay does not remain constant but varies. Yet another known decoding method is a so-called stack algorithm that is described in greater detail in the above-mentioned publication Digital Communications, J.G. Proakis, 3rd edition, pp. 503-506. The performance of this algorithm is not so good as that of the Viterbi algorithm. Of the known methods, the Viterbi algorithm has the best perform- ance for decoding the convolutional code, but its implementation has turned out to be extremely difficult in practice as the constraint length increases. The difficult implementation of the complicated Viterbi algorithm by circuitry has restricted the constraint lengths available for use. A separate channel corrector and decoder are a suboptimal solu- tion. Use of channel data, in particular within the Viterbi algorithm when computing the metrics, leads to increased complexity and the implementation of practical applications is impossible. BRIEF DESCRIPTION OF THE INVENTION The object of the invention is to provide a method and an arrange- ment implementing the method such that the above-mentioned drawbacks can be solved. This is achieved by a method of the invention for decoding a con- volutionally encoded signal received over a transmission path, which signal comprises code words and in which method a transmission channel is estimated, decoding is carried out by means of an artificial neural network, the neural network comprising a set of neurons which comprise a set of inputs and an output, the received code word set is conducted to the inputs of the neuron, at least some of the inputs of the neuron are multiplied, after multiplication some of the inputs of the neuron are combined, some of the output signals of the neural network neurons are fed back to the inputs of each neuron, initial values of the neurons are set and the network is allowed to stabilize. Further, in the method of the invention the multiplication of the neuron inputs depends on the convolutional code used in signal encoding and on the estimated channel and on the fact that an estimate of the decoded and channel-corrected symbol is conducted from the output signal of a predetermined neuron to the output of the network after the network has reached a stabilized state, the set of code words in the shift register is updated and the above-described four last steps are repeated until the desired number of code words are decoded. The invention also relates to an arrangement for decoding and channel correcting a convolutionally encoded signal received over a transmis- sion path, the signal comprising code words and the arrangement comprising a neural network which comprises a set of neurons which comprise a set of inputs and an output, the received code words being applied to the inputs of said neurons and to at least some of the output signals of the neural network neurons, the neurons comprising means for multiplying at least some of the inputs of the neuron prior to combining means, the arrangement comprising means for estimating the transmission channel. Further in the arrangement of the invention, estimated channel data is applied to the inputs of the neurons, and a predetermined neuron is arranged to give an estimate of the channel- corrected and decoded symbol in its output signal. The preferred embodiments of the invention are disclosed in the dependent claims. In the solution of the invention, convolutional code decoding and channel correction are performed by means of a feedback neural network. Several advantages are achieved with the solution of the invention. Perform- ance that is close to that of the Viterbi algorithm is achieved with the solution of the invention by means of considerably simpler circuitry. In the solution of the invention, equally complicated circuitry permits a larger constraint length and thus improved error correction over the Viterbi algorithm. The neural network of the invention can be readily constructed by semiconductor technology, since the neurons of the neural network are very similar to one another in structure, only the input couplings vary. Conse- quently, to design and implement even a large network does not involve a great amount of work. The solution can also be advantageously implemented as a VLSI circuit, which makes it fast. BRIEF DESCRIPTION OF THE DRAWINGS In the following the invention will be described in greater detail in connection with preferred embodiments with reference to the accompanying drawings, wherein Figure 1 illustrates an example of a telecommunications system where the solution of the invention can be applied, Figure 2 shows an example of a neuron designed by means of the method of the invention, Figure 3 shows an example of couplings of the neural network neuron designed by means of the method of the invention, Figure 4 illustrates an example of the implementation of the neural network neuron of the invention, Figures 5a and 5b illustrate an implementation example of a neural network of the invention, Figure 6 illustrates an example where decoding is performed by means of a plurality of parallel neural networks. DETAILED DESCRIPTION OF THE INVENTION The solution of the invention can be applied in any digital data transmission system where a signal to be transmitted is encoded by convolutional coding. Examples of possible systems include cellular radio systems, radio links, wired networks or optical networks. Figure 1 illustrates an example of a telecommunications system according to the invention. The figure shows a transmitter 100, a signal transmission path 102 and a receiver 104. The operations of the invention are implemented in the receiver. The signal transmission path can be a radio path, a copper cable or an optical fibre, for instance. In the transmitter, a data source 106 generates a signal 108 composed of bits. An error correcting code can be added to the data source signal 108 by a known FEC (Forward Error Correcting) method, if necessary. This is not shown in the figure. The signal 108 is applied to an encoder 110 where convolutional coding is effected with desired parameters (constraint length and code rate). The encoder can have a prior art structure. The encoded signal can be understood as code words whose length depends on the code used. The encoded signal is applied to a modulator 112 where the desired modulation is performed. The modulated signal is further applied to output stages 114 and a channel adapter 116 of the transmitter which are system-dependent components. The output stage 114 can be a radio frequency amplifier and a filter, for instance. The channel adapter 116 can be an antenna or an electri- cal/opto-converter, for instance. A transmitter output signal 118 propagates through the transmission path 102, i.e. the channel, to the receiver 104. The receiver comprises a channel adapter 120 and a receiver pre-stage 122 which are system- dependent components. The output stage 122 can comprise a radio frequency amplifier and a filter, for instance. The channel adapter 120 can comprise an antenna or an opto/electrical converter, for instance. The signal is applied from the pre-stage 122 further to a channel estimator 123 where channel estimation is performed by using known methods. From the channel estimator, the signal is applied to a demodulator 124 from which is typically received a baseband bit stream 126 which can be complex and comprise separate I- and Q-branch bits. Timing information is derived from the received signal in a regenerator 128 by a known method. This timing information is used in demodulation. The receiver further comprises a control unit 130 which can be advantageously implemented by a processor. The control unit 130 controls the operation of the receiver. Information on the timing is also applied to the control unit. The signal 126 coming from the demodulator 124 thus comprises the demodulated bits which can be presented as code words. The code words are applied to a decoder 132 which is implemented by a neural network in the receiver of the invention. Convolutional coding is decoded in the decoder and the decoder output signal 134 corresponds to the original signal 108. In connection with convolutional coding, the channel data obtained from the channel estimator 123 is taken into account, i.e. channel correction is performed. If an error correcting code was used in the transmitter, it is decoded at this stage. This is not shown in the figure. The method for decoding the convolutional code and performing the channel correction in accordance with the invention is studied next in greater detail. It is assumed in this example that 4 QAM modulation is used. Gener- ally, the aim of the decoding is to find a bit sequence B that minimizes the function n f(B) (1 ) where r (t+sdt) is a received code word at a time instant t+sdt, dt is a symbol interval, h = [h-, h 2 ] are channel coefficients of a two-path channel, γ c (B(t+sdt)) = [γ(B(t+sdt)), γ(B(t+(s-1)dt)) a vector with a current code word and a preceding code word as components. When 4 QAM modulation is used, these are complex values. For the sake of clarity, r (s) = r(t+sdt) and B(s) = B(t+sdt) are used. Furthermore, instead of bit values 0 and 1 , values -1 and 1 are used. In Formula (1) B(s) = [b(s-L+1), ...,b(s)], be{1-, 1J, b(-L + 1), ...,b(0) are fixed, L is the constraint length and T is the decoding de- lay. The encoder function γ corresponds to the generation matrix G of a convolutional encoder. On the transmission path, interference, such as noise, appears in the signal. A noisy code word received at a time instant s is indicated by r(s). It is assumed that the noise is white Gaussian noise. Let us study here the generation of a neural network of the inven- tion by means of an example employing a convolutional code with code rate V 2 and constraint length = 3. The generation matrix G for such a code is The encoder for the convolutional code with code rate Y and con- straint length L can be written as a complex function γ( β(s) ) = γ 1 (β(s)) + / γ 2 (β(s)) , where yj ( β (s)) = π^ + l- g " (-l)(-l) s A and g,,s are the elements of the matrix G. Now, as in this example L = 3, the encoder is of the form γ( B(s) ) = -b(s) b(s-2) + i b(s)b(s~ )b(s-2) and the received noisy complex code word is ns) = r^s) + i r 2 (s). Equation (1) is written out as: ∑\\ r( ) -hγ c (B(s)) \\ 2 = (2) ∑ (^[re(r(s)) 2 +im(r(s)) 2 ] • 2 1 A - [re(r(s)h )b(s)b(s - 2) - im(r(s)h[ )b(s)b(s - \)b(s - 2)] + -h[h b(s) 2 b(s-2) 2 +b(s) 2 b(s-\) 2 b(s-2) 2 ] + -r_h 2 [b(s-l) 2 b(s-3) 2 +b(s-\) 2 b(s-2) 2 b(s-3) 2 } + re(\ιW )b(s)b(s - l)b(s - 2)b(s - 3) - im(h ' h. )b(s)b(s - l)b(s - 2)b(s - 3) + im^ )b(s)b(s - l)b(s - 2) 2 b(s - 3) + re( ^h 2 )b(s)b(s - lfb(s - 2) 2 b(s - 3)). In the above, the superscript c refers to a complex conjugate. As b(s-1) 2 = 1 and b(s-2 = 1, the minima of the above function (2) and the function f(B):= = (3) + [re(r(s)h^)b(s)b(s - 2) - im(r(s)h[ )b(s)b(s - l)b(s - 2)] + [re(r(s) )b(s - l)b(s - 3) - im(r(s) )b(s - l)b(s - 2)b(s - 3)] + -hh l [b(s) 2 b(s-2) 2 +b(s) 2 b(s-l) 2 b(s-2) 2 ] + - h 2 [b(s-\) 2 b(s-3) 2 +b(s-l) 2 b(s-2) 2 b(s-3) 2 ] + reWh. )b(s)b(s - l)b(s - 2)b(s - 3) - im(h )b(s)b(s - \)b(s - 2)b(s - 3) + imWh. )b(s)b(s - \)b(s - 3) + re h. )b(s)b(s - 3)). are the same. The differences between the functions are in the two last terms. To eliminate complicated feedbacks, the function (3) will be employed. (3) is differentiated with respect to b(k). Then we obtain a partial de- rivative which is of the form df(B) (4) db(k) re(r(k)h[)b(k - 2) - im(r(k)h )b(k - l)b(Λ; - 2) - im(r(k + l)tf)b(k + l)b(k - ) + re(r(k + ϊ)h^ )b(k - 2) - im(r(k + 1)^ )b(k - ϊ)b(k - 2) + re(r(k + 2)tf)b(k + 2) - im(r(k + 2)h x c )b(k + 2)b(k + 1) - im(r(k + 2)h 2 °)b(k + \)b(k - 1) + re(r(k + 3) )b(k + 2) - im(r(k + 3) )b(k + 2)b(k + 1) + re^/z- )b(k - 3) + re(h ' h 2 )b(k - 2)b(k - l)b(k - 3) - im^h, )b(k - 2)b(k - 3) + wi 'A. )b(k - \)b(k - 3) + re(/-,'Λ. )b(/c + \)b(k - \)b(k - 2) + imifth t )b(k + \)b(k - 2) + re^h. )b(k + 2)b(k + \)b(k - 1) - imir ' h. )b(k + 2)b(k - 1) + e^k, )b(k + 3)b(k + 2)b(k + 1) - im^h, )b(k + 3)b(k + l) + im^h. )b(k + 3)b(k + 2) + re(h " h, )b(k + 3) Now we use a gradient method By selecting 1 a = 5(b ^ + h%) it is possible to eliminate the feedbacks appearing in the last term of Formula (4). Further by assuming that b(k) obtains values -1 or 1 , the following equiva- lence is true for all the values k = 0, ... ,T b(k) = sign( - )b(k - l)b(k - 2) + im(r(k + \)h{ )b(k + l)b(k - 1) - re(r(k + \)h 2 c )b(k - 2) + im(r(k + \)h 2 c )b(k - l)b(k - 2) - re(r(k + 2)h')b(k + 2) + im(r(k + 2)h{)b(k + 2)b(k + l) + im(r(k + 2)h 2 c )b(k + ϊ)b(k - 1) - re(r(k + 3)h 2 c )b(k + 2) + im(r(k + 3)h 2 c )b(k + 2)b(k + 1) - reih ' h. )b(k - 3) (5) - re(h\ 2 )b(k - 2)b(k - ϊ)b(k - 3) + im(h?h 2 )b(k - 2)b(k - 3) - im ilh, )b(k - ϊ)b(k - 3) - re(h λ c h 2 )b(k + l)b(k - l)b(k - 2) - im(h h 2 )b(k + l)b(k - 2) - re(h x c h 2 )b(k + 2)b(k + ϊ)b(k - 1) + im(hlh 2 )b(k + 2)b(k - 1) - re(h h 2 )b(k + 3)b(k + 2)b(k + 1) + im(h λ c h 2 )b(k + 3)b(k + ) - )b(k + 3)b(k + 2) - re(h[h )b(k + 3) ). From the above the following updating rule is obtained: one k at a time is selected and a corresponding bit is updated by using Formula (5) and this is repeated until no changes occur in the bits, i.e. the network is stabilized. It should be noted that if k = 7-1 , or k = T, then b(T+ ) = 0 and b(T+2) = 0 are set. In the actual implementation, the operation may take place in parallel such that all neurons / are updated simultaneously. The iteration according to Formula (5) can thus be presented as an artificial neuron of the neural network. By setting S k = b(k), where S k is the state of the k h neuron and when re and im are the real and imaginary parts of the external inputs coming to the neuron, the state of the th neuron can be presented as: S k = f a (-re(r(k)h{)S k _ 2 + im(r(k)h )S k ^S k _ 2 + im(r(k + l)/ +1 i - re(r(k + l) )S k _ 2 + im(r(k + 1) )S k _ l S k _ 2 - re(r(k + 2)h c )S k+2 + im(r(k + 2)bHS A+ A., + im(r(k + 2)/- 2 < )S 4+1 S A _ 1 - re(r(k + 3)K )S k+2 + im(r(k + 3)K )S k+2 S k+ -re(h l _ )S k _, (6) - reifth. )S k _ 2 S k _ l S k _, + im^h, )S k _ 2 S k _ 3 - imQξh. )S A _ A-3 - e(h )S A+ A-A-2 - imWh. )S M S k _ 2 - re^W )S k+2 S M S k _ ] + imihfh. )S k+2 S k _ l -re^h, )S k+ k+2 S M + )S k+3 S k+l - imW )S k+3 S k+2 - re(h% )S k+ , ), where f a is an activation function, typically a sigmoidal function or a hard lim- iter. In Formula (5) a signum function f a (x) = sign(x) is used. Figure 2 illustrates a neuron according to Formula (6). The state S k of the neuron appears at the neuron output. According to Formula (6), real and imaginary parts of the products of the received corrupted code words r(t) and channel coefficients h 1 and h 2 (or their conjugates) as well as real and imaginary parts of the products of channel coefficients h 1 and h 2 (or their conju- gates) are applied to the neuron as an input 200. Since the code rate of the code used was A, one bit to be encoded results in two bits when encoded. Correspondingly, in decoding one decoded bit represents two bits of the code word. Furthermore, feedback outputs of other neural network neurons, i.e. S k _ 3 ,S k _ 2 , S^, S k+1 , S k+2 , and S k+3 , are applied to the neuron as an input 202. The output of each neuron thus comprises one decoded bit. In a preferred embodiment of the invention, the neuron is not fed back to itself, i.e. the value S k is not applied to the neuron as an input. The in- puts of the neuron are multiplied according to Formula (6). This is illustrated by dots at the intersection of the lines. White dots denote the multiplication of the inputs and black dots denote the multiplication of the inputs and the change of the sign of the product. The multiplied signals are summed 204 and applied to an activation function 206 whose output S k 208 is the output value of the neuron. The activation function employed can be either a hard-decision or a soft-decision function or a step function. If the result is a hard decision, the neuron outputs can have values -1 or 1. If the result is a soft decision, the neu- ron output can be a floating point number. Correspondingly, if the demodulator 124 produces soft bit decisions, neuron input 200 comprises floating point numbers, and if the demodulator produces hard bit decisions, the neuron input 200 comprises bits. If both of the neuron inputs comprise bits, the multiplication between the inputs can be implemented in a simple manner by digital technology. Since the derived neural network is a so-called optimizing neural network, it may be caught in a local minimum. To avoid this, in one preferred embodiment of the invention, noise (AWGN) whose variance reduces during the stabilization stage is added to the incoming signal in the neurons. In that case, Formula (6) is of the form S k = f (-re(r(k)h\ )S k _ 2 + im(r(k)h )S k _ S k _ 2 + im(r(k + \)h )S k+x S k _ - re(r(k + \)h 2 )S k _ 2 + im(r(k + l)h 2 )S k _ x S k _ 2 - re(r(k + 2)h )S i+2 + im(r(k + 2)h )S k+2 S k+ +im(r(k + 2)h 2 c )S k+ S k _ - re(r(k + 3)h\ )S, +2 + im(r(k + 3)/.' )S k+2 S k+ -re(h^ 2 )S k _ 3 - re(h x h 2 )S k _ 2 S k _ x S k _ 3 + im(h x h 2 )S k _ 2 S k _ 3 -im(h h 2 )S k _ x S k _ 3 - re(h x h 2 )S k+x S k _ x S k _ 2 -im(h x h 2 )S k+x S k _ 2 -re(h[h 2 )S k+2 S k+x S k _ x + im(h x h 2 )S k+2 S k _ x -re(h x c h 2 )S k+3 S k+2 S k+x + im(h ] c h 2 )S M S k+x -im(h 2 )S k+3 S k+2 -re(h[h 2 )S k+3 + AWGN ). In decoding, the following steps are generally carried out for each received code word: 1. Setting S. 1t S 2 and S_ 3 according to previous decisions. The products of the real and imaginary parts of the products of the received code words r(t),... ,r(t+Tdt) and the channel coefficients are applied to the neuron inputs 200. 2. Initializing S(i), / ' = 0,... , 7. 3. Updating the neuron k for each k = 0,... , 7 according to Formula (7). 4. Reducing the variance of the added noise. If the necessary number of iteration rounds have been carried out, the procedure is terminated, otherwise the procedure returns to step 3. After this, the bit to be decoded is at the output of neuron 0. Figure 3 illustrates couplings of the neural network designed for de- coding code rate Y and constraint length 3. The demodulated code words 322 and the channel data 324 received from the channel estimation means are applied to a single neuron 306 as an input. The code words and the channel data are multiplied according to Formula (6) in a multiplier 326. Further, outputs 328, 330 from the adjacent neurons 300 to 304, 308 to 320 are applied to the neuron 306 as an input. The neuron output is the value of the activation function 326, the value being a decoded symbol. The neural network is initialized such that the previously made bit decisions become the states of the neurons -3, -2 and -1 , i.e. 300 to 304. As the states of the neurons 0 T, i.e. 306 to 320, +1 or -1 are set randomly. Thereafter, the network is allowed to stabi- lize. The decoded bit is the output of the neuron 306, i.e. neuron 0, or if more than one bit is decoded at a time, the outputs of the neurons 0,... ,N. Duration of the network stabilization can be determined either by allowing the iterations to continue until the bit at the output does not vary or by performing a predetermined number of iteration rounds. In order to avoid being caught in a local minimum, other methods together with or instead of noise addition can also be used. The number of iteration rounds to be performed can be increased. Another option is to use several parallel neural networks. When each neural network is stabilized, the best bit decision can be selected from the outputs of the networks. The selec- tion can be made by a majority decision, for instance, selecting the bit decision that occurs most frequently at the outputs of the parallel neural networks. It is also possible to re-encode the decoding result and compare the obtained result with the received code word, i.e. to select a result that minimizes the function Decoding can also be accelerated such that several bit decisions of the adjacent neurons, i.e. neurons S 0 , ...,S N , are extracted simultaneously from the neural network. When decoding the subsequent bits, the states of the neurons S L+7 ,... ,S r have to be initialized to have the preceding values. The method of the invention can also be applied when the code to be decoded is a punctured code. The solution of the invention can also be advantageously applied such that fast channel estimates are utilized. Each symbol can be expressed using symbol-specific channel data, even though the convolutional code ex- tends over a plurality of symbols. Let us study next the complexity of the solution of the invention mainly from the viewpoint of implementation. When the constraint length L increases, more neurons are needed in the neural network and the duration of stabilization increases, and consequently the number of multiplications in- creases. It is known that the complexity of a Viterbi decoder increases exponentially as the constraint length L increases. However, the complexity of the decoder implemented by means of the neural network of the invention increases much more slowly. When the constraint length is L and the number of channel taps is H, each neuron of the neural network is coupled to L+H-2 pre- ceding and L+H-2 subsequent neurons and to L inputs. If it is assumed that the decoding delay is 5L, as it generally is, the decoder requires 5L neurons and thus the maximum number of connections is in the order of O (H 2 L 2 n), where n is the number of generators. The number of multiplications to be performed in one neuron de- pends on the code generator used, but it is < 0(nH 3 + nH ' L + nHL 2 ). Thus, during one iteration round, when each neuron is updated once, the number of multiplications to be performed is 0(nLH 3 + nH ' L 2 + nHL 3 ). This shows how the complexity in the solution of the invention increases considerably more slowly than in connection with the Viterbi algorithm as L increases. Figure 4 illustrates the implementation of the neuron of the neural network according to the invention. The neuron state at the neuron output is S k . Interfered code words to be decoded, typically composed of bits, and channel data are applied to the neuron as an input 400. The number of bits in each code word depends on the code rate of the code used. Further, feedback outputs of other neural network neurons are applied to the neuron as an input 402. In a preferred embodiment of the invention, the neuron does not com- prise feedback to itself, i.e. the value S k is not applied to the neuron as an input, but feedback to itself is possible if necessary. The inputs of the neuron are multiplied in a matrix 404. The matrix couplings are defined by the convolutional code and channel model used, and the formula corresponding to the couplings can be derived as illustrated in the above examples. The inputs can be multiplied with or without a change of sign. The multiplied signals are applied to a summer 406 where they are summed and the summed signal is further applied to a calculation means 408 which calculates the activation function and whose output S k 410 is the output value of the neuron. The calculation means 408 can be implemented by a gate array or a processor and software. The function producing either a hard or a soft decision can thus be used as the activation function. If the result is a hard decision, the neuron outputs can have values -1 or 1. If the result is a soft decision, the neuron output can be a floating point number. Correspondingly, if the demodulator of the receiver produces soft bit decisions, floating point numbers are at the neuron input 400, and if the demodulator produces hard bit decisions, bits are at the neuron input 400. If both of the neuron inputs comprise bits, the multiplication between the inputs can be implemented in a simple manner by digital technol- ogy. In one preferred embodiment of the invention, the neuron comprises a noise generator 412 and the generated noise is applied to a summer 406 where it is added to a sum signal. Variance of the noise to be generated reduces during the stabilization of the neural network, as described above. The noise can be Gaussian noise or binary noise. The binary noise is easier to implement, but on the other hand, a suitable number of Gaussian noise samples can be stored in a memory element and this noise can be reused. Noise generation can be implemented in manners know to the person skilled in the art. The structure of the decoder of the invention is studied next from the viewpoint of implementation. Figure 5a illustrates the structure of the neural network of the invention. The neural network comprises a set of neurons 500 to 510, the implementation of which is described above. Code words 512 that are applied to a shift register 514 are applied to the neural network as an input. The latest T + L code words, where T is the decoding delay, are stored in the shift register. Upon completing the decoding of a code word, the de- coded code word is deleted from the register, the code words in the register are shifted one step forward and a new code word is adopted in the last storage location 516 of the register. Operationally, the shift register is connected to the inputs of the neural network neurons 500 to 510. Channel data 517 from the channel estimation means is further applied to the neural network as an input. The channel data is applied to a buffer memory 518. The neural network further comprises a buffer memory 520 whose input comprises the outputs of the neurons 500 to 510 and whose buffer memory output is operationally connected to the inputs 724 of the neural network neurons. The number of the neurons depends on the characteristics of the convolutional code to be decoded. The outputs of the neural network neurons are thus operationally connected to the buffer memory 520, from which the outputs are fed back 522 to the inputs 524 of the neurons. The neuron inputs comprise switching means 524 by which only the necessary code words and feedbacks are applied to each neuron, in accordance with a formula (as Formula (7) above) derived on the basis of the convolutional code to be decoded and the channel data. The switching means 524 can be implemented by means of a switching matrix or a discrete logic circuit. The bit to be decoded is obtained from the output of the calculation means 526 calculating the activation function. The calculation means 526 can be implemented by separate logic circuits or a processor and software. The neural network decoder comprises a control unit 528, to which is applied a clock signal 530 as an input from the timing information regen- erator of the receiver, as is described in connection with Figure 1. The control unit takes care of the decoder timing, the control of the network stabilization time and controls the operation of decoding. Figure 5b illustrates a second preferred embodiment, in which several bit decisions of the adjacent neurons, i.e. neurons k .. k+n, are extracted simultaneously from the neural network. In that case, the equipment comprises a plurality of calculation means 526a, 526b. Also in that case, upon completing the decoding of the code words, n decoded code words are deleted from the register, the code words in the shift register 514 are shifted a corresponding number n of steps forward and n new code words are adopted in the register. Figure 6 illustrates yet another embodiment of the invention, in which decoding is performed by means of a plurality of parallel neural networks. In that case the code words and the channel data 600 are applied to two or more neural networks 602, 604 arranged in parallel. The outputs of the calculation means 606, 608 of the neural networks are applied to a decision unit 610 where the best estimate for a decoded bit is selected from the outputs of the parallel neural networks. The decision unit can be advantageously implemented by means of separate logic circuits or a processor and software. The decision on the best estimate can be implemented in a variety of ways. For instance, from the outputs of the parallel neural networks, it is possible to select the value that occurs at most outputs to be a decoded bit. The decoded bit can also be re-encoded and from the outputs of the parallel neural networks the value that is found correct by re-encoding is selected to be the decoded bit. For the sake of clarity, re-encoding is not shown in the figure but it can be implemented in manners known to the person skilled in the art. The decoder of the invention can be readily constructed by semiconductor technology, since the neurons of the neural network are very similar to one another in structure, only the input couplings vary. Consequently, to design and implement even a large network does not involve a great amount of work. Testing of the completed circuit is also simple to implement. The solution can also be advantageously implemented as a VLSI circuit, which makes it fast. It should also be noted that even though the structure of the decoder of the invention is simple and easy to implement, its performance is close to the theoretical maximum. Even though the invention is described above with reference to the example of the accompanying drawings, it is obvious that the invention is not restricted thereto, but it can be modified in variety of ways within the scope of the inventive idea disclosed in the attached claims.

Claims: CLAIMS 1. An arrangement for decoding and channel correcting a convolu- tionally encoded signal received over a transmission path, the signal comprising code words and the arrangement comprising a neural network which com- prises a set of neurons which comprise a set of inputs and an output, received code words (400) and at least some of the output signals of the neural network neurons being connected to the inputs of said neurons, the neurons comprising means (404) for multiplying at least some of the neuron inputs prior to combining means (406) and the arrangement comprising means (123) for es- timating the transmission channel, characterized in that estimated channel data (517) is further connected to the inputs of the neurons and that a predetermined neuron is arranged to give an estimate of a channel-corrected and decoded symbol in its output signal. 2. An arrangement as claimed in claim 1, characterized in that the neuron comprises means (404) for multiplying at least some of the neuron inputs and for changing the sign of the product prior to the combining means (406). 3. An arrangement as claimed in claim 2, characterized by comprising a shift register (514) having the received code words as an input, and a memory element (518) having the estimated channel data (517) as an input, said shift register and memory element being operationally connected to the inputs of the neural network neurons, and a buffer memory (520) having the outputs of the neurons as an input, the output of said buffer memory being operationally connected to the inputs of the neural network neurons. 4. An arrangement as claimed in claim 3, characterized by comprising means (128, 528) for conducting the received code word set (512) to the shift register (514), the estimated channel data (517) to the memory element (518), for setting initial values of the neurons and for conducting the estimate of the decoded symbol to the output of the network after the network has reached a stabilized state, for updating the code word set and the estimated channel data in the shift register and for repeating the above-described operation until the desired number of code words are decoded. 5. An arrangement as claimed in claim 2, characterized in that the neuron comprises means (412) for adding noise to the result of com- bination in the combining means. 6. An arrangement as claimed in claim 1, characterized in that the output signal of a plurality of predetermined neurons comprises an estimate of the corresponding number of decoded and channel-corrected symbols. 7. A method for decoding a convolutionally encoded signal received over a transmission path, the signal comprising code words and the method comprising the steps of estimating a transmission channel, performing the decoding by means of an artificial neural network, the neural network comprising a set of neurons which comprise a set of inputs and an output, conducting the received code word set (512) to the inputs of the neuron, multiplying at least some of the inputs of the neuron by one another, combining some of the inputs of the neuron after multiplication, feeding some of the output signals (520) of the neural network neurons back to the inputs of each neuron, setting the initial values of the neurons and allowing the network to stabilize, characterized in that further in the method the multiplication of the neuron inputs depends on the convolutional code used in signal encoding and the estimated channel and that the estimate of the decoded and channel-corrected symbol is conducted from the output signal of a predetermined neuron to the output of the network after the network has reached the stabilized state, the code word set in the shift register is updated and the above-described four last steps are repeated until the desired number of code words are decoded. 8. A method as claimed in claim 7, characterized in that at least some of the neuron inputs are multiplied in the neuron and the sign of the product is changed prior to the combination. 9. A method as claimed in claim 7, characterized in that, in connection with combining the neuron inputs, noise is added to the outcome of the combination. 10. A method as claimed in claim 9, characterized in that noise is added such that the variance of the noise approaches zero as the network approaches stabilization. 11. A method as claimed in claim 7, characterized in that the network is allowed to stabilize for a predetermined period of time. 12. A method as claimed in claim 7, characterized in that the network is allowed to stabilize until the values of the output signals of the neurons do not vary. 13. A method as claimed in claim 7 or 9, characterized in that after combining the neuron inputs the signal is applied to an activation function, at the output of which the output signal of the neuron is obtained. 14. A method as claimed in claim 13, characterized in that from the combined signal the activation function makes a hard decision. 15. A method as claimed in claim 13, characterized in that from the combined signal the activation function makes a soft decision. 16. A method as claimed in claim 13, characterized in that the activation function is a step function. 17. A method as claimed in claim 7, characterized in that the received code word set (512) is conducted to the neuron inputs by means of a shift register (514). 18. A method as claimed in claim 17, characterized in that the estimate of the decoded symbol is conducted from the output signal of a plurality of predetermined neurons to the output of the network after the network has reached the stabilized state and that the code word set in the shift register is updated with the same predetermined number of code words. 19. A method as claimed in claim 7, characterized in that the channel estimate is updated such that an estimate of each symbol is calculated by using a dedicated channel estimate. 20. A method as claimed in claim 7, characterized in that decoding is performed by means of a plurality of parallel neural networks and that from the outputs of the parallel neural networks the best estimate is selected to be a decoded bit. 21. A method as claimed in claim 20, characterized in that from the outputs of the parallel neural networks the value that occurs in most outputs is selected to be the decoded bit. 22. A method as claimed in claim 20, characterized in that from the outputs of the parallel neural networks the value that is found correct by re-encoding is selected to be the decoded bit.

Inventors: HAEMAELAEINEN ARI, HENRIKSSON JUKKA, HAEMAELAEINEN, ARI, HENRIKSSON, JUKKA
Applicants: HAEMAELAEINEN ARI, HENRIKSSON JUKKA, NOKIA MOBILE PHONES LTD, HAEMAELAEINEN, ARI, HENRIKSSON, JUKKA
Application year: 2000
Main classification: H03M13
IPC codes: H03M13