Device for encoding / decoding n-bit source words into corresponding m-bit channel words, and vice versa
Patent Information
- Application Number
- MYPI1999000060
- Authority / Receiving Office
- MY · MY
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 1998-07-24
- Filing Date
- 1999-01-08
- Publication Date
- 1999-07-09
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Existing encoding devices for binary source signals into binary channel signals face errors due to misalignment of boundaries between source and composite signals, leading to error propagation during transmission and decoding.
The device introduces a shuffling operation that aligns boundaries between n-bit source words and their corresponding m-bit channel words by repositioning q-bits in each group of y consecutive bits, ensuring that n-bit words in the composite signal are aligned with source words, thereby preventing error propagation.
This solution ensures that errors in the channel signal result in only one erroneous source word, rather than multiple, thereby maintaining data integrity and accuracy during transmission and decoding.
Abstract
Description
Device for encoding / decoding n-t it source words into corresponding m-bit channel words, and vice versaThe invention relates to a device for encoding a stream of databits of a binary source signal into a stream of date bits of a binary channel signal, the device comprising- input means for receiving the binary source signal,- merging means for merging a q- sit merging word at equidistant positions in the binary source signal in response to a conxol signal, so as to obtain a composite binary source signal,- converting means for converting the composite binary source signal into said binary channel signal,- control signal generator means far generating said control signal,- output means for supplying said binary channel signal. The invention also relates to a device for decoding a stream of d ita bits of a binary channel signal obtained by means of the encoding device, so as to obtain a stream of databits of a binary source signal, to a recording device comprising the encoding device, to a record carrier obtained with the recording device and to a method of encoding the source signal.An encoding device mentioned in the foregoing is known USP 5,477,222 (PHN 14448). The document discloses a device for encoding a stream of databits of a binary source signal into a stream of dat; bits of a binary channel signal, satsifying a (1,8) runlength constraint. That means that, in a serial datastream of the channel signal at mimimum one 'zero' and at maximum eight 'zeroes' are present between two consecutive 'ones' in the channel signal. It should be noted in this respect that normally an additional precoding step, such as a IT precoding, is appliec to the (1,8) constrained sequence, resulting in a runlength limited sequence with minimum i unlength 2 and maximum runlength 9.The known conversion is parity preserving. 'Parity preserving' means that the parity of the n-bit source words to be converted equal the parity (after modulo-2 addition) of the corresponding m-bit channel words in which they are converted. As a result, the n-to-m conversion device as claimed does not influence the polarity of the signal.As the conversion is parity preserving, an efficient DC control can be applied, such as by inserting DC control bits in the datastream of the source words.The invention has for its object to provide an improved device for encoding nbit source words into correspondir g m-bit channel words.The device in accoi dance with the invention comprises- input means (1) for receiving the binary source signal,- merging means (4) for receiving a first input signal that equals the binary source signal, and for merging a q-bit merging word each time between subsequent groups of y consecutive bits in said first input signal, in response to a control signal,- control signal generator means (24) for generating said control signal,- shuffling means (8) for receiving said binary source signal merged with said q-bit merging words in said merging means (4), and for carrying out a shuffling operation on each second group of said groups of y consecu ive bits, the combined steps of merging in said merging means (4) and shuffling in said shuffling means (8) resulting in a shuffled composite binary source signal, comprising a sequence of nbit words, y, n and q being integeis for which holds: y > 1, n > 1 and q > 1,- converting means (10) for converting the shuffled composite binary source signal into said binary channel signal, by convertiig subsequent blocks of p consecutive n-bit words in said shuffled composite binary source signal into corresponding subsequent blocks of p consecutive m-bit channel words : n said binary channel signal, m and p being integers for which hold: m > n, p > 1, and wh( re p can vary- output means (20) for supplying said binary channel signal, the shuffling operation comprising the step of repositioning in each of said second groups of y consecutive bits, q bits in the group into another position in the said group, such that, except for the n-bit words comprising at least one q-bit merging word, the n-bit words in said shuffled composite binary source signal, required for conversion into m-bit channel words, are aligned with the n-bit source words in said binary source signal, and that n = 2q. The invention is based on the following recognition. Without applying the measure in accordance with the invention, the encoding process is as follows. After insertion of the q-bit merging words in the bitstream oi the binary source signal, a bitstream of the composite binary source signal has been gen crated. This composite binary source signal is divided into a sequence of subsequent n-bit won is for conversion into m-bit channel words in the converting means. This division into a sequence of n-bit words is done such that one boundary between two subsequent words in the composite binary source signal may lie between a merging word and the subsequent source word of the binary source signal in said composite binary source signal. Lntil the next merging word, all boundaries between two subsequent words in the composit ϊ binary source signal are aligned with the boundaries between the subsequent source words of the binary source signal. The said next merging word forms, together with the firs q bits of the next source word in the binary source signal, the next n-bit word in the compos te binary source signal. As a result, until the following merging word, all boundaries between two subsequent words in the composite source signal are not aligned anymore with the boundaries of the n-bit source words of the binary source signal. Or, an n-bit word in the co nposite binary source signal is spread out across two subsequent n-bit source words of he binary source signal.The n-bit words in the composite binary source signal are converted upon encoding into corresponding m-bit channel words. After transmission and subsequent reception in a receiver provided v. ith a corresponding decoder, the m-bit channel words are decoded into corresponding n-bit <vords, which n-bit words form a replica of the composite binary source signal. Subsequentl / , the q-bit merging words are deleted from the composite binary source signal so as to obtain a replica of the binary source signal.Errors may occur during transmission, resulting in an erroneous decoding in the decoder. An erroneous word i:i the replica of the composite binary source signal may lead to one erroneous source word in tie replica of the binary source signal, namely for those portions of the replica of the binary source signal where the boundaries between two subsequent source words were aligned with the boundaries of two subsequent words of the replica of the composite binary source sijjnal. However, in those portions of the replica of the binary source signal where the boundaries between two subsequent source words are not aligned with the boundaries of two subsequent words of the replica of the composite binary source signal, an erroneous word in the r;plica of the composite source signal leads to two erroneous words in the replica of the binary source signal.The invention ovei comes this error propagation, in that by shifting q bits in each second group of y consecutive bits source words in the binary source signal, the boundaries between two subsequent n-bit source words of the binary source signal are aligned with the boundaries between two subsequent n-bit words in the composite binary source signal. As a result, no erro- propagation will occur.Generally, the channel signal obtained is applied to a IT-precoder. The purpose of the merging means is o add merging words, such as a 1 -bit merging word, that is: a '0'- or a '1 ’-bit, to the consecutive code words included in the input signal of the converting means, so as to obtain a precoder output signal which is DC free, or includes a tracking pilot signal having a certain frequency The precoder output signal is recorded on a record carrier.In the example of q=l, the adding of a Ό'-bit in the input signal of the converter results in the polarity of the output signal of the IT precoder remaining the same. The adding of a '1 '-bit results in a polarity inversion in tie output signal of the IT precoder. The merging means therefore influences the output signal of the IT precoder such that the running digital sum value of the output signal of the I T precoder can be controlled so as to have a desired pattern as a function of time.The invention will ?e further described in the following figure description, in which figure 1 shows a fn st and figure 2 shows a second embodiment of the encoding device, figure 3 shows various signals occurring in a prior art encoding device, figure 4 shows various signals occurring in the encoding device of figure 2, with one way of shuffling the con posite source signal, figure 5 shows ano her way of shuffling the composite source signal, figure 6 a first embodiment of the shuffling unit in the encoding device, figure 7 shows a second embodiment of the shuffling unit, figure 8 shows a fiist embodiment of the conversion unit in the encoding device, figure 9 shows a se cond embodiment of the conversion unit, figure 10 shows a 1 irst embodiment of the decoding device, figure 11 shows a second embodiment of the decoding device, figure 12 shows an embodiment of the reconverter unit in the decoding device, and figure 13 shows agiin another way of shuffling the composite source signal.Figure 1 shows an embodiment of the encoding device in accordance with the invention. The device comprises ι n input terminal 1 for receiving a binary source signal, which terminal is coupled to an irput 2 of a q-bit word merging unit 4. An output 6 of the unit 4 is coupled to an input 7 of i shuffling unit 8. The shuffling unit 8 has an output 9 which is coupled to an input 11 of a converter unit 10, which has an output 12 which is coupled to an input 14 of an aT piecoder 16. An output 18 of the precoder 16 is coupled to an output for supplying a binary channel signal. The output 18 is also coupled to an input 22 of a control signal generator 24, which has an output 26 coupled to a control signal input 28 of the merging unit 4.A binary source signal, in the form of a sequence of n-bit source words is applied to the input terminal 1 for encoding. The merging unit 4 is adapted to insert a q-bit merging word at equidistant posit: ons in the binary source signal. More specifically, the merging unit 4 is adapted to insert a q-bit merging word each time between subsequent groups of x consecutive n-bit source words in the binary source signal so as to obtain a composite binary source signal at its output 6. x, n and q are integers, for which holds: x > 1, n = 2q and q > 1.The composite biniry source signal is applied to the input 7 of the shuffling unit 8, which carries out a shufflirg step on each second group of x consecutive n-bit source words in the composite binary sot rce signal, so as to obtain a shuffled composite source signal. The shuffled composite source signal is subsequently supplied to the input 11 of the converter unit 10. The encoding uiit 10 carries out a conversion step on the shuffled composite source signal, which results into a channel signal. The conversion step includes the conversion of groups of p n-bit words in the shuffled composite source signal into corresponding groups of p m-bit ciannel words, said channel words forming the channel signal. This channel signal is supplied to the output 12. The binary channel signal is subsequently precoded into a prec )ded binary channel signal in the aT precoder 16 and the precoded binary channel signal is subsequently supplied to the output terminal 20, eg. for recording or transmission, as well as to the input 22 of the control signal generator 24. The control signal generator 24 genera :es a control signal at its output 26 in response to said precoded binary channel signal, wtiich control signal is supplied to the control signal input 28 of the merging unit 4. The merging unit 4 chooses a q-bit word in response to said control signal for merging into the binary source signal.The functioning of he device will be further explained with reference to figure 2, which shows a slightly modified version of the device of figure 1. The device of figure 2 comprises a merging unit 4' which is adapted to insert a 1 -bit (q= 1) merging word each time between subsequent groups of x c< msecutive n(=2)-bit source words in the binary source signal so as to obtain a composite oinary source signal at its output 6. x could have any integer value. In an example to be described later, x will be equal to 24, for the reason that a 1 -bit merging word is inserted between subsequent groups of 6 bytes of the binary source signal.The shuffling unit 3' in the embodiment of figure 2 will be described later. First, the functioning of the converter unit 10' will be explained. The converter 10' is adapted to convert groups of p 2-bit words in the shuffled composite source signal into corresponding groups of p 3-bit channel words of the channel signal, p is an integer and can vary, as will be made clear further below. The channel signal is precoded in a IT precoder 16', well known in the art, so as to obtain the precoded channel signal. The output signal of the IT-precoder 16' is applied to the control signal generator 24' which generates the control signal for the merging unit 4', so as to control whether a '0' or a '1' is inserted in the serial datastream of the source signal.By means of the device shown in figure 1 or 2, it is possible to embed a tracking tone of a certain frequent y in the serial datastream of the precoded channel signal, or keep the DC content of the said datastream to zero. Further, when the converter unit 10' is adapted to generate a (d,k) sequence as explained above, it causes the output signal of the device of figure 1 or 2 to be a (d,k) RLL output signal. Embodiments of the merging unit 4 are given in Bell System Technici 1 Journal, Vol 53, No. 6, pp. 1103-1106.The output signal of the IT precoder 16' is supplied to a write unit 34 for writing the signal in a track on a record carrier 36. The record carrier 36 can be a magnetic record carrier in longitudinal or disk form. The record carrier could also be an optical record carrier, such as an optical disk 36' The write unit 34 comprises a write head 38, which is a magnetic write head, when record ng the signal on a magnetic record carrier or an optical write head, when recording the signal on an optical record carrier.The functioning of the device of figure 2 will be explained hereafter. Figure 3 shows in figure 3a schematically the binary source signal applied to the input terminal 1 of the device. The source signal comarises a sequence of 2-bit source words, denoted swj, sw2, .... swj, swj+i,... Each time, four 2· bit source words of the binary source signal form a byte in the binary source signal. Sequence of each time six consecutive bytes Bo,.....B5 are shown in figure 3a. The merging unit 4' of figure 2 is adapted to insert a 1 -bit merging word each time between those groups of six consecutive bytes Bq to B5in the binary source signal, that is: a 1 -bit merging word is each time ii serted between subsequent groups of 24 2-bit source words of the binary source signal. In the present example, a merging word mw0is merged between the source words sw2and sw3of the binary source signal and a merging word mwi is merged between the source words swj+3ar d swi+4, resulting into the composite source signal shown in figure 3b.In the prior art device, no shuffling of the composite source signal is realized and the composite source signal is transferred to the converter unit 10' without modification. The converter unit 10' converts 2- rit words in the composite source signal into corresponding3-bit words. This is shown in figu-e 3c and figure 3d. Figure 3c shows the composite source signal divided into a sequence of 2-bit words, the so-called composite source words, denoted cswj, csw2, CSW3,.... Those composite source words are converted into corresponding 3-bit channel words, resulting in the chmnel signal shown schematically in figure 3d. The channel words in the channel signal are denoted cwj. Figure 3d shows the channel words cw2, cw7, cwj i and cwj, obtained from converting the 2-bit composite source words csw2, csw7, cswi j and cswj, respectively.Upon reconversion in a corresponding decoding device, the 3-bit channel words are reconverted into replica s of the original 2-bit composite source words. This is schematically shown in figure 3e, which shows the sequence of the replicas of the composite source words, denoted rcswi, rcsvr2, rcsws,...., rcsw,. Next, the merging words mw0and mwi, included in the replicas rcsws and rcsw1+4are deleted from those replicas, resulting in the replica of the original source signal, shown schematically in figure 3f. Figure 3f shows the replica of the source signal, in the form of a sequence of replicas of the original source words, those replicas being denoted in figure 3f by rswj, rsw2, rsw3,...., rswj, rswj+i,....From the figures 3b and 3c it is clear that, because of the insertion of the 1 -bit merging words between the 2-bit source words in figure 3a, the boundaries between the 2-bit source words in the composite source signal of figure 3b do not always coincide with the boundaries between the 2-bit composite source words in figure 3c. More specifically, this statement is valid for the source v ords SW3 to swl+3in the signal of figure 3b.Suppose now, that jpon conversion and subsequent reconversion of the composite source word csw7, an error occurs, resulting in an erroneous replica rcsw7. The first bit of the word rcsw7is the seventh bit b7of the byte Bo and the second bit in the word rcsw7is the first bit bo of the byte B| in the replica of the source signal of figure 3f. As the word rcsw7is erroneous, so are th3 bytes Bo and Bj. Thus error propagation occurs, as an error in one word of the replica ol the composite source signal results in an error in two bytes of the replica of the source signal.In accordance with the invention, a shuffling step is carried out on the composite source signal, prior to supplying the composite source signal to the converter unit 10'. Figure 4 shows one embodiment of this shuffling step and figure 5 shows another embodiment. Figure 4a shows ag;in the serial datastream of the binary source signal, in which a 1 -bit merging word is inserted each time between subsequent groups of 24 2-bit source words. Figure 4b shows ag lin how a merging word mw0is inserted after the source word sw2and a merging word mv, ] is inserted before the source word swj+4. Further, a shuffling step is carried out on the signal obtained after merging the merging words. The result of the merging and shuffling step is shown by the signal of figure 4b, which shows the shuffled composite signal in the fi rm of 2-bit words wbw2,.... w,, wi+i,......In addition to inserting the merging word mw0,1 he sequence of 2-bit source words following the source word sw2is shifted to the right in igure 4b over an additonal bit position, resulting in an empty bit position between the merging word mw0and the word w4of the shuffled signal. Thus, the word w4in the shuffled signal equals the source word sw3, the word w5in the shuffled signal equals the source word sw4, and so on. Thus, the word wi+3which equals the source word swi+2. The last two bits of the byte B5, the bits b6and b7, are included in the source word swi+3. The bit b& directly follows the word wi+3, as can be seen in figure 4b. The bit b7, however, is repositioned an i placed into the empty bit position between the merging word mw0and the word w4. This is indicated in figure 4b by the arrow 50. The next merging word mwi is inserted as the second bit of the 2-bit word wi+4, which is followed by the 2-bit word swj+5 which equals the source word sw;+4, and so on. It is clear from figure 4a and 4b that the boundaries between the words in the shuffled composite signal of figure 4b now coincide with the boundaries of the source words in the source signal of figure 4a.Converting the 2-bit words of the shuffled composite signal into 3-bit channel words leads to the channel signal of figure 4c. Subsequent reconversion leads to a replica of the shuffled composite signal which is shown in figure 4d. Next, the merging words are deleted from the replica of the shuffled composite signal. That means: the first bit of the replica of the word rw3is deleted and the second bit of the word rwj+4is deleted. Further, the second bit of the word rw3is retrieved from the serial datastream, so that the word rsw3that follows the word rsw2of the replica of the source signal equals the 2-bit word rw4of the replica of the shuffled composite i ignal, and so on. Thus, the word rswi+2of the replica of the source signal equals the word rw|43of the replica of the shuffled composite signal and the word rswi+4equals the word rwi+5. The bit b6 of the byte B5 of the replica of the source signal equals the first bit of the word rwj -4of the replica of the shuffled composite signal. Deleting the merging word mwj means an empty bit position, which is filled in by the bit value of the second bit of the word rw3, giving the bit b7of the byte B5. This repositioning of the bit b7is shown in figure 4e by the arrow 52.An error occurring during the conversion / reconversion step results in an eiToneous word rwj in the replica of the shuffled composite signal of figure 4d. As the boundaries between the words rwj in the signal of figure 4d and the words rswj in the signal of figure 4e are aligned, such erro · results in only one 2-bit word, and thus only one byte, to be erroneous, so that no error propagation occurs.In the example of f gure 4, it was the bit b7in the source word swj+3 that was repositioned to the position betwem the merging word mw0and the source word sw3. Another possibility would have been to reposition the bit bg in the source word swj+3into the position between the merging word mwo and the source word sw3.Figure 5 shows ancther way of shuffling the composite source signal. Figure 5a shows again the serial datastream of the binary source signal. Figure 5b shows again how a merging word mwo is inserted a: ter the source word SW2 and a merging word mw, is inserted before the source word swj+4. The shuffling step now comprises repositioning the bit bo of the byte Bo, that is: the first bit of the word sw3. The result of the merging and shuffling step is shown by the signal of figure 5b, which shows the shuffled composite signal in the form of 2-bit words wj, W2,.... w,, Wj+i,......The insertion of the merging word mw0in fact means a replacement of the bit bo af the byte Bo by the merging word mwo, whilst the bit bo is temporarily stored. Thus the following 2-bit words of the source signal remain in their original position. Or: the word swi in the source signal equals the word w4in the shuffled composite signal, and so on. Thus the word swj+3of the source signal equals the word Wj+3of the shuffled composite signal. Next, the bit bo, that was temporarily stored, is now added as the first bit of the word Wj+4and is followed by the merging word mwi as the second bit of the word Wj+4. This is schematically shown by the arrow 54 in figure 5b. The following source words swj+4, swi- 5,.... are shifted over two bit positions. But in all cases, the boundaries between the 2-bit words w in the shuffled composite signal of figure 5b and the source words sw in the source signal of figure 5a are aligned.Converting the 2-bit words of the shuffled composite signal into 3-bit channel words leads to the channel signal of figure 5c. Subsequent reconversion leads to a replica of the shuffled composite signal whieh is shown in figure 5d. Next, the merging words are deleted from the replica of the shuffled composite signal. That means: the first bit of the replica of the word rw3is deleted and the second bit of the word rwj+4is deleted. The open bit position of the merging word mwo is filled by the bit value of the first bit of the word rwj+4, resulting in the first bit of the 2-bit word rsw3, and thus resulting in bit bo of the byte Bq in the replica of the source signal. Further, the word rsw4that follows the word rsw3of the replica of the source signal equals the 2-bit word rw4of the replica of the shuffled composite signal, and so on. Thus the word rswj+3 of the replica of the source signal equals the word rwj+3 of the replica of th( shuffled composite signal. The first bit of the word rwi+4was already repositioned into the Trst bit position of the word rsw3. As a result, deleting the merging word mwj means that the words rwj+5(and so on) directly follow the word rswj+3as the words rswi+4(and so on) of the replica of the source signal. The repositioning of the bit bo is shown in figure 5e by the arrow 56.An error occurring during the conversion / reconversion step results in an erroneous word rwj in the replica of the shuffled composite signal of figure 5d. As the boundaries between the words rwj in the signal of figure 5d and the words rswj in the signal of figure 5e are aligned, such erro: · results in only one 2-bit word, and thus only one byte, to be erroneous, so that no error prop agation occurs.In the example of f gure 5, it was the bit bo in the source word SW3 that was repositioned to the position between the source word swj+3and the merging word mw;. Another possibility would have be en to reposition the bit bj in the source word SW3 into the position between the source word swj+3and the merging word mw|.Further, it should b; noted that the shuffling step has been described as a step that follows the merging step. It should however be noted that the shuffling step could precede the merging step, or couk coincide with the merging step.Figure 6 shows an embodiment of the shuffling unit 8' for carrying out the shuffling step described with refeience to the figures 4a and 4b. The shuffling unit of figure 6 comprises a memory in the form cf a shift register 40 having, in the example given, 47 storage locations. Further first and second controllable switches 42 and 44 are available having terminals a, b and c. Further, a control unit CPU is available for controlling the positions of the switches 42 and 44 via a control line 46 and for controlling the shifting of the information through the shift register 40 via a control line 48. The input 7 of the shuffling unit is coupled to the a-terminal 0 ’the switch 42. The b-terminal of the said switch is coupled to an input of the shift register 40. The c-terminals of the switches 42 and 44 are interconnected. An output of the siift register 40 is coupled to the b-terminal of the switch 44 and the a-terminal of the switch 44 is coupled to the output 9 of the shuffling unit.The functioning of the shuffling unit of figure 6 is as follows. Under the influence of a control signal on th; line 46, the switches 42 and 44 are both in their position a-b and under the influence of a control signal on the line 48, bits are stored in the first memory location M] of the shift register 40 and shifted further to the right in figure 6 in the shift register 40. It is assumed thai the signal of figure 4a, with the merging bits included, is supplied to the input 7 of the shuf ling unit. Storage of source words is carried out by storing the source word sw1?and subsequent source words thereafter. Storing the information is continued until the source word s\ / i is stored in the memory locations M47and M46, the source word sw2is stored in the ir emory locations M45and M44and the merging word mw0is stored in the memory location M4,. Five subsequent clock signals on the line 48 results in shifting the source words swi and sw2and the merging word mw0out of the shift register 40, so that they are applied to the output 9. The shift register now has the byte Bo, formed by the source words sw3to sw6, stored ir the memory locations M47to M40. The byte B i, formed by the source words sw7to SW]O, is stored in the memory locations M39to M32, and so on. The bits bo to be of the byte B5 are stored in the memory locations M7to M|. Further, the bit b7of the byte B5is now available at the input 7. Figure 6 shows the situation at this moment.Under the influence of the control signal on the line 46, the switches 42 and 44 now switch over to their positions a-c, so that the bit b7of the byte B5is supplied to the output 9 for further processing in he converter unit 10'. Next, the switches 42 and 44 are again positioned into their position a-b, so that the bit b0, stored in the memory location M47, and the subsequent bits stored in tie shift register 40, can be supplied to the output 9. Further the source word swj+4and followi ig source words are stored in the shift register 40. In this way, the bit b7of the byte B5is actually inserted in the serial datastream of the shuffled composite signal between the merging word mwo and the bit b0. This is done for each second group of 24 subsequent source wc rds.Figure 7 shows an embodiment of the shuffling unit 8' for carrying out the shuffling step described with reference to the figures 5a and 5b. The shuffling unit of figure 7 comprises a memory M having or e storage location. Further first and second controllable switches 42 and 44 are available 1 aving terminals a, b and c. Further, a control unit CPU is available for controlling the positions of the switches 42 and 44 via a control line 46 and for controlling the storage of information in the memory M via a control line 48. The input 7 of the shuffling unit is coupled to the a-terminal of the switch 42. The b-terminal of the said switch is coupled to an input of the memory M. The c-terminals of the switches 42 and 44 are interconnected. An output of the memory M is coupled to the b-terminal of the switch 44 and the a-terminal of the switch 44 is coupled to the output 9 of the shuffling unit.The functioning of the shuffling unit of figure 7 is as follows. Under the influence of a control signal on the line 46, the switches 42 and 44 are both in their position a-c, so that the serial datastream c f the source signal supplied to the input 7 is directly fed to the output 9. In this way, the sourc e words swjand SW2 and the merging word mw0in the composite source signal are supplied to the output 9. Under the influence of the control signal on the line 46, the switch 42 is sw tched into its position a-b, at a time instant that the bit bo in the source word SW3 appears at the input 7. Further, upon the influence of the control signal on the line 48, this bit bo is stored n the memory M. Next, uypon the appearance of the bit b, of the source word SW3, the switch 42 is again switched into of the position a-c, so that the bits bi, b2,.... and so on of the byte Bo can be supplied to the output 9. This continues until the source word swi+3 appears at the input 7 and is supplied to the output 9. Next, under the influence of a control signal on the line 46, the switch 44 is switched into its position a-b, so that the bit bo of the source word swo is supplied to the output. Next, under the influence of the control signal on the line 46, tl e switch 44 now switches over to its position a-c, so that the merging word mwj and subsecuent source words swj+5, swj+6,.... and so on, appearing at the input 7, can be supplied to the output 9. In this way, the bit b0in the source word sw3in byte Bq is actually inserted in the serial datastream of the shuffled composite signal between the source word swj+3and the merging word mwj. This is done for each second group of 24 subsequent source words.Figure 8 shows a cc nverter 10' that is capable of converting 2-bit words of the shuffled composite source signal i ito 3-bit channel words. The device described here is in fact the device also disclosed in U SP 5,477,222, with further modifications to realize the objectives of a minimization of the repeated minimum transition runlength.The converter 10' h is an input 60, for receiving the stream of databits of the shuffled composite binary source ί ignal S. The input 60 is coupled to an input of a shift register 62 having eight cells X] tc Xg, in the present example, so as to receive eight consecutive bits of the shuffled composite source signal S. The shift register 62 functions as a serial-parallel converter. The outputs of the cells are coupled to corresponding inputs ij to ig, respectively, of a logic circuit LC, for supplying the logic values (x1?.....,xg) of the bits present in the cells.The converter 10' further includes a second shift register 64 having twelve cells Y] to Yj2. The logic circuit LC has twelve outputs O] to 012. Those outputs of the logic circuit LC are coupled to correspo iding inputs of the twelve cells Y] to Y12, respectively, of the shift register 64. An output 66 of the shift register 64 is coupled to an output 68. The shift register 64 functions as a parallel-serial converter, so as to obtain the binary channel signal C.Further, a detector unit 70 is available for detecting specific sequences in the serial datastream of the source signal S. To that purpose, the outputs of the eight cells Xj toX8of the shift register 62 are cou[ led to corresponding inputs, denoted 72, of the detector unit 70. In the present embodiment, the detector unit 70 has three outputs, denoted Oj, 02 and 03, for generating a first, second and third control signal, respectively. Those outputs are coupled to corresponding control signal inputs Ci, c2and C3, respectively, of the logic circuit LC.The functioning of the logic circuit LC in response to the control signals applied to its inputs Ci, C2 and C3, is as follows.The logic circuit LC is capable of converting 2-bit source words Wj of the shuffled composite source signal into 3-bit channel words, such that the conversion for each2- bit source word is parity preserving. That means that the number of'ones' in the 2-bit word to be converted equals the numbei of'ones' in the corresponding 3-bit channel word, a modulo-2 addition on the 'ones' in the channel word being carried out. Or, otherwise said: if the number of 'ones' in the 2-bit word is even, the number of'ones' in the 3-bit channel word will be even. And: if the number c f'ones' in the 2-bit word is odd, the number of'ones' in the3- bit channel word will be odd.As an example, the converting means LC is adapted to convert the 2-bit words Wj into 3-bit channel words cw; in accordance with the following table:TABLE Iword Wj (Xj,X2) channel word cwj (Yi,Y2,Y3) 00 101 01 100 10 001 11 000It should be noted fere, that the first bit in the 2-bit word Wj is applied first to the shift register 62 and that the fiist bit in the channel word is supplied first from the output 66 of the shift register 64.It should be further noted here, that the logic circuit LC converts 2-bit words Wj stored in the cells Xi,X2into 3-rit channel words cw, and stores those channel words in the cells Y),Y2,Ys of the shift register 64, in response to an absence of any control signal at the control signal inputs Ci,c2and C3. Each conversion in this way, is followed by a shift over two positions to the left in the shif: register 62, and a shift over three positions to the left in tbp shift rpaistpr 64 The shift ovpi two nositions in the shift register 62 is reouired so as to make the shift register 62, and thi s the converter, ready for a subsequent conversion The shift over three positions in the shift register 64 is required in order to output the 3-bit channel word cwj generated.The converter 10’ of figure 8 can be used to generate a channel signal C in the form of a (d,k) sequence satisfying the d=l constraint. That means that at least one 'ziero' is present between two subsequent 'ones' in the serial datastream of the channel signal. That is, that a concatenation of two or mo :e 'ones' in the channel signal is prohibited.It might occur that the unmodified conversion, such as by means of the converter of figure 8, of combinations of two subsequent 2-bit words w; might violate the d=l constraint. Those combinations are the combinations; '00 00', which by unmodified conversion would lead to the two 3-bit channel words '101 conversion would lead to the two 3-bit channel words '101 conversion would lead to the two 3-bit channel words '00110Γ; '00 0Γ, which by unmodified100'; '10 00', which by unmodified101' and '10 01', which by unmodified conversion would leal to the two 3-bit channel words '001 100'.The occurrence of such combinations should be detected so that a modified encoding of blocks of two 2-bit words Wi,Wj+j into blocks of two 3-bit channel words cwi,cwj+i can take place. Therefoi e, the converter of figure 8 is, in addition to the 'normal' encoding of 2-bit words Wj into 3· bit channel words cw„ capable of detecting the above identified combinations, and is capable of realizing a modified encoding, such that the d=l constraint in the channel signal is still satisfied.Because of the faci that the outputs of the cells X] to X4 of the shift register 62 are coupled to corresponding inputs of the detector unit 70, this detector unit 70 is capable of detecting the position in the serial bitstream of the shuffled composite source signal where unmodified encoding of single 2-bit words Wj in the bitstream into corresponding single 3-bit channel words cw, would lead to i violation of the d=l constraint in the channel signal C, and are adapted to supply a control si; pral at its output 01 in response to such detection.More specifically, the detector unit 70 detects whether the cells Xj to X4 comprise one of the 4-bit sequent es that are given in table II, and generates a first control signal at its output Oj. As soon as the detector circuit 70 detects a combination of two 2-bit words Wj,Wj+] present in the four :ell positions xi,X2,X3,X4, which combination equals one of the combinations given in the left hand column of table II, the logic circuit LC converts the combination in accordance with tie modified coding as given in table II:TABLE IIwords Wi,Wj+i unmod ified coding modified coding 00 00 101 101 100 010 00 01 101 100 101 010 10 00 00] 101 000 010 1001 00] 100 001 010As can be seen from the table, unmodified conversion of the single two 2-bit words leads to a violation of the d=l constraint, as two 'ones' occur at the boundary between the two channel words obtained, he logic circuit LC is therefore adapted to convert in a modified coding mode, the blocks of two 2-bit words given in the left column of the above table into the blocks of two 3-bit channel words as given in the right column in the above table II. As can be seen, no violat on of the d=l constraint occurs anymore. Moreover, the modified encoding in the same way is parity preserving. Further, one of the two 2-bit words, which is in the above table the second one, is encoded into a 3-bit channel word which is unequal to one of the four channe words of table I. The reason for this is that on the receiver side, a detection of this 3-bit channel word not belonging to the set of four 3-bit channel words of the table I is possible, sc that a corresponding decoding, which is the inverse of the encoding as defined with reference to table II, can be realized.The block of two 3-bit channel words obtained by means of the encoding in conformity with table II, is suppli 3d by the logic circuit LC to its outputs oi to 06, which channel words are supplied to the six cells Y] to Y6of the shift register 64.It will further be clear that, a conversion of two 2-bit words into two 3-bit channel words by the converter unit LC, is followed by a shift over four positions to the left in the shift register 62 and a shift ever six positions to the left in the shift register 64. The shift over four positions in the shift register 62 is required so as to make the shift register 62, and thus the converter, ready for a subsequent conversion. The shift over six positions in the shift register 64 is required in ord ;r to output the two 3-bit channel words generated.The k-constraint ir a (d,k) sequence means that a concatenation of at most k 'zeroes' between two subsequent' mes' in the channel signal are allowed.It might occur that the unmodified conversion of three subsequent 2-bit words might violate the k-constraint.As an example: the sequence of 2-bit words '11 11 11' in the shuffled rm^nncitp cnnrcp ςίσηηΐ would b v unmofidied conversion lead to the three 3-bit channel words '000 000 000'. If a (d,k) secuence should be obtained where k equals 6, 7 or 8, such combination of three 3-bit channel words should not occur.Another example i: the sequence of 2-bit words '11 11 10'which by unmodified conversion would lead to the three 3-bit channel words '000 000 00Γ. This combination of three 3-bit channel words does not satisfy a k=6 or k=7 constraint. Moreover, this combination of three 3-bit channel words can follow a previous channel word that ends with a '0', so that it might lead to ί violation of a k=8 constraint. Further, the combination ends with a '1', so that it might lead to a violation of the d=l constraint, if the combination is followed by a 3-bit channel word :hat starts with a T. An equivalent reasoning is valid for the sequence of 2-bit words '01 11 IT.A further example s the sequence of 2-bit words'01 11 10'which by unmodified conversion would lead to the three 3-bit channel words '100 000 00Γ. This combination can, in the same way as given above, lead to a violation of the d= 1 constraint.The occurrence of such combinations should be detected so that a modified encoding can take place. Therefore, the converter of figure 8 is, in addition to the 'normal' encoding of 2-bit words into 3-bit channel words, as well as the modified encoding in accordance with table II, capable of detecting the above identified combinations, and is capable of realizing a modified encoding, such that the k-constraint in the channel signal is still satisfied.Because of the fact that the outputs of the cells X] to Xe of the shift register 62 are coupled to corresponding inputs of the detector unit 70, this detector unit 70 is capable of detecting the position in the serial bitstream of the shuffled composite source signal where unmodified encoding would lead io a violation of the k-constraint in the channel signal C, and are adapted to supply a contrcl signal at its output 02 in response to such detection.More specifically, the detector unit 70 detects whether the cells X] to X6 comprise one of the 6-bit sequenc :s that are given in table III, and generates a second control signal at its output 02.As soon as the detector circuit 70 detects a combination of three 2-bit words present in the six cell positions X].X2,X3,X4,X5,X6, which combination equals one of the combinations given in the left hand column of table III, the logic circuit LC converts the combination in accordance with ti e modified coding as given in table III:TABLE III2-bit words unmodified coding modified coding 11 11 11 000 000 000 000 010 010 11 11 10 000 000 001 001 010 010 01 11 10 100 000 001 101 010010 01 11 11 100 000 000 100010010The logic circuit LC converts in the second modification of the coding mode, the blocks of three 2-bit words gmen in the left column of the above table III into the blocks of three 3-bit channel words as given in the right column in the above table. By realizing the modified encoding as per table III, a channel signal has been obtained which satisfies the k=8 constraint. Moreover, the modified encoding in the same way is parity preserving. This means in the present situation that, if the number of 'ones' in the combination of three 2-bit words is odd (even), the number c f'ones' in the combination of the three 3-bit channel words obtained is odd (even). Further, two of the three 2-bit words, which is in the above table the second one and the third one, is encoded into a 3-bit channel word which is unequal to one of the four channel words of table I. The reason for this is that on the receiver side, a detection of these two consecutive 3-bit channel words not belonging to the set of four 3-bit channel words of the table I is possible, so that a corresponding decoding, which is the inverse of the encoding as defined with reference to table III, can be realized.The block of three 3-bit channel words obtained by means of the encoding in conformity with table III, is suppl ed by the logic circuit LC to its outputs oi to 09, which channel words are supplied to the nine cells Yi to Y9 of the shift register 64.It will further be clear that, a conversion of three 2-bit words into three 3-bit channel words by the converter ur it LC, is followed by a shift over six positions to the left in the shift register 62 and a shift over nine positions to the left in the shift register 64. The shift over six positions in the shift regi; ter 62 is required so as to make the shift register 62, and thus the converter, ready for a subsequent conversion. The shift over nine positions in the shift register 64 is required in order to output the three 3-bit channel words generated.A further requirement for encoding the shuffled composite source signal is that the repeated minimum transition r anlength in the channel signal should be limited. The repeated minimum transition runlength is defined as the length of the sequence of subsequent constraint equals 1. As an exampl 2, the bit sequence '00 01 00 0Γ results, after modified conversion using table II, in the fit sequence Ί01 010 101 010'. In the same way, the bit sequence '10 01 00 01' results, aft ;r modified conversion using table II, in the bit sequence '001 010 101 010'. Such sequences deteriorate the bit detection in a receiver.Restriction of the length of 01-secuences is thus required.Because of the fact that the outputs of the cells X] to Xg of the shift register 62 are coupled to corresponding inpits of the detector unit 70, this detector unit 70 is capable of detecting the position in the serial bitstream of the shuffled composite signal where unmodified encoding would lead o a violation of the requirement that repeated minimum transition runlenght is limited and is adapted to supply a control signal at its output 03 in response to such detection.More specifically, he detector unit 70 detects whether the cells X] to Xg comprise one of the 8-bit sequences that are given in table IVa, and generates a third control signal at its output 03.As soon as the detector circuit 70 detects a combination of four 2-bit source words present in the eight cell positions xi,X2,X3,X4,X5,X6,X7,X8, which combination equals one of the combinations given in the 1 ;ft hand column of table IVa, the logic circuit LC converts the combination in accordance wi:h the modified coding as given in table IV into a 12-bit bitsequence as given in the right column of this table IVa.TABLE IVa8-bit bitsequence in source signal 12-bit bitsequence in channel signal 00 01 00 01 10 01 00 01 100010010010 000010010010The modified conversion as per table IVa is again aparity preserving.It should be noted 1 hat the bitstream of the channel words is in NRZI (nonreturn to zero-inverse) notation, which means that a 'one' results in a transition in the write current for recording the channel dgnal on a magnetic record carrier.In the foregoing, tl e situations where a modified encoding is required are detected by the detector unit 70 from the 2-bit words in ther shuffled composite source signal. It should however be noted that d Section could be carried out on the channel words senerated. Reference is made in f lis respect to figure 2b in USP 5,477,222.Figure 9 shows ant ther embodiment of the converter in which detection of the situations where a modified encoc ing is required is done based on the channel words generated by an unmodified codir g as per table I.The converter of figure 9 includes a detector 70' having 12 inputs for receiving the four subsequent 3-bit channel words obtained by means of an unmodified encoding as per table I in the circuit LC. The detector 70' detects whether the two subsequent 3-bit channel words at the outputs Oj to 06 of the circuit LC, obtained using the unmodified coding, equal one of the four 6-bit sequences given in the middle column under 'unmodified coding' of table II. If so, the detector 70' issues a switching signal at its output 72 and an address signal AD at its output 72'. The switching signal is applied to a switching signal input 65 of the shift register 64'. The address signal AD is applied to an address signal input 76 of a ROM 77. The detector 70' generates one of four possible address signals ADI to AD4, in response to the detection of a corresponding one of the four 6-bit sequences in the middle column of table II. As an example, the address signal ADI is generated when the detector 70' detects the sequence '101101' and generates tie address signal AD4 upon detection of the 6-bit sequence '001100'. The ROM 77 has the 6-bit sequences shown in the right column of table II stored. Upon the receipt of the address sijpial ADI, the ROM supplies the 6-bit sequence '100 010' at its outputs Oi to 06, and upon the receipt of the address signal AD2, the ROM supplies the 6bit sequence '101 010' at those oulputs. Upon the receipt of the address signal AD3, the ROM supplies the 6-bit sequence '000 0 10' at those outputs, and upon the receipt of the address signal AD4, the ROM supplies the 6-bit sequence '001 010' at those outputs. Each memory location of the shift register 64' has now two inputs, one of them being coupled with a corresponding output of the logic circuit LC', the other being coupled to a corresponding output of the ROM ΊΊ. In respons ί to the switching signal applied to the input 75, the shift register accepts the information si pplied to its lower inputs and shifts its contents over six positions to the left. As a result, a modified 6-bit sequence is supplied by the shift register 64' to the output 68.The detector 70' aho detects whether the three subsequent 3-bit channel words at the outputs oj to 09 of the circuit LC, obtained using the unmodified coding, equal one of the four 9-bit sequences given in tie middle column under 'unmodified coding' of table III. If so, the detector 70' issues a switching signal at its output 72 and an address signal AD at its output 72'. The detector 70' generates one of four possible address signals AD5 to AD8, in response to the detection of a corr ^ponding one of the four 9-bit sequences in the middle column of table III. As an example, the address signal AD5 is generated when the detector70' detects the sequence '000 000 300' and generates the address signal AD8 upon detection of the 9-bit sequence '100 000 000'. The ROM 77 has the 9-bit sequences shown in the right column of table III stored. Upon tie receipt of the address signal AD5, the ROM supplies the9-bit sequence Ό00 010 010' at its outputs Oi to o9, and upon the receipt of the address signal AD6, the ROM supplies the 9-bit sequence Ό01 010 010' at those outputs. Upon the receipt of the address signal AD7, the ROM supplies the 9-bit sequence '101 010 010' at those outputs, and upon the receipt of the address signal AD8, the ROM supplies the 9-bit sequence '100 010 010' at those outputs.In response to the switching signal applied to the input 75, the shift register accepts the information supplied ti its lower inputs and shifts its contents over nine positions to the left. As a result, a modified 9-bit sequence is supplied by the shift register 64' to the output 68.The detector 70' fuither detects whether the four subsequent 3-bit channel words at the outputs o, to oj2of the circuit LC, obtained using the unmodified coding, equal one of the following two 12-bit se ]uences: '101 010 101 010'or'001 010 101 010'. If so, the detector 70' issues a switching signal at its output 72 and an address signal AD at its output 72'. The detector 70' generates one of two possible address signals AD9 and AD 10, respectively, in response to the del ection of a corresponding one of the two 12-bit sequences given above. As an example, the address signal AD9 is generated when the detector 70' detects the sequence '101 010 101 010' and generates the address signal AD 10 upon detection of the 12-bit sequence '001 010 010 101'. The ROM 77 has the 12-bit sequences shown in the right column of table IVa stored. Upon the receipt of the address signal AD9, the ROM supplies the 12-bit sequence '100 (00 010 010' at its outputs oj to O]2, and upon the receipt of the address signal AD 10, the ROM supplies the 12-bit sequence '000 010 010 010’ at those outputs.In response to the switching signal applied to the input 75, the shift register accepts the information supplied to its lower inputs and shifts its contents over twelve positions to the left. As a result, a modified 12-bit sequence is supplied by the shift register 64' to the output 68.In the normal situat on, when none of the constraints is violated, unmodified conversion is carried out in accord ince with table I, and the switching signal is absent so that the shift register accepts the bits si pplied by the logic circuit LC via the upper inputs of the shift register 64'.It has been said previously that other conversion rules for converting single 2bit words into single 3-bit channel words are possible. Those conversion rules are given in the following three tables.TABLE IVbword Wj (xi,x?) channel word cwj (yi,y2,Y3) 00 101 01 001 10 100 11 000TABLE Vword Wj (χι,χ?) channel word cwj (yi,y2,y3) 00 000 01 100 10 001 11 101TABLE VIword Wj (xi,X2) channel word cwj (yi,y2,y3) 00 000 01 001 10 100 11 101It is evident that exlensions of those conversion rules for encoding blocks of two, three or four 2-bit words into blocks of two, three or four 3-bit channel words, respectively, can be obtained using the teachings given above.Figure 10 shows an embodiment of a decoding device for decoding the channel signal generated by the encoding device of figure 1 or 2 into a replica of the binary source signal. The decoding device has an input terminal 80 for receiving the channel signal comprising a sequence of m-bit channel words. The input terminal 80 is coupled to an input 82 of a conversion unit 84, which has an output 86 coupled to an input 88 of a reshuffling unit 90. An output 92 of the reshi filing unit 90 is coupled to an input 94 of a deletion unit 96, which has an output 98 which is (oupled to the output terminal 100 of the decoding device.The reconverter unit 84 is adapted to convert subsequent blocks of p consecutive m-bit channel words in said channel signal into corresponding subsequent blocks of p consecutive n-bit words. The datasteam of n-bit words at the output 86 is a replica of the shuffled composite binary source signal, where q-bit merging words are present at equidistant positions in the shuffled composile binary source signal, and where subsequent q-bit merging words in said shuffled signal are separated by groups of x.n bits in said shuffled composite binary source signal. The reshuffling unit 90 is adapted to carry out a reshuffling operation on each second group of said groups of x.n bits in the said replica of the shuffled composi te binary source signal, more specifically, by repositioning q bits of a second group of x.n bits into another position in the said g. oup of x.n bits. This results in a replica of the composite binary source signal at the output 92. The deleting unit 96 deletes the q-bit merging words present in said replica of the composite binary source signal, resulting in a replica of the binary source signal at the output 98, which replica is supplied to the output terminal 100.It should be noted that x is an integer larger than 1, n and q are integers for which holds n = 2q and q > 1, m a nd p are integers for which holds m > n > 1, p > 1, and where p can vary.Further, the reshuffling operation comprises the step of repositioning said p bits such that the n-bit words in the replica of the composite binary source signal are aligned with the n-bit words in the replica of the binary source signal.Figure 11 shows a slightly modified version of the decoding device of figure 10. The decoding device of figure 11 is for converting a channel signal comprising 3-bit channel words into a replica of the binary source signal comprising 2-bit source words. The channel signal is obtained from re iding the channel signal from a track on a record carrier, which is either in the form of a magnetic record carrier 36 in longitudinal or disk form, or in the form of an optical record carrier, such as an optical disk 36'. A read unit 102 is therefore provided which comprises a read head 104, which is a magnetic read head, when recording the signal on a magnetic record ca-rier or an optical write head, when recording the signal on an optical record carrier.The channel signal thus obtained is converted in the reconverter unit 84', which is adapted to convert subsequent blocks of p consecutive m-bit channel words in said channel signal into corresponding subsequent blocks of p consecutive n-bit words in said shuffled composite binary source signal. The reshuffling unit 90' is adapted to reshuffle 1 -bit in each second group of x.n bits to another position, as per the shuffling shown in either the figures 4d and 4e or the figures 5d and 5e, so as to obtain the replica of the composite binary source signal. The deletion unit 96' deletes the 1 -bit merging words from the replica of the composite binary source signal sc as to obtain the replica of the binary source signal .The reshuffling unit 90' for reshuffling the 1 -bit b7into its original position, as shown in the figures 4d and 4e, cen be in the form of the shuffling unit shown in figure 7.Under the influence of a control signal on the line 46, the switches 42 and 44 are both in their position a-c, so tl at the serial datastream of the replica of the shuffled composite source signal supplied o the input 7 is directly fed to the output 9. In this way, the words rwiand rw2and the merging word mw0are supplied to the output 9. Under the influence of the control signal on he line 46, the switch 42 is switched into its position a-b, at a time instant that the bit b7in the word rw3appears at the input 7. Further, upon the influence of the control signal on he line 48, this bit b7is stored in the memory M. Next, uypon the appearance of the word rw3, the switch 42 is again switched into of the position ac, so that the words rw3, rw4,.... and so on can be supplied to the output 9. This continues until the word rwi+4 appears at the input 7 and the bit b6in the said word is supplied to the output 9. Next, under the influence of a control signal on the line 46, the switch 44 is switched into its position a-b, so that the bit b7stored in the memory M is supplied to the output. Next, under the influence of the control signal on the line 46, the switch 44 now switches over to its position a-c, so that the merging word mw, and subsequent words rwj+5, rwj+6, .... and so on, appearing at the input 7, can be supplied to the output 9. In this way, the bit b7in the word rw3is actually ir serted in its original position of the serial datastream of the replica of the composite binary source signal. This is done for each second group of 48 subsequent source bits in the replica of the shuffled composite binary source signal.The reshuffling unii 90' for reshuffling the 1 -bit b0into its original position, as shown in the figures 5d and 5e, ca:i be in the form of the shuffling unit shown in figure 6.Under the influence of a control signal on the line 46, the switches 42 and 44 are both in their position a-b and under the influence of a control signal on the line 48, words rwj are stored in the shift register 40 and shifted further to the right in figure 6 in the shift register 40. Storage of words is earned out by storing the word rw15and subsequent words thereafter. Storing the information is continued until the word rwj is stored in the memory locations M47and ΝΕό, the word rv2is stored in the memory locations M45and M44and the merging word mw0is stored in the memory location M43. Five subsequent clock signals on the line 48 results in shifting the wjrds rwj and rw2and the merging word mw0out of the shift register 40, so that they are applied to the output 9. The shift register now has the bit bi stored in the memory location M4?. Further, the bit bo, in the word rwi+4is present at the input7.Under the influence of the control signal on the line 46, the switches 42 and 44 now switch over to their positions a-c, so that the bit bo is supplied to the output 9. Next, the switches 42 and 44 are again posi ioned into their position a-b, so that the bit bj, stored in the memory location M47, and the suh sequent words rw4, rwj,... stored in the shift register 40, can be supplied to the output 9. In this way, the bit bo is actually inserted in its original position in the serial datastream o?the replica of the composite signal. This is done for each second group of 48 subsequent so irce bits in the replica of the shuffled composite binary source signal.It will be clear that, where in the example of figure 4 the bit be in the source word SW3 was repositioned in the shuffling step, a corresponding reshuffling step should be carried out to reposition the bit be into its original position. Further, where in the example of figure 5, the bit bi was repositioned in the shuffling step, a corresponding reshuffling step should be carried out to reposition the bit bi into its original position.Further, it should b; noted that the reshuffling step has been described as a step that precedes the deletion step. It should however be noted that the reshuffling step could follow the deletion step, or could coincide with the deletion step.Figure 12 shows an embodiment of the reconverter unit 84' of figure 11 for decoding the channel signal so as o obtain said replica of the shuffled composite binary source signal. The converter unit E 4' has an input 150 for receiving the channel signal, which input terminal 150 is coupled to ar input 156 of a shift register 151, comprising twelve cells Y] to Y12. The shift register 151 ftnctions as a serial-parallel converter so that blocks of four 3-bit channel words are applied to inputs ή to i]2of a logic circuit 152. The logic circuit 152 comprises the four tables I, II, III <nd IV. Outputs Oi to o8of the logic circuit 152 are coupled to inputs of cells Xi to X8of a shift register 154, which has an output 157 coupled to an output terminal 155. A detector circuit 153 is present having inputs ή to i9. schematically indicated by the reference number 160, coupled to outputs of cells Y4to Y12respectively of the shift register 151, and outputs O], o2and 03 coupled to control inputs Ci, c2and c3, respectively, of the logic circuit 152. The detector circuit 153 is capable of (a) detecting a '010 010 010' bit pattern in the cells Y4to Y12of the shift register 151, (b) detecting a bit pattern '010 010 in the cells Y4to Y9of the shift register 151, whilst the bits in the cells Yjo, Yji and Y12aie unequal to '01 O', and (c) detecting a '010' bit pattern in he cells Y4, Y5 and Yg, whilst the bits in the bitcells Y7, Yg and Y9 are unequal to '010'.Upon detection of he '010 010 010' bitpattem, the detector circuit 153 generates a control signal on its output oj, upon detection of the '010 010' bit pattern in the cells Y4 to Y9, the detector circuit 153 generates a control signal on its output o2, upon detection of the '010' pattern in th; cells Y4 to Y6, the detector circuit 153 generates a control signal at its output 03, whilst, when there is no '010' bit pattern in the cells Y4 to Yi2, it generates no control signal on its outputs.In the absence of tl e control signals, the logic circuit 152 converts the 3-bit channel word stored in the cells Ύ1, Y2and Y3into its corresponding 2-bit word, as per the conversion table I, and supplies the 2-bit word to the cells Xj and X2. In the presence of the control signal at the input c3, the 1 tgic circuit 152 converts the block of two 3-bit channel words stored in the cells Yj to Y6into a block of two 2-bit words, as per the conversion table II, and supplies the two 2-bit won's to the cells Xi to X4. In the presence of the control signal at the input c2, the logic circuit 152 converts the block of three 3-bit channel words stored in the cells Yj to Y9 into a block of t iree 2-bit words, as per the conversion table III, and supplies the three 2-bit words to the cells Xj to Xg. In the presence of the control signal at the input C], the logic circuit 152 converts the block of four 3-bit channel words stored in the cells Yi to Y12 into a block of four 2-bit words, as per the conversion table IVb, and supplies the four 2-bit words to the cells X to Xg.In this way, the ser al datastream of the channel signal is converted into the replica of the shuffled composite binary source signal.Figure 13 shows at ain another shuffling scheme that can be carried out on the source signal. In this embodiment the shuffling is not done on the basis of groups of an integer number of the source wort s. In the present example, the shuffling is carried out on each second group of y bits of the source signal. In the present example, y=45, as can be seen in figure 13.Figure 13a shows again the serial datastream of the binary source signal. Figure 13b shows how a merging v'ord mwg is inserted before the source word swj and a merging word mwi is inserted before the source word sw,. The shuffling step now comprises repositioning the bit b4 of the byte B5, that is: the first bit of the word sw23. The result of the merging and shuffling step is shown by the signal of figure 13b, which shows the shuffled composite signal in the form of 2-?it words Wj, w2,.... Wj, wi+!,......The insertion of the merging word mw0in fact means 1 shift of the source words in the source signal over two bit times, whilst the bit b4of the byte B5is stored in the second bit position of the word wj. This is schematically shown by the arrow 154 in figure 13b. The following source words swj, sw2, .... are shifted over two bit positions. In the third group of y bits shown in figure 13a, again the last bit of the group os shifted to a location in front of the first bit in the group. This is schematically shown by the arrow 154' in figure 13a and 13b.In all cases, the boundaries between the 2-bit words w in the shuffled composite signal of figure 13b ano the source words sw in the source signal of figure 13a are aligned.Converting the 2-bit words of the shuffled composite signal into 3-bit channel 10 words leads to the channel signal only schematically shown in figure 13c. Subsequent reconversion leads to a replica of the shuffled composite signal which is shown in figure 13d. Next, the merging words are deleted from the replica of the shuffled composite signal. That means: the first bit of the word rw is deleted, the first bit of the word rw24and the first bit of the word rwj+i is deleted.Further, the bit b4a the second bit position of the word rwi is repositioned to the first bit position of the word rs v23, see the arrow 156, and the arrow 156' indicates the repositioning of the bit bj in the third group of 45 bits to its original position.An error occurring during the conversion / reconversion step results in an erroneous word rwj in the replica cf the shuffled composite signal of figure 13d. As the 20 boundaries between the words rw, in the signal of figure 13d and the words rsw; in the signal of figure 13e are aligned, such errcr results in only one 2-bit word, and thus only one byte, to be erroneous, so that no error prop igation occurs.It should be noted tl iat the shuffling step has been described as a step that follows the merging step. It should however be noted that the shuffling step could precede the 25 merging step, or could coincide wi :h the merging step.Whilst the inventior has been described with reference to preferred embodiments thereof, it is to be un ierstood that these are not limitative examples. Thus, various modifications may become apparent to those skilled in the art, without departing from the scope of the invention, as defined in the claims. As an example, the converter unit of 30 figure 12 could be modified into a converter unit in which the detector 153 detects the various modified decoding situations from the decoded information, instead of from the encoded information, as disclosed :n figure 12.Further, the inventicn lies in each and every novel feature or combination of features.
Claims
CLAIMS 1 · A device for encoding a stream of databits of a binary source signal into a stream of databits of a binary channel signal, the binary source signal comprising a sequence of consecutive n-bit source words and the binary channel signal comprising a sequence of consecutive m-bit channel words, the device comprising - input means (1) for receiving the binary source signal, - merging means (4) for receiving a first input signal that equals the binary source signal, and for merging a q-bit merging word each time between subsequent groups of y consecutive bits in said first input signal, in response to a control signal, - control signal generator means (24) for generating said control signal, - shuffling means (8) for receiving said binary source signal merged with said q-bit merging words in said merging means (4), md for carrying out a shuffling operation on each second group of said groups of y consecuiive bits, the combined steps of merging in said merging means (4) and shuffling in said shuffling means (8) resulting in a shuffled c imposite binary source signal, comprising a sequence of nbit words, y, n and q being integer; for which holds: y > 1, n > 1 and q > 1, - converting means (10) for converting the shuffled composite binary source signal into said binary channel signal, by converting subsequent blocks of p consecutive n-bit words in said shuffled composite binary source signal into corresponding subsequent blocks of p consecutive m-bit channel words i i said binary channel signal, m and p being integers for which hold: m > n, p > 1, and whe e p can vary - output means (20) for supplying said binary channel signal, the shuffling operation comprising the step of repositioning in each of said second groups of y consecutive bits, q bits in the group into another position in the said group, such that, except for the n-bit words compris ng at least one q-bit merging word, the n-bit words in said shuffled composite binary source signal, required for conversion into m-bit channel words, are aligned with the n-bit source wDrds in said binary source signal, and that n = 2q.2· A device as claimed in claim 1, wherein y=x.n, so that each group of y bits comprises x consecutive n-bit sour :e words, where x is an integer larger than 1.
3. The device as clained in claim 1, wherein the shuffling operation comprises the step of repositioning in a seco id group of y consecutive bits, the last q bits in the group of y consecutive bits into a position before the first bit in the said group of y consecutive bits.4· The device as claimed in claim 2, wherein the shuffling operation comprises the step of repositioning in a second group of x consecutive n-bit source words, q bits of the last source word in the group of x consecutive source words into a position before the first nbit source word in the said group of x consecutive source words.
5. The device as claimed in claim 4, wherein the shuffling operation comprises the step of repositioning in said sexmd group of x consecutive n-bit source words, the last q bits of the last source word in the ;pOup of x consecutive source words into a position directly before the first n-bit source word i a the said group of x consecutive source words.6- The device as claimed in claim 1, wherein the shuffling operation comprises the step of repositioning in a secord group of y consecutive bits, the first q bits in the group into a position after the last bit in t le said group of y consecutive bits.
7. The device as claim sd in claim 2, wherein the shuffling operation comprises the step of repositioning in a second group of x consecutive n-bit source words, q bits of the first source word in the group of x consecutive source words into a position after the last n-bit source word in the said group of x consecutive source words.8· The device as claimed in claim 7, wherein the shuffling operation comprises the step of repositioning in said second group of x consecutive n-bit source words, the first q bits of the first source word in the jxoup of x consecutive source words into a position directly after the last n-bit source u ord in the said group of x consecutive source words.9- The device as claimed in anyone of the preceding claims, wherein said converting means (10) is adapted tc convert a block of p consecutive n-bit words in the shuffled composite binary source signal into a corresponding block of p consecutive m-bit channel words, such that the conversion for each block of p consecutive n-bit words of the shuffled composite binary source signal is parity preserving.10- The device as claimed in anyone ofthe preceding claims, characterized in that, m=3.n / 2.11· The device as claimed in claim 10, characterized in that, n=2.
12. The device as clain led in claim 11, characterized in that, the device is adapted to convert single words in the shu fled composite binary source signal into corresponding single channel words in accordance with the following table: 2-bit word channel word 00 101 01 100 10 001 11 00013. The device as clain- ed in claim 11 or 12, wherein the converting means (10) are adapted to convert 2-bit words in the shuffled composite binary source signal into corresponding 3-bit channel words, so as to obtain a channel signal in the form of a (d,k) sequence, where d=l, the device fiirther comprising means (70) for detecting the position in the bitstream of the shuffled comp / site binary source signal where encoding of single 2-bit words into corresponding single channel words would lead to a violation of the d-constraint at the channel word boundaries and for supplying a control signal in response to said detection, characterized in that, in the absence of the control signal, the converting means (10) are adapted to convert single 2-bit woids in the shuffled composite binary source signal into corresponding single 3-bit channel words, such that the conversion for each 2-bit word is parity preserving.
14. The device as claimed in claim 13, wherein, in the presence of the control signal, occurring during the convei sion of two consecutive words in the shuffled composite binary source signal, the converting means (10) are adapted to convert a block of said two consecutive 2-bit words into a block of two corresponding 3-bit channel words, such that one of the two words in the block of 2- fit words is converted into a 3-bit channel word which is not identical to one of the four channel words used in converting single 2-bit words, in order to preserve the d-1 constraint, characterized in that, in the presence of said control signal, the converting means (10) are further adapted to convert the block of said two subsequent 2-bit words into a corresponding block af two subsequent 3-bit channel words, such that the conversion for said block of two s ibsequent 2-bit words is parity preserving.
15. The device as clairr ed in claim 14, characterized in that, the converting means (10) are adapted to convert the blocks of two consecutive 2-bit words into the blocks of two consecutive 3-bit channel words ir accordance with the coding given in the following table: block of two 2-bit words block of 2 channel words 00 00 100 010 00 01 101 010 10 00 000 010 10 01 001 01016. The device as claimed in claim 14 or 15, where k has a value larger than 5, the device being further provided with means (70) for detecting the position in the bitstream of the shuffled composite binary source signal where encoding of single 2-bit words into single 3-bit channel words would lead to a violation of the k-constraint and for supplying a second control signal in response to said d< Section, characterized in that, in the presence of the second control signal, occurring du-ing the conversion of three consecutive 2-bit words in the shuffled composite binary source signal, the converting means (10) are adapted to convert a block of said three consecutive 2-bit words into a block of corresponding three consecutive 3bit channel words, such that the cor version for said block of three 2-bit words is parity preserving, the converting means (10) are further adapted to convert two of the three words in the block of three 2-bit words into c orresponding 3-bit channel words not identical to the four channel words used for converting single 2-bit words, in order to preserve the k constraint.
17. Device as claimed in claim 16, characterized in that, the converting means (10) are adapted to convert blocks cf three consecutive 2-bit words into blocks of three a1 — 4.1, o , - — 4-1,« Γ 11--!----->11-----31 block of three 2-bit words block of 3 channel words 11 11 11 000 010 010 11 11 10 001 010 010 01 11 10 101 010010 01 11 11 100 010 01018. A device for decodi ig a stream of databits of a binary channel signal into a stream of databits of a binary source signal, the device comprising - input means (80) for receiving th ϊ binary channel signal, - reconverting means (84) for converting the binary channel signal into a composite binary source signal, the reconverting means (84) being adapted to convert the binary channel signal into a shuffled composite binary sc urce signal by converting subsequent blocks of p consecutive m-bit channel words in said channel signal into corresponding subsequent blocks of p consecutive n-bit words in said shuffled composite binary source signal, q-bit merging words being present at equidistant ?ositions in the shuffled composite binary source signal, subsequent q-bit merging words in said shuffled signal being separated by groups of y bits in said shuffled composite binary sou -ce signal, - reshuffling means (90) for carryir g out a reshuffling operation on each second group of y bits of the said shuffled composite ?inary source signal, by repositioning q bits of a second group of y bits into another position in the said group of y bits, - deleting means (96) for deleting slid q-bit merging words, the combined steps of reshuffling in said reshuffling means (90) and deleting in said deletion means(96) resulting in the binary source signal, comprising a sequence of n-bit source words, - output means (100) for supplying said binary source signal, wherein y is an integer larger than :, n and q are integers for which holds n = 2q and q > 1, m and p are integers for which holds ι ί > n > 1, p > 1, and where p can vary.
19. A device as claime i in claim 18, wherein y=x.n, so that each group of y bits comprises x consecutive n-bit sou-ce words, where x is an integer larger than 1.
20. The device as claimed in claim 18, wherein the reshuffling operation comprises the step of repositioning in a second group of y bits, the first q bits of the group of y bits into a position after the last mt in the said group of y bits. (fig. 4)21. The device as clain ed in claim 18, wherein the reshuffling operation comprises the step of repositioning in a second group of y bits in the shuffled signal, the first q bits of the group of y bits into a position before the last q bits in the said group of y bits.
22. The device as clain ed in claim 18, wherein the reshuffling operation comprises the step of repositioning in a second group of y bits in the shuffled signal, the last q bits in the group of y bits into a position before the first bit in the said group of y bits. (fig. 5)23. The device as claimed in claim 18, wherein the reshuffling operation comprises the step of repositioning in a second group of y bits in the shuffled signal, the last q bits in the group of y bits into a position after the first q bits in the said group of y bits.
24. Recording device ft r recording a channel signal in a track on a record carrier (36’), the recording device compri ting the encoding device as claimed in anyone of the claims 1 to 17, and comprising writing means (34) for writing the channel signal generated by said encoding device in said tra / k on the record carrier (36’).
25. Recording device as claimed in claim 24, wherein it further comprises IT precoding means (16’) for precodiiig the channel signal prior to writing the channel signal on the track on the record carrier (36’ / .
26. Record carrier (36’) comprising a channel signal in a track obtained with the recording device as claimed in claim 24 or 25.
27. Record carrier (36’) as claimed in claim 26, wherein the record carrier (36’) is an optical record carrier.
28. Reproducing devic 3 for reproducing a channel signal from a track on a record carrier (36’), the reproducing device comprising the decoding device as claimed in anyone of the claims 18 to 23, and comprising reading means (102) for reading the channel signal from the said track.
29. Method of encodin q a stream of databits of a binary source signal into a stream of databits of a binary channel signal, the binary source signal comprising a sequence of consecutive n-bit source words and the binary channel signal comprising a sequence of consecutive m-bit channel words, the method comprising the steps of - receiving the binary source sign;!, - receiving a first input signal that equals the binary source signal or a shuffled version thereof, and merging a q-bit merg ng word each time between subsequent groups of y consecutive bits in said first input signal in a merging means (4), in response to a control signal, - generating said control signal, - receiving a second signal that eq aals said binary source signal or said binary source signal merged with said q-bit merging wards in said merging means (4), and carrying out a shuffling operation on each second group of said groups of y consecutive bits, the combined steps of merging and shuffling resulting in a shuffled composite binary source signal, comprising a sequence of r -bit words, y, n and q being integers for which holds: y > 1, n > 1 and q > 1, - converting the shuffled composil e binary source signal into said binary channel signal, by converting subsequent blocks of p consecutive n-bit words in said shuffled composite binary source signal into corresponding subsequent blocks of p consecutive m-bit channel words in said binary channel signal, m and o being integers for which hold: m > n, p > 1, and where p can vary - supplying said binary channel signal, the shuffling operation comprising the step of repositioning in each of said second groups of y consecutive bits, q bits in the group into another position in the said group, such that, except for the n-bit words comprising a merging word, the n-bit words in said shuffled composite binary source signal, required for conversion into m-bit channel words, are aligned with the n-bit source words in saic shuffled composite binary source signal, and that n = 2q.
