WO1994010806A1 - Digital video flywheel circuit phasing method and apparatus - Google Patents

Digital video flywheel circuit phasing method and apparatus Download PDF

Info

Publication number
WO1994010806A1
WO1994010806A1 PCT/US1993/010627 US9310627W WO9410806A1 WO 1994010806 A1 WO1994010806 A1 WO 1994010806A1 US 9310627 W US9310627 W US 9310627W WO 9410806 A1 WO9410806 A1 WO 9410806A1
Authority
WO
WIPO (PCT)
Prior art keywords
phasing
counter
phase
flywheel
signal
Prior art date
Application number
PCT/US1993/010627
Other languages
French (fr)
Inventor
Jan S. Wesolowski
Original Assignee
Ampex Corporation
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ampex Corporation filed Critical Ampex Corporation
Publication of WO1994010806A1 publication Critical patent/WO1994010806A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N9/00Details of colour television systems
    • H04N9/79Processing of colour television signals in connection with recording
    • H04N9/80Transformation of the television signal for recording, e.g. modulation, frequency changing; Inverse transformation for playback
    • H04N9/808Transformation of the television signal for recording, e.g. modulation, frequency changing; Inverse transformation for playback involving pulse code modulation of the composite colour video-signal
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N9/00Details of colour television systems
    • H04N9/79Processing of colour television signals in connection with recording
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N9/00Details of colour television systems
    • H04N9/79Processing of colour television signals in connection with recording
    • H04N9/80Transformation of the television signal for recording, e.g. modulation, frequency changing; Inverse transformation for playback
    • H04N9/804Transformation of the television signal for recording, e.g. modulation, frequency changing; Inverse transformation for playback involving pulse code modulation of the colour picture signal components

Definitions

  • This invention relates generally to a method and apparatus for phase change detection and phasing for the sync flywheel circuits of a digital component video input interface.
  • the input video interface of a digital video tape recorder is required to produce several types of signals representative of the timing of the incoming video data.
  • Several types of timing signals have to be derived from the incoming digital video signal by the input interface. These timing signals need to be produced by so called flywheel circuits even if the input signal disappears or is not continuous. This is done by flywheel circuits consisting of a phase locked oscillator, counters and decoders.
  • flywheel circuits consisting of a phase locked oscillator, counters and decoders.
  • the flywheel circuits have to be initially phased to the synchronization components of the incoming digital input video signal and rephased every time a change in the phase relationship between flywheeled signals and the input video signal is detected.
  • a flywheel counter is periodically loaded by each phasing pulse with a phase value stored in the phase register, thereby constantly updating the flywheel counter to the desired phase represented by the value in the phase register. Detecting the phase change was therefore not needed for the purpose of phasing the flywheel circuits, but sometimes it was done for another purpose, for example, detection of so called "hot switch" in video synchronizers and certain designs of time base correctors. Whenever it was required, it was done by circuits dedicated to this function alone.
  • a circuit detecting change of phase relationship between the digital input video signal and flywheeled sync signals uses an equality detector for comparing the state of a flywheel counter to the state of a phase register. Phasing of the sync flywheel circuit is accomplished by setting a flywheel counter to a predetermined number (phase word) at the time when the corresponding riming reference code, or synchronization portion of the incoming data, is detected in the digital component video signal.
  • phase word is preloaded by a microprocessor in a phase register, from which, at phasing time, it is copied into the flywheel counter.
  • a rate register is provided for storing a minimum number, preloaded by a microprocessor, to which the counter is reset after it reaches its maximum and produces a carry. After resetting, the counter continues counting up until it reaches its maximum again. The above described cycle is repeated all the time, if phasing is disabled.
  • a two input multiplexer is provided for transferring the contents of one of the rate register and phase register to the counter on command of a load control, initiahzed by the phasing pulses to provide a select output to the multiplexer and a load enable output to the counter.
  • the microprocessor For purposes of phasing the counter and subsequent detection of phase shift, the microprocessor loads the phase register with a value representing the desired phase. At the time when the phasing pulse arrives, the phase value is loaded into the counter. Soon after, the microprocessor disables the phasing and the counter resumes its normal cycle of counting up to the maximum number and then automatically resets to the minimum number as determined by the contents of the rate register, with the equality detector then making a comparison between the contents of the counter and phase register. The result of this comparison is clocked into a latch on coincidence with a phasing pulse. If there is an inequality, the microprocessor is notified. In response, the microprocessor checks the parameters of the incoming data signal to determine if the data clock is present, if the data sync is present, if the error rates are low, and, if so, re-phase the flywheel.
  • Figures IA 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.
  • FIG. 10 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.
  • 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).
  • 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 VCO 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.
  • CLK135 and CLK675 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 ftequency, 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.
  • leads 48-51 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.
  • the deformatter system 10 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 important to emphasize that the sync block 40 extracts sync information from the incoming 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.
  • flywheel block 60 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.
  • 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.
  • 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.
  • 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.
  • FIG 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 2A), 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.
  • 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 error 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.
  • FIG. 2B A second portion of the block diagram is enclosed in broken lines in Figure 2B, this portion 60A being generically 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.
  • the system control CPU or microprocessor 150 Also shown in Figure 2 A, and external to the deformatter system 10, is the system control CPU or microprocessor 150.
  • system control bus 160 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.
  • FIG. 2C 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.
  • the horizontal sync signal on lead 62 is provided to the frame flywheel circuit 60A.
  • timing signals 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.
  • 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 uncorrectable 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.
  • 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.
  • the sync separator and stabihty 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.
  • 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.
  • 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.
  • 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 1 A).
  • FIGS 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.
  • 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.
  • 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.
  • the microprocessor 150 enters a flywheel re-phasing procedure.
  • 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 corresponding 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.
  • a data clock presence detector circuit 80 suitable for implementation inside of a digital ASIC.
  • 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.
  • the counter 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.
  • 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.
  • 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.
  • the latch 164 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.
  • each reference clock pulse 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 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.
  • the block 170 is generally equivalent to the horizontal flywheel circuit 60A 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.
  • FIG 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.
  • 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.
  • 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.
  • 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.
  • 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.
  • 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.
  • 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.
  • 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.
  • 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.

