METHOD AND APPARATUS FOR DETECTING STABILITY OF A DIGITAL COMPONENT VIDEO SIGNAL

Abstract: The presence and stability of the input digital video signal of a digital video device, such as a digital video tape recorder system, is determined by a system control microprocessor running a program for periodically reading signals from an input data clock presence detector circuit, a circuit detecting presence of timing reference code words in the input digital video signal, and circuits measuring rates of single-bit and multiple-bit errors in the detected timing reference code words. The input signal is determined present and stable if the input data clock is present, timing reference code words are present, and if measured sync data error rates do not exceed some experimentally determined threshold values.

Description: METHOP ANI? APPARATUS FOR PETE TT G STABTLTTY OF A mGTTAT, COMPONENT VIDEO STGNAI, TECHNICAL FTEI D This invention relates generally to a method and apparatus for determining the presence and stability of an incoming digital video input signal, and more particularly to a method and apparatus for selecting incoming video signal parameters, detecting the quality and presence of those signal parameters and providing an output indicative of the same. BACKOR I1ND ART Several types of timing signals have to be derived from the incoming digital video signal by the input interface of a digital video recorder. These timing signals need to be produced by so called flywheel circuits even if the input signal disappears or is not continuous, or even if the signal is severely distorted. The phasing has to be immune to disturbances that may come with the input video data. In prior art systems, the flywheel phasing (forced loading of the flywheel counters with constant numbers by the sync components extracted from the incoming data) is enabled as long as the input data is present and free of disturbance. It is disabled as soon as a disturbance is detected. However, this method creates a problem, and that is that the process of detecting the disturbance and making the decision to disable the phasing takes time. During that time the phasing of the flywheel circuits can be disturbed. The flywheel circuits have to be initially phased to the synchronization components of the input video signal and rephased every time a change is detected in the phase relationship between flywheeled signals and the input video signal. Before the phasing of the flywheel circuits is enabled, it must be determined that the video signal is present and stable. In accordance with an aspect of the present invention there is provided a system and method of detecting the stability of the incoming digital video signal as part of the phasing of the flywheel circuits of the digital component video input interface. DISCLOSURE OF INVENTION The foregoing and other objects of the invention are accomplished by providing a method and apparatus for detecting the stability of a digital component video signal, and for enabling flywheel phasing only during times in which phasing is required, and in which time, the synchronization information, in the form of timing reference code words in the incoming input signal, has been processed according to a set of parameters and determined to be stable, that is, relatively free of noise or disturbances. The flywheel phasing is normally disabled. A phase change detector is provided to continuously monitor the phase relationship of the flywheel and the input sync. Also, special circuits are provided to continuously detect stability of the input data. Briefly, a change in the phase relationship is communicated to a microprocessor executing a program for effecting flywheel phasing control. Upon receipt, by the microprocessor, of the phase change, or new phase message, the microprocessor checks reports from the circuits detecting stability of the input video data and if the data is stable, it then enables the flywheel phasing for a short time, and disables it again as soon as the flywheel gets rephased. The presence and stability of the input digital video signal is determined by a system control microprocessor periodically reading signals from an input data clock presence detector circuit, a circuit detecting presence of timing reference code words in the input digital video signal, and circuits measuring rates of single-bit and multiple-bit errors in detected timing reference code words. The input signal is determined present and stable if the input data clock is present, the sync or timing reference code words are present, and if measured error rates of single bit errors and multiple bit errors do not exceed some experimentally determined threshold values. The results of the presence and stability detection are practically available to the microprocessor before the new phase message arrives. If the input data is stable at the time the new phase or phase change message is received by the microprocessor, the phasing is enabled for a very short period of time, during which at least one phasing pulse will occur and, during which it is unlikely that there will be disturbances in the incoming signal. The phasing is enabled long enough to get the flywheel circuit phased, after which it is disabled. Other features and advantages of the present invention will become apparent from the following detailed description, taken in conjunction with the accompanying drawings in which like reference numerals refer to like elements in the several views. BRIEF DESCRIPTION OF DRAWINGS Figures 1A and IB, collectively referred to as Figure 1, show a block diagram of a component input deformatter system incorporating the system for providing noise immunity for a digital video input interface of a digital video recorder according to the invention; Figures 2A, 2B and 2C, collectively referred to as Figure 2, show a block diagram of the system for providing noise immunity for a digital video input interface of a digital video recorder, * Figure 3 is a block diagram of the clock presence detector used in the system of Figure 1; and Figure 4 is a modified block diagram of a flywheel circuit phasing arrangement with more detail of the phase change detector for the flywheel circuits of the system of Figure 1, which diagram, in part, is similar to the block diagram of Figure 2B. MODEfSϊ FOR CARRYING OUT THE INVENTION General Overview of Deformatter System Referring now to the drawings, and particularly to Figure 1, there is shown a block diagram of a component input deformatter system, generally designated 10, incorporating the system for detecting stability of a digital component video signal for a digital video input interface of a digital video recorder according to the invention. The input deformatter system 10 is the main part of the record side of the video application layer of a video tape recorder. The major circuits of the system 10 include an input selector, generally designated 14, a control interface, generally designated 20, a video block, generally designated 30, a sync block, generally designated 40, a flywheel block, generally designated 60, a test block, generally designated 70, and a clock presence detector, generally designated 80. Although not shown, an audio data block, which forms no part of the invention, is likewise part of the system for processing the audio portion of the incoming signal. The input selector 14 has four inputs 15-18, respectively designated "Serial Input Data", "Serial Input Clock", "Parallel Input Data", and "Parallel Input Clock". The serial and parallel inputs are 10 lead lines for providing 10 bits of data, while the clock inputs are single leads. The outputs of the input selector 14 include a 10 bit data output bus 12 and a clock line 19. The control interface 20 has five inputs, an 8 bit control data bus 22, a 7 bit control address bus 23, a chip select lead 24, a write strobe 25 and a read strobe 26. The output of the interface 20 provides signals over an internal control bus 28 which communicates with each of the video block 30, the sync block 40, the flywheel block 60, and the test block 70 (which also communicates with the bus 28 via its output). For clocking purposes, the input selector block 14 receives a serial input clock on line 16 and a parallel input clock on line 18, the selected clock of which is output on line 19 to clock presence detector 80, which outputs an input clock present signal on lead 81. The selected data clock signal on lead 19, at a nominal frequency of 27 MHz, is delivered to an external phase locked loop including a crystal NCO circuit (not shown in Figure 1, but shown in Figure 2B), from which a regenerated 27 MHz clock returns to the deformatter on CLK27 lead 31 for clocking most of the internal system operations. This clock must always be present for proper operation of the System 10. The regenerated 27 MHz clock is also provided over CLK27 lead 31 to each of the video block 30, the sync block 40, and the flywheel block 60. Two other clock signals are provided, these being designated CLK135 and CLK675, respectively, which are derived by two stages of divide-by-two circuitry from the CLK27 clock signal and which can be considered part of the flywheel block 60. CLK135 is an output video data clock, of a 13.5 MHz nominal frequency, and is provided as an input clock signal to the video block 30 over lead 32, to the sync block 40 over lead 42, and to flywheel block 60 over lead 62. Positive going transition of this clock clocks data out CLK675 is a 6.75 MHz nominal frequency output data clock for chroma demultiplexing and is provided as an input over lead 33 to the video block 30. The selected input data is also reclocked inside the input selector 14 with the regenerated 27 MHz clock before further use. The reclocking circuit provides relative insensitivity to the phase relationship between input data and the regenerated clock. The video block 30 extracts only active video from the selected input. It outputs data on three lines 35-37, these signals being, respectively, luminance output, non-blanked luminance output and chroma output This block does not form a part of the present invention and further discussion thereof is unnecessary. The sync block 40 receives data inputs from the input selector 14 over line 12 and control signals over internal control bus 28, with the outputs appearing on lines 43-47 being respectively designated S AV (Start of Active Video), EAV (End of Active Video), Input Horizontal Blanking, Input Vertical Blanking, and Field ID. The sync block 40 extracts the sync information from the incoming data over line 12 and provides phasing information for the flywheel block 60 which produces various sync pulses for use both internally - by the system 10, and externally - by other parts of the video tape recorder. Other output signals appear on leads 48-51, these signals being, respectively, 525/625 (the TV line standard according to which the input data has been generated), sync present, single bit err (error) and multiple bit err (error); the last three of these signals on leads 49-51 are also provided as inputs to the test block 70, which counts them, and the results of counting are sent to the microprocessor 150 (See Fig. 2A) and are utilized, as will be hereafter explained, to determine if the input signal is free, or relatively free, of disturbances to provide a quiescent period during which the flywheel phasing may be enabled. For making continuous sync information available while input data is absent, the deformatter system 10 provides a sync flywheel function via the flywheel block 60. It is mportant to emp as ze t at t e sync oc extracts sync n ormat on om t e ncom ng data so long as there is an incoming signal; however, whether the data is distorted, as a consequence of noise or the like, whether the data is continuous or not, or even if the data disappears, the flywheel block 60 continues to provide sync pulses which are phased to the incoming sync information. For this purpose a frame phasing pulse on line 52, and a horizontal phasing pulse on line 43 are provided from sync block 40 to the flywheel block 60, along with the clock signals on leads 31 and 42, and data from the internal control bus 28. Shown in broken lines within the flywheel block 60 are two sub-blocks 60a and 60b, respectively designated frame flywheel 60a and horizontal flywheel 60b, with the frame phasing pulse on lead 52 providing an input to the frame flywheel sub-block 60A and the horizontal phasing pulse on lead 43 providing an input to the horizontal flywheel 60B. As will be described hereinafter, with minor exception, these flywheel sub-blocks are generally identical in construction and configuration. The flywheel circuits of flywheel block 60 output a horizontal sync pulse on lead 62, a vertical sync pulse on lead 63, and a frame sync pulse on lead 64, as well as an encoded component sync signal on lead 61 (combined horizontal and vertical sync information), plus two signals made specially for use as servo references: the servo reference frame signal on lead 68, and an encoded servo reference signal (combined 180/200 Hz reference with frame sync information) on lead 67. Timing of the group of flywheeled sync signals relative to the selected input data is determined by phase values preset by the microprocessor and loaded into flywheel counters within flywheel block 60 at a time determined by phasing pulses derived from the input data. The phasing pulses can be enabled or disabled by a microprocessor command. When the microprocessor senses the new phase signal on lead 69 from the flywheel block 60 and determines that re-phasing is required, and if the incoming signal is stable, the phasing pulses are enabled for a short time, within which both phasing pulses are received at least once. The encoded servo reference signal is TV standard dependent, that is, the frequency of its basic component is 180 Hertz in case of the 525 standard and 200 Hertz in the case of the 625 standard. It is used by the servo system of the video tape recorder during record, since the scanner and the capstan both have to be synchronized to the incoming video signal and that synchronization is provided through this line. The test block 70 receives as inputs the aforedescribed signals on leads 48-51 from the sync block as well as input clock present signal from the clock presence detector over lead 81. In addition the input of the test block is coupled to receive signals via internal control bus 28 and to output the signals to the same internal control bus. The test block 70, in part, is used to process the appropriate signals to determine the time during which the incoming signal is relatively free of disturbances, at which time the flywheel phasing is enabled. The foregoing discussion generally describes the input deformatter system 10, which provides the digital video input interface to a digital video tape recorder. The majority of the components therein are not related to the present invention and are provided as a description of an appropriate environment in which the present invention may be utilized. Likewise, the microprocessor and the VCO, with which the system 10 interfaces, have not been shown in Figure 1, but are shown in Figure 2, the description of which follows. System for Providing Noise Immunity for a Digital Video Input Interface of a Digital Video Recorder By reference to Figure 2, there is shown a modified block diagram of the invention, in which certain of the component blocks depicted therein are grouped together for ease of discussion, although some of the components, such as those shown in the broken line block 120 (in Figure 2 A), designated sync separator and stability detector, may be found in more than one of the blocks described in Figure 1. The drawing of Figure 2 is essentially a compilation of parts or components from the block diagram of Figure 1 showing only those components which are essential to the method and apparatus for providing noise immunity for the input interface of a digital video recorder operation. For example, within the sync separator and stability detector block 120, the sync detector 122, the sync error detector and corrector 124 and the sync presence detector 128 are functionally located within the sync block 40, while the data clock presence detector 80 is the clock presence detector 80 shown as a separate component in Figure 1. The single bit error counter 126 and the multiple bit error counter 130 are located within the test block 70 of Figure 1. The outputs of the sync separator and stability detector 120 include input clock present line 81, sync present line 49, single bit error rate signal on lead 127, and multiple bit error rate signal on lead 129, the signals on the latter two leads resulting from the single bit error signal and multiple bit eπor signals on leads 50 and 51, respectively, being transmitted to the respective error rate counters 126 and 130. The counters' outputs are read by the microprocessor 150 as "rates". The signal lines 81, 49, 50 and 51 are designated on Figure 1 , with all being output from the sync block 40, except for the input clock present line 81 , which is output from the clock presence detector 80. A second portion of the block diagram is enclosed in broken lines in Figure 2B, this portion 60A being genetically designated "horizontal flywheel circuit". The blocks identified as the horizontal flywheel counter 134, the horizontal flywheel decoder 135, the horizontal phasing control 136, the horizontal phase register 137 and the horizontal phase change detector 138 are all component parts of the flywheel block 60 of Figure 1, while the flywheel VCO 140 is completely external to the deformatter system, this VCO being that which has heretofore been discussed in conjunction with the block diagram of Figure 1. Also shown in Figure 2 A, and external to the deformatter system 10, is the system control CPU or microprocessor 150. Interconnecting the various components is a system control bus, generally designated 160 which, on the input side of the microprocessor 150 is designated "read", and on the output side is designated "write". The deformatter system 10 of Figure 1 is implemented on an ASIC (application specific integrated circuit) while the microprocessor 150 is external to the system. The system control bus 160 shown in Figure 2 represents the internal control bus 28 of that ASIC as well as the bus between the deformatter system 10 and the microprocessor 150. A third portion of the block diagram is enclosed in broken lines in Figure 2C, this portion 60A being generically designated frame flywheel circuit The blocks identified as the frame flywheel counter 134a, the frame flywheel decoder 135a, the frame phasing control 136a, the frame phase register 137a and the frame phase change detector 138a are all component parts of the flywheel block 60 of Figure 1. For synchronization purposes, however, instead of a VCO, for clocking purposes, the horizontal sync signal on lead 62 is provided to the frame flywheel circuit 60A. Sync Separator and Stability Detector For operational purposes, several types of timing signals have to be derived from the incoming digital video signal on bus 12 by the input interface of a digital video recorder. These timing signals need to be produced by the flywheel circuits even if the input signal disappears or is not continuous. The flywheel circuits have to be initially phased to the synchronization components of the input video signal and rephased every time a change is detected in the phase relationship between flywheeled signals and the input video signal. Before the phasing of the flywheel circuits is enabled, it must be determined that the video signal is present and stable. In accordance with the invention, the determination of the presence and stability of the input digital video signal on bus 12 is based on the detected presence of the input data clock (lead 81 ), the detected presence of timing reference code words, and the detected rate of correctable and uncσrrectable errors of timing reference code words in the video signal. The presence and stability of the input digital video signal is determined by the system control microprocessor 150 running a program for periodically reading signals from the input data clock presence detector circuit 80, the circuit detecting presence of timing reference code words in the input digital video signal, and the circuits measuring rates of single-bit and multiple-bit errors in detected timing reference code words. The input signal is determined to be present and stable if the input data clock is present, timing reference code words are present, and if both measured error rates do not exceed some experimentally determined threshold values. In operation the digital component video signal appearing on bus 12 from the input selector 14 is transmitted to the sync detector 122 of the sync separator and stability detector 120. In the initial state, it is assumed that the flywheel is free running, and it is not phased. The sync separator and stability detector 120 generally processes and monitors the incoming signal to determine certain qualities of the signal. An initial check is to determine, via the clock presence detector 80, whether the selected input data clock (from the input selector 14) is present with the result being signified on output line 81 to the system control microprocessor 150. Correspondingly, the output of the sync detector 122 is provided to the sync error detector and corrector 124, wherein certain processing occurs, that is, single bit errors are detected and corrected, while multiple bit errors are not corrected, and may or may not be detected depending on the size and kind of errors. The results of the processing in the sync error detector and corrector 124 provide outputs to the sync presence detector 128, the single bit error counter 126 and the multiple bit error counter 130. In the sync presence detector 128 a check is made to determine whether the sync is present, with this result being output on lead 49 to the microprocessor 150. The single bit error counter 126 counts the detected occurrences of single bit errors and provides an output indicative of a single bit error rate to microprocessor 150 via a signal on lead 127. Similarly, the multiple bit error input to the multiple bit error counter 130 provides an output indicative of a multiple bit error rate, via lead 129, to the microprocessor 150. This signal processing on the incoming signal on bus 12 is performed over a predetermined time period prior to output of the corresponding signals. The signal processing operations are being performed on the incoming video signal to, in part, provide a determination as to the error rate present in the sync portion of the incoming data, this information providing an indication as to the quality and stability of the incoming data and the absence of disturbances in the data. Two error checks are performed, for single bit error rate and for multiple bit error rate, with these outputs being provided to the microprocessor 150, along with a signal designated new phase appearing on lead 69 from the phase change detector 138. (The new phase signal on lead 69 is an output of the flywheel block 60 of Figure 1 and its origin will be described in conjunction with Figures 2B and 2C.) The sync separator and stability detector 120 outputs a frame phasing pulse over lead 52 and a horizontal phasing pulse over lead 43 from the sync error detector and corrector 124, each pulse of which is utilized by the respective flywheel circuit, specifically by the phase change detector 138a or 138, respectively. (These phasing pulses are shown as outputs from the sync block 40 to the flywheel block 60 in Figure 1A). Flywheel Circuits Figures 2B and 2C show, respectively, the horizontal flywheel circuit 60A and the frame flywheel circuit 60B, both of which are essentially identical, with the exception of the clocking, that is, a VCO 140 is used to clock the horizontal flywheel circuit 60A, while the horizontal sync pulse on lead 62 clocks the frame flywheel counter 134a of the frame flywheel circuit 60B. In operation, the horizontal phasing pulse on lead 43 is used as an input to the horizontal phase change detector 138 and the frame phasing pulse on lead 52 is used as an input to the frame phase change detector 138a. Each of these phase change detectors can output a new phase signal on lead 69a or 69b, respectively, the two signals being logically ORed via an OR gate 90. The microprocessor 150, after making a determination as to signal stability of the incoming signal as described, transmits the command and control signal information, via the system control bus 160, to both the horizontal flywheel circuit 60A and the frame flywheel circuit 60B, specifically to the phasing controls 136 and 136a, the phase registers 137 and 137a, and to the flywheel VCO 140. Phasing of the horizontal (and frame) sync flywheel circuit 60A (and 60B) is accomplished by setting the flywheel counter 134 (and 134a) to a predetermined number (phase word via line 139 from the phase register 137 (or 137a)) at the time when the corresponding timing reference code is detected in the digital component video signal on bus 12 and a phasing pulse derived from the timing reference code is delivered to the flywheel circuit. The phase word is usually preloaded by the microprocessor 150 in the phase register 137 (and 137a), from which, at phasing time, it is copied into the flywheel counter 134 (and 134a). Immediately after, the phasing is disabled. Subsequently, provided that the input signal phase didn't change, at each repetition of the same timing reference code the state of the flywheel counter 134 (or 134a) is identical with the phase word. The lack of identity clearly indicates that the input signal phase has changed. This leads to a very simple hardware implementation of the phase change detection, in the form of an identity or phase change detector 138 (or 138a) connected between the flywheel counter 134 (or 134a) and the phase register 137 (or 137a). Output of the phase change detector 138 (and 138a) is made available to the system control microprocessor 150 as a new phase signal on lead 69, either for periodic reading or as an interrupt request signal. In response to this new phase signal on lead the microprocessor 150 enters a flywheel re-phasing procedure. Clock Presence Detector Several operations of a digital video tape recorder or its input interface should not be performed if the digital video input signal on bus 12 is not present The digital video signal may be supplied to the input of a digital video tape recorder in the form of parallel data which must be accompanied by a clock. Detecting the presence of that clock is preliminary for detecting whether the incoming digital input video data on line 12 is present. The typical design of an input data clock presence detector is based on the principle of a retriggerable one shot multivibrator, the time constant of which is set to be longer than the period of the clock which triggers it As long as the clock is present, it keeps the multivibrator in its astable state and the detector output in a state coiresponding to the clock presence. Disappearance of the clock allows the astable state to expire and the detector output switches to the state corresponding to the absence of the clock. Such a prior art multivibrator can be implemented as analog device or a digital circuit. However, the analog version cannot be used inside of a digital ASIC, and the digital version requires some other clock (reference clock) operating at a higher rate for clocking the digital one shot. In accordance with the present system, there is provided a data clock presence detector circuit 80 suitable for implementation inside of a digital ASIC. As shown in Figure 3, the clock presence detector 80 has two inputs, one being the selected data clock 19, and the other being the reference clock signal CLK135 (operating at 13.5 MHz) on lead 42, each of which are transmitted through 4 nanosecond pulse formers 150 and 151, respectively. The pulse formers 150 and 151 provide outputs over leads 153 and 154, respectively entitled "set" and "clear" which provide the two inputs to an R/S flip/flop 156. The output of flip/flop 156 is provided as an up/down count command over lead 158 to an up/down counter 160, which is clocked over lead 42 by the reference clock signal CLK135. The counter 160 provides two outputs to a latch 164 over leads 161 and 162, these output signals being designated "at limit" and "MSBi" The latch 164 provides the input clock present signal on output lead 81, which is the signal utilize in the previously described circuits. The clock presence detector 80 utilizes the up/down counter 160 clocked by the reference clock signal CLK135 on lead 42, which operates at a nominal rate which is half of the nominal rate of the input data clock. The R/S flip-flop 156 causes the up/down counter 160 to count up when set via the input on lead 153 from the selected data clock signal on lead 19, and to count down when reset or cleared via the reference clock signal CLK135 on lead 42. In other words, the R/S flip-flop 156 is cleared by the reference clock and set by the input data clock. The counter 160 is configured to count up to its maximum number and stay at that maximum count when continuously clocked up by the continuous sensing of the input or selected data clock on lead 19. Similarly, when continuously clocked down, the counter reaches its minimum number (zero) and stays at it If the input or selected data clock on lead 19 is present and has the correct rate, after each reference clock pulse (CLK135 on lead 42) resetting the flip-flop 156 and preparing the counter 160 to count down, there is at least one input or selected data clock pulse on lead 19 that sets the flip-flop 156 and prepares the counter 160 to count up. It is important to note, that due to propagation delays in pulse former 151 and in flip-flop 156, a change on the output of the flip-flop 156 caused by the reference clock is delivered to the up/down counter 160 after the counter is clocked up by the same clock pulse that caused the change. As a result, each reference clock pulse thereafter is counted up, and eventually the counter reaches its maximum number indicating presence of the input data clock on output lead 81. In the absence of the input or selected data clock signal on lead 19 the R/S flip-flop 156 remains cleared or reset, whereupon the reference clock pulses (CLK135 on lead 42, via lead 154) are counted down, and eventually the counter 160 reaches its minimum indicating the absence of the input data clock on lead 81. The "at limit" signal is output from the Up/Down counter 160 on lead 161 to the latch 164 when it reaches its maximum or minimum count (zero). The MSBi (Most Significant Bit) output signal on lead 162 from the counter 160 differentiates between the maximum count and zero. The At Limit signal 161 enables latching the value of the MSBi signal 162 in the latch 164 by the clock 42. The latched value is output from latch 164 as the Input Clock Present signal 81. With a maximum count, the latch 164 provides a true output on lead 81, indicating presence of the input data clock, while at a minimum count, the latch 164 provides a false output on lead 81 indicating the absence of the input data clock. With a significant difference between the reference clock signal CLK135 on lead 42 versus the input or selected data clock 19 (e.g., the reference clock being one-half the data clock), if the input or selected data clock 19 is present, each reference clock pulse on lead 42 is preceded by at least one input clock pulse on lead 19, no matter what the phase relationship between the two clocks. Therefore, each reference clock pulse (CLK on lead 42) arrives when the R/S flip/flop 156 has been set by the input data clock pulse, causing the up/down counter 160 to count up, and eventually reach the maximum count indicating input clock presence on lead 81. The up/down counter must be at least two bits long. The longer it is (i.e., greater number of bits), the greater the integration period and response time of the clock presence detector 80. Phase Change Detection and Flywheel Phasing Circuit Referring now to Figure 4, the details pertaining to the phase change detection and its associated circuitry will be described. The phase change detection circuit is shown in broken lines, designated 138, within a flywheel circuit formed as a larger block enclosed in broken lines and generally designated 170. For purposes of explanation, the block 170 is generally equivalent to the horizontal flywheel circuit 60 A of Figure 2B, absent the horizontal flywheel decoder 135, and absent the VCO 140 (although the clock output thereof shows as a CLK27 input on lead 31 in Figure 4). The detector 138 detects a change of phase relationship between the input video signal and the flywheeled sync signals on leads 61-64 (See Figures 1 A and 2B) using an equality detector 190 for comparing the state of the flywheel counter 186 to the state of the phase register 137. The flywheel circuitry 170 has three inputs, these being, respectively, the phasing pulse on lead 43, data from the system control bus 160 (which includes the internal control bus 28) and the regenerated clock signal CLK27 on lead 31 (the VCO 140 output of Fig. 2B). There are three outputs, these being respectively designated "new phase" on lead 69, "carry" on lead 172, and "to flywheel decoder" on line 141, this line corresponding to the output of the flywheel counter 134 in Figure 2B. Data and signals on the system control bus 160 are input to a load control 174, a rate register 176 and the phase register 137. The phasing pulse on lead 43 is provided as a second input to the load control 174 and as an input to the new phase latch 192. The clock signal CLK27 on lead 31 is provided as a clocking input to a counter 186 and the new phase latch 192. The data output from the rate register 176 is provided as a first input over line 175 to a multiplexer 180, the other input of which is received from the phase register 137, via line 139, which data is also provided as an input to an equality detector 190. As indicated by the broken line enclosure, the equality detector 190 plus the latch 192 is identical to the phase change detector 138 of Figure 2B. The load control 174 provides a first output signal, designated "select" to multiplexer 180, via lead 179, and a second signal, designated "load enable" to counter 186, via lead 181. The counter 186 outputs a "carry" signal on lead 172, along with its data value via line 141 to the equality detector 190, as well as to the flywheel encoder, as previously described. Figure 4 is a functional variation of the flywheel circuit 60A of Figure 2B with more details in those blocks of Figure 2B needed for facilitating explanation of the phase change detection and rephasing enablement operation. In Figure 4, the flywheel counter block 134 has been expanded to show internal details, such as a rate register 176, and a multiplexer 180. The flywheel counter block 134 also includes part of the load control 174 shown in Figure 4. The load control 174 of Figure 4 also includes the phasing control 136 of Figure 2B, that is, part of the load control 174 is shown in Figure 2B as the phasing control 136. The "carry" signal on lead 172 is the ripple carry output of the counter 186. It is used to reinitialize the counter 186, via load control 174, with the number or value from the rate register 176, from which the counter 186 counts up; that number effectively determining the flywheel rate. The "carry" signal on lead 172 is a functional name given to a generic signal which, for the instant function, is comprised of the horizontal sync signal on lead 62 (See Figs. 1 A and 2B). The Horizontal Sync signal, on lead 62 serves several purposes, one of which is to provide the "carry" signal from the counter 186. It is used internally by the Horizontal Flywheel Circuit, as well as a clock enable input to the Frame Flywheel Circuit, as well as an output from the Input Deformatter ASIC. For purposes of detection of phase shift, the microprocessor 150 loads the phase register 137 with a value representing the desired phase. At the time when the horizontal phasing pulse arrives on lead 52, that value is loaded into the counter which normally continues to count from that number up to some maximum number. The loading of this value is determined by the select signal on lead 179 which causes the multiplexer 180 to select the contents of the phase register 137 for transfer to the counter 186 on occurrence of the load enable pulse on lead 133 originated by the phasing pulse on lead 164. The contents of the Rate Register 176 determine the minimum number to which the counter is reset after it reaches its maximum and produces a carry output on lead 172. The carry output is fed to the Load Control block 174, which drives the Select input of the multiplexer 180 via line 179 and forces the multiplexer 180 to select the Rate Register 176 as the source of a number to be loaded into the counter 186. At the same time the Load Control 174 produces a load enable pulse to the counter 186 via line 181 causing the next incoming clock pulse from line 31 to finally load the number into the counter 186. Soon after, the load enable signal on lead 181 ends and counter 186 resumes counting up until it reaches its maximum again. The above described cycle is continually repeated so long as phasing is disabled. In this case the Load Control 174 doesn't respond to the phasing pulses on lead 43. But every phasing pulse on lead 43 serves as a clock enable for the latch 192, which is part of the Phase Change Detector 138. The latch 192 stores the result of a comparison between the counter 186 and the Phase Register 137 produced by the Equality Detector 190 at that time. If the numbers in counter 186 and register 137 are not equal, the New Phase output on lead 69 of latch 192 is seen by the microprocessor 150 as a phasing request. In response, the microprocessor 150 checks the parameters of the incoming data signal as previously described, and, if the data clock is present, the data sync is present and the sync error rates are low, it enables the flywheel phasing by sending an appropriate command to the Load Control 174 via system control bus 160. When the next phasing pulse on lead 43 comes to the Load Control 174, the Load Control 174 produces Select signal on lead 179 to the multiplexer 180, which makes the multiplexer select the output of the Phase Register 137 as a source of the number to be loaded into the counter 186. At the same time the Load Control 174 produces a load enable pulse to the counter 186 via line 181 causing the next coming clock pulse from line 31 to finally load the number into the counter. Soon after, the load enable 181 ends and counter 186 resumes its normal counting cycle. In accordance with the present invention there has been shown and described a method and apparatus for sync separation and stability detection of an incoming digital video signal for a digital video tape recording system. While there has been shown and described a preferred embodiment, it is to be understood that various other adaptations and modifications may be made within the spirit and scope of the invention.

