Synchronizing signal extracting apparatus

Abstract: A synchronizing signal extracting apparatus comprising synchronizing signal detecting circuit (5, 6) for detecting a synchronizing signal of predetermined bits from entered digital data, synchronizing signal generating circuit (7) adapted to be reset by an output of the synchronizing signal detecting circuit (5, 6), the synchronizing signal generating circuit (7) generating an output in a timing of said synchronizing signal, and synchronizing signal extracting circuit (8) for outputting, as a synchronizing signal, a result of an OR operation performed on the output of said synchronizing signal detecting circuit (5, 6) and the output of said synchronizing signal generating circuit (7), the synchronizing signal extracting circuit (8) changing a state thereof according to match/mismatch in timing between the output of said synchronizing signal detecting circuit (5, 6) and the output of said synchronizing signal generating circuit (7). The novel setup outputs correct synchronizing signals and data enable signal even if the detection of synchronizing signals is missed or erroneously made, reduces chances of the missed detection of synchronizing signals even when the signal-to-noise ratio of reproduced signal is poor at digital VTR variable-speed reproduction or high-speed search, and implements synchronizing signal extraction of high precision.

Description: BACKGROUND OF THE INVENTION: Field of the Invention: The present invention relates to a synchronizing signal extracting apparatus for use in a digital signal recording/reproducing apparatus and the like. Description of the Related Art: A digital audio tape recorder (DAT) and a digital video tape recorder (digital VTR) are known as digital signal recording/reproducing apparatuses. In these digital signal recording/reproducing apparatuses, a digitized video signal or audio signal is added with a synchronizing signal, an identification code, and an error correction code at each predetermined interval to form a sync block before being recorded. At reproduction, the synchronizing signal is detected to determine a head of the sync block to perform such processing as error correction and digital/analog conversion. In the DAT, the synchronizing signal is extracted only by means of matching patterns of one byte constituting the synchronizing signal and checking a simple parity. However, the above-mentioned method in which the synchronizing signal is extracted only by pattern matching and simple-parity checking is unable to extract a correct synchronizing signal when missed detection or erroneous detection occurs. From EP-A-0254386 an apparatus for detecting a frame alignment word, i.e. a synchronizing sequence, preceding the data bits in a serial bit stream is known. The apparatus comprises a gate circuit to indicate a detection of a predefined frame alignment word. The detection signal is used to reset a frame interval counter which generates an output signal once every frame period, i.e. whose timing corresponds to the expected occurrence of the frame alignment word. Subsequently the above counter output is compared to the detection signal by a dedicated state machine called confidence counter whose state changes depending on whether the detection of the frame alignment word occurs simultaneously to the counter pulse or not. From EP-A-0096854 a framing system is known which processes a digital signal having a clock period of T seconds and a frame which is made up of an n-bit framing pattern and m-bit information. This system is applicable to a situation in which the probability that a pattern common to the n-bit framing pattern appears in the m-bit information is very low. From EP-A-0052432 an apparatus for extracting synchronizing information from an incoming serial-bit digital television signal formed of a sequence of word blocks is known. OBJECTS AND SUMMARY OF THE INVENTION: It is an object of the present invention to provide a synchronizing signal extracting apparatus for extracting a correct synchronizing signal even if detection missing or erroneous detection occurs. It is another object of the present invention to provide a synchronizing signal extracting apparatus which misses detection of a synchronizing signal as rarely as possible even if a signal-to-noise ratio of a reproduced signal is poor in such a situation as digital VTR variable-speed reproduction or high-speed searching. The object is achieved by means of a synchronising signal extracting apparatus comprising synchronising signal detecting means comprising a pattern matching circuit detecting a match between predetermined bits from entered digital data and outputting a first synchronising signal in a timing of the detection of said match and a match flag signal; counting means adapted to be reset by said match flag signal of said synchronising signal detecting means said counting means generating an output in a timing of said first synchronising signal; and synchronising signal extracting means changing its state according to one of match and mismatch in timing between the output of said synchronising signal detecting means and the synchronising signal output of said counting means, wherein said synchronising signal extracting means output, as a further synchronising signal, a result of an OR operation performed on the first synchronising signal output of said synchronising signal detecting means and the output of said counting means; and said predetermined bits represent patterns of two bytes. The depending claims develop further the central idea of the invention. In carrying out the invention and according to a first aspect thereof, there is provided a synchronizing signal extracting apparatus for extracting a synchronizing signal from data reproduced from a digital VTR, comprising a synchronizing signal detecting circuit (a first circuit) for detecting the synchronizing signal having a predetermined number of bits from input digital data, a synchronizing signal generating circuit (a second circuit) constituted so that it can be reset by the first circuit and generates an output at a period of the synchronizing signal, and a synchronizing signal extracting circuit (a third circuit) which outputs as a synchronizing signal a result of an OR operation performed on the outputs of the first and second circuits and changes its state depending on a timing match or mismatch between the outputs of the first and second circuits. In carrying out the invention and according to a second aspect thereof, there is provided a synchronizing signal extracting apparatus in which the synchronizing signal extracting circuit outputs a signal for indicating validity of a synchronizing signal based on a state in which the circuit is operating. In carrying out the invention and according to a third aspect thereof, there is provided a synchronizing signal extracting apparatus in which the number of allowable bits at detection of a synchronizing signal is set according to the state of the synchronizing signal extracting circuit. In carrying out the invention and according to a fourth aspect thereof, there is provided a synchronizing signal extracting apparatus in which a synchronizing signal consists of two bytes, a detecting circuit (a fourth circuit) for detecting one byte of the synchronizing signal from input digital data is provided, and the two bytes of the synchronizing signal are detected by the synchronizing signal detecting circuit. According to the first aspect, the synchronizing signal generating circuit generates the output at the period of the synchronizing signal, so that, once the synchronizing signal detecting circuit has reset the synchronizing signal generating circuit upon detection of a synchronizing signal, the synchronizing signal is output from the synchronizing signal extracting circuit even if the synchronizing signal detecting circuit has missed detection of the synchronizing signal or made an erroneous detection thereof. According to the second aspect, the synchronizing signal extracting circuit outputs the signal for indicating the validity of the synchronizing signal to be output by this circuit according to the state of the circuit. This indicating signal goes high when, for example, the synchronizing signal detecting circuit detects one synchronizing signal and then detects a synchronizing signal in a timing that matches the output of the synchronizing signal generating circuit. This indicating signal goes low when two synchronizing signals are missed consecutively. According to the third aspect, if the synchronizing signal detecting circuit (the first circuit) detects one synchronizing signal at digital VTR variable-speed reproduction or high-speed search for example and then a synchronizing signal in a timing that matches the output of the synchronizing signal generating circuit, it is assumed that the synchronizing signal has been detected even if the synchronizing signal detecting circuit has not detected a complete match in synchronous pattern. According to the fourth aspect, the detecting circuit (the fourth circuit) detects one byte of the synchronizing signal and the synchronizing signal detecting circuit (the first circuit) detects two bytes of the synchronizing signal, thereby enhancing synchronizing signal detection accuracy. BRIEF DESCRIPTION OF THE DRAWINGS: The above and other objects, features and advantages of the present invention will become more apparent from the following description taken in connection with the accompanying drawings, in which: Fig. 1 is a block diagram illustrating a constitution of the synchronizing signal extracting apparatus practiced as a first embodiment of the invention; Fig. 2 is a diagram illustrating a state transition of a state machine in the first embodiment; Fig. 3 is an operation timing chart provided when the synchronizing signal extracting apparatus practiced as the first embodiment involves no error; Fig. 4 is an operation timing chart provided when the synchronizing signal extracting apparatus practiced as the first embodiment involving an error; and Fig. 5 is a block diagram illustrating a constitution of the synchronizing signal extracting apparatus practiced as a second embodiment of the invention. DESCRIPTION OF THE PREFERRED EMBODIMENTS: This invention will be described in further detail by way of example with reference to the accompanying drawings. Fig. 1 is a block diagram illustrating a constitution of the synchronizing signal extracting apparatus practiced as a first embodiment of the invention. First, serial data entered at terminal 1 is divided in units of eight bits to be converted by a serial/parallel converting circuit 2 into eight-bit parallel data. The eight-bit parallel data thus obtained is entered in a first pattern matching circuit 3. The first pattern matching circuit 3 compares a pattern of a first one byte of a two-byte synchronizing signal and seven patterns generated by shifting the pattern of the first byte by one bit with a pattern of the entered eight-bit parallel data to determine by how many bits the first one byte of the synchronizing signal in the entered eight-bit parallel data has been offset in the eight-bit division. The first pattern matching circuit 3 then supplies a control signal corresponding to the offset to a barrel shifter 4 in which the eight-bit parallel signal is shifted to a normal alignment. The normally aligned parallel data is then entered in a second pattern matching circuit 5. The second pattern matching circuit 5 detects a match between patterns of the two bytes of the synchronizing signal in the entered data. Then the circuit 5 supplies a sync pulse SYNC1 to a state machine 8 in a timing in which the match has been detected. The circuit 5 also supplies a matching flag to a gate circuit 6. The gate circuit 6 opens when the state machine 8 is in search mode to supply the matching flag to a flywheel counter 7 to reset the counter. The flywheel counter 7 is a counter which operates in a period of one sync block and is reset by the output of the gate circuit 6 as described above. Then the counter 7 outputs a second sync pulse SYNC2. The state machine 8 performs an OR operation on the second sync pulse SYNC2 outputted from the flywheel counter 7 and the first sync pulse SYNC1 outputted from the pattern matching circuit 5 and outputs an operational result to a terminal 9 as a third sync pulse SYNC3. At the same time, the state machine 8 outputs a D-EN signal (hereinafter referred to as a data enable signal) which indicates validity of the data from a terminal 10. In the search mode, the state machine 8 outputs a control signal for opening the gate circuit 6. The state machine 8 has four states; search, verify, hold and pre-alarm. Fig. 2 is a state transition diagram indicating an interrelation between these states. In the search mode, a pattern match is detected by the second pattern matching circuit 5. When the first sync pulse SYNC1 is entered in the state machine 8, the state machine enters the verify mode. If no pattern match is found and the first sync pulse SYNC1 is not entered, the state machine stays in the search mode. In the verify mode, if the second sync pulse SYNC2 outputted from the flywheel counter 7 and the first sync pulse SYNC1 outputted from the second pattern matching circuit 5 match in timing, the state machine 8 enters the hold mode. If no match is found, the state machine enters the search mode. In the hold mode, if the second sync pulse SYNC2 and the first sync pulse SYNC1 match in timing, the state machine 8 stays in the hold mode. If no match is found, the state machine shifts to the pre-alarm mode. In the pre-alarm mode, if the second sync pulse SYNC2 and the first sync pulse SYNC1 match in timing, the state machine 8 enters the hold mode. If no match is found, the state machine shifts to the search mode. Fig. 3 is a timing chart indicating an operation of the synchronizing signal extracting apparatus practiced as the first embodiment of the invention when no error is involved. Fig. 4 is a timing chart indicating an operation of the above-mentioned apparatus when an error is involved. Now, referring to Figs 1 through 3, the operation without error will be described. As shown in Fig. 3 (a), a situation in which two pieces of data each consisting of five sync blocks are entered intermittently is assumed in the following description. The input data is converted by the serial/parallel converter 2 into eight-bit parallel data. The resultant eight-bit parallel data is put in the first pattern matching circuit 3 and the barrel shifter 4. In the barrel shifter 4, the parallel data is shifted to the normal alignment according to the offset of the synchronizing signal detected by the first pattern matching circuit 3. The normally aligned parallel data is then put in the second pattern matching circuit 5. The second pattern matching circuit 5 detects a match between the patterns of two bytes in the synchronizing signal in the entered parallel data and supplies the first sync pulse SYNC1 of Fig. 3 (b) to the state machine 8. When a state of Fig. 3 (d) is the search mode (S), the second pattern match circuit resets the flywheel counter 7. Here, the flywheel counter 7 is reset in timings of the first sync pulse SYNC1 at first and sixth points shown in Fig. 3 (b). When the flywheel counter is reset, the state machine 8 exits the search mode (S) and enters the verify mode (V). The flywheel counter 7 outputs the second sync pulse SYNC2 of Fig. 3 (c). When the flywheel counter 7 is reset by the output of the second pattern matching circuit 5, the second sync pulse SYNC2 thereafter matches with the first sync pulse SYNC1 in timing. The state machine 8 performs an OR operation on the first sync pulse SYNC1 and the second sync pulse SYNC2 and outputs an operational result as a third sync pulse SYNC3. However, as shown in Fig. 3 (e), the operational result is output with a delay caused by processing in the state machine 8 (in the figure, the delay is 3/4 of sync block interval; actually, the delay is equivalent to several clocks). Next, the data enable signal D-EN of Fig. 3 (h) will be described. This signal is expressed in a logic relation that follows: D-EN = H2 + (H1 x V2) + (H1 x P2) where, H, V and P indicate the hold mode, the verify mode and the pre-alarm mode respectively. Numeral 1 indicates a state 1 in which, as shown in Fig. 3 (f), each mode in the state shown in Fig. 3 (d) is latched in a timing of the third sync pulse SYNC3. Numeral 2 indicates a state 2 in which, as shown in Fig. 3 (g), the state 1 of Fig. 3 (f) is delayed by one sync block. The data enable signal D-EN indicates that the third sync pulse SYNC3 which is output from the state machine 8 in this period is valid. As seen from Fig. 3 (h), the data enable signal D-EN goes high when the state machine 8 has entered the hold mode, or when one first sync pulse SYNC1 has been detected and then another first sync pulse SYNC1 has been detected in a timing matching that of the second sync pulse SYNC2. The data enable signal D-EN goes low when the state machine 8 has entered the search mode after passing through the pre-alarm mode, or when two first sync pulses SYNC1 have dropped consecutively. As shown in Fig. 3 (i), output data is delayed to match the timing of the data enable signal D-EN (delaying means is not shown). Now, referring to Fig. 4, an operation of the synchronizing signal extracting apparatus with an error involved will be described. It should be noted that those parts common with those of Fig. 3 will be omitted from the description. The description assumes that data consisting of 11 sync blocks has been entered as shown in Fig. 4 (a). As shown in Fig. 4 (b), although a fifth sync pulse has not been detected, the state machine 8 is in the hold mode, so that the data enable signal is high. At an eighth sync block, the synchronizing signal has been erroneously detected. However, this erroneous detection will not be outputted as the third sync pulse SYNC3. Fig. 5 is a block diagram illustrating a constitution of the synchronizing signal extracting apparatus practiced as a second embodiment of the invention. It should be noted that those parts in Fig. 5 which are common with those in Fig. 1 are assigned with common reference numerals and are omitted from the following description. The second embodiment is characterized by that a state of the state machine 8 is supplied to the second matching circuit 5 and the number of allowable bits is set to determine a pattern match based on the supplied state. For example, when the state machine 8 is in the hold state, even if the two bytes or 16 bits do not all match in the second pattern matching circuit 5 and two to three bits do not match, a match is assumed and the second sync pulse SYNC2 is outputted. When the state machine 8 is in the verify or pre-alarm mode, even if one bit of the 16 bits does not match, a match may be assumed to output the second sync pulse SYNC2. The second embodiment is effective especially when a signal-to-noise ratio of reproduced signal is poor at digital VTR variable-speed reproduction or high-speed search. That is, if the signal-to-noise ratio of reproduced signal is poor, the first embodiment may extremely degrade a frequency of occurrence of the first sync pulse SYNC1 in the second pattern matching circuit 5. Since the state machine 8 operates by comparing the first sync pulse SYNC1 with the second sync pulse SYNC2 which is outputted by the flywheel counter 7, if the first sync pulse does not come, the state machine 8 shifts to the search mode, eventually not outputting the data enable signal D-EN. On the contrary, the second embodiment is constituted such that the first sync pulse SYNC1 is generated even if an error is encountered, thereby overcoming the above-mentioned problem inherent to the first embodiment. Consequently, it is suitable to make control such that the setting of the digital VTR to variable-speed reproducing mode or high-speed search mode is detected by a microcomputer, not shown, and the state in which the state machine 8 is operating is supplied to the second pattern matching circuit 5. It should be noted that the present invention is not by any means limited to the above-mentioned embodiments. For example, although, in the first and second embodiments, a synchronizing signal of one byte is detected in the first pattern matching circuit and a synchronizing signal of two bytes is detected in the second pattern matching circuit, these detecting operations may be performed only in the second pattern matching circuit. As described and according to the invention, the novel setup outputs correct synchronizing signals and data enable signal even if the detection of synchronizing signals is missed or erroneously made, reduces chances of the missed detection of synchronizing signals even when the signal-to-noise ratio of reproduced signal is poor at digital VTR variable-speed reproduction or high-speed search, and implements synchronizing signal extraction of high precision.

