This application claims priority from Korean Patent Application No. 10-2005-0078165, filed Aug. 25, 2005 in the Korean Intellectual Property Office, the entire contents of which are incorporated herein by reference.
1. Field of the Invention
The present invention relates to a Viterbi decoder decoding data using a trellis diagram, and more particularly, to a Viterbi decoder capable of improving a data decoding speed without being limited by a sampling speed of a sampling and holding circuit.
2. Description of the Related Art
With the development of communication technology, wireless mobile communication technology has been popularized throughout the world. Since data is wirelessly transmitted and received in the wireless mobile communication environment, a receiver cannot precisely receive data from a transmitter. In other words, data may be distorted during the transmission of the data due to noise or like.
In general, the transmitter codes and transmits data to be transmitted, and the receiver decodes the coded data so as to reduce the possibility of the data being distorted. Also, coding and decoding operations are performed in a process of storing data in a recording medium such as a digital versatile disk (DVD).
Examples of such a coding method include a block coding method, a convolution coding method, and the like. In the block coding method, an input data bit including additional data having a predetermined bit size is coded. In the convolution coding method, previously input data is stored in a memory so as to be coded based on a relationship between a current input value and a previous input value. The convolution coding method has higher error correction efficiency than the block coding method and thus is generally used.
A Viterbi decoder decodes data coded using the convolution coding method. Such a Viterbi decoder performs a several-step operation to determine an optimum path from accumulated result values so as to correct an error.
Nodes a, b, c, and d on the trellis diagram compute the shortest distance reaching a destination using Equation 1:
Di,j=min{Dk,l+dij,kl, (k,l)εS(i,j)} (1)
wherein Dk,l denotes the shortest distance from a (k,l)th cell to a destination, dij,kl denotes a partial distance from a (i,j)th cell to a(k,l)th cell, S(ij) denotes a set of cells around the (i,j)th cell, and min denotes a function outputting a minimum value of enumerated items.
The conventional Viterbi decoder does not realize all nodes on the trellis diagram as hardware but realizes only nodes in a column as hardware. Thus, these nodes performs the operation shown in Equation 1 above with time, i.e., adds a distance value of each branch to accumulated distance values transmitted from previous nodes, and selects a minimum value from the addition results so as to store the selection result in a memory. As a result, if an operation is performed up to a last destination, the conventional Viterbi decoder searches for an optimum path using data stored in the memory. Accordingly, the conventional Viterbi decoder requires additional hardware such as a memory. Also, a back-tracking process must be performed to compute the optimum path in the memory. Thus, decoding time is increased.
To solve these problems, a circular Viterbi decoder disposing cells in positions corresponding to nodes of a trellis diagram and connecting cells corresponding to last processing nodes to cells corresponding to first processing nodes has been developed as disclosed in Korea Registration No. 10-0412934. A conventional circular Viterbi decoder will now be schematically described with reference to
The decoder 10 includes a plurality of processing nodes including a plurality of cells vertically disposed to correspond to nodes on a trellis diagram and decodes analog input data using an analog signal processing cell having a circular connection structure in which a last processing node of the plurality of processing nodes is connected to a first processing node.
The analog data storage 20 includes a plurality of condensers, stores analog data input through the sampling and holding unit 50, and transmits the data to the decoder 10 under the control of the controller 40.
The controller 40 controls the first switch 30 according to a predetermined clock signal CLK input from an external source to stores an analog input signal sampled and held by the sampling and holding unit 50 in the analog data storage 20.
The sampling and holding unit 50 samples and holds the analog input signal according to a clock signal CLK having the clock frequency as the clock signal CLK input to the controller 40.
The conventional circular Viterbi decoder does not need to store an output value of each cell doe in an additional memory and thus does not need to include additional hardware. Also, the conventional circular Viterbi decoder applies a predetermined trigger signal to each cell, senses a variation in a lastly output pulse, and performs decoding. Thus, the conventional circular Viterbi decoder does not require a back-tracking process. As a result, decoding time is reduced.
However, since the conventional circular Viterbi decoder adopts one sampling and holding circuit, the conventional Viterbi decoder cannot operate at a speed higher than a sampling speed at which the one sampling and holding circuit can precisely sample and hold an analog input signal. In other words, a decoding speed of the conventional circular Viterbi decoder is limited by the sampling speed of the sampling and holding circuit.
Illustrative, non-limiting embodiments of the present invention overcome the above disadvantages and other disadvantages not described above. Also, the present invention is not required to overcome the disadvantages described above, and an illustrative, non-limiting embodiment of the present invention may not overcome any of the problems described above.
The present invention provides a circular Viterbi decoder capable of improving a data decoding speed without being limited by a sampling speed of a sampling and holding circuit. According to an aspect of the present invention, there is provided an analog Viterbi decoder, comprising a clock divider which generates a plurality of clock signals by dividing a clock frequency of an externally-input clock signal, a plurality of sampling and holding units which sample and hold input analog data according to the clock signals generated from the clock divider, and a multiplexer which sequentially and alternately outputs the analog data sampled and held by the sampling and holding units.
The sampling and holding units may comprise a first sampling unit and a second sampling unit parallel arranged with respect to the first sampling unit.
The clock divider may generate a first clock signal by dividing the clock frequency into ½ and a second clock signal by inverting the first clock signal, and the first sampling and holding unit may sample and hold the externally-input analog data according to the first clock signal, and the second sampling and holding unit may sample and hold the externally-input analog data according to the second clock signal.
The multiplexer may sequentially and alternately output the analog data sampled and held by the first and second sampling and holding units, according to one of the first and the second clock signals.
A decoder may also be provided, which comprises a plurality of processing nodes, each of the plurality of processing nodes comprising a plurality of cells vertically disposed so as to correspond to nodes on a trellis diagram, the decoder being configured to decode analog input data using an analog signal processing cell having a circular connection structure in which a last processing node of the plurality of processing nodes is connected to a first processing node.
The decoder may comprise a cell selector which designates a predetermined cell of cells of a processing node designated by the controller, a second switching unit which are connected to each of the processing nodes of the analog signal processing cell so as to supply a reference input signal to the predetermined cell designated by the controller and the cell selector, a maximum value operator which detects a maximum value of output values of the cells if the cells of the designated processing node output predetermined operation values using the reference input signal and a value input from a previous processing node, a third switching unit which detects an output signal of the maximum value operator, a signal conversion detector which monitors an output signal output from the third switching unit to detect a variation in the output value, and a pulse generator which outputs the variation in the output value detected by the signal conversion detector in a pulse signal form.
Cells of a predetermined processing node of the decoder may operate the output value using equations below:
yi,j=max{ui,j,yk,l−dij,kl; (k,l)εS(i,j)}
yi,j=Iref−Di,j
ui,j=Iref; if (i,j) is cell of destination
ui,j=0; if (i,j) is not cell of destination
wherein yi,j denotes an output value of a (i,j)th cell, Di,j denotes a shortest distance from the (i,j)th cell to a destination cell, Iref denotes a reference input signal value, dij,kl denotes a partial distance from the (i,j)th cell to a (k,l)th cell, S(i,j) denotes a set of cells belonging to a processing node to which the (i,j)th cell belongs, and max denotes a function outputting a maximum value.
The above and other aspects of the present invention will be more apparent by describing certain exemplary embodiments of the present invention with reference to the accompanying drawings, in which:
Certain exemplary embodiments of the present invention will be described in greater detail with reference to the accompanying drawings.
In the following description, same drawing reference numerals are used for the same elements even in different drawings. The matters defined in the description such as a detailed construction and elements are nothing but the ones provided to assist in a comprehensive understanding of the invention. Thus, it is apparent that the present invention can be carried out without those defined matters. Also, well-known functions or constructions are not described in detail so as to not obscure the invention in unnecessary detail.
The decoder 110 includes a plurality of processing nodes that are sets of cells vertically disposed. The cells of the processing nodes are installed in positions corresponding to the processing nodes on a trellis diagram. Also, a last processing node of the processing nodes is connected to a first column to form a circular form. In this case, a number of cells constituting one processing node may vary depending on a shape of the Viterbi decoder.
The analog data storage 120 stores analog data input through the analog signal input unit 150. The analog data storage 120 may include a plurality of condensers.
The first switching unit 130 switches the operation of the analog data storage 120 storing the analog data. In a case where the analog data storage 120 includes the plurality of condensers as described above, the first switching unit 130 may include a plurality of switches respectively connected to the plurality of condensers.
The controller 140 designates signal processing nodes of the decoder 110 according to a clock signal CLK input from an external source. Also, the controller 140 controls the first switching unit 130 according to the clock signal CLK to sequentially store analog data sampled and held by the analog signal input unit 50 in the analog data storage 120.
The clock divider 160 outputs a first clock signal Clkdiv2 obtained by dividing a clock frequency of the clock signal CLK into ½ and a second clock signal Clkdiv2b obtained by inverting the first clock signal Clkdiv2.
The analog signal input unit 150 includes first and second sampling and holding units 151 and 153 and a multiplexer (MUX) 155.
The first sampling and holding unit 151 samples and holds analog data input from an external source according to the first clock signal Clkdiv2 and then transmits the analog data to the multiplexer 155. The second sampling and holding unit 153 samples and holds the input analog data according to the second clock signal Clkdiv2b and then transmits the input analog data to the multiplexer 155. Since the first and second sampling and holding units 151 and 153 sample and hold the input analog data according to the first and second clock signals Clkdiv2 and Clkdiv2b obtained by dividing the clock frequency of the clock signal CLK by ½, the time required for sampling and holding the analog data can be secured two times the time required for sampling and holding the analog data using one sampling and holding circuit. Thus, the analog data can be further precisely sampled.
The multiplexer 155 alternately outputs the analog data sampled and held by the first sampling and holding unit 151 and the analog data sampled and held by the second sampling and holding unit 153 using the first clock signal Clkdiv2 as a selection signal. For example, in a case where the first clock signal Clkdiv2 is on a high level, the multiplexer 155 may select and output the analog data sampled and held by the first sampling and holding unit 151. In a case where the first clock signal Clkdiv2b is on a low level, the multiplexer 155 may select and output the analog data sampled and held by the sampling and holding unit 153. In the present exemplary embodiment, the first clock signal Clkdiv2 is used as the selection signal, but the second clock signal Clkdiv2b may be used as a selection signal.
Referring to
If the first clock signal Clkdiv2 is on a high level, the multiplexer 155 selects and outputs analog data 320 sampled and held by the first sampling and holding unit 151. If the first clock signal Clkdiv2 is on a low level, the multiplexer 155 selects and outputs analog data 330 sampled and held by the second sampling and holding unit 153. Thus, the analog signal input unit 150 can output analog data equal to the analog data sampled and output through one sampling and holding circuit due to the clock signal CLK.
In the present exemplary embodiment, the analog signal input unit 150 includes the first and second sampling and holding units 151 and 153 but is not limited to this. An analog signal input unit according to the present invention may include more than two sampling and holding units in parallel and sequentially and alternately outputting analog data sampled by the sampling and holding units.
The analog signal processing cell 112 includes a plurality of processing nodes including a plurality of cells vertically disposed. The cells of the processing nodes are disposed in positions corresponding to the nodes of the trellis diagram. A last processing node of the plurality of processing nodes is connected to a first processing node. The processing nodes of the analog signal processing cell 112 may be longer than the constraint length of the trellis diagram by 1 or 2.
The cells of the analog signal processing cell 112 may reduce operation burdens by modifying Equation 1 above. In other words, if yk,l is defined as a value obtained from a subtraction of Dk,l from a reference input signal Iref that is an arbitrary constant, Equation 1 is converted into Equation 2:
Di,j=Iref−max{yk,l−dij,lk; (k,l)εS(i,j)} (2)
Since yi,j can be expressed as Iref−Di,j, yi,j can be substituted in Equation 2 to obtain Equation 3:
yi,j=max{yk,l−dij,kl; (k,l)εS(i,j)} (3)
According to Equation 3, an operator expression is changed from an addition and minimum value operation into a subtraction and maximum value operation. As shown in Equation 3, if a (i,j)th cell is a destination, a shortest distance Di,j from a cell corresponding to the destination to a cell corresponding to the destination is “0.” In this case, yi,j=Iref−Di,j, and thus yi,j becomes Iref. Equation 3 is transformed in Equation 4 using this characteristic.
yi,j=max{ui,j,yk,l−dij,kl; (k,l)εS(i,j)}
ui,j=Iref; if (i,j) is cell of destination
ui,j=0; if (i,j) is not cell of destination (4)
In other words, according to Equation 4, if the (i,j)th cell is a cell of a destination, a cell output value is Iref. If the (i,j)th cell is not the cell of the destination, a maximum value of a subtraction result value is output.
The controller 140 designates the processing nodes of the analog signal processing cell 112 according to the clock signal CLK. In detail, if a current processing node is jth, the controller 140 designates a j+1th processing node to a next input clock.
The cell selector 111 designates a predetermined cell of cells constituting the processing nodes designated by the controller 140. The cell selector 111 first designates an arbitrary cell. Next, if the designated cell performs an operation using Equation 4 above, the cell selector 11 determines a next cell using the result value of the operation.
The first switching unit 130 performs an switching operation to store analog input data in the condensers of the analog data storage 120. In this case, the first switching unit 130 stores data in a condenser connected to a previous processing node of the processing nodes designated by the controller 140. In other words, if the controller 140 designates a jth processing node, the first switching unit 130 conducts a switching connected to a condenser of a j−1th processing node to store analog data. If next data is input, the first switching unit 130 stores the next data in a condenser of a next processing node.
Thus, if analog data is stored in all of the condensers, the controller 140 controls the second switching unit 113 to supply a reference input signal to a predetermined cell.
If the cell receiving the reference input signal is determined by the controller 140 and the cell selector 111 as described above. In detail, if the reference input signal is applied to an ith cell of the jth processing node, i.e., the (i,j)th cell, the corresponding cell performs an operation using Equation 4. The controller 140 sequentially designates a next processing node, and the cell selector 111 designates a predetermined cell of cells constituting the next processing node using the operation result value of the (i,j)th cell. The reference input signal input to the jth processing node is propagated to the j−1th processing node in real-time. If the operation is performed up to the cells of the j−1th processing node, the maximum value operator 114 detects a maximum value of each of the cells.
The maximum value detected by the maximum value operator 114 is input to a rear node through the third switching unit 115. The third switching unit 115 performs a switching operation under the control the controller 140 so as to output a result of a current processing node.
In this state, the controller 140 adds a trigger signal in an opposite direction to the reference input signal to outputs of odd-numbered or even-numbered cells of cells of a next processing node. Thus, if an output signal of a corresponding cell is decreased, the output signal of the corresponding cell is intercepted by the next processing node. This is because the cell of the processing node selects a maximum value. If an optimum path for decoding passes an intercepted branch, a final output value is suddenly decreased due to the addition of the trigger signal. If the optimum path does not pass the intercepted branch, the final output value is kept as it is. Thus, a variation in the final output value can be checked to determine whether the optimum path passes a branch 0 or a branch 1.
The signal conversion detector 116 detects the variation in the final output value. Also, the pulse generator 117 checks the variation in the final output value detected by the signal conversion detector 116 so as to output a decoding result in the pulse signal form. Thus, input analog data is decoded.
The vertical axis of the graph shown in
As shown in
As described above, according to the present invention, a circular Viterbi decoder can remarkably improve a decoding speed without being limited by a sampling speed of a sampling and holding circuit.
The foregoing exemplary embodiments and advantages are merely exemplary and are not to be construed as limiting the present invention. The present teaching can be readily applied to other types of apparatuses. Also, the description of the exemplary embodiments of the present invention is intended to be illustrative, and not to limit the scope of the claims, and many alternatives, modifications, and variations will be apparent to those skilled in the art.
Number | Date | Country | Kind |
---|---|---|---|
10-2005-0078165 | Aug 2005 | KR | national |
Number | Name | Date | Kind |
---|---|---|---|
4087787 | Acampora | May 1978 | A |
4606027 | Otani | Aug 1986 | A |
4905317 | Suzuki et al. | Feb 1990 | A |
5027374 | Rossman | Jun 1991 | A |
5150369 | Costa et al. | Sep 1992 | A |
5430768 | Minuhin et al. | Jul 1995 | A |
5448583 | Miyamoto et al. | Sep 1995 | A |
5579340 | Tokuriki et al. | Nov 1996 | A |
6188735 | Soichi et al. | Feb 2001 | B1 |
20010050624 | Nagaraj | Dec 2001 | A1 |
20020199154 | Son et al. | Dec 2002 | A1 |
Number | Date | Country |
---|---|---|
1043839 | Oct 2000 | EP |
2002-0096621 | Dec 2002 | KR |
Number | Date | Country | |
---|---|---|---|
20070047677 A1 | Mar 2007 | US |