Digital modulator and demodulator

Abstract: A digital modulator converts M-bit data words to N-bit code words (N > M) each containing a specific number of bits of '1'. The specific number is one of predetermined numbers which are different at least 3 from one another. A specific data word may be converted either one of two code words having different numbers of bits of '1' from each other so as to reduce DC component of a channel code constituted by the code words.

Description: The present invention relates to a digital modulator for converting a binary data to a channel code suited for recording or transmission and a demodulator for converting the channel code back to the original binary data. For the purpose of improvement of the digital recording or digital communication, there has recently been utilized a digital modulator performing such a process known as group coding. The group coding divides data bits into groups and converts each group to a channel code. The group coding can improve the efficiency of coding, and allow self-clocking. As a digital modulation method of group coding, (2,7) code method is disclosed in U.S. Patent 3,689,899. This digital modulation allows data bits composed of 2-, 3-, and 4-bit units to be converted into channel bits of 4-, 6-, and 8-bit units respectively. More specifically, the channel bits will contain 2 to 7 bits of '0' between bits of '1'. Thus, the (2,7) code method is successfully used in the magnetic recording with the help of NRZI recording which involves a state transition at every channel bit '1'. Particularly, the interval of state transitions is represented by at least 1.5 data bits and becomes 1.5 times greater than that in the NRZI recording without code conversion, which will probably increase the density of recording 1.5 times. However, in the optical recording, the NRZI recording is hardly effected due to a change in the duty ratio of the record signal. RZ recording is therefore employed in which a pulse mark having a particular width is given at each channel bit '1'. In this case, the mark length will be 0.75 times greater than the data bit length. The problem is that the optical recording with (2,7) code is disadvantageous for increase of the recording density as compared with the magnetic recording. Also, as the number of channel bits is 2 times greater than that of data bits, the width of the channel bit becomes narrower and the jitter margin will be reduced. U.S. Patent 4,646,281 discloses a process named as four out of fifteen code (4/15 code) for demodulating a channel signal demodulated by group coding. In the 4/15 code method, an 8-bit data word is converted to a 15-bit code word in which the number of '1's contained is limited to 4. Accordingly, a method of differential detection can be used when the code word is read out from a channel signal supplied from a transmission path. The differential detection is a procedure of detecting a code word in which if '1' is high in the level and '0' is low, the channel signal is sampled in synchronizing with the channel bits, and first through fourth largest samples are each designated as '1' and the remaining samples are each designated as '0'. The advantage of the differential detection is that the noise margin will increase. However, as an 8-bit data word is converted to a 15-bit code word, the length of each bit decreases and thus, the jitter margin will be reduced. The reason of assigning the large number of bits, i.e. 15 bits, to the code word is to keep the number of bits of '0' occurring between bits of '1' more than one so that the minimum distance between transitions will not become small. Hence, the minimum transition interval is equivalent to 0.8 times the data bit length. When an M-bit data word is converted to an N-bit code word in which N > M, the jitter margin will increase as the ratio of N/M becomes smaller. For execution of the differential detection, a rule of conversion should be determined so that the number of '1's contained in the cord word is always a specific number i. The minimum of N in the cord word converted from the M-bit data word under the abovementioned condition is determined naturally. Table 1 shows the relations among M, N and i. The numeral i is determined fro N C i ≧ 2 M where N is the minimum number corresponding to M. For example, if M is 8, the number of bits in the code word (N) is 11 and the jitter margin is greater than that of the 4/15 code. However, the minimum transition interval is 0.73 times the data bit length and shorter than that of the 4/15 code. European Patent Application 0138229 discloses apparatus for transcribing digital data in which words are mapped into code patterns with a larger amount of bits than the words, wherein the code patterns selected either have no DC weight or have a DC weight of +4, -4, +8 or -8, those with a positive DC weight having corresponding patterns with an equal negative DC weight in order that the patterns can be used as required to counter-act any charge build up that could otherwise cause base-line shift of a magnetic tape-head, there being at least two bits of the same sense between all bit transitions in the code pattern series. It is an object of the present invention to provide a digital modulator for generating a channel code from which code words can be reproduced through the differential detection with great noise margin and which has a jitter margin greater than the prior arts without shortening the minimum transition interval, and a demodulator for reproduction of the original data by reading the channel code. According to the present invention, there is provided a digital modulator for converting an input data train to a coded data train, comprising: grouping means for separating the input data train into data words each being composed of M bits; encoding means for converting each of the data words into a corresponding one of a plurality of code words each being composed of N bits, where N>M, and each containing a predetermined number of '1' bits; and transmitting means for transmitting the code word outputted from the encoding means in the form of a serial channel code, characterized in that said encoding means is for converting each of the data words into a corresponding one of a plurality of code words being classified into at least two groups such that the number of '1' bits contained in each code word in a respective group is the same and that the number of '1' bits contained in each code word in any one of said groups is different by at least 3 from the number of '1' bits contained in each code word in any other of said groups. In other words, the number of bits of '1' contained in each code word is different at least 3 from that of another code word. A plurality of code words thus obtained constitute a channel code, which is outputted as a channel signal. According to the present invention, there is also disclosed a demodulator for reproducing data words each being composed of M bits from a channel signal formed of a serial train of code words each being composed of N bits, where N>M, and containing a predetermined number of '1' bits, wherein said code words are classified into at least two groups such that the number of '1' bits contained in each code word in each of said groups is the same and that the number of '1' bits contained in each code word in any one of said groups is different by at least 3 from the number of '1' bits contained in each code word in any other of said groups, and wherein that said demodulator comprises: either a plurality of voltage comparing means having different thresholds from one another for waveform shaping the channel signal with the respective thresholds; a plurality of classifying means which are respectively coupled to the plurality of voltage comparing means and each of which is for separating an output of a corresponding one of the plurality of voltage comparing means into N-bit words and counting the number of '1' bits contained in each N-bit word; maximum likelihood detecting means for identifying as a code word one having a maximum likelihood from N-bit words in each of which the number counted by the plurality of classifying means corresponds to one of the predetermined numbers; and decoding means for decoding the code word identified by the maximum likelihood detecting means to recover a data word; or sample holding means for sampling the channel signal; analog to digital converter means for converting the sampled values into digital values; sorting means for arranging the digital values in the order from the largest value to the smallest value; classifying means for computing a difference between i-th largest value and i+lth largest value of the digital values arranged by the sorting means, where i is one of said predetermined numbers, and determining i as the number of '1' bits in the code word when said difference exceeds a specified value; and code word reproducing means for reproducing a code word by recognizing i bits as '1' in the order from the largest likelihood in the digital values. The code words in different groups become different in the number of '1's by at least 3 from each other, which will increase a reliability in the classification. The differential detection also can be carried out in each group for having a great noise margin. The conventional digital modulators arranged for execution of the differential detection allow each code word to contain only a unique number of '1's. According to the present invention, however, the number of '1's containable in a code word is not limited to only one kind, so that it is possible to reduce the number of bits per code word. Table 2 shows an arrangement example in which an M-bit data word is converted into an N-bit code word which may have either one of two kind of numbers of '1's, i and j which are different from each other by at least 3. The relation among M, N, i and j is expressed as: N C i + N C j ≧ 2 M As compared with Table 1, N is reduced by 1 in relation to each value of M. As a result, the conversion to a code word can be made with efficiency and also, a channel signal entered can be read with precision. However, since the disparity of '1' and '0' is different between the two code words having an i number of '1's and a j number of '1's and the DC component will vary according to the data word, the DC component should be regenerated for the demodulation. It is possible to have a so-called DC-free channel code, of which DC component does not vary with the data word, by permitting some data words to correspond to code words each having i number of '1's and each of the other remaining data words to a pair of code words having j number of '1's, j ≦ i-3 and k number of '1's, k ≧ i+3. More specifically, during the conversion of each of the remaining data words, one of the pair of code words can be selected to eliminate drift of the DC component. Preferably, with M = 8, N = 10, i = 5, j = 2, and k = 8, the process in bit unit can be facilitated and the conversion will be executed with high efficiency using a comparatively simple procedure. The demodulator is arranged in which the channel signal is binary coded by a plurality of comparators having different threshold levels, but not sampled and processed by differential detection. Then, a maximum likelihood among the binary coded signals is designated as a code word. Accordingly, in this manner, a high-speed processing will be possible. Fig. 1 is a block diagram of a digital modulator showing a preferred embodiment of the present invention. Fig. 2 is a diagram showing an arrangement of a discriminating circuit employed in the digital modulator of Fig. 1. Fig. 3 is a chart of a first encoding table utilized in the digital modulator of Fig. 1. Fig. 4 is a chart of a second encoding table utilized in the digital modulator of Fig. 1. Fig. 5 is a flow chart explaining the operation of the digital modulator of Fig. 1. Fig. 6 is a chart showing a process of conversion for operation of the digital modulator of Fig. 1. Fig. 7 is a block diagram showing an arrangement of a demodulator for reproduction of the original data from a channel code processed by the digital modulator of Fig. 1. Fig. 8 is a block diagram showing an arrangement of a code word reproducer for the demodulator of Fig. 7. Fig. 9 is a block diagram of classifying circuit provided in the code word reproducer of Fig. 8. Fig. 10 is a flow chart showing the decoding of a cord word to have a data word with the demodulator of Fig. 7. Fig. 11 is a block diagram of another code word reproducer for the demodulator of Fig. 7. Fig. 12 is a block diagram showing an arrangement of a maximum likelihood detector and a data selector employed in the demodulator of Fig. 7. Fig. 1 is a block diagram showing an arrangement of a digital modulator according to the present invention. As shown in Fig. 1, the digital modulator comprises a latch 1 for latching an 8-bit data word entered, a discriminating circuit 2 for outputting a signal corresponding to the number of '1's contained in the latched data word, a true/complement selector 3 for transmission of an output from the latch 1 with or without inversion in accordance with the output of the discriminating circuit 2, a first converter 20 for converting the output of the true/complement selector 3 into a code word of the first group composed of 10 bits containing 5 bits of '1' when a regular data word has been entered, a second converter 21 for converting the same into either a code word of the second group composed of 10 bits containing 2 bits of '1' or a code word of the third group composed of 10 bits containing 8 bits of '1' when a regular data word which cannot be converted by the first converter 20 has been entered, and a data selector 11 for selectively delivering either the output of the first converter 20 or the output of the second converter 21. The first converter 20 is arranged such that if the data word contains 3,4 or 5 bits of '1', it is added with 2 bits of proper unit and if not, a first encoding table 4 provided therein is utilized. The second converter 21 is arranged such that an irregular data word unconvertible with the first converter 20 is detected by a null detector 8 provided therein and then, converted with the use of a second encoding table 7 provided therein. The digital modulator having the above arrangement shown in Fig. 1, functions as follows. The latch 1 latches a data word of bit unit entered in 8-bit parallel. The discriminating circuit 2 counts the number of bits of '1' contained in the latched data word and, if the counted number is more than 5, will set an output signal P for '1'. If the number is 3, it will set an output signal denoted by S O and S₁ to be '11'; if 4, to be '01'; if 5, to be '00'; if else, to be '10'. Fig. 2 shows an arrangement of the discriminating circuit 2. The true/complement selector 3 inverts all the bits of the data word supplied from the latch 1 only when the signal P is '1' and, if the signal P is '0', will transmit the output signal of the latch 1 as a signal expressed as b0, b1, ... and b7. The true/complement selector 3 may consist of exclusive-OR's. As the regular data word is inputted, the signal of b0, b1, ..., b7 from the true/complement selector 3, when the number of '1's therein is less than 3, are converted into a 7-bit signal of S₂, S₃, ..., S₈ containing 4 bits of '1' in accordance with the first encoding table 4. The first encoding table 4 is arranged, for example, as shown in Fig. 3, consisting of arrays of AND's and OR's. In this example, two signals of b0, b1, ... and b7 expressed as 00000000 and 00000001 respectively are regarded as irregular data words and thus, excluded. The output of the first encoding table 4 is inverted in each bit by a true/complement selector 5 when the signal P is '1'. Then, the output of the true/complement selector 5 is added with a 1-bit signal P denoted as a MSB and becomes an 8-bit signal of (S₂, S₃, ..., S₈ and P) or (S₂, S₃, ..., S₈ and P). This 8-bit signal contains 4 bits of '1' constantly. When the signal of S₀ and S₁ is '10', the output of the true/complement selector 5 is supplied by a data selector 6 and otherwise, the signal of b0, b1, ... and b7 is outputted. The output of the data selector 6 is summed with a 2-bit signal having S₀ and S₁ designated as LSB's and becomes a 10-bit signal expressed as x0, x1, ..., x9. The signal of x0, x1, ..., x9 contains 5 bits of '1' constantly. Accordingly, the code word containing 5 bits of '1' can be obtained in 252 (= ₁₀ C₅ ) different kinds, thus providing 252 kinds of regular data words and 4 kinds of irregular data words. On the other hand, the null detector 8 examines whether or not the upper 7 digits b1, b2, ... and b7 of an output signal of the true/complement selector 3 are all '0' in order to detect an irregular word unconvertible with the first converter 20. The irregular data word is then converted by the second encoding table 7 into a 10-bit code word of the second group containing 2 bits of '1' with reference to both the LSB b0 of the output signal of the true/complement selector 3 and the signal P supplied from the discriminating circuit 2. Fig. 4 shows an arrangement of the second encoding table 7. The irregular data word can also correspond to a code word of the third group which contains 8 bits of '1' and is an inversion of the code word of the second group. There are provided a flip-flop 9 which inverts its state whenever the null detector 8 detects an irregular data word. A true/complement selector 10 directly transmits the output of the second encoding table 7 when the flip-flop 9 is in a particular state and, if in the opposite state, it inverts the same for output. Accordingly, the output of the second converter 21 expressed as y0, y1, ..., y9, is supplied as a code word of the second group and a code word of the third group alternately. This alternative operation cancels disparities of the code words of the second and third groups to reduce drift of DC-component of the channel code. The data selector 11 is controlled by the output of the null detector 8 and thus, will output the signal of x0, x1, ..., x9 for conversion of the regular data word or of y0, y1, ..., y9 for conversion of the irregular data word. A shift register 12 converts the code words outputted from the data selector 11 into serial form to output a channel code signal. Fig. 5 is a flow chart explaining the operation described above. Fig. 6 shows a process of actual conversion, in which the data words w3 and w5 at the third and fifth from left respectively, are irregular data words. As shown, irregular data words are converted into code words of the second group and of the third group alternately. As described above, the channel code modulated by the digital modulator of the present invention is obtained by converting an 8-bit data word into a 10-bit unit. Hence, the number of bits of '1' in the code word can be identified with ease while the jitter margin increases and the execution of differential detection will be feasible. Also, because of DC-free, the reproduction of DC components during demodulation is not needed. The code word of the second group has 2 bits of '1' adjoined as '11' where the amplitude is higher so that the level difference between the two bits of '1' and the remaining eight bits of '0' becomes great and thus, the code word can easily be identified as a unit of the second group. Similarly, the code word of the third group has 2 bits of '0' adjoined as '00' so that it can be identified as a unit of the third group. Although the output signal of S₀ and S₁ from the discriminating circuit 2 is applied so as to be LSB's of the cord word during the conversion of a regular data word in the embodiment, it may be applied to anywhere else. Another method of separating the irregular words from the regular words may also be appropriate. For example, by excluding 01010101 and 10101010 from the cord words of the first group and increasing the irregular data words by two more, each code word can contain '00' and '11'. Then, the envelope of a channel signal will be prevented from becoming small when some particular data words are applied consecutively. Although the code words of the first and second groups have 2 and 8 bits of '1' respectively, they may contain 1 and 9 bits of '1' respectively. The code words can easily be classified into separate groups by examining the average level difference therebetween. The demodulation of a channel code modulated by the digital modulator of the present invention will then be described. Fig. 7 is a block diagram showing an arrangement of a demodulator for demodulating the channel code modulated by the digital modulator to have an original data word. The demodulator comprises a code word reproducer 30 for reproducing a code word from the channel signal supplied from a transmission path, a shift register 31 for serial-to-parallel conversion of the reproduced code word, a latch 32 for latching the code word converted to a parallel form, a true/complement selector 33 for inverting a 7-bit portion of the code word, expressed as c2, c3, ..., c8, particularly when the MBS represented by c9 is '1', a first decoding table 34 for decoding the output of the true/complement selector 33 to have a regular data word, a true/complement selector 35 for inverting the output of the first decoding table 34 when the MSB c9 of the code word is '1', a second decoding table 36 for decoding the output of the true/complement selector 33 to have an irregular word, a data selector 37 for selection and delivery of either the output of the true/complement selector 35 or the upper 8-bit portion c2, c3, ... and c9 of the code word, and a data selector 38 for selection and delivery of either the output of the second decoding table 36 or the output of the data selector 37. As shown in Fig. 8, the code word reproducer 30 includes a plurality of voltage comparators 40a to 40h having different thresholds and a maximum likelihood detector 42 which selects a maximum likelihood signal from the digital signals shaped in waveform by their respective voltage comparators 40a to 40h and delivers it in the form of a code word. The demodulator having such an arrangement as described above functions as follows. The code word reproducer 30 reproduces a code word from the channel signal supplied from the transmission path. More specifically, the code word reproducer 30 shown in Fig. 8 allows the voltage comparators 40a to 40h to shape the channel signal in the waveform according to their respective thresholds which are determined by means of two electric sources 43 and 44 and a plurality of resisttors R. The output of the voltage comparator 40e is applied to a low-pass filter 45 to extract a low-frequency component thereof which is in turn amplified by an amplifier 46 in the respect of a difference between the mean voltages of '1' and '0' and transferred in negative feedback to the voltage comparator 40e for its threshold. As the channel code is designed for DC-free, the threshold of the voltage comparator 40e becomes a mean value of optimum form. The signals from the voltage comparators 40a to 40h are transmitted to classifying circuits 41a to 41h respectively. The classifying circuit 41a is arranged as shown in Fig. 9 in which a shift register 50 temporality stores a digital signal from the voltage comparator 40a while a counter 51 counts the number of '1' bits in each code word separately. Also, when the count of the counter 51 is 2, 5, or 8, its output signal g2, g1, or g3 is set to be '1' by a 2-5-8 detector 52. The signals g1, g2, and g3 represent that the code word stored in the shift register 50 is of the first group if g1='1', of the second group if g2='1', and of the third group if g3='1'. The other classifying circuits 41b to 41h are the same in arrangement as the classifying circuit 41a. The maximum likelihood detector 42 selects one of the classifying circuits which outputs a signal g1, g2 or g3 set to be '1', and controls a data selector 47 to output a code word from the selected classifying circuit. More specifically, the maximum likelihood detector 42 selects a classifying circuit which has a threshold of most approximate to that of the classigying circuit 41e. Fig. 12 shows an example of the maximum likelihood detector 42 and a data selector 47. The maximum likelihood detector 42 can also use a logic functioning a decision of majority. Then, the maximum likelihood detector 42 sets an output signal q to '1' when the signal g2 or g3 from the selected classifying circuit is '1'. In other words, setting of q='1' indicated that the reproduced code word shall be decoded to a regular data word. In this way, the channel signal can be converted to reproduced code words with the code word reproducer 30. The reproduced code word is then converted from serial form to parallel form by the shift register 31 and latched with the latch 32. When the MSB c9 of the code word is '1', the true/complement selector 33 inverts c2, c3, ..., and c8 of the code word. The output of the true/complement selector 33 is then decoded by the first decoding table 34 to have an 8-bit word. The 8-bit word from the first decoding table 34 is inverted by the true/complement selector 35 when the MSB c9 of the code word is '1'. The data selector 37 outputs the signal from the true/complement selector 35 when the unit of c1 and c0 in the code word is '10' and otherwise, the upper 8-bit portion of the code word from c9 to c2. The output of the true/complement selector 33 is decoded by the second decoding table 36 to have an irregular data word. The data selector 38 then passes the signal from the second encoding table 36 when the signal q is '1' and if not, the signal from the data selector 37. As the result, the code word can be decoded to a data word. Fig. 10 is a flow chart showing the abovementioned procedure. It will be understood that the code word reproducer 30 is not limited to the arrangement shown in Fig. 8. For example, shown in Fig. 11 is another arrangement of the code word reproducer 30, in which the channel signal is sampled by a sample hold circuit 60 in synchronism with the channel bit and the sampled output is then converted into a digital value. The digital values are in turn sorted by a sorting circuit 62 from the largest to the smallest. When the difference between the second and third sorted results exceeds a predetermined value, the output signal g2 is set to '1' by a classifying circuit 63; when the difference between the eighth and ninth exceeds, the output signal g8 is set to '1'; or else, the signal g5 is set to '1'. Then, if g2, g5, or g8 is '1', the upper 2-bit, 5-bit, or 8-bit portion of a digital value is designated as '1' by a 1's detection circuit 64. In this case, the shift register 31 can be omitted. In the embodiment, duplication of the code words of the second and third groups corresponding to an irregular data word and their reciprocal usage contribute to making the channel code DC-free. However, because the demodulator of the present invention performs reproduction of code words even if the DC component varies, the DC-free code is unnecessary and the process may be possible, for example, with the absence of a code word of the third group. Also, the arrangement of the conversion table is not limited to the embodiment and may be modified for variation.