Claims: A synchronising signal extracting apparatus comprising: synchronising signal detecting means (5, 6) comprising a pattern matching circuit (5) detecting a match between predetermined bits from entered digital data and outputting a first synchronising signal (SYNC1) in a timing of the detection of said match and a match flag signal; counting means (7) adapted to be reset by said match flag signal of said synchronising signal detecting means (5, 6), said counting means (7) generating an output (SYNC2) in a timing of said first synchronising signal (SYNC1); and synchronising signal extracting means (8) changing its state according to one of match and mismatch in timing between the output (SYNC1) of said synchronising signal detecting means (5, 6) and the synchronising signal (SYNC2) output of said counting means (7), characterised in that said synchronising signal extracting means (8) output, as a further synchronising signal (SYNC3), a result of an OR operation performed on the first synchronising signal (SYNC1) output of said synchronising signal detecting means (5, 6) and the output (SYNC2) of said counting means (7); and said predetermined bits represent patterns of two bytes. A synchronising signal extracting apparatus as defined in claim 1, wherein said synchronising signal extracting means (8) furthermore outputs a signal which indicates validity of a synchronising signal based on a state in which said synchronising signal extracting means is operating. A synchronising signal extracting apparatus as defined in claims 1 or 2, further comprising means (5) for setting a maximum number of bits at the detection of said first synchronising signal in said pattern matching circuit (5) that are allowed to differ in said two bytes before asserting a mismatch condition. A synchronising signal extracting apparatus as defined in any of claims 1 to 3, wherein a synchronising signal consists of two bytes, detecting means (3) for detecting one byte of the synchronising signal from entered digital data is provided, and the two bytes of the synchronising signal are detected by said synchronising detecting means (5, 6). A synchronising signal extracting apparatus as defined in any of claims 1 to 4, wherein said synchronising signal extracting means (5, 6) is in one of search, verify, hold and pre-alarm states. A synchronising signal extracting apparatus as defined in any of claims 1 to 5, wherein said digital data is a signal reproduced by a digital video tape recorder.

Inventors: KAWANO MASAKI, SEKI TAKAHITO, TAKIZAWA CHIHOKO, KAWANO, MASAKI, SEKI, TAKAHITO, TAKIZAWA, CHIHOKO, KAWANO, MASAKI, C/O SONY CORPORATION, SEKI, TAKAHITO, C/O SONY CORPORATION, TAKIZAWA, CHIHOKO, C/O SONY CORPORATION
Applicants: SONY CORP, SONY CORPORATION
Application year: 1993
Main classification: H04L7
IPC codes: H04L7, G11B20, G11B27