Abstract

Phase change detection enables flywheel phasing during times when phasing is required. A detected phase change between a digital input video signal and flywheeled sync signals uses an equality detector for comparing the state of a flywheel counter to the state of a phase register. Phasing of the sync flywheel circuit is accomplished by setting a flywheel counter to a predetermined number (phase word) at the time when the corresponding timing reference code, or synchronization portion of the incoming data, is detected in the digital component video signal. The result of the comparison between the flywheel counter and phase register is clocked into a latch on coincidence with a phasing pulse. If there is an inequality, a microprocessor checks the parameters of the incoming data signal to determine if the data clock is present, if the data sync is present, and if the error rates are low, and, if so re-phases the flywheel.

Description

DTGTTAL VTDR FLYWHEEL CTRCUTT PHASTNO METHOD AND APPARATUS
TECHNICAL HELP
This invention relates generally to a method and apparatus for phase change detection and phasing for the sync flywheel circuits of a digital component video input interface.
BACKGROUND ART
The input video interface of a digital video tape recorder is required to produce several types of signals representative of the timing of the incoming video data. Several types of timing signals have to be derived from the incoming digital video signal by the input interface. These timing signals need to be produced by so called flywheel circuits even if the input signal disappears or is not continuous. This is done by flywheel circuits consisting of a phase locked oscillator, counters and decoders. The flywheel circuits have to be initially phased to the synchronization components of the incoming digital input video signal and rephased every time a change in the phase relationship between flywheeled signals and the input video signal is detected.
In the prior art designs, a flywheel counter is periodically loaded by each phasing pulse with a phase value stored in the phase register, thereby constantly updating the flywheel counter to the desired phase represented by the value in the phase register. Detecting the phase change was therefore not needed for the purpose of phasing the flywheel circuits, but sometimes it was done for another purpose, for example, detection of so called "hot switch" in video synchronizers and certain designs of time base correctors. Whenever it was required, it was done by circuits dedicated to this function alone.
In accordance with an aspect of the present invention there is provided a system and method of phase change detection and phasing for the sync flywheel circuits of a digital component video input interface.
DISCLOSURE OF TNVENTTON
The foregoing and other objects of the invention are accomplished by providing a method and apparatus for enabling flywheel phasing only during times in which phasing is required. In accordance with the system, a circuit detecting change of phase relationship between the digital input video signal and flywheeled sync signals uses an equality detector for comparing the state of a flywheel counter to the state of a phase register. Phasing of the sync flywheel circuit is accomplished by setting a flywheel counter to a predetermined number (phase word) at the time when the corresponding riming reference code, or synchronization portion of the incoming data, is detected in the digital component video signal. The phase word is preloaded by a microprocessor in a phase register, from which, at phasing time, it is copied into the flywheel counter. A rate register is provided for storing a minimum number, preloaded by a microprocessor, to which the counter is reset after it reaches its maximum and produces a carry. After resetting, the counter continues counting up until it reaches its maximum again. The above described cycle is repeated all the time, if phasing is disabled. A two input multiplexer is provided for transferring the contents of one of the rate register and phase register to the counter on command of a load control, initiahzed by the phasing pulses to provide a select output to the multiplexer and a load enable output to the counter.
For purposes of phasing the counter and subsequent detection of phase shift, the microprocessor loads the phase register with a value representing the desired phase. At the time when the phasing pulse arrives, the phase value is loaded into the counter. Soon after, the microprocessor disables the phasing and the counter resumes its normal cycle of counting up to the maximum number and then automatically resets to the minimum number as determined by the contents of the rate register, with the equality detector then making a comparison between the contents of the counter and phase register. The result of this comparison is clocked into a latch on coincidence with a phasing pulse. If there is an inequality, the microprocessor is notified. In response, the microprocessor checks the parameters of the incoming data signal to determine if the data clock is present, if the data sync is present, if the error rates are low, and, if so, re-phase the flywheel.
Other features and advantages of the present invention will become apparent from t mhee f louliliouwwiiniigg, d uetiaaiulecdu d uecsscriπpptiuoυnn,, t ιaakκ.ecnπ i inn coυnnjjuunnctiuoυnii w wiituhi t uhiec a acccoumupa.nying drawings in which l 1iikl_-*e» T reF»ffe_»ιre*»rn__c-'_e» m nuiimtiperraalles ren»ff_e»rr t tno 1 liikl_-ιe» _ e»1l_e»mm_e»nnttcs i inn t thhιe»
Figure imgf000004_0001
sC.
BRIEF DESCRIPTION OF DRAWINGS
Figures IA 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 VCO 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 ftequency, 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 important to emphasize that the sync block 40 extracts sync information from the incoming 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 2A), 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 error 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 generically 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 uncorrectable 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 stabihty 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 1 A).
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 corresponding 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 60A 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 phase change detection and phasing for the sync flywheel circuits of a digital component video input interface. 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. Apparatus for phasing of the incoming video signal relative to sync flywheel circuits of a digital component video input interface comprising:
means for deriving phasing pulses from the incoming video signal;
phase register means;
means for loading said phase register means with a value indicative of the desired phase;
rate register means containing a predetermined count value;
counter means for counting said phasing pulses from said predetermined count value;
load control means responsive to said phasing pulses for providing control signals;
multiplexer means for providing the contents of one of said rate register means and said phase register means to said counter means in response to said control signals;
an equality detector means for comparing the output of said counter means with said phase register means for providing an output signal indicative of the equality or inequality of the comparison; and
latch means for storing the output signal of said equality detector means coincident with said phasing pulses for providing a phase change output signal.
2. The apparatus of claim 1 wherein said control signals include a load enable signal to said counter means and a select signal to said multiplexer.
3. The apparatus of claim 1 wherein said predetermined count value is a minimum number from which said counter counts up to a maximum value.
4. The apparatus of claim 3 wherein said counter resets to said predetermined count value on reaching its maximum value.
5. The apparatus according to claim 1 wherein said apparatus includes microprocessor means for loading said phase register means.
6. The apparatus according to claim 5 wherein said predetermined count value is loaded into said rate register means by said microprocessor means.
7. The apparatus according to claim 6 wherein said phase change output signal is indicative of a need for a phase change when said output signal from said equahty detector indicates inequality.
8. The apparatus according to claim 7 wherein said phase change output signal is indicative of no need for a phase change when said output signal from said equality detector indicates equality.
9. The apparatus according to claim 7 wherein said apparatus further includes phasing means and means for normally disabling said phasing means.
10. The apparatus according to claim 9 wherein said phasing means is enabled in response to said output signal from said equahty detector indicating inequality.
11. A method for phasing the incoming video signal relative to sync flywheel circuits of a digital component video input interface, said method comprising:
providing phasing means
providing a counter,
storing a predetermined number in a rate register to which the counter is reset after it reaches its count limit;
deriving phasing pulses from the incoming video signal;
loading a phase register with a phase value representing the desired phase;
coincident with a phasing pulse, loading said phase value into said counter and disabling said phasing means;
disabling said phasing means and enabling the resumption of counting by said counter,
resetting said counter to said predetermined count value upon said counter reaching its count limit;
providing control signals in response to said phasing pulses; transferring the contents of one of said rate register and said phase register to said counter in response to said control signals;
comparing the output of said counter with said phase register for providing an output signal indicative of the equality or inequality of the comparison; and
storing the equality/inequality output signal coincident with said phasing pulses for providing an output signal indicative of the need for a phase change on inequality and the need for no phase change on equahty.
PCT/US1993/010627 1992-11-05 1993-11-05 Digital video flywheel circuit phasing method and apparatus WO1994010806A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US97219892A 1992-11-05 1992-11-05
US07/972,198 1992-11-05

