GB2267416A - Coding of digital signals - Google Patents

Coding of digital signals Download PDF

Info

Publication number
GB2267416A
GB2267416A GB9211221A GB9211221A GB2267416A GB 2267416 A GB2267416 A GB 2267416A GB 9211221 A GB9211221 A GB 9211221A GB 9211221 A GB9211221 A GB 9211221A GB 2267416 A GB2267416 A GB 2267416A
Authority
GB
United Kingdom
Prior art keywords
bit
code word
transition width
output
code words
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
GB9211221A
Other versions
GB9211221D0 (en
GB2267416B (en
Inventor
James Hedley Wilkinson
Clive Henry Gillard
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sony Broadcast and Communications Ltd
Sony Europe BV United Kingdom Branch
Original Assignee
Sony Broadcast and Communications Ltd
Sony United Kingdom Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sony Broadcast and Communications Ltd, Sony United Kingdom Ltd filed Critical Sony Broadcast and Communications Ltd
Priority to GB9211221A priority Critical patent/GB2267416B/en
Publication of GB9211221D0 publication Critical patent/GB9211221D0/en
Priority to JP12598593A priority patent/JPH0722955A/en
Publication of GB2267416A publication Critical patent/GB2267416A/en
Application granted granted Critical
Publication of GB2267416B publication Critical patent/GB2267416B/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03MCODING; DECODING; CODE CONVERSION IN GENERAL
    • H03M5/00Conversion of the form of the representation of individual digits
    • H03M5/02Conversion to or from representation by pulses
    • H03M5/04Conversion to or from representation by pulses the pulses having two levels
    • H03M5/14Code representation, e.g. transition, for a given bit cell depending on the information in one or more adjacent bit cells, e.g. delay modulation code, double density code
    • H03M5/145Conversion to or from block codes or representations thereof
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B20/00Signal processing not specific to the method of recording or reproducing; Circuits therefor
    • G11B20/10Digital recording or reproducing
    • G11B20/14Digital recording or reproducing using self-clocking codes
    • G11B20/1403Digital recording or reproducing using self-clocking codes characterised by the use of two levels
    • G11B20/1423Code representation depending on subsequent bits, e.g. delay modulation, double density code, Miller code
    • G11B20/1426Code representation depending on subsequent bits, e.g. delay modulation, double density code, Miller code conversion to or from block codes or representations thereof

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Signal Processing (AREA)
  • Signal Processing For Digital Recording And Reproducing (AREA)

Abstract

A method of coding an input digital signal by replacing successive m-bit groups of the input signal with associated n-bit code words, where n is an even number greater than m, to produce an output signal, comprises: identifying a said n-bit code word associated with each said m-bit group, the cede words being such that at least some of the 2<m> possible m-bit groups each have a different complementary pair of said code words associated therewith and each code word is dc-free and has a predetermined maximum transition width of </= Tmax bits and a minimum transition width between the first and last transitions therein of >/= Tmin bits; and selectively outputting either the identified code word or its complement in dependence upon the preceding output code word so that a serial bit stream formed of successive output code words has a minimum transition width of >/= Tmin and a maximum transition width of </= Tmax even across the boundaries between successive code words. Applications include channel coding in video tape recorders. <IMAGE>

Description

CODING OF DIGITAL SIGNALS This invention relates to coding of digital signals, and in particular, though not exclusively, to channel coding in DVTRs.
Channel coding is the conversion of real data into channel bits, ie code bits, so that the encoded data has more desirable characteristics. Channel coding of digital video signals is carried out to produce a signal which is more suitable for recording on magnetic tape. For example, real video data may contain long runs of continuous ones or continuous zeros. This is effectively a dc component of the video signal, and magnetic media will not respond to dc. Thus, an important quantity in an encoded signal is the maximum transition width. This is the largest number of bits between adjacent transitions in the signal or, in other words, the number of bits in the longest run of continuous ones or continuous zeros in the signal. As a further example, there is normally a frequency response limit in a replay channel so that replay of high-frequency components of a signal becomes unreliable. Thus, it is desirable to be able to limit the minimum transition width, ie the minimum period between adjacent transitions in the encoded signal, to the extent required in a given system.
Most coding, with the exception of Modified Miller code (M2) does not take into account the effect on transition widths of running arbitrary code values end to end. M2 does deal with this, but in a serial coding manner, that is to say the coding is affected on a bitby-bit basis with respect to the real data. For practical design reasons, it is desirable to effect the coding on a word basis so that successive m-bit groups of real data are converted to n-bit code words using a conversion table or "codebook". Such codes often aim to achieve a balance of is and Os in each code word thus ensuring a zero dc content. While such codes, known as block codes, are well known, the known codes often do not restrict the worst case bit run-lengths, and run-length violations may occur across the boundaries of code words. Where run-lengths are restricted, this is achieved in a complex manner.
According to the present invention there is provided a method of coding an input digital signal by replacing successive m-bit groups of the input signal with associated n-bit code words, where n is an even number greater than m, to produce an output signal, the method comprising: identifying a said n-bit code word associated with each said mbit group, the code words being such that at least some of the 2m possible m-bit groups each have a different complementary pair of said code words associated therewith and each code word is dc-free and has a predetermined maximum transition width of s Tmax bits and a minimum transition width between the first and last transitions therein of 2 Tmin bits; and selectively outputting either the identified code word or its complement in dependence upon the preceding output code word so that a serial bit stream formed of successive output code words has a minimum transition width of 2 Tmin and a maximum transition width of s Tmax even across the boundaries between successive code words.
Thus, by requiring that each code word has a predetermined maximum transition width, ie TmaX, and by considering the boundary between the preceding output code word and the next expected code word, the invention ensures that the worst case longest bit run-length in a serial data stream formed of successive code words is automatically limited to Thax This has the desirable effect of limiting the low frequency content of the signal whilst the equal numbers of is and Os in each code word ensures zero dc content. An m-bit group of the input signal can be replaced with either code word of an associated complementary pair of code words one of which is the binary complement of the other. At least one code word of the pair will provide a boundary with the preceding output code word which does not violate the maximum run-length requirement. In the same way, the invention enables the worst case minimum run-length or transition width in a serial-bit stream formed of successive output code words to be limited to a predetermined value, ie Thin While Thin = 1 may be acceptable in certain cases, in general it is desirable for the minimum run-length to be greater than 1 bit so that the resulting coded signal has low spectral energy at high frequencies.
Selection of a particular code word or its complement is preferably made in dependence upon the result of an analysis of the boundary region only between that code word and the preceding output code word. In the case where a serial bit stream is to be formed of successive output code words least significant bit first, the method preferably comprises analysing the 4-bit sequence formed of the two least significant bits of the said identified code word and the two most significant bits of the preceding output code word. Depending upon the result of this analysis, either the identified code word or its complement is output so that the serial bit stream has a minimum transition width of 2 Thin and a maximum transition width of s Thax Similarly, if a serial bit stream is to be formed of successive output code words most significant bit first, then the method preferably comprises analysing the 4-bit sequence formed of the two most significant bits of the said identified code word and the two least significant bits of the preceding output code word. In each case, therefore, a 4-bit sequence across the boundary between successive output code words in the serial bit stream to be formed is considered.
It is preferred that each said code word has a maximum run-length of s Thax - 1 bits within the Thax least significant bits and within the Thax most significant bits thereof. Where a 4-bit sequence across the boundary of successive code words is considered, this condition ensures that the maximum transition width condition can be met while one bit transition widths can be avoided in the said serial bit stream.
While the values of m and n may vary, a convenient value for m may be m = 8, for example in the case of an input video signal where the data comprises successive eight bit words. Similarly, the values of Thax and Thin may vary in dependence upon the particular requirements in a given case. However, at least in the case where m = 8, it is preferred that Thax = 6 and Thin = 2. Clearly the value of m sets certain constraints on the value of n since sufficient code words satisfying the various conditions, eg those relating to Tmax and Thin, must be available. However, where m = 8 it is preferred that n = 16, this being the lowest value of n which allows all the aforementioned conditions to be satisfied.
It will be appreciated that the input and output signals may be in serial or parallel form. However, the input signal is conveniently a parallel bit m-bit signal. Similarly, the output signal is conveniently a parallel bit n-bit signal. The output signal may be converted to serial form for recording on magnetic tape.
It is to be appreciated that the invention extends to apparatus adapted to perform the method as hereinbefore described. In general, where features are described herein with reference to a method of the invention, corresponding features may be provided in an apparatus in accordance with the invention and vice versa.
A preferred embodiment of the invention will now be described, by way of example, with reference to the accompanying drawings in which: Figure 1 is a block diagram of encoding apparatus embodying the invention; and Figure 2 is a table used in describing the operation of the apparatus of Figure 1.
The embodiment of Figure 1 will be described with reference to the coding of an input parallel-bit digital video signal which is to be recorded on magnetic tape in a DVTR. The code to be described in this example is an 8-16 block code in which successive 8-bit groups of the input signal are converted to 16 bits prior to recording.
The apparatus of Figure 1 comprises a channel encoder 1 having an input 2 to which successive 8-bit words of the input parallel-bit video signal are supplied. The channel encoder 1 converts each 8-bit word of the input signal into a 16-bit code word which is supplied to an output 3 of the encoder 1. The output 3 is connected to a 16-bit serialiser 4 which converts successive 16-bit code words supplied thereto into serial form. Successive bits of the serial bit stream produced by the serialiser 4 are clocked along an output 5 of the serialiser by a serial clock as indicated in the figure. The serial data on the output 5 is supplied to a recording head (not shown) of the DVTR for recording on tape.
The channel encoder in this example comprises a PROM with a register which provides for feedback between the output and inputs of the encoder 1. In the figure, a 2-bit feedback bus 6 is shown connected to the output 3 of the encoder to feed back two bits of each output code word to the encoder inputs. In this example, recording is to be effected least significant bit first so that the serialiser 4 outputs the least significant bit of each 16-bit code word first, and the two most significant bits of each 16-bit code word are fed back tc the inputs of the encoder 1.
Each of the possible 28 bit patterns of the 8-bit input signal iE associated with a different complementary pair of 16-bit code words ir accordance with a codebook stored in the PROM of the encoder 1, though of course only one code word of each complementary pair need be storey in the PROM. Each of the code words is selected from the 216 possibly 16-bit combinations such that each code word has: 1. a maximum transition width of s 6 bits; 2. a maximum run-length of S 5 bits at the beginning and enc thereof; 3. a minimum transition width between the first and last transitions therein of 2 2 bits; and 4. equal numbers of ones and zeros, ie dc balance.
Thus, for each input 8-bit word, there are two possible 16-bit codes, one being the binary complement of the other. Which code worc of the pair is output depends upon the preceding output code word as described below.
When the first 8-bit word is supplied to the encoder 1, the encoder identifies the associated 16-bit code word stored in the PROb which is output along the bus 3 as the next 8-bit word is supplied tc the encoder. The two most significant bits of the first output worc are fed back via the bus 6 to the encoder inputs and stored in the register as the next 8-bit word is received by the encoder 1. The encoder 1 then identifies the 16-bit code associated with the input 8bit word. The encoder 1 then checks the boundary between thf identified code word and the previous output code word formed of thf two most significant bits of the previous code word fed back along thE bus 6 and the two least significant bits of the code word identifier for the new input. The table of Figure 2 is then used to decide whether to output the identified code word or to invert this code word to form its binary complement.
Figure 2 shows all the possible bit patterns for the four bits across the code word boundary. The first column shows the values of the two most significant bits (MSBs) of the previous code word. The second column gives the values of the two least significant bits (LSBs) of the currently identified code word. The third column indicates for each case whether the binary complement of the identified code word should be selected (INVERT) or the identified code word should be output without inversion (TRUE).
Use of the system tabulated in Figure 2 ensures that the serial bit stream on the output 5 of the serialiser 4 never has a transition width of greater than 6 bits or less than 2 bits. If the two MSBs of the preceding code word contain no transition, ie are of the same polarity, then the next code word to be output must change this polarity either at the LSB position or at the next bit, but an isolated one or zero across the boundary must be avoided. For example, considering the first entry in the table of Figure 2, the two MSBs of the previous code word are both zero so there could be a run-length of up to five zeros (the run-lengths at the beginning and end of each code are limited to five bits). Since the two LSBs of the identified code word are also both zero, the identified code word must be inverted to avoid the possibility of a run-length of more than six in the serial bit stream on the output 5. Considering the second entry in the table of Figure 2, again there could be a run-length of up to five zeros at the end of the previous code word, but there is only a single zero at the beginning of the currently identified code word. Since a runlength of six is allowable, this code word can be output without inversion. Taking the next entry in the table, there is no question of a run-length of more than six across the boundary, but the isolated one at the beginning of the current code word would violate the minimum transition width requirement in the serial output. Thus, the binary complement of this code word is output still without the possibility of violating the maximum run-length condition. All other entries in the table can be analysed in a similar manner.
Thus, it will be seen that with each code word satisfying conditions 1 to 3 listed above, either the code word stored in the PROM which is associated with a given input word or its complement will ensure that the minimum and maximum run-length conditions in the serial output are satisfied. Further, since each code word is in itself dcfree, the serial output will also be dc-free. The resulting encoded signal to be recorded on tape thus has low spectral energy at both high and low frequencies.
Of the 216 possible 16-bit patterns, there are 268 complementary pairs of code words which satisfy conditions 1 to 4 listed above.
These can be identified by performing a computer search. However, only 256 code pairs are required for implementation of the channel code with an 8-bit input. The 256 code pairs required can be selected so as, for example, to minimise the number of code words with a transition width of only two or to minimise the number of code words with a transition width of six. The codes are preferably selected to minimise the Digital Sum Variation (DSV). The DSV is zero at word boundaries (the codes are dc-free), but within the word boundaries the DSV varies between positive and negative maxima depending on the distribution of Is and Os within each code and the codes can be selected to minimise these DSV maxima.
Some codes may also be reserved for special purposes such as for encoding synchronisation data in the input signal. Alternatively, it may be desirable to encode synchronisation words using code words which do not satisfy all of the rules listed above. For example, in an input video signal with a 16-bit sync word, the sync word could be encoded as two 16-bit code words, one containing a run of seven zeros and the other containing a run of seven ones. Thus, although neither of the two sync code words is in itself dc-free, since they are used in pairs, there is overall dc balance in the serial output. This differentiation between codes for sync data and other data ensures that encoded video data cannot recreate the encoded sync pattern whereas this cannot be guaranteed if the same rules are applied to encoding of all input data.

Claims (12)

1. A method of coding an input digital signal by replacing successive m-bit groups of the input signal with associated n-bit code words, where n is an even number greater than m, to produce an output signal, the method comprising: identifying a said n-bit code word associated with each said mbit group, the code words being such that at least some of the 2m possible m-bit groups each have a different complementary pair of said code words associated therewith and each code word is dc-free and has a predetermined maximum transition width of s Thax bits and a minimum transition width between the first and last transitions therein of 2 Thin bits; and selectively outputting either the identified code word or its complement in dependence upon the preceding output code word so that a serial bit stream formed of successive output code words has a minimum transition width of 2 Thin and a maximum transition width of s Thax even across the boundaries between successive code words.
2. A method as claimed in claim 1, comprising analysing the 4-bit sequence formed of the 2 least significant bits of the identified code word and the 2 most significant bits of the preceding output code word and outputting either the identified code word or its complement in dependence upon the result of the analysis so that a serial bit stream formed of successive output code words least significant bit first has a minimum transition width of 2 Thin and a maximum transition width of S Thax
3. A method as claimed in claim 1, comprising analysing the 4-bit sequence formed of the 2 most significant bits of the identified code word and the 2 least significant bits of the preceding output code word and outputting either the identified code word or its complement in dependence upon the result of the analysis so that a serial bit stream formed of successive output code words most significant bit first has a minimum transition width of 2 Thin and a maximum transition width of S Tnax-
4. A method as claimed in any preceding claim, wherein each of the said code words has a maximum run length of S Thax - 1 bits within the Thax least significant bits and within the Thax most significant bits thereof.
5 A method as claimed in any preceding claim, wherein Thax = 6.
6. A method as claimed in any preceding claim, wherein Thin = 2.
7. A method as claimed in any preceding claim, wherein m = 8.
8. A method as claimed in claim 7, wherein n = 16.
9. A method as claimed in any preceding claim, wherein the said input signal is a parallel-bit m-bit signal.
10. A method as claimed in any preceding claim, wherein the said output signal is a parallel-bit n-bit signal.
11. A method of coding an input digital signal substantially as hereinbefore described with reference to the accompanying drawings.
12. Apparatus adapted to perform the method of any one of the preceding claims.
GB9211221A 1992-05-27 1992-05-27 Coding of digital signals Expired - Fee Related GB2267416B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
GB9211221A GB2267416B (en) 1992-05-27 1992-05-27 Coding of digital signals
JP12598593A JPH0722955A (en) 1992-05-27 1993-05-27 Method and equipment for coding of digital signal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
GB9211221A GB2267416B (en) 1992-05-27 1992-05-27 Coding of digital signals

Publications (3)

Publication Number Publication Date
GB9211221D0 GB9211221D0 (en) 1992-07-08
GB2267416A true GB2267416A (en) 1993-12-01
GB2267416B GB2267416B (en) 1995-09-20

Family

ID=10716094

Family Applications (1)

Application Number Title Priority Date Filing Date
GB9211221A Expired - Fee Related GB2267416B (en) 1992-05-27 1992-05-27 Coding of digital signals

Country Status (2)

Country Link
JP (1) JPH0722955A (en)
GB (1) GB2267416B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE4328252A1 (en) * 1993-08-23 1995-03-09 Sennheiser Electronic Device for the wireless transmission of digital data, particularly audio data, with the aid of infrared light on headphones
GB2357408A (en) * 1996-07-11 2001-06-20 4Links Ltd Codeword substitution in dependance upon run-lengths
US20220294476A1 (en) * 2021-03-10 2022-09-15 Samsung Electronics Co., Ltd. Encoding and decoding apparatuses and methods for implementing multi-mode coding

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017007243A1 (en) * 2015-07-07 2017-01-12 주식회사 아모그린텍 Wireless headphone having built-in flexible battery

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2066629A (en) * 1979-11-02 1981-07-08 Sony Corp Methods and apparatuses encoding digital signals
GB2099263A (en) * 1981-05-26 1982-12-01 Sony Corp Method and apparatus for n-to-m bit encoding
EP0150082A2 (en) * 1984-01-20 1985-07-31 Koninklijke Philips Electronics N.V. Method of transmitting information, encoding device for use in the method, and decoding device for use in the method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2066629A (en) * 1979-11-02 1981-07-08 Sony Corp Methods and apparatuses encoding digital signals
GB2099263A (en) * 1981-05-26 1982-12-01 Sony Corp Method and apparatus for n-to-m bit encoding
EP0150082A2 (en) * 1984-01-20 1985-07-31 Koninklijke Philips Electronics N.V. Method of transmitting information, encoding device for use in the method, and decoding device for use in the method

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE4328252A1 (en) * 1993-08-23 1995-03-09 Sennheiser Electronic Device for the wireless transmission of digital data, particularly audio data, with the aid of infrared light on headphones
GB2357408A (en) * 1996-07-11 2001-06-20 4Links Ltd Codeword substitution in dependance upon run-lengths
GB2357408B (en) * 1996-07-11 2001-08-08 4Links Ltd Communications system
US20220294476A1 (en) * 2021-03-10 2022-09-15 Samsung Electronics Co., Ltd. Encoding and decoding apparatuses and methods for implementing multi-mode coding
US11824563B2 (en) * 2021-03-10 2023-11-21 Samsung Electronics Co., Ltd. Encoding and decoding apparatuses and methods for implementing multi-mode coding
US20240030935A1 (en) * 2021-03-10 2024-01-25 Samsung Electronics Co., Ltd. Encoding and decoding apparatuses and methods for implementing multi-mode coding

Also Published As

Publication number Publication date
GB9211221D0 (en) 1992-07-08
GB2267416B (en) 1995-09-20
JPH0722955A (en) 1995-01-24

Similar Documents

Publication Publication Date Title
US4677421A (en) Digital information signal encoding method with reduced run length and improved self-clocking
FI121357B (en) Method for converting information words and producing a storage equipment, device for storing device information, signal, storage equipment and decoder
US4985700A (en) Variable-length coding/decoding device
US4775985A (en) Method of dc-free 8/9 nrz coding using a unique sync word pattern
EP0193153A2 (en) Digital data recording and reproducing method
JPS6129578B2 (en)
JPH0652620B2 (en) Code converter, recording medium, and data conversion method
JPH10508456A (en) Method for converting a sequence of m-bit information words into a modulated signal, method for manufacturing a record carrier, coding apparatus, apparatus, recording apparatus, signal and record carrier
EP0557130B1 (en) Data conversion method and recording/reproducing apparatus using the same
JPH05225708A (en) Coding system
US7295138B2 (en) Method and apparatus for coding information, method and apparatus for decoding coded information, method of fabricating a recording medium, the recording medium and modulated signal
EP0426033B1 (en) Digital modulating apparatus and digital demodulating apparatus
JP3935217B2 (en) Conversion from a sequence of m-bit information words to a modulated signal
KR950006085B1 (en) Code modulation system
GB2267416A (en) Coding of digital signals
AU8881698A (en) Device for encoding/decoding n-bit source words into corresponding m-bit channel words, and vice versa
US6545615B2 (en) Device for encoding a stream of databits of a binary source signal into a stream of databits of a binary channel signal, memory means, device for recording information, record carrier, device for coding and device for playing back
JPH09130257A (en) Method and circuit arrangement for generating binary signal made into channel code
GB2109200A (en) Digital data encoding
JP2675621B2 (en) Digital data recording method
KR100470026B1 (en) Method and apparatus for coding/decoding information
JP2600148B2 (en) Code conversion method
CA2458540A1 (en) Coding method and device
JPH05235775A (en) Information conversion method and information converter adopting said method
JP2573067B2 (en) Information conversion device

Legal Events

Date Code Title Description
730A Proceeding under section 30 patents act 1977
PCNP Patent ceased through non-payment of renewal fee

Effective date: 20060527