Background of the Invention
1. Field of the Invention
The present invention relates to a time base correction circuit, and more particularly to a clock generator thereof.
2. Related Background Art
A time base correction (TBC) circuit has been known in the art.
It generates a clock which follows a jitter included in an input video signal by a clock generator, samples the input video signal by the clock, writes the resulting digitized data to a memory, reads the data by a stabilized clock and converts it to an analog signal to produce a jitter-free input video signal.
A configuration of a conventional time base correction circuit is shown in FIG. 1.
In FIG. 1, numeral 1 denotes an input terminal. When a video signal including a jitter is applied from the input terminal 1 to a sync. signal separator 2, a horizontal sync. signal, a vertical sync. signal and a burst signal included in the video signal are separated by a sync. signal separator, and the horizontal sync. signal Hsync is applied to a phase sync. circuit (phase locked loop PLL) 3, the vertical sync. signal Vsync is applied to a write address generator 4, and the burst signal Bu is applied to a first phase comparator 5.
The phase sync. circuit 3 comprises a second phase comparator 6 for comparing phases of a feedback clock to be described later and the horizontal sync. signal, a loop filter 7 for determining a response rate, a voltage controlled oscillator (VCO) 8 having an oscillator frequency thereof controlled in accordance with the output of the second phase comparator 6 and a 1/N frequency dividing counter (write address generator) 9, and it generates a clock having M times as high frequency as that of the burst signal, which is phase-locked to the horizontal sync. signal.
A phase difference (in one period .+-.180.degree. of the burst signal) between the clock generated by the phase sync. circuit 3 and 1/M frequency divided by a 1/M frequency dividing counter 10 and the burst signal is detected by the first phase comparator 5 and a phase shifter 11 shifts the phase thereof in accordance with the phase difference and the clock frequency to match the phase with that of the burst signal, so that the phase shifter 11 produces the clock having M times as high as that of the burst signal which is required for the A/D conversion. In this manner, the clock which follows the jitter included in the video signal is produced.
The count in the 1/N frequency dividing counter 9 indicates an address in one horizontal sync. period of the data derived by sampling the input video signal by the A/D converter 12, and the content thereof is sent to the write address generator 4. The write address generator 4 generates an address to write into the memory 13 based on the vertical sync. signal produced by the sync. signal separation circuit 2 and the signal from the 1/N frequency dividing counter 9.
The output data of the A/D converter 12 is written at the above address in synchronism with the clock from the phase shifter 11 so that data corresponding to the time base is written into the memory 13 and the data written in the memory 13 is read by a stabilized clock (not shown). This data is sent to an output terminal 14 and it is converted to an analog signal by a D/A converter (not shown) to produce a jitter free video signal.
In the prior art time base correction circuit, however, when a time-compressed or time-expanded video signal is applied by fast feed or rewind operation of a video tape recorder (VTR), a normal image can be reproduced within a phase lock range of the phase sync. circuit 3, but beyond the lock range the image is so disturbed that the content thereof cannot be recognized.
Further, in the prior art time base correction circuit, when the video signal input is interrupted by some reason (for example, dropout generated in the reproduction by a VTR or laser disk), the sync. signal separation circuit 2 cannot produce the sync. signal and the phase sync. circuit 3 which is to generate the clock having the same frequency as that of the signal phase-locked to the horizontal sync. signal is disturbed.
In the recovery of the video signal input, the count of the 1/N frequency dividing counter 9 is disturbed and the phase sync. circuit 3 takes a long time to lock the phase.
As result, when the input video signal is interrupted and recovered, the clock signal output is unstable and the image is significantly disturbed.
Summary of the Invention
It is an object of the present invention to provide a time base correction circuit which solves the above problems.
It is another object of the present invention to provide a time base correction circuit which produces a visually recognizable video signal even when a video signal beyond a lock range of a phase sync. circuit is applied.
In order to achieve the above objects, in accordance with one aspect of the present invention, there is provided an apparatus for correcting a time base of a video signal reproduced from a recording medium, comprising:
(a) a separation circuit for separating a sync. signal in the video signal;
(b) a phase sync. circuit for phase-synchronizing with the sync. signal and generating a first clock having the same frequency;
said phase sync. circuit including a phase comparator for phase-comparing the sync. signal and the first clock, a switching circuit for selectively outputting the output level of said phase comparator or a predetermined level, a controlled oscillator for generating a second clock having an oscillation frequency thereof controlled in accordance with the output of said switching circuit and a frequency divider for frequency-dividing the second clock to generate the first clock;
(c) a control circuit for resetting said frequency divider in accordance with the sync. signal when the video signal is reproduced at a different speed than that in a record mode and causing said switching circuit to output the predetermined level; and
(d) a correction circuit for correcting a time base of the video signal by using the second clock.
It is a further object of the present invention to provide a time axis correction circuit which can output an image of high quality before and after temporary dropout of an input video signal.
In order to achieve the above object, in accordance with another aspect of the present invention, there is provided an apparatus for correcting a time base of a video signal comprising:
(a) a separation circuit for separating a sync. signal in the video signal;
(b) a phase sync. circuit for phase-synchronizing the sync. signal and generating a first clock signal having the same frequency;
said phase sync. circuit including a phase comparator for phase-comparing the sync. signal and the first clock, a sample and hold circuit for sampling and holding the output level of said phase comparator, a controlled oscillator for generating a second clock having an oscillation frequency thereof controlled in accordance with the output of said sample and hold circuit and a frequency divider for frequency-dividing the second clock to generate the first clock;
(c) a detector for detecting dropout of the video signal;
(d) a control circuit for controlling said sample and hold circuit in accordance with the output of said detector during the dropout of the video signal and resetting said frequency divider in accordance with the sync. signal immediately after the recovery of the dropout of the video signal; and
(e) a correction circuit for correcting a time base of the video signal by using the second clock.
Other objects and features of the present invention will be apparent from the following detailed description of the preferred embodiments taken in conjunction with the accompanying drawings.
Brief Description of the Drawings
FIG. 1 shows a block diagram of a general configuration of a prior art time base correction circuit,
FIG. 2 shows a configuration of one embodiment of a time base correction circuit of the present invention,
FIG. 3 shows a block diagram of another embodiment of the time base correction circuit of the present invention, and
FIG. 4 shows a timing chart of an operation of the circuit shown in FIG. 3.
Detailed Description of the Preferred Embodiments
One embodiment of the present invention is now explained with reference to FIG. 2.
In the present embodiment, the like components to those of the prior art time base correction circuit shown in FIG. 1 are designated by like numerals.
FIG. 2 shows a block diagram of a configuration of the time base correction circuit of the present invention. In the present time base correction circuit, a switching circuit (signal selection circuit) 15 which is holding means and a control circuit 16 which is setting means are added to the prior art time base correction circuit shown in FIG. 1.
The switching circuit 15 is inserted between the second phase comparator 6 and the loop filter 7 of the phase sync. circuit 3. An error signal from the second phase comparator 6 is applied to the loop filter 7 through the switching circuit 15.
The switching circuit 15 comprises first, second and third stationary contacts 15.sub.1, 15.sub.2 and 15.sub.3 and a movable contact 15.sub.4. The first stationary contact 15.sub.1 is connected to the output line of the second phase comparator 6, the second and third stationary contacts 15.sub.2 and 15.sub.3 are connected to the output lines of voltages DC.sub.1 and DC.sub.2 of the oscillator 8 for setting upper and lower limits of the oscillation frequency, respectively, and the movable contact 15.sub.4 is connected to the input line of the loop filter 7.
The movable contact 15.sub.4 is selectively connected to the first to third stationary contacts 15.sub.1 -15.sub.3 to select the output signal.
The control circuit 16 is connected to the horizontal sync. signal output line of the sync. signal separation circuit 2, the control signal input line of the switching circuit 15 and the control signal input line of the 1/N frequency dividing counter 9. When the reproduced horizontal sync. signal frequency is out of the range to synchronize the output of the oscillator 8 with the 1/N frequency divided clock by the fast feed or rewind operation of the VTR, the control circuit 16 receives at the input terminal 17 the operation mode information signal such as fast feed or rewind so that it produce a control signal C.sub.1 to switch the output of the switching circuit 15 to the voltage DC.sub.1 or DC.sub.2 and also produces a control signal C.sub.2 for setting the count of the 1/N frequency dividing counter 9 to a predetermined count each time the horizontal sync. signal is applied, based on the horizontal sync. signal supplied from the sync. signal separation circuit 2.
An operation of the time base correction circuit of the above configuration is described below.
When the phase sync. circuit 3 operates to lock the phase, the error signal from the second phase comparator 6 is applied to the loop filter 7 through the first stationary contact 15.sub.1 and the movable contact 15.sub.4 of the switching circuit 15.
When the frequency is beyond the control of the phase sync. circuit 3 by the fast feed or rewind operation of the VTR, the fast feed or rewind operation mode information is applied to the input terminal 17 of the control circuit 16.
Thus, the control circuit 16 supplies the control signal C.sub.1 to the switching circuit 15 so that the movable contact 15.sub.4 is connected to one of the second and third stationary contacts 15.sub.2 and 15.sub.3 and the voltage DC.sub.1 or DC.sub.2 is supplied to the oscillator 8 through the loop filter 7. In this manner, the oscillator 8 oscillates at the constant frequency.
Where the input video signal from the input terminal 1 is time-compressed, the switching circuit 15 is controlled to select the voltage to increase the oscillation frequency of the oscillator 8, and where the input video signal is time-expanded, the switching circuit 15 is controlled to select the voltage to reduce the oscillation frequency.
Since the 1/N frequency dividing counter 9 normally carries out the ring counter operation synchronized with the horizontal sync. signal during the phase lock of the phase sync. circuit 3, the count thereof is sent to the write address generator 4 which generates the write address to the memory 13, in a timed relation.
Thus, the count of the 1/N frequency dividing counter 9 indicates the address of the sampling data in one horizontal sync. period.
When the video signal which is out of the phase lock range is applied to the input terminal 1, the number of sampling data in one horizontal sync. period varies. Thus, if the count of the 1/N frequency dividing counter 9 is sent to the write address generator 4 as it is, the data is written into the memory 13 in the next horizontal sync. period with forward or backward shift corresponding to the number of sampling data changed.
As a result, the video signal read from the memory 13 has the phase thereof shifted for each horizontal line, and a disturbed image is displayed on a monitor.
In the present embodiment, when the frequency is out of the phase lock range, that is, when the movable contact 15.sub.4 of the switch 15 is connected to one of the contacts 15.sub.2 and 15.sub.3, the count of the 1/N frequency dividing counter 9 is set or reset to the predetermined count by the control circuit 16 for each input horizontal sync. signal so that the relative position of the data to the horizontal sync. signal is maintained in the memory 13 while the number of data in one horizontal sync. period changes.
Accordingly, the data is read from the memory 13 by the clock signal of the stabilized predetermined frequency supplied from a reference oscillator 21, the video signal outputted through the D/A converter 22 and the output terminal 23 is synchronized with the horizontal sync. period, and it is outputted as a horizontally compressed or expanded image on the monitor.
As a result, the content of the image can be readily recognized.
In the present embodiment, while the switching circuit 15 is inserted between the second phase comparator 6 and the loop filter 7 of the phase sync. circuit 3, it may alternatively be inserted between the loop filter 7 and the oscillator 8.
In accordance with the time base correction circuit of the embodiment of FIG. 2, the content of the image can be recognized even when the video signal is time-compressed or time expanded by the fast feed or rewind operation of the VTR.
Another embodiment of the present invention is now explained with reference to FIGS. 3 and 4.
In the present embodiment, the like components to those of the prior art clock generator shown in FIG. 1 are designated by like numerals.
FIG. 3 shows a block diagram of another embodiment of the time base correction circuit of the present invention. In the present embodiment, a sample and hold (S/H) circuit 32 is provided in a succeeding stage to the phase comparator 6 of the prior art time base correction circuit shown in FIG. 1, and an input signal detector 33 and a counter control circuit 34 are further provided as control means.
The sample and hold circuit 32 is inserted between the second phase comparator 6 and the loop filter 7 of the phase sync. circuit 3. The sample and hold circuit 32 is controlled by the output signal from the input signal detector 33 to maintain the output of the second phase comparator 6, that is, the control input to the oscillator 35 at the constant level to stabilize the operation of the oscillator 35. In the present embodiment, a center frequency of the controlled oscillator 35 is the frequency of the burst signal.
The input signal detector 33 is connected to the input terminal 1 and the output line thereof is connected to the sample and hold circuit 32 and the counter control circuit 34. The input signal detector 33 detects the dropout of the horizontal sync. signal included in the video signal applied from the input terminal 1.
The counter control circuit 34 together with the input signal detector 33 form control means for synchronizing the feedback clock with the horizontal sync. signal in synchronism with the operation of the sample and hold circuit 32. The counter control circuit 34 is connected to the horizontal sync. signal output line of the sync. signal separation circuit 2, and the output line of the counter control circuit 34 is connected to a 1/K frequency dividing counter 39.
The counter control circuit 34 produces a signal to control the 1/K frequency dividing counter 39 by the horizontal sync. signal from the sync. signal separation circuit 2 and the detection signal from the input signal detector 33, when the horizontal sync. signal is restored.
An operation of the time base correction circuit of the above configuration is now explained with reference to FIGS. 3 and 4. FIG. 4 shows a timing chart of the output timing of signals in the clock generator of the present embodiment.
When the video signal supplied from the input terminal 1 includes dropout, the horizontal sync. signal included therein has a waveform shown in (i) of FIG. 4. The dropout of the horizontal sync. signal (i) is detected by the input signal detector 33 of FIG. 3 which produces an input signal detector output signal (iii) of FIG. 4.
The sample and hold circuit 32 of FIG. 3 is controlled by the output signal (iii) to maintain the normal operation value of the second phase comparator 6 (normal error before the dropout of the horizontal sync. signal (i)) and stabilize the operation of the oscillator 35 for the dropout of the horizontal sync. signal.
The counter control circuit 34 further produces a counter control circuit output signal (iv) of FIG. 4 when the horizontal sync. signal (i) is restored, to control the output timing of the 1/N frequency divided counter 8 by the horizontal sync. signal (i) and the input signal detector output signal (iii). By the output signal (iv), the 1/K frequency dividing counter output signal (ii) and the horizontal sync. signal (i) of FIG. 4 are maintained at the constant phase when the horizontal sync. signal (i) is restored as shown by a dotted line A in FIG. 4.
Thus, even if the output of the oscillator 35 slightly changes at the dropout in the horizontal sync. signal (i) , the output signal (ii) of the 1/K frequency dividing counter 39 follows the variation and the output of the second phase comparator 6 does not abruptly change at the recovery of the horizontal sync. signal (i) and the phase sync. circuit 3 quickly phase-locks to produce the stabilized clock.
The clock having the same frequency as that of the burst signal produced by the voltage controlled oscillator (VCO) 35 is converted to the frequency of the horizontal sync. signal by the 1/K frequency dividing counter 39 and it is fed back to the phase comparator 6. The output clock of the VCO 35 is phase-compared by the phase comparator 36 with the burst signal separated by the phase separation circuit 2, and the phase error output of the circuit 36 is supplied to the phase shifter 37.
The phase shifter 37 shifts the phase of the output clock of the VCO 35 and supplies it to a frequency multiplier 38 in phase synchronism with the burst signal. The frequency multiplier 38 produces a clock having the same frequency as that of the VCO 8 in the embodiment of FIG. 2.
The operations of the write address generator 4, the A/D converter 12, the memory 13, the D/A converter 22 and the reference oscillator 21 are identical to those of the embodiment of FIG. 2.
In the embodiment shown in FIGS. 3 and 4, the dropout of the horizontal sync. signal is detected by the input signal detector 33 based on the video signal supplied from the input terminal 1. When the present invention is applied to the VTR, the dropout may be detected from an RF signal produced by a reproducing head.
In accordance with the time base correction circuit shown in FIGS. 3 and 4, even if the video signal drops out during the reproduction of the VTR, the stable clock signal is generated when the dropout is subsequently restored so that high quality video signal is produced.