Publications (1)

Publication Number Publication Date
WO1994010806A1 true WO1994010806A1 (en) 1994-05-11

Family

ID=25519334

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/US1993/010627 WO1994010806A1 (en) 1992-11-05 1993-11-05 Digital video flywheel circuit phasing method and apparatus

Country Status (1)

Country Link
WO (1) WO1994010806A1 (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4122487A (en) * 1977-01-28 1978-10-24 Ampex Corporation Precision phase controlled clock for sampling television signals
US4301466A (en) * 1980-02-01 1981-11-17 Ampex Corporation Fast acting phase shifting apparatus for use in digital sampling systems
GB2117582A (en) * 1982-03-31 1983-10-12 British Broadcasting Corp Synchronising circuit for phase-locking repetitive signals, e.g. television signals
GB2140239A (en) * 1983-05-18 1984-11-21 Sony Corp Television frame signal synchronizing circuits
US4752837A (en) * 1983-10-26 1988-06-21 Deland Jr Robert S Data synchronizer for use with a variable rate input source
US4797730A (en) * 1987-04-10 1989-01-10 Ampex Corporation Method and apparatus for controlling the sampling phase of an analog color television signal
GB2226733A (en) * 1988-12-31 1990-07-04 Samsung Electronics Co Ltd Digital recording of colour television signals
WO1991003909A1 (en) * 1989-09-07 1991-03-21 Advanced Television Test Center, Inc. Multiple hdtv format digital signal converter

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4122487A (en) * 1977-01-28 1978-10-24 Ampex Corporation Precision phase controlled clock for sampling television signals
US4301466A (en) * 1980-02-01 1981-11-17 Ampex Corporation Fast acting phase shifting apparatus for use in digital sampling systems
GB2117582A (en) * 1982-03-31 1983-10-12 British Broadcasting Corp Synchronising circuit for phase-locking repetitive signals, e.g. television signals
GB2140239A (en) * 1983-05-18 1984-11-21 Sony Corp Television frame signal synchronizing circuits
US4752837A (en) * 1983-10-26 1988-06-21 Deland Jr Robert S Data synchronizer for use with a variable rate input source
US4797730A (en) * 1987-04-10 1989-01-10 Ampex Corporation Method and apparatus for controlling the sampling phase of an analog color television signal
GB2226733A (en) * 1988-12-31 1990-07-04 Samsung Electronics Co Ltd Digital recording of colour television signals
WO1991003909A1 (en) * 1989-09-07 1991-03-21 Advanced Television Test Center, Inc. Multiple hdtv format digital signal converter

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
PERRY R.: "HDTV Digital Frame Recorder", SMPTE JOURNAL, vol. 100, no. 1, 30 January 1991 (1991-01-30), SCARSDALE, NY US, pages 10 - 13, XP000173301 *

Similar Documents

Publication Publication Date Title
JPH0661155B2 (en) Device for reproducing digitally encoded data signal
US5451999A (en) Method and apparatus for detecting stability of a digital component video signal
US5134481A (en) Method of automatically measuring the horizontal scan frequency of a composite synchronism signal, and an electronic circuit operating in accordance with the method
US5343301A (en) Input clock presence detector for a digital video input
US5440591A (en) Switching apparatus for digital signals
WO1994010806A1 (en) Digital video flywheel circuit phasing method and apparatus
KR100410789B1 (en) Synchronous reproduction circuit
EP0817503B1 (en) Decoding apparatus and decoding method
WO1994010807A1 (en) Method and apparatus for providing noise immunity for an input interface of a digital video recorder
JP2001501054A (en) Delay compensation circuit
US6201487B1 (en) Error detecting circuit in a line length decoding system
EP0074039A1 (en) PCM Signal recording and reproducing apparatus
JP3402581B2 (en) Data restoration device
JP2576273B2 (en) Synchronous protection circuit
JP3116968B2 (en) Digital video signal processor
JP3125886B2 (en) Playback device
JPH0523557B2 (en)
KR960008391B1 (en) Frame sync. recovering circuit
JP2723267B2 (en) Asynchronous input interface device
KR100190093B1 (en) Apparatus for generating block address for block data serially transmitted
JP2000209458A (en) Video interface circuit
KR970078193A (en) Descrambler with clock compensation
JPS61156976A (en) Digital television receiver
JPS62217747A (en) Synchronization detecting device
JPH0410725A (en) Bit synchronizing circuit

Legal Events

Date Code Title Description
AK Designated states

Kind code of ref document: A1

Designated state(s): JP KR

AL Designated countries for regional patents

Kind code of ref document: A1

Designated state(s): AT BE CH DE DK ES FR GB GR IE IT LU MC NL PT SE

WA Withdrawal of international application
121 Ep: the epo has been informed by wipo that ep was designated in this application
122 Ep: pct application non-entry in european phase