Recording error detection circuit and recording/reproducing apparatus

Abstract: Digital television signal on which an error correction code is additionally employed and which is over recorded on a previous recorded tape portion without erasing the same and then reproduced. A reproduced and error corrected (26) digital television signal (D PB ) is compared (25) with the recorded digital television signal (D REC ) so that an identity between the both digital television signals is detected. In a case in which the identity is not detected and error flag (EF) of the re­ produced television signal is not detected, a signal (ER) indicating a record error is generated so that an operator can recognize an occurence of the record error.

Description: This invention relates to a recording error detection circuit and a recording/reproducing apparatus for detecting recording errors based on the comparison of digital data recorded on a recording medium and digital data reproduced from the firstly started digital data. The present invention is applicable to a so-called D1 or D2 format digital video tape recorder adapted for recording and/or reproducing digital data. In a so-called D1 or D2 format composite digital video tape recorder, it has been customary to record the digitized video data and audio data sequentially on recording tracks T inclined with respect to the longitudinal direction of a magnetic tape 1, as shown in Fig. 2, using a rotary magnetic head device RH such as shown in Fig. 1. The rotary magnetic head device RH shown in Fig. 1 is provided with paired recording heads A₁, B₁; A₂, B₂ arranged at an interval of 180° from each other and paired reproducing heads C₁, D₁; C₂, D₂ arranged at an interval of 180° from each other and in a direction extending orthogonally to the recording heads A₁, B₁, A₂, B₂. Each of these pairs of recording heads A₁, B₁; A₂, B₂ and reproducing heads C₁, D₁; C₂, D₂ is arranged with a height difference equal to one track width. In the case of the NTSC system, for example, the rotary magnetic head device RH is driven at the rate of one and a half revolution per field to record one-field video data on six tracks T₁ to T₆ on the magnetic tape 1, as shown in Fig. 2. Meanwhile, video data V for each field are sequentially recorded at the central image region of each of the tracks T₁ to T₆ on the magnetic tape 1, while four-channel audio data a₁, a₂, a₃, a₄; b₁, b₂, b₃, b₄, compressed along the time axis, are recorded by duplicate recording on the inlet and outlet sides of each of the tracks T₁ to T₆. In this type of the composite digital VTR, audio data of the same contents as the audio data recorded at the outlet sides of the tracks T₁ and T₂ are recorded as data b₃, b₄, a₃, a₄ at the inlet sides of the next adjacent tracks T₃ and T₄. Although not high in economic efficiency, such duplicate recording system, according to which the same audio data are recorded at two different locations on the tape, has an advantage that the probability of correct signal reproduction is doubled. Above all, in the format shown in Fig. 2, since the digital audio signals are recorded in the vicinity of both edge of the magnetic tape 1, the probability is high that data errors be caused during reproduction. In order to prevent this, the duplicate recording system is adopted. Incidentally, it should be noted that, while the audio data a₃, a₄ recorded on the track T₁ are recorded by the recording head A₁ and the audio data b₃, b₄ recorded on the track T₂ are recorded by the recording head B₁, the audio data b₃, b₄ recorded on the track T₃ are recorded by the recording head A₂ and the audio data a₃, a₄ recorded on the track T₄ are recorded by the recording head B₂. Meanwhile, in the above mentioned digital video tape recorder, the same tracks as those on which video data and audio data have been recorded by the recording heads A₁, B₁, A₂ and B₂ may be reproduced simultaneously by the reproducing heads C₁, D₁, C₂, D₂. Thus, in an arrangement of the recording/reproducing system shown for example in Fig. 3, there is added a so-called verifying function of checking the data recorded by the recording heads A₁, B₁, A₂, B₂ against the data reproduced by the reproducing head C₁, D₁, C₂, D₂, for ascertaining whether or not recording has been made normally. That is, in the conventional recording/reproducing system shown in Fig. 3, analog input signals S IN are introduced via a sample-and-hold (S/H) circuit 11 to an analog to digital (A/D) converter 12. These analog input signals S IN are supplied to an encoder 13 in the form of record data D RED digitized by the A/D converter 12, which record data D REC are simultaneously supplied via delay circuit 14 to a data comparator 15. The record data D REC are subjected at the encoder 13 to predetermined data processing, such as data shuffling or addition of outer or inner codes for error correction, before being recorded by the recording heads A₁, B₁, A₂ and B₂ of the rotary magnetic head device RH on the tracks T₁ to T₆ on the magnetic type 1. In the above mentioned recording/reproducing system, the reproducing operation for the tracks T₁ to T₆ is performed simultaneously with the above mentioned recording operation, and the playback output to be reproduced by the reproducing heads C₁, D₁, C₂ and D₂ is subjected to a predetermined decoding operation by a decoder 16 functionally associated with the encoder 13. In this manner, the playback data D PB corresponding to the data recorded on the tracks T₁ to T₆ are obtained and supplied to the data comparator 15. The delay circuit 14 affords a delay to the record data D REC which delay is equal to the time consumed in obtaining the playback data D PB corresponding to the record data D REC recorded on the tracks T₁ to T₆. A more specific description of affording such delay to the record data is not given herein since it is the subject-matter of our copending Japanese Patent Application No. 38494/1988. The record data D REC supplied via the delay circuit 14 and the playback data are compared with each other at the data comparator 15 to detect non-coincidence and hence the occurrence of the record errors. The record error detection outputs from the data comparator 15 are counted by a counter 17 and an alarm is issued when the number of times of occurrence of the record errors exceeds a predetermined value. Meanwhile, in the above mentioned conventional recording/reproducing system, shown in Fig. 3, wherein the non-coincidence between the record data D REC supplied via delay circuit 14 and the playback data D PB is detected by the data comparator 15 to detect the record errors, the record error detection outputs from the data comparator 15 are counted by the counter 17 and the alarm is issued when the number of times of occurrence of the record errors exceeds a predetermined value, there is a drawback that, when new data are recorded in superposition by an insert editing operation on a pre-recorded magnetic tape 1 and if there are any unerased data portion in a part of the superposed recorded portion, such unerased data portion being detected as the recording error by the data comparator 15, no alarm will be issued when the number of times of occurrence of the record errors is lesser than the predetermined value, such previously recorded but unerased data portion being then reproduced with the newly recorded data. From Patent Abstract of Japan, vol. 9, no. 113 (P-356), 1985, JP-A-60.000.673, it is known to attain the monitoring and checking of recorded information by providing closely a first and second head, reproducing a signal recorded by the first head by the second head, and recording a comparison output signal between this reproducing signal and the original signal to be recorded by the first head.When the first head records a signal on a first track the second head reproduces the signal while following the first head. Then a reproducing signal is amplified by a reproducing circuit and fed to a comparator circuit. The comparator circuit compares the signal recorded by the first head and reproduced by the second head and the original data from an original data recording circuit and if a difference exists between the both, the first head records a signal representing an error signal of the first track into a special area by the indication of the comparison circuit and records the signal on the second track again. It is the object of the present invention to provide an error detection circuit and a recording/reproducing apparatus, to which such an error detection circuit is applied, wherein data errors caused by failure in erasing the previously recorded data on the prerecorded magnetic tape may be detected reliably. The object is solved by the features of claims 1 or 7 concerning the error detection circuit and claim 6 concering the respective recording/reproducing apparatus. Further developements of the invention are given by claims 2-5 and 8. A description of embodiments of the invention is given hereafter with reference to the attached drawings, in which: Fig. 1 is a diagrammatic view showing an example of a rotary magnetic head device employed in a digital video tape recorder. Fig. 2 is a diagrammatic view showing track patterns in a digital video tape recorder employing the rotary magnetic head device shown in Fig. 1. Fig. 3 is a block diagram showing the construction of the recording/reproducing system of a conventional digital video tape recorder having a verifying function. Fig. 4 is a block diagram showing the construction of the recording/reproducing system of a digital video tape recorder having an error detection circuit according to the present invention. Fig. 5 is a diagrammatic view showing an example of a recording format employed in the recording/reproducing system shown in Fig. 4. Fig. 6 is a block diagram showing a modified embodiment of the error detection circuit according to the present invention. An illustrative embodiment of the present invention will be explained in more detail hereinbelow. The recording/reproducing system of a digital video tape recorder embodying the present invention is illustrated in Fig. 4. This digital video tape recorder functions to record and/or reproduce television signals via a magnetic tape 1 in accordance with the format shown in Fig. 2 with the use of the rotary magnetic head device RH shown in Fig. 1. In the recording/reproducing system of the digital video tape recorder shown in Fig. 4, the analog input signals S IN are supplied via S/H circuit 21 to an A/D converter 22. The record data D REC , that are the analog input signals S IN digitized by the A/D converter 22, are supplied, as the digital data to be recorded, to an encoder 23, while being simultaneously supplied via delay circuit 24 to a data comparator 25. The record data D REC are subjected at the encoder 23 to a predetermined data processing inclusive of data shuffling or addition of error correction codes, before being recorded on the tracks T₁ to T₆ on the magnetic tape 1 by the recording heads A₁, B₁, A₂, B₂ of the rotary magnetic head device RH, shown in Fig. 1, in accordance with the format shown in Fig. 2. The recording/reproducing system functions to reproduce data from the tracks T₁ to T₆, simultaneously with the recording operation, with the reproduced outputs from the reproducing heads C₁, D₁, C₂, D₂ being supplied to a decoder 26. The decoder 26 functions to perform predetermined data processing of the playback data, inclusive of deshuffling and error correction based on the error correction codes, in operative association with the encoder 23. In this manner, playback data D PB corresponding to the record data D REC recorded on the tracks T₁ to T₆ are obtained and are supplied to the data comparator 25 and, error flags EF indicating data errors in the error-corrected play back data D PB are obtained and are supplied to an AND gate 27. It will be noted that the delay circuit 24 affords a delay to the record data D REC which delay corresponds to the time consumed in obtaining playback data D PB corresponding to the record data recorded on the tracks T₁ to T₆. In this manner, the record data D REC are supplied to the data comparator 25 via delay circuit 24 at a timing coincident with the playback data D PB from the decoder 26. In the data comparator 25, the record data D REC supplied via the delay circuit 24 and the playback data D PB from the decoder 26 are compared to each other, and the non-coincidence detection output is supplied to the AND gate 27. The AND gate 27 outputs a logical product output of the non-coincidence detection output from the data comparator 25 and the error flag EF, as a record error signal S ER . This record error signal S ER is outputted when the non-coincidence detection output is issued by the data comparator 25 thus indicating a recording error and the error-corrected playback data D PB are reproduced in an error-free state by the decoder 26, that is, unerased data portions produced as a result of the insert editing are reproduced normally by the decoder 26. In the present recording/reproducing system, the number of error flags EF of the playback data D PB obtained by the decoder 26 is counted by a counter 28. Thus, when the number of times of data error occurrence as indicated by the error flags EF exceeds a predetermined value, the counter 28 issues a record error signal S EF indicating the state of recording errors. The record error signals S ER , obtained by the AND gate 27, and the record error signal S EF , obtained by the counter 28, are supplied to alarming means, not shown, via an OR gate 29, to issue an alarm that the recording error has been produced. In the above described recording/reproducing system, since the recording errors are detected by using error-corrected playblock data D PB reproduced by the decoder 26 and the error flags EF for the data D PB , it is unnecessary to compare the totality of both the record data D REC and the playback data D PB by the data comparator 25, but it is only sufficient to compare these data by units of error correction code blocks in which the above error flags EF have been produced. That is, when the error correction codes are formed by a n number of samples, unerased data may be detected by simply detecting a 1/n number of the totality of samples. For example, in the case of a recording format in which one-track data are constituted by a m number of inner code blocks IB₁, IB₂, ... , IBm each constituted by a n number of samples, it is only sufficient to compare the m number of samples per track, thus allowing to reduce the scale or size of the delay circuit elements. In the above described recording/reproducing system, the error correction codes are affixed to the input data in the encoder 23 as recording processing means to provide the record data D REC recorded on the magnetic tape 1, while the recorded record data D REC are reproduced from the magnetic tape 1 and subjected at the decoder 26 as reproducing processing means to error correction based on the error correction codes. On the other hand, possible non-coincidence between the error-corrected playback data D PB from the decoder 26 and the record data D REC supplied via the delay circuit 24 and that are to be recorded on the magnetic tape 1 is detected. The AND gate 27 as the record error signal output means outputs a recording error signal, when a non-coincidence detection output is obtained by the data comparator 25 with respect to the error-free playback data D PB reproduced from the decoder 26, on the basis of the error flag EF indicating the data errors in the error-corrected playback data D PB . This recording error signal is outputted when the non-coincidence detection output is issued by the data comparator 25 thus indicating the recording error state and the error-corrected playback data D PB are reproduced in an error-free state by the decoder 26, that is, when the data previously recorded and remained unerased in the course of the insert editing operation may be reproduced normally by the decoder 26. Thus the previously recorded and unerased data portions may be reliably detected by this recording error signal. It is therefore possible with the above described digital video tape recorder provided with the recording/reproducing system to prevent recording of data errors caused by the failure in erasing the previously recorded data on the pre-recorded magnetic tape in the course of the so-called insert editing. According to the present invention, as described hereinabove, those signals that are used for recording are used for comparison. Although the teaching of the present invention may be applied to error detection of video and audio data, it is also possible, in the case of the above described duplex recording system, that is, in the format in which the same audio data are recorded at different locations on the tape, to detect unerased audio signals with the use only of the playback audio data. An embodiment of an error detection circuit in which the above described duplex recording system is effectively utilized for error detection is now explained in detail by referring to Fig. 6. In the error detection circuit, shown in Fig. 6, the present invention is applied to the playback system for audio signals in a digital tape recorder having the track format as shown in Fig. 2 and including the rotary magnetic head device RH shown in Fig. 1. In the error detection circuit, shown in Fig. 6, among the playback outputs reproduced from the tracks T₁ to T₆ on the magnetic tape 1 having the track format shown in Fig. 2, the playback outputs from the audio region at the inlet side to the video region, referred to hereinafter as the first audio playback outputs, such as the audio data b₃, b₄, a₃, a₄ reproduced from the audio region at the inlet side to the tracks T₃ and T₄, are supplied via first input terminal 30A to a first correction decoding circuit 31. On the other hand, the playback outputs from the audio region at the outlet side of the video region, referred to hereinafter as the second audio playback outputs, for example, audio data a₃, a₄, b₃, b₄ reproduced from the audio region at the outlet sides of the tracks T₁ and T₂, are supplied to a second correction decoding circuit 32 via second input terminal 30B. The correction decoding circuits 31, 32 function to perform correction decoding, such as error correction or decoding, by units of data blocks of the inner codes, and to output correction decoded audio playback data DATA 1 and DATA 2 simultaneously with error flags EF1 and EF2. The correction decoded audio playback data DATA1 and DATA2, obtained by the correction decoding circuits 31, 32 are supplied to a data comparator 40, while being supplied to a third correction decoding circuit 34 via a selection switch 33. The error flag EF1, produced by the first correction decoding circuit 31, indicates the error-free state of the correction decoded audio playback data DATA1 by the logically high level "H". This error flag EF₁ is supplied to both a first AND gate 41 and a first burst error detection circuit 32. The error flag EF₂ obtained by the second correction decoding circuit 32 indicates the error-free state of the correction decoded audio playback data DATA2 by the logically high level "H". This error flag EF₂ is supplied to both the first AND gate 41 and a second burst error detection circuit 43. The third correction decoding circuit 34 functions to perform correction decoding, such as error correction by outer codes or decoding, of the audio playback data supplied thereto via selection switch 33. The correction decoded audio playback data from the third correction decoding circuit 34 are supplied via a muting circuit 35 to a digital to analog (D/A) converter 36 and thereby converted into analog signals before being outputted as the playback audio signals at a signal output terminal 37. The data comparator 40 compares the correction decoded audio playback data DATA1 and DATA2 from the correction decoding circuits 31 and 32 to issue a non-coincidence detection output indicating the state of non-coincidence by the logically high (H) level to the first AND gate 41. This first AND gate 41 is opened when both the error flags EF₁ and EF₂ are at the logically high (H) level, that is, when the correction decoded audio playback data DATA1, DATA2 from the correction decoding circuits 31, 32 are in the error-free state, to output the non-coincidence detection output of the data comparator 40 as the error detection output. At this time, when the data remaining on the pre-recorded magnetic tape 1 due to non-erasure are reproduced normally by one of the correction decoding circuits 31, 32, the correction decoded audio playback data DATA1, DATA2, obtained at the correction decoding circuits 31, 32 are both error-free and non-coincident with each other, so that the error detection output indicating the data error due to non-erasure may be obtained at the first AND gate 41. Meanwhile, the probability that the data remaining on the pre-recorded magnetic tape 1 due to non-erasure of the previously recorded data are reproduced normally and as the identical signal is so low that the data errors due to such non-erasure may be sufficiently detected by detecting that the correction decoded audio playback data DATA1, DATA2 obtained by the correction decoding circuits 31, 32 are both error-free and are inconsistent with each other. In the above described error detection circuit, the error detection output produced by this first AND gate 41 is supplied as the control signal to the muting circuit 35 via second AND gate 45 for muting the playback audio signals at the time of occurrence of data errors due to non-erasure. In will be noted that, in case of occurrence of data errors due to non-erasure, burst errors are necessarily produced before and after such data errors. Thus, in the present illustrative error detection circuit, the audio playback data DATA1, DATA2 are checked for the occurrence of the burst errors on the segment-by-segment basis. The detection output by the first burst error detection circuit 42 is supplied as the selection control signal to a control input end of the selection switch 33 to select the audio playback data free of the burst errors by the selection switch 33. In addition, the detection outputs from the burst error detection circuits 42, 43 are supplied via an exclusive OR circuit 44 to the second AND gate 45 as a gate control signal for opening the third AND gate 45 by the output of the exclusive OR circuit 44 only on occurrence of the burst errors in one of the audio playback data DATA1 and DATA2 for applying muting to the muting circuit 35 by the error detection output. In the illustrative error detection circuit, as described hereinabove, each playback output of the record data dually recorded on the record tracks of the magnetic tape 1 with addition of the error correction codes is subjected to correction decoding by the inner codes at the correction decoding circuits 31, 32. The data comparator 40, detecting non-coincidence by comparing the correction-decoded playback outputs of the correction decoding circuits 31, 32, outputs an error detection signal when the both playback data are reproduced in an error-free state as the result of the correction decoding at the correction decoding circuits 31, 32 and are non-coincident with each other, that is, when those portions of the pre-recorded data that remain unerased in the course of the insert editing operation are reproduced normally by the correction decoding means. Thus, in a digital video tape recorder for recording and/or reproducing so-called D1 or D2 format digital data in which digital audio data are dually recorded on the recording tracks, data errors caused by the failure in erasing previously recorded data on a magnetic tape in the course of the so-called insert editing may be detected easily and reliably with the use of the above described error detection circuit.