Claims: WHAT IS CLAIMED IS: 1. An apparatus for determining the stability of an incoming digital component video signal for a digital video device comprising: means for determining the presence of timing reference code words in said incoming signal; means for detecting the presence of the input data clock in said incoming signal; means for selecting certain signal parameters of said timing reference code words; means for determining at least one of the quality and presence of said signal parameters; and means for providing an output indicative of the stability of the incoming signal in response to said detecting means and said means for determining the quality and presence of said signal parameters. 2. The apparatus of claim 1 wherein said means for means for providing an output indicates stability only on said detecting means detecting the presence of said input signal data clock. 3. The apparatus of claim 1 wherein one of said certain signal parameters is the error rate and said means for determining includes means for determining the error rate of said timing reference code words. 4. The apparatus of claim 3 wherein said means for determining the error rate of said timing reference code words includes means for determining the single bit error rate. 5. The apparatus of claim 3 wherein said means for determining the error rate of said timing reference code words includes means for determining the multiple bit error rate. 6. The apparatus of claim 3 wherein said means for determining the error rate in the timing reference code words includes means for determining the single bit error rate and the multiple bit error rate and further includes means for determining that said error rates do not exceed a pre-deteπnined threshold. 7. The apparatus of claim 1 wherein said means for providing an output includes microprocessor means for periodically interrogating the results of all of said determining means for evaluation of the stability of said incoming signal. 8. The apparatus according to claim 7 wherein said apparatus further includes flywheel means and phase control means for re-phasing said flywheel means only on command of said microprocessor means after a determination by said microprocessor means that said incoming signal is both present and stable. 9. A method for determining the presence and stability of an incoming digital component video signal for a digital video device, said method comprising: determining the presence of timing reference code words in said incoming signal; detecting the presence of the input data clock in said incoming signal; selecting certain signal parameters of said timing reference code word; determining at least one of the quality and presence of said signal parameters; and providing an output indicative of the stability of the incoming signal in response to the said detecting and said determining. 10. The method of claim 9 wherein one of said pre-selected signal parameters is the error rate and said step of determining at least one of the quality and presence of said signal parameters includes the step of determining the bit error rate of said timing reference code words. 11. The method of claim 9 wherein the step of determining the bit error rate includes determining the single bit error rate. 12. The method of claim 10 wherein said step of determining the error rate of said timing reference code words includes determining multiple bit error rates. 13. The method of claim 9 wherein said step of providing an output includes periodically interrogating the results of said detecting and said determining at least one of the quality and presence of said signal parameters. 14. The method according to claim 13 wherein said digital video device further includes flywheel means and phase control means and said method further includes re-phasing said flywheel means only after said output is provided indicating that said input data clock is present and said incoming signal is both present and stable. 15. The method according to claim 14 wherein said digital video device further includes microprocessor means, and said step of providing an output includes periodically interrogating, by said microprocessor means, the results of said detecting and determining steps for evaluation of the stability of said incoming signal.

Inventors: WESOLOWSKI JAN S, WESOLOWSKI, JAN, S.
Applicants: AMPEX SYSTEMS CORP, AMPEX SYSTEMS CORPORATION
Application year: 1993
Main classification: H04N5
IPC codes: H04N5, H04N9