Methods of and apparatus for data transmission

Abstract: A data transmission and reception apparatus and method capable of selecting either of two modes having the same sampling frequency in which the bit numbers of one data unit are either m or n (which are integral numbrs and m > n), while using the same error correction encoder (15) and decoder (29 Figure 2) for the two modes, by inserting (13) m-n bits of dummy data bits into the n-bit data so as to handle it as m-bit data during the processes of error correction encoding (15) and decoding (29) and eliminating from the error correction encoded data the dummy data and redundant code of the error correction code formed by the dummy data only.

Description: This invention relates to methods of and apparatus for data transmission. A known 8mm video tape recorder (VTR) divides a track scanned by a rotational head into a recording section for a video signal and a recording section for a digital audio signal, and records a video signal of one field and a time-compressed digital audio signal of one field in the two recording sections, respectively. In an 8mm VTR, the system by which an analogue audio signal is frequency modulated and recorded by superimposition on a video signal is called a 'standard recording system', and as an option, the recording format of the audio signal is standardized. Such an apparatus for recording a digital audio signal is disclosed in US patent specification US-A-4 542 419. In an 8mm VTR, the sampling frequency of the digital audio signal is 2fh (where fh is the horizontal frequency), and the quantization bit number is selected to be eight. This sampling frequency and quantization bit number are not however satisfactory for high quality audio reproduction. Consequently, it has been proposed that a digital audio signal having a sampling frequency of 48 kHz and a quantization bit number of sixteen should be recorded and reproduced. In this case, one problem is that the transmission data amount is increased, and the recording wavelength on the magnetic tape becomes short. Especially, in an 8mm VTR, it is difficult to increase the transmission data amount with every kind of magnetic tape because of the short recording section. Specifically, although digital audio data having the above-mentioned high quality can be recorded and reproduced using an evaporated metal tape, then recording and reproduction cannot be performed using a metal powder coating tape. To solve this problem, it has been suggested that the bit number of one sample of the digital audio signal could be changed depending on the kind of magnetic tape to be used. For example, an analogue audio signal could be digitized with a quantization bit number of sixteen. Compression processing of this digitized audio signal is not carried out in the case where evaporated metal tape is used, while 16-bit to 12-bit compression is done in the case where metal powder coating tape is used. Therefore, when such signal compression is done, the number of samples contained in one field of the NTSC system or the CCIR system becomes a predetermined number to enable the bit number of one sample to be compressed, thereby lowering the data transmission rate. To deal with errors occurring in recording and reproduction, there is a known error correcting method in which digital data contained in one field period, for example, is arranged in two-dimensional form, and encoding using error correction codes is performed in the first direction and in the second direction of the two-dimensional array (called a 'block'). Changing the bit number of one word depending on the tape used creates the necessity of making different block sizes and requires two kinds of encoders and decoders for error correction encoding and decoding corresponding to the two bit numbers. However, this increases the amount of hardware required. As described in our US patent 4 975 915, we have proposed a system in which 4-bit dummy data (specifically '0' data) are added in the compression of 16-bit words to 12-bit words so 12-bit data are converted into pseudo 16-bit data, the sizes of blocks are made equal, and the converted data are transmitted after processing in an encoder with the dummy data eliminated. In this system the encoder and decoder can each be commonly used for 12-bit and 16-bit data. Additionally, a system in which the sizes of blocks of error correction codes are kept equal for 16-bit data and 12-bit data is known, from US patent specifications US-A-4 688 225 and US-A-4 758 907. This system has been adopted in the digital audio tape recorder (DAT). However, in the case of the DAT, the bit number is reduced by 3/4 from sixteen bits to twelve bits, and the sampling frequency is lowered by 2/3 from 48 kHz to 32 kHz. As a result, the data amount is decreased by 1/2, while the relative speed between the rotational head and the magnetic tape is reduced by 1/2. The recording wavelength is kept the same for 16-bit data and the 12-bit data. For this reason, as mentioned above, the DAT system described above is not applicable to the case where the recording wavelength is varied to select a most suitable recording wavelength depending on the tape of magnetic tape used. The present invention relates to an improvement in the previously proposed system where the sizes of blocks processed at an encoder of an error correction code are made equal by adding dummy data to data having different bit numbers as disclosed in US patent number 4,975,915 and the corresponding European Patent Application number EP-A-0,338,781. In the previously proposed system, dummy data and a digital audio signal are mixed in one symbol (or word) which is a unit of the encoding. In addition, when the encoding for the error correction code is performed with respect to a block with dummy data added, both the dummy data and the digital audio signal coexist in the set of error correction codes. Further, one error correction code is suitable for data arranged in the diagonal direction of the block, and the encoding of the other error correction code (C1 parity) is performed for a redundant code (C2 parity) of one error correction code. Consequently, although it is possible to transmit data except for dummy data after the encoding for error correction and to record that data magnetically, it is impossible to exclude a redundant code caused by data including the dummy data. For this reason, the reduction of the amount of data to be transmitted is not sufficient. As a result, there is still a difficulty in the case where the compressed PCM signal of twelve bits is recorded onto metal powder tape. According to the present invention there is provided a data transmission method of error correction encoding a data block, which is composed of a two-dimensional array of digital information signals, with a first error correction code encoding data in the vertical direction of the array, and a second error correction code encoding data in the horizontal direction of the array, the method comprising the steps of: making equal the size of a first block and the size of a second block, whose block sizes are different, by adding dummy data to whichever of the blocks has the lesser amount of data, the dummy data being added so that they are arranged in the horizontal direction within the block; error correction encoding with the first and second error correction codes, the block containing the added dummy data and the other block that does not contain added dummy data, such that a redundant error correction code is produced from the added dummy data only; and eleminating from the error correction encoded data the dummy data and the redundant error correction code, and transmitting the resulting data. According to the present invention there is also provided an apparatus for recording PCM audio signals onto a magnetic tape by magnetic heads and which is capable of selecting between a first mode in which one unit of digital data is composed of m bits and a second mode in which one unit of digital data is composed of n bits, where m and n are integers and m > n, the data of both modes having the same sampling frequency, the apparatus comprising: error correction encoding means commonly used for the first and second modes for encoding the data in units of blocks composed of a two-dimensional array of the digital data; first insertion means for inserting m-n bits of dummy data into the units of data prior to error correction encoding by the error correction encoding means so that a redundant error correction code made up from dummy bits only is produced; first elimination means for eliminating the inserted m-n dummy bits from the data; and addition means for adding an information header, including at least a block synchronization signal, to the data; wherein in the first mode, data units composed of m bits each are encoded by the error correction encoding means, the addition means adds a first block synchronization signal to each block of the encoding-processed data, and data from the addition means is transmitted; and in the second mode, the first insertion means inserts dummy bits into each data unit composed of n bits so as to transform it into one unit of m-bit data which is supplied to the error correction encoding means where it is encoded, the first elimination means eliminates the inserted bits and the redundant error correction code from the error correction encoded data as to supply units of n-bit data, these units of n-bit data from the first elimination means are supplied to the addition means which adds a second block synchronization signal to each block, and the resulting data from the addition means is transmitted to the magnetic heads and is magnetically recorded on the magnetic tape. Reed-Solomon error correction codes for the data blocks may be employed for encoding by a first error correction code (C1) in the vertical direction of the block and for encoding by a second error correction code (C2) in the horizontal direction. The encoding is done by the unit of a symbol having an 8-bit length, for example. In the mode where 16-bit (1 word = 2 symbols) data is compressed into 12-bit data, 4-bit dummy data (zero data) is added after the compression. The upper, that is more significant, eight bits of the 12-bit data form one symbol, and the lower, that is the less significant, four bits thereof and lower four bits of another word form a symbol. Dummy data of one symbol is added to three symbols. As a result, a symbol consisting only of the dummy data is formed. Symbols consisting of dummy data are disposed in a block so that they are arranged in the horizontal direction of the block. Therefore, when the encoding of the C2 code is made in the horizontal direction, a redundant code of the C2 code is developed from only dummy data. No transmission of the redundant code is needed at all as is the case with the dummy data. Also, when the sizes in the horizontal direction of the blocks are different between the NTSC system and the CCIR system, symbols consisting of dummy data and disposed in the vertical direction in a block so that the sizes of the blocks in the two television systems become equal. Consequently, when the encoding of the C1 code is performed in the vertical direction, a redundant code of the C1 code is formed only by dummy data. No transmission of the redundant code is needed as is the case with the dummy data. Consequently, in the case of magnetically recording the PCM audio signals, the transmission of the dummy data as well as that of the redundant code formed only by the dummy data can be omitted to reduce the data transmission amount. Further, by adding dummy data in both the horizontal direction and the vertical direction, the difference in size of the blocks caused due to the difference of sixteen bits and twelve bits and due to the difference of the television systems, can be corrected. The invention will now be described by way of example with reference to the accompanying drawings, throughout which like parts are referred to by like references, and in which: Figure 1 is a block diagram of a recording apparatus of one embodiment of this invention; Figure 2 is a block diagram of a reproduction apparatus of one embodiment of the invention; Figure 3 is a schematic diagram showing a head arrangement of an example of a VTR to which the invnetion is applicable; Figures 4 and 5 are schematic diagrams of another example of track patterns to which the invention is applicable; Figures 6A and 6B are a schematic diagram showing a block structure of the NTSC system of an A mode; Figure 7 is a schematic diagram showing a block structure of the CCIR system of the A mode; Figure 8 is a schematic diagram showing a block structure of the CCIR system of a B mode; Figure 9 is a schematic diagram of a block structure of the CCIR system of the B mode; Figures 10A, 10B and 10C are a schematic diagram showing a partially enlarged part of the block of the NTSC system of the A mode; Figure 11 is a schematic diagram of a block structure in a state in which dummy data are added in the NTSC system of the B mode; Figures 12A, 12B, 12C, 12D and 12E are a schematic diagram for describing the addition of dummy data; Figures 13A and 13B are a schematic diagram for describing the addition of dummy data; Figure 14 is another example of the dummy data addition; and Figure 15 is a schematic diagram for describing yet another example of the dummy data addition. An embodiment of the invention will be described referring to the drawings. The description will be given in the following order: a. Recording apparatus and reproduction apparatus. b. Two-dimensional array of data (block). c. Addition of dummy data. d. Modification. a. Recording apparatus and reproduction apparatus Figure 1 shows a recording apparatus including mode selection switches MS1 to MS5 which are caused to connect to the terminal A sides under the control of a mode selection signal MDR from a terminal 6 in a mode in which one word is formed by sixteen bits (in this mode data are recorded onto, for instance, an evaporated metal tape and hereunder this mode is call 'A mode'). When a mode in which one words has twelve bits is set (in this mode data are recorded onto, for instance, a metal powder tape and hereunder this mode is called 'B mode'), the mode selection switches MS1 to MS5 are connected to the terminal B sides. The mode selection signal MDR is formed by a switch manipulation made by a user depending on the tape used. The above-mentioned mode selection signal MDR can be generated automatically by deciding whether the tape is an evaporated metal tape or a metal powder coating tape by the presence or absence of a hole provided in the tape cassette. An analogue audio signal from an input terminal 5A is supplied to an analogue-to-digital (A/D) converter 11 and digitized with a 16-bit quantization bit number and a 48 kHz sampling frequency. The digital audio signal is fed to a terminal AD of a switch circuit SW1, and a digital audio signal obtained by a similar sampling frequency and a similar quantization bit number is supplied to a terminal DT of the switch circuit SW1 from an input terminal 5D. For instance, an input signal to the input terminal 5D could be a digital signal from a compact disc (CD) apparatus or an R-DAT apparatus. The output signal of the switch circuit SW1 is supplied to the mode selection switch MS1. In the A mode, the output signal of the mode selection switch MS1 is supplied directly to the terminal A of the mode selection switch MS2. In the B mode, the output signal of the mode selection switch MS1 is supplied to a compression circuit 12 for 16-bit to 12-bit compression. A non-linear compression method can be employed. The output signal of the compression circuit 12 is supplied to a dummy bit insertion circuit 13, and four dummy bits are inserted into time slots which occur due to the compression as will be described later. The dummy bits are zero data of binary signals, for example. The output signal of the dummy bit insertion circuit 13 is fed to the terminal B of the mode selection switch MS2. The output signal of the mode selection switch MS2 is supplied to a word/symbol converter 14 for conversion into an 8-bit symbol. The output signal of the word/symbol converter 14 is supplied to an error correction encoder 15 which performs encoding for every audio signal of one field. In the error correction encoder 15, a memory (not shown) is provided, the data of one field (original PCM audio data and dummy data are mixed together in the B mode) are stored in the memory. Encoding for an error correction code is made for every block stored in the memory. Since dummy data are added, the sizes of the blocks can be made equal in the case of 16-bit words and the case of 12-bit words, as will be explained in greater detail below. The common error correction encoder 15 is used for both cases. As will be mentioned later, at the error correction encoder 15, encoding for the C1 code is performed in the vertical direction of a block and encoding for the C2 code is performed in the horizontal direction of the block. In addition, Reed-Solomon codes are employed for the C1 code and C2 code. Further, the time axis of the data is compressed to, for example 1/6 in the error correction encoder 15. The output signal of the error correction encoder 15 is supplied to the mode selection switch MS3. Data taken out of the terminal A side of the mode selection switch MS3 are supplied to an eight-to-ten modulator 17 through the terminal A side of the mode selection switch MS4. Data taken out from the terminal R side of the mode selection switch MS3 are fed to a dummy bit elimination circuit 16 for the elimination of the dummy bits. At the dummy bit elimination circuit 16, the four added dummy bits and a redundancy code of either the C2 or the C1 code which is derived from only added dummy bits are eliminated. As a result, the amount of 12-bit data can be reduced as compared with the 16-bit data. The output signal of the dummy bit elimination circuit 16 is supplied to the eight-to-ten modulator 17 via the terminal B side of the mode selection switch MS4. The eight-to-ten modulator 17 is provided for preventing a bit error caused by a direct current (DC) component included in the recording data, and generates 10-bit data so as to reduce the DC component. The eight-to-ten modulator 17 generates 10-bit data by dispersing '0' and '1' of the 8-bit data. The eight-to-ten modulator 17 is made up of a read-only memory (ROM) (not shown) storing a conversion map. The output signal of the eight-to-ten modulator 17 is fed to an adder 18. A 16-bit header signal from a header signal generator 19 and a 12-bit header signal from a header signal generator 21 are selectively supplied to the adder 18 through the mode selection switch MS5. The header signal is made up of a synchronization signal, an address signal, an identification signal, etc. An error correction code which will be described later can perform the encoding using the C1 code, even with respect to the address signal and the identification signal of the header signal, however, in this case, the address signal and identification signal are added on the input side of the error correction encoder 15. The output signal of the adder 18 is converted into serial data by a parallel-serial converter 20, and recorded onto a magnetic tape by a rotary head. Figure 2 shows a reproduction apparatus including mode selection switches MS6 to MS9. In these mode selection switches MS6 to MS9, the terminal A sides are selected in the A mode and terminal B sides are selected in the B mode under the control of a mode selection signal MDP. Reproduction data from an input terminal 22 is supplied to a block-synchronization-signal detector 23 and a phase locked loop (PLL) circuit 24. A clock signal in synchronism with the reproduction data is developed by the PLL circuit 24, the clock signal is fed to the block-synchronization-signal detector 23, and the block synchronization signal is supplied to a switching signal generator 25. Due to a difference of the detection periods of the block synchronization signal, the mode selection signal MDP, indicative of whether the reproduced data assume the A mode or the B mode, is formed by the switching signal generator 25. The reproduction data are supplied to a serial-parallel converter 26 and converted into 10-bit parallel data. The output signal of the serial-parallel converter 26 is supplied to a ten-to-eight demodulator 27 so that a 10-bit to 8-bit conversion is made. The ten-to-eight demodulator 27 is complementary with the eight-to-ten modulator 17 on the recording side and is made up of a ROM (not shown) storing a data conversion map. The output signal of the ten-to-eight demodulator 17 is supplied to an error correction decoder 29 through the terminal A side of the mode selection switch MS6 and the terminal A side of the mode selection switch MS7. On the other hand, in the B mode, the output signal of the ten-to-eight demodulator 27 is supplied to a dummy bit insertion circuit 28 through the mode selection switch MS6. By means of the dummy bit insertion circuit 28, dummy bits are inserted in the positions in the block similar to those at the time of recording. Even in the case of 12-bit data, the size of the block is kept equal to 16-bit data. The output signal of the dummy bit insertion circuit 28 is supplied to the error correction decoder 29 through the terminal B side of the mode selection switch MS7. One feature of the present embodiment is that the error correction decoder 29 is used in common with the 16-bit data and 12-bit data. The error correction decoder 29 has a memory (not shown) for storing one block of data, and the decoding of the C1 code and the C2 code is made using reproduced data read out from the memory. In addition, the time axis is expanded by a factor of six by the error correction decoder 29. The error corrected data from the error correction decoder 29 are fed to a symbol/word converter 30 for a symbol to word conversion. In the A mode, the output signal of the symbol/word converter 30 is supplied to a switch circuit SW2 through the terminal A of the mode selection switch MS8 and the terminal A of the mode selection switch MS9. In the B mode, the output signal of the symbol/word converter 30 is supplied to a dummy bit elimination circuit 31 through the terminal B side of the mode selection switch MS8. The output signal of the dummy bit elimination circuit 31 is supplied to a 12 to 16-bit expanding circuit 32 for the expansion of one word to sixteen bits. The output signal of the 12 to 16-bit expanding circuit 32 is supplied to the switch circuit SW2 through the terminal B of the mode selection switch MS9. When the switch circuit SW2 is connected to the terminal DT side, a digital audio signal is taken out at an output terminal 34D. When the switch circuit SW2 is connected to the terminal AD side, an analogue audio signal is taken out of an output terminal 34A. In Figure 2, although not shown, an interpolation circuit can be provided at the decoder 29 to interpolate a word which cannot be error-corrected using a plurality of correct words. Recording data developed by the recording apparatus shown in Figure 1 are recorded by an 8mm VTR. Figure 3 shows the structure of the rotary head device of the 8mm VTR, and Figures 4 and 5 show tape formats. The details of this technique are disclosed in the foregoing US patent specification US-A-4 542 419. In Figure 3, rotary heads HA and HB provide different azimuth angles by having their operation gaps disposed at 180° to one another. The rotary heads HA and HB are rotated in the direction indicated by an arrow 3H at a frame frequency. A magnetic tape 2 is run at constant speed in the direction of an arrow 3T while wound around the circumferential surface of a drum 1 containing the heads HA and HB over an angular range of 221°. Tracks 4A and 4B having a length corresponding to 221° are alternately formed on the tape 2 by the rotary heads HA and HB, as shown in Figure 4. In an area AP having an angular range of about 36° from the point where the rotary heads HA and HB start to scan in the tracks 4A and 4B, a digital audio signal related to one field of a video signal is recorded as compressed in terms of the time axis. In a subsequent area AV having an angular range of 180°, a colour video signal of one field, an FM audio signal and a pilot signal for tracking of the rotary heads HA and HB are recorded by frequency multiplexing. The remaining 5° is provided for a margin for the separation of the rotary head HA and HB from the tape 2. Also, in an 8mm VTR, the recording area AV for the colour video signal can also be used as a recording area for a PCM audio signal, when the 8mm VTR is used as a recording/reproducing divide for audio only. Specifically, since the length of the area AV having an angular range of 180° in which the colour video signal is recorded, is five times as long as that of the area AP having an angular range of 36°, five area AP₂ to AP₆ can be provided for each track 4A and 4B besides the original area AP₁, as shown in Figure 5. Digital audio signals of different channels are recorded in these six areas AP₁ to AP₆. b. Two-dimensional array of data (block) In the NTSC system (field frequency = 59.94 Hz), 2-channel (left-hand channel and right-hand channel) audio signals (16-bit words) in one field period are sampled at a sampling frequency of 48 kHz. For this reason, the number of symbols (one symbol = eight bits) of a digital audio signal in one field period becomes 3204 based on the following equation: 48000 x 16 x 2 59.94 x 8 = 3203.4 ... In the CCIR system (field frequency = 50 Hz), since 2-channel audio-signals in one field period are sampled at a sampling frequency of 48 kHz, the number of symbols of a digital audio signal in one field period becomes 3840 from the following equation: 48000 x 16 x 2 50 x 8 = 3840 Figures 6 and 7 show respective block structures of the NTSC system and the CCIR system in the A mode (one word has sixteen bits). In the case of the NTSC system, as shown in Figures 6A and 6B, symbols of data are disposed in a matrix form of 36 x 90. The total number of symbols is 3240. The number of symbols of audio data which are actually used is 3204 symbols, and the remaining 36 symbols are reserve data. For the audio data and the reserve data, a header signal of 4 x 110 symbols is added. In the structure shown in Figure 1, the header signal is added to the adder 18 after the encoding of the error correction code has been performed. In this structure, the header signal is not error encoded. However, in the block structures shown in Figures 6A and 6B to 9, the encoding of the C1 code is done when necessary with respect to the address signal and the various identification signals (that is, signals of block-in addresses 0 to 3) other than the synchronization signal (one symbol lying in the first row) of the header signal. The encoding of the C1 code is made for every 39 symbols, which are the sum of three symbols of the header signal arranged in the vertical direction and 36 symbols of data. The C1 code is a Reed-Solomon code (43, 39, 5), that is, whose code length, information length and distance are, respectively, 43, 39, 5. A four symbol redundant code P (hereunder called 'check data') of the C1 code is developed for every set of 39 symbols and is disposed at each of four rows on the lower side of the block. The encoding of the C2 code is carried out in the horizontal direction of the block. The C2 code is a Reed-Solomon code of code length, information length and distance are, respectively, 22, 18, 5. 90 symbols are contained in each row in the horizontal direction of the block. As shown in detail in Figure 6B, four symbol check data Q of the C2 code are developed from eighteen symbols of data (the number of each of O, X, Δ, □ and ⋄, is eighteen) selected out of every five symbol data (marked by O, X, Δ, □ and ⋄, respectively) among the 90 symbols. Since five sets (1 to 5) of the C2 codes are contained in one row, check data of the C2 codes of 4 x 5 = 20 symbols is developed. As a result, a block of size of 44 x 110 is finally provided based on the audio data, reserve data, header signal, and check data P, Q. The above-mentioned generating method of P and Q parities is similar to the technique disclosed in detail in US patent specification US-A-4 688 225 and EP-A-0 311 411. Recording onto magnetic tape is done by reading the data from each block sequentially (from the block address 0 towards the block address 109 for every 44 symbols arranged in the vertical direction. In each channel of audio data, words of an even number are disposed on one side of a block (on the left-hand side in the drawing) when numbers are attached from the first word, words of an odd number are arranged on the other side of the block (on the right-hand side in the drawing), and check data of the C2 code is disposed between data of an even number and data of an odd number. This is to prevent the recording positions of audio data which is continuous in terms of time from separating on the magnetic tape to become error data. The encoding of the C1 code is made for check data Q of the C2 code to develop check data P. The check data provided at this time is identical to check data Q provided when the encoding of the C2 code is done for check data P of the C1 code. For this meaning, P (Q) code is used in the drawings. In the A mode of the CCIR system, the process of the encoding is done using a block structure shown in Figure 7. In the case of the CCIR system, as shown in Figure 7, symbols of data are arranged in a matrix fashion of 36 x 108. The total number of symbols (44 symbols) in the vertical direction is equal to the block in the NTSC system shown in Figures 6A and 6B. The total number of symbols becomes 3888. Audio data are 3840 symbols, and the remaining 48 symbols are reserve data. For the audio data and the reserve data, a header signal of 4 x 132 symbols is added. The encoding of the C1 code is carried out for every 39 symbols, that is, equal to the sum of three symbols of the header signal and 36 symbols of the data arranged in the vertical direction. The C1 code is a Reed-Solomon code of (43, 39, 5) similar to the NTSC system. Check data P for a 4-symbol C1 code is developed for every set of 39 symbols and disposed in four rows on the lower side of the block. The encoding of the C2 code is executed in the horizontal direction of the block. The C2 code is a Reed-Solomon code of (22, 18, 5), identical to the NTSC system. 54 + 54 = 108 symbols are contained in each row in the horizontal direction of the block. Four symbol check data Q for the C2 code are developed from eighteen symbols selected out of every six symbols among the 108 symbols. An interleave length in the horizontal direction is selected to be six symbols, which is different from the five symbols in the NTSC system. Since six sets of the C2 codes are included in one row, check data Q of the C2 code of 4 x 6 = 24 symbols is developed. Therefore, a block having the size of 44 x 132 symbols is finally provided by audio data, reserve data, the header signal and check data P, Q. The recording is made in the order of every 44 symbols arranged in the vertical direction at the time of recording. The arrangement of words of an even number, words of an odd number and check data of the C2 code is similar to Figures 6A and 6B. The block structure in which one word has twelve bits in the B mode is as shown in Figures 8 and 9. It is to be noted that the amount of only true data, that is not including dummy data, is indicated in these drawings. That is, Figures 8 and 9 show the block diagrams in the case where the input signal to the dummy bit insertion circuit 13 is assumed to be input to the error correction encoder 15. As can be seen from Figure 8, since the data amount decreases to 3/4 in the B mode as compared with the A mode, the number of symbols in the vertical direction is 27 symbols and that in the horizontal direction is 110, which is identical to the A mode as shown in Figure 6A. Similarly, as shown in Figure 9, the number of symbols in the vertical direction is 27 in the case of the CCIR system, and the number of symbols in the horizontal direction is 132, which is identical to the A mode, as shown in Figure 7. Before the data are supplied to the error correction encoder 15, dummy data are added by the dummy bit insertion circuit 13 to make the number of symbols in the vertical direction 36, which is identical to the A mode in the actual block construction. As a result, the same codes can be employed for the C1 code and the C2 code for the A mode and the B mode, and the error correction encoder 15 can be used in common with the two modes. Moreover, as mentioned above, the same C1 code and C2 code can be used in the NTSC system and CCIR system except for the size of the block and the interleave length in the horizontal direction. Figure 10A, 10B and 10C show an enlarged part of the block in the A mode (NTSC system) shown in Figures 6A and 6B. Data L₀, L₁, L₂, ... of one channel (left-hand channel) of 16-bit word data and data R₀, R₁, R₂, ... of the other channel (right-hand channel) are divided into upper 8-bit symbols (code u is affixed) and lower 8-bit symbols (code 1 is affixed). For instance, one word L₀ is divided into two symbols L 0,u and L 0,1 . As shown in Figures 6 to 9, symbols of words of an even number are disposed on the left-hand side of the block and in the horizontal direction from the left end, and symbols of words of an odd number are disposed on the right-hand side of the block and in the horizontal direction from the right end. As a result, symbols indicated in Figure 10A are arranged in the most left-hand side column of the block. A header signal (strictly speaking, a synchronization signal is excluded) is added and supplied to the error correction encoder, and check data P of the C1 code and check data Q (not shown) of the C2 code are added. Data indicated in Figure 10C similar to Figure 10B is recorded onto a magnetic tape. c. Addition of dummy data For a block of data in the B mode (twelve bits) (NTSC system) shown in Figure 8, dummy data is added to form a block shown in Figure 11. In Figure 11, data shaded by oblique lines is the dummy data (zero data). In this example, dummy data of one symbol is added on the lower side of a header signal for three symbols in the vertical direction. With this processing, the size of the block becomes equal to that in the A mode. Since the dummy data are arranged in the horizontal direction, a part of check data Q of the C2 code is developed only from dummy data. The check data that are developed from the dummy data only are indicated by cross hatching in Figure 11. After the encoding by the C2 code and the C1 code, data are transmitted, from which the dummy data indicated by the oblique line, and the check data of the C2 code developed from the dummy data indicated by the cross hatching, are excluded. As a result, the data amount to be transmitted is reduced to lower the data rate. Figures 12A, 12B, 12C, 12D and 12E are for explaining the addition of dummy data. Figure 12A shows a state in which one word of 12-bit data has been converted into symbols each having an 8-bit length. The upper eight bits of the twelve bits are selected to be an upper side symbol (u code is attached), and the lower four bits are assigned a lower-side symbol (1 code is attached). With such word to symbol conversion, a 4-bit vacancy occurs on the right-hand side of the lower symbol. The lower four bits of another word are inserted into the vacancy, and dummy data (eight bits) are inserted into the 8-bit vacancy occurring in the position previously occupied in part by the moved lower four bits. For example, as indicated by an arrow, a symbol R 0,1 is disposed in a vacancy occurring on the right-hand side of a symbol L 0,1 , and dummy data are inserted into the place where the symbol R 0,1 had been positioned. Therefore, in Figure 12B, as shown by an oblique line, one symbol of dummy data is added after each group of three symbols of real data when one column in the block is viewed. Since dummy data are inserted into all columns in this manner, the dummy data are consequently arranged in the horizontal direction. in this way, the encoding of the C2 code and the C1 code is performed in the state where dummy data are added. The dummy data are excluded at the dummy bit elimination circuit 16 after the encoding, and data from which the dummy data has ben eliminated are recorded onto a magnetic tape. Since the dummy data are arranged as stated above, redundant check data (that is, zero data) of the C2 code developed from the dummy data as indicated by a cross hatching in Figure 12D occurs at three symbol intervals even in the set of check data of the C2 code. The check data developed only from the dummy data are eliminated, and check data Q shown in Figure 12E is transmitted and recorded onto a magnetic tape. Actually, dummy data are added by first writing zero data into a memory of an error correction encoder in advance and then writing symbols so as to provide the array indicated in Figure 12B. d. Modification As shown in Figure 13A, by providing a vacant portion on the left-hand side of the lower 4-bit symbol, dummy data can be added. In addition, as shown in Figure 14, a lump of dummy data, indicated by the oblique line shading in the figure, can be added on the upper side of the data block shown in Figure 8. Further, processing similar to the above-mentioned addition of dummy data in the NTSC system is applicable to the CCIR system. According to the foregoing embodiment, the sizes of the blocks between the A mode and the B mode can be kept equal. The invention is also applicable to the case where the sizes of the blocks are kept equal in the NTSC system and the CCIR system in the same mode. For example, in the case of the A mode, the sizes in the horizontal direction (NTSC system: 110, CCIR system: 132) between the NTSC system and the CCIR system are different, as seen from Figures 6 and 7. By adding dummy data to the block in the NTSC system, a block of the same size as in the CCIR system can be constructed. Figure 15 shows one example to attain this object. In Figure 15, as shown by the oblique lines, one symbol of dummy data are added at intervals of five symbols with respect to the block shown in Figures 6A and 6B in the NTSC system so that the data are arranged in the vertical direction. The interleave length of the C2 code in the horizontal direction is selected to be six, and, therefore, check data Q of the C2 code consisting of only the dummy data are developed. Additionally, check data P of the C1 code are developed from dummy data arranged in the vertical direction. At the time of transmission, these dummy data and check data P, Q of the C1 code and the C2 code are eliminated. Also, when consideration is paid only to the C1 code, the dummy data can be arranged in a lump on the left-hand side or on the right-hand side of the block. Moreover, although not shown, both of the above-mentioned first embodiment (the system in which the sizes of the blocks are kept equal between the A mode and the B mode) and the second embodiment (the system in which the sizes of the blocks are kept equal in the NTSC system and the CCIR system) can be combined. Clearly, dummy data are to be added to the smaller data block so that its size is matched to the largest block of the four combinations (Figures 6A and 6B to 9) and the dummy data are arranged in the horizontal direction or in the vertical direction. With such an arrangement, the block size is unified, and the interleave length of the C2 code in the horizontal direction is unified. As dummy data, predetermined data (all '1' data or other data having a particular bit pattern) can be employed without being limited to zero data. In embodiments of this invention, by adding dummy data, the sizes of the blocks of error correction codes become equal, despite the difference of the bit numbers of words and the difference of television systems, and each of the encoder and the decoder for the error correction coding and decoding can be the same for the different modes and between different television systems. As a result, the amount of hardware required is small. Also, when dummy data are added, a part of the error correction code check data is composed of dummy data only. For this reason, not only the transmission of dummy data but also the transmission of a part of the check data can be omitted to lower the data amount for transmission. Consequently, the rate of transmission of the data can be reduced.

Claims: A data transmission method of error correction encoding a data block, which is composed of a two-dimensional array of digital information signals, with a first error correction code (C1) encoding data in the vertical direction of the array, and a second error correction code (C2) encoding data in the horizontal direction of the array, the method comprising the steps of: making equal the size of a first block and the size of a second block, whose block sizes are different, by adding dummy data to whichever of the blocks has the lesser amount of data, the dummy data being added so that they are arranged in the horizontal direction within the block; error correction encoding with the first and second error correction codes (C1, C2), the block containing the added dummy data and the other block that does not contain added dummy data, such that a redundant error correction code (C2) is produced from added dummy data only; and eliminating from the error correction encoded data the dummy data and the redundant error correction code, and transmitting the resulting data. A method according to claim 1 wherein the first and second blocks are composed of digital information signals digitized at the same sampling frequency, and the first block is composed of m bits per unit and the second block is composed of n bits per unit, where m and n are integers and m > n; and dummy data of m-n bit or bits is added. A method according to claim 2 wherein m = 8 and n = 6 in the use of a symbol as one unit, m = 16 and n = 12 in the use of a word as one unit, and m = 32 and n = 24 in the use of 2-channel data as one unit. A method according to claim 3 wherein when 12-bit word data are divided into 8-bit symbols, one symbol is formed by the upper eight bits of one word, another symbol is formed by the lower four bits of the word and the lower four bits of another word, and eight bits of dummy data are added following every three symbols. An apparatus for recording PCM audio signals onto a magnetic tape (2) by magnetic heads (HA, HB) and which is capable of selecting between a first mode in which one unit of digital data is composed of m bits and a second mode in which one unit of digital data is composed of n bits, where m and n are integers and m > n, the data of both modes having the same sampling frequency, the apparatus comprising: error correction encoding means (15) commonly used for the first and second modes for encoding the data in units of blocks composed of a two-dimensional array of the digital data; first insertion means (13) for inserting m-n bits of dummy data into the units of data prior to error correction encoding by the error correction encoding means (15) so that a redundant error correction code made up from dummy bits only is produced; first elimination means (16) for eliminating the inserted m-n dummy bits from the data; and addition means (18, 19, 21) for adding an information header, including at least a block synchronization signal, to the data; wherein in the first mode, data units composed of m bits each are encoded by the error correction encoding means (15), the addition means (18, 19, 21) adds a first block synchronization signal to each block of the encoding-processed data, and data from the addition means (18, 19, 21) is transmitted; and in the second mode, the first insertion means (13) inserts dummy bits into each data unit composed of n bits so as to transform it into one unit of m-bit data which is supplied to the error correction encoding means (15) where it is encoded, the first elimination means (16) eliminates the inserted bits and the redundant error correction code from the error correction encoded data as to supply units of n-bit data, these units of n-bit data from the first elimination means (16) are supplied to the addition means (18, 19, 21) which adds a second block synchronization signal to each block, and the resulting data from the addition means (18, 19, 21) is transmitted to the magnetic heads (HA, HB) and is magnetically recorded on the magnetic tape (2). Apparatus according to claim 5 wherein the first insertion means (13) further comprises means (12) for compressing m bits of data to n bits of data. Apparatus according to claim 5 wherein the error correction encoding means (15) further comprises a word/symbol data converter (14) for dividing the unit data into upper symbol bit data and lower symbol bit data. Apparatus according to claim 7 wherein the addition means (18, 19, 21) further comprises a bit number conversion circuit (17) for modifying the bit pattern of the symbol bit data and reducing the direct current (DC) component thereof. Apparatus according to claim 8 wherein the first insertion means (18, 19) adds the dummy data as the upper bits of the unit data. Apparatus according to claim 8 wherein the first insertion means (18, 19) adds the dummy data as the upper bits and the lower bits to each data unit. Apparatus according to claim 5 wherein the addition means (18, 19, 21) for adding an information header also adds to the data a mode identification signal indicating whether the first mode is selected or the second mode is selected. Apparatus according to claim 8 wherein the first mode is selected when evaporated metal tape (2) is used and the second mode is selected when metal powder tape (2) is used.

Inventors: ODAKA KENTARO PATENTS DIVISION, SAKO YOICHIRO PATENTS DIVISION, ODAKA, KENTARO PATENTS DIVISION SONY CORPORATION, SAKO, YOICHIRO PATENTS DIVISION SONY CORPORATION
Applicants: SONY CORP, SONY CORPORATION
Application year: 1989
Main classification: G11B20
IPC codes: G11B20, H04N9, H04N5