Claims: An error detection circuit for a digital signal recording and reproducing apparatus wherein a digital signal is recorded on a record medium (1) and thereafter reproduced therefrom comprising means (25) for checking the identity between the digital signal prior to be recorded and the reproduced digital signal, characterized by means (26) for decoding the reproduced coded digital signal, providing an error flag signal and supplying the error corrected digital signal to said means (25) for checking the identity ; means (27) for detecting a first record error signal (S ER ) when the identity is not detected only in case of inexistence of said error flag signal indicating an existence of error in the corrected reproduced digital signal, means (28) for counting a number of the error flag signals and for generating a second record error signal (S EF ) when the number reaches to a predetermined number, and means (29) for selectively providing one of said first and second record error signals to an error monitoring device. The error detection circuit according to claim 1, in which said digital signal is a video signal and an audio signal. The error detection circuit according to claim 1 or 2, in which said checking means is a comparator (25). The error detection circuit according to anyone of claims 1 to 3, in which said detecting means is an AND gate circuit (27). The error detection circuit according to anyone of claims to 4, in which said selectively providing means is an OR gate circuit (29). An apparatus for recording and reproducing a digital television signal comprising means for recording and thereafter reproducing a digital signal by a plurality of recording and reproducing heads mounted on a rotary drum in contact with a magnetic video tape and means for checking the identity between the digital signal prior to be recorded and the reproduced digital signal, characterized by means (22) for converting an analogue television signal to a digital television signal (D REC ), means (23) for encoding the digital television signal so that an error correction code is added to the digital television signal (D REC ), the output of the means for encoding being applied to the means for recording and reproducing, means for decoding (26) a reproduced digital television signal by said plurality of reproducing heads so that error corrected digital television signal (D PB ) and an error flag signal (EF) are generated thereby, means (24) for delaying the digital television signal (D REC ) by a time corresponding to a time which is required for the process of encoding, recording, reproducing and decoding, the means (25) for checking the identity are connected to said decoding (26) and delaying (24) means for receiving output signals of the same and for detecting an identity between said output signals, and means (27, 28, 29) for generating a record error signal indicating that record error occurs when said identity and the error flag signal are not detected so that an operator can recognize an occurrence of the record error thereby. A recording error detection circuit for a digital signal recording/reproducing apparatus in which a new digital signal is recorded by overwriting on a magnetic tape (1) and another signal which is the same as said new digital signal is recorded at a different position on said tape, said circuit comprising comparing means, characterized by a first decoder (31) receiving the reproduced new digital signal to produce a first decoded digital signal and a first error flag, a second decoder (32) receiving said new digital signal reproduced from said different position on the tape (1) to produce a second decoded digital signal and a second error flag, said comparing means (40) indicate coincidence or non-coincidence between said first and second decoded signals, and means (41) receiving said first and second error flags and an output signal of said comparing means (40) and issuing a signal indicating the occurrence of recording errors when said first and second error flags indicate no errors and the output of said comparing means (40) indicates non-coincidence. The recording error detection circuit according to claim 7, further comprising; first and second burst error detection means (42, 43) for detecting burst errors from the output signals of said first and second decoders, and switching means (33) supplied with said first and second decoded digital signals and selectively taking out one of said first and second decoded digital signals under control by an output signal of at least one of said first and second burst error detection means (42, 43).

Inventors: MURAKAMI YOSHIHIRO, MURAKAMI, YOSHIHIRO
Applicants: SONY CORP, SONY CORPORATION
Application year: 1989
Main classification: G11B20
IPC codes: G11B27, G11B20, H04N5, G11B5