Claims: A digital modulator for converting an input data train to a coded data train, comprising: grouping means (1) for separating the input data train into data words each being composed of M bits; encoding means (2, 3, 11, 20, 21) for converting each of the data words into a corresponding one of a plurality of code words each being composed of N bits, where N>M, and each containing a predetermined number of '1' bits; and transmitting means (12) for transmitting the code word outputted from the encoding means in the form of a serial channel code, characterized in that said encoding means (2, 3, 11, 20, 21) is for converting each of the data words into a corresponding one of a plurality of code words being classified into at least two groups such that the number of '1' bits contained in each code word in a respective group is the same and that the number of '1' bits contained in each code word in any one of said groups is different by at least 3 from the number of '1' bits contained in each code word in any other of said groups. A digital modulator as defined in claim 1, wherein the encoding means (2, 3, 11, 20, 21) include means (2) for monitoring the data words and determining the number of '1' bits in each data word, and means for adding a number of bits (N-M) to words with a predetermined number of '1' bits to form code words composed on N bits. A digital modulator as defined in claim 2, wherein the adding means is for adding specified bits to selected data words to cause the code words to have zero DC weight. A digital modulator as defined in claim 1, 2 or 3, wherein M is 8, N is 10, and the number of '1' bits contained in the code word is 2 or 5. A digital modulator as defined in claim 4, wherein '1' bits in a code word having two '1' bits are adjoined to each other. A digital modulator as defined in claim 1, 2 or 3, wherein M is 8, N is 10, and the number of '1' bits contained in the code word is 5 or 8. A digital modulator as defined in claim 6, wherein '0' bits in a code word having eight '1' bits are adjoined to each other. A digital modulator as defined in claim 1, 2 or 3, wherein M is 8, N is 10, and the number of '1' bits contained in the code word is 1 or 5. A digital modulator as defined in claim 1, 2 or 3, wherein M is 8, N is 10, and the number of '1' bits contained in the code word is 5 or 9. A digital modulator as defined in claim 1, 2 or 3, wherein M is 8, N is 10, and the number of '1' bits contained in the code word is 2, 5 or 8; and wherein said encoding means (2, 3, 11, 20, 21) is for converting some of the data words each to one of a code word having two '1' bits and a code word having eight '1' bits so as to reduce the DC component of the channel code, and for converting the remaining data words each to a code word having five '1' bits. A digital modulator as defined in claim 9, comprising means for adjoining '1' bits in a code word having two '1' bits to each other and for adjoining '0' bits in a code word having eight '1' bits to each other. A digital modulator as defined in claim 1, 2 or 3, wherein M is 8, N is 10, and the number of '1' bits contained in the code word is 1, 5 or 9; and wherein said encoding means (2, 3, 11, 20, 21) is for converting some of the data words each to one of a code word having one '1' bit and a code word having nine '1' bits so as to reduce the DC component of the channel code, and for converting the remaining data words each to a code word having five '1' bits. A digital modulator as defined in claim 1, 2 or 3, wherein M is 8, N is 10, and said encoding means (2, 3, 11, 20, 21) is for converting a data word which contain 3, 4 or 5 'l'bits into a code word by adding an additional 2 bits to a specific position thereof, the additional 2 bits being designated as '1' and '1' when the data word contains 3 '1' bits, '1' and '0' when the data word contains 4 '1' bits, and '0' and '0' when the data word contains 5 '1' bits. A demodulator for reproducing data words each being composed of M bits from a channel signal formed of a serial train of code words each being composed of N bits, where N>M, and containing a predetermined number of '1' bits wherein said code words are classified into at least two groups such that the number of '1' bits contained in each code word in each of said groups is the same and that the number of '1' bits contained in each code word in any one of said groups is different by at least 3 from the number of '1' bits contained in each code word in any other of said groups, and wherein said demodulator comprises: a plurality of voltage comparing means (40a, 40b, 40c, 40d, 40e, 40f, 40g, 40h) having different thresholds from one another for waveform shaping the channel signal with the respective thresholds; a plurality of classifying means (41a, 41b, 41c, 41d, 41e, 41f, 41g, 41h) which are respectively coupled to the plurality of voltage comparing means and each of which is for separating an output of a corresponding one of the plurality of voltage comparing means into N-bit words and counting the number of '1' bits contained in each N-bit word; maximum likelihood detecting means (42) for identifying as a code word one having a maximum likelihood from N-bit words in each of which the number counted by the plurality of classifying means corresponds to one of the predetermined numbers; and decoding means (33, 34, 35, 36, 37, 38) for decoding the code word identified by the maximum likelihood detecting means to recover a data word. A demodulator as defined in claim 14, wherein the maximum likelihood detecting means (42) is for recognizing a threshold of the voltage comparing means (40a, 40b, 40c, 40d, 40e, 40f, 40g, 40h) which is most approximate to a reference value as a likelihood. A demodulator for reproducing data words each being composed of M bits from a channel signal formed of a serial train of code words each being composed of N bits, where N>M, and containing a predetermined number of '1' bits, wherein said code words are classified into at least two groups such that the number of '1' bits contained in each code word in each of said groups is the same and such that the number of '1' bits contained in each code word in each of said groups is different by at least 3 from the number of '1' bits contained in each code word in any other of said groups, and wherein said demodulator comprises: sample holding means (60) for sampling the channel signal; analog to digital converter means (61) for converting the sampled values into digital values; sorting means (62) for arranging the digital values in the order from the largest value to the smallest value; classifying means (63) for computing a difference between i-th largest value and i+lth largest value of the digital values arranged by the sorting means (62), where i is one of said predetermined numbers, and determining i as the number of '1' bits in the code word when said difference exceeds a specified value; and code word reproducing means (33, 34, 35, 36, 37, 38) for reproducing a code word by recognizing i bits as '1' in the order from the largest likelihood in the digital values.

Inventors: ISHIBASHI HIROMICHI, MATSUBARA AKIRA, OKADA TSUYOSHI, TANAKA SHINICHI, ISHIBASHI, HIROMICHI, MATSUBARA, AKIRA, OKADA, TSUYOSHI, TANAKA, SHINICHI
Applicants: MATSUSHITA ELECTRIC IND CO LTD, MATSUSHITA ELECTRIC INDUSTRIAL CO., LTD.
Application year: 1989
Main classification: G11B20
IPC codes: H03M5