The invention described herein was made in performance of work under NASA Contract No. NAS 9-15374 and is subject to the provisions of section 305 of the National Aeronautics and Space Act of 1958 (72 Stat. 435; 42 U.S.C. 2457).
This invention relates to a phase-locked loop system which generates a signal that is locked in frequency and phase to the color synchronizing burst signal component of a composite video signal and which is prevented from locking at an erroneous frequency.
Color television signals under the PAL and NTSC signal standards include color information signals which are phase modulated onto a suppressed color subcarrier signal having a frequency within the band of frequencies occupied by the baseband luminance signals. In a conventional PAL or NTSC television receiver, the modulated subcarrier signal is separated from the luminance signals and then synchronously demodulated to recover the color information signals. As a step in the synchronous demodulation process, it is desirable to regenerate the suppressed color subcarrier signal. This is generally done by a phase-locked-loop (PLL) which generates a continuous oscillatory signal that is locked in frequency and phase to the color synchronizing burst signal component of the composite video signal. The burst signal component includes eight to ten cycles of a signal having the same frequency as the suppressed subcarrier signal. This burst signal occupies a small portion, the burst interval, of each horizontal line of the video signal.
One potential problem which exists in these PLL systems is side-locking. Side-locking occurs when the PLL erroneously locks at a frequency which differs from the frequency, fc, of the color subcarrier signal by an amount equal to the frequency, fH, of the horizontal line scanning signal. Side-locking occurs because the PLL uses only a relatively small portion of each horizontal line to regenerate the subcarrier signal.
One method of guarding against side-lock conditions is to use a resonant crystal oscillator in the PLL. Using this type of oscillator, the range of frequencies which may be produced by the PLL is restricted to exclude any of the side-locked frequencies. This method is undesirable, however, since the resonant crystal is relatively expensive and since resonant crystal oscillators generally need to be trimmed manually, a relatively expensive step in the assembly of a consumer television receiver or video tape recorder.
One method which does not require a resonant crystal and which does not need a manual trimming operation is set forth in U.S. Pat. No. 4,255,759, which is hereby incorporated by reference. In this system, coarse frequency control circuitry is used to hold the signal produced by automatic phase control circuitry (a PLL) within a range that excludes the side-lock frequencies. This system is in effect a double PLL. An inner PLL, the automatic phase control circuitry, locks to the color reference burst signal component of the composite video signal while an outer PLL, the coarse frequency control circuitry, locks to the horizontal line synchronization signal components of the composite video signal. This system depends on the ratio of fc to fH remaining constant. In the NTSC system, for example, the color subcarrier signal is the 455th harmonic of one-half of the line scanning frequency (i.e. fc =227.5 fH). For broadcast and other "standard" signals this ratio holds. However, for signals produced by "nonstandard" sources such as video tape recorders, video disc players and home computers the ratio of fc to f.sub. H may vary over a range of values centered about the nominal value. Only a relatively small portion of this range of values corresponds to undesirable side-lock conditions. The system set forth in the referenced patent may not perform well when these nonstandard sources are used because the combined effect of the two loops may change the frequency of the regenerated subcarrier signal when no change is desired.
SUMMARY OF THE INVENTION
The present invention is embodied in circuitry which includes a wide-band phase-locked loop that is synchronized to the color synchronizing burst signal component of a composite video signal. The signal produced by this phase-locked loop is applied to circuitry which is responsive to the horizontal line synchronizing signal component of the composite video signal for detecting a side-lock condition. When a potential side-lock condition is detected, this circuitry applies a signal to the phase-locked loop to correct the side-lock condition. When no potential a side-lock condition is detected, this circuitry has no effect on the operation of the phase locked loop.
BRIEF DESCRIPTION OF THE DRAWING
The sole FIGURE is a block diagram, partially in schematic diagram form, of a phase locked loop system embodying the present invention.
DETAILED DESCRIPTION
In the drawing, broad arrows represent busses for conveying multiple-bit parallel digital signals and line arrows represent connections for conveying analog signals or single-bit digital signals. Depending on the processing speed of the devices, compensating delays may be required in certain of the signal paths. One skilled in the art of designing phase locked loop systems would know where such delays would be needed in a particular system.
In the PLL system shown in the figure, a source of color burst signal 10, which may, for example, include the tuner, IF amplifier, video detector, and burst gate circuitry of a conventional television receiver provides separated color burst signals to one input terminal of a phase detector 12. The phase detector 12, which may be of conventional design, compares the color burst signal to an oscillatory signal, FC, produced by a frequency divider 20. The signal FC has substantially the same frequency as the color burst signal. The output signals provided by the phase detector 12 are proportional to the difference in phase between the burst signal and the signal provided by the frequency divider 20. The output signal of the phase detector 12 is applied to a low-pass filter, the system loop filter of the PLL, which includes a resistor 14 and a capacitor 16. This low-pass filter integrates the phase error signal over several horizontal line intervals to develop a frequency control signal which is applied to the input terminal of a voltage controlled oscillator (VCO) 18. The VCO 18 may be, for example, a relatively inexpensive, wide-band circuit which includes a resistor-capacitor (RC) resonant circuit. The free-running frequency of this VCO is approximately 4fc, four times the frequency fc of the color subcarrier signal. The output signal provided by the VCO 18 is a signal, CK, which may be used in a television receiver as shown, for example, in the referenced U.S. Pat. No. 4,255,759. The signal CK is applied to the frequency divider 20 which divides its frequency, by four to produce the signal FC that is applied at the phase detector 12.
The circuit described above is a conventional burst-locked PLL. However, as set forth above, because this PLL uses a relatively wide-band VCO, it may be susceptible to side-locking. Side-locking occurs when the frequency of the signal FC differs from fc by an amount substantially equal to fH or a multiple of fH. Since the burst signal is applied to the phase detector 12 only during the burst interval of each horizontal line, the output signal provided by the phase detector 12 exhibits local minima when the frequency of FC is substantially equal to fc -fH, fc, and fc +fH. These three frequencies represent stable operating points for the PLL.
To prevent the PLL from stabilizing at one of the side-lock frequencies fc -fH or fc +fH, the remainder of the circuitry in the figure detects a side-lock condition, and upon detection, destabilizes the PLL in a sense which causes the PLL to re-lock at a frequency substantially equal to fc.
The 4fc signal CK provided by the VCO 18 is one of the input signals to the detecting circuitry. This signal is applied to the input terminal of a ten-bit counter 22. A horizontal synchronization signal, HS, provided by a source of horizontal sync signals 28 is applied to a second input terminal of the detecting circuitry. The signal HS is applied, via the delay element 26, to the reset input terminal of the counter 22. The counter 22 increments its value for each pulse of the cignal CK. When standard signals are received and the PLL is not side-locked, the value produced by the counter 22 is reset to zero by a pulse of the signal HS, increments to 909, and is then reset to zero by the next subsequent pulse of the signal HS.
The ten-bit output value produced by the counter 22 is applied to a latch 24, which is controlled by the undelayed signal HS, to load the counter value during each horizontal line interval. The delay element 26 provides a delay that is a fraction of a period of the signal CK. Consequently, the value loaded into the latch 24 is substantially equal to the value produced by the counter 22 immediately before it is reset.
The value stored into latch 24 is applied to the address input port of a read only memory (ROM) 30. The ROM 30 includes an address latch (not shown) which is clocked by the delayed horizontal synchronizing signal provided by the delay element 26. The ROM 30 is programmed to produce output signals SC, SE and, in an alternative embodiment, an output signal SI, responsive to different values applied to its address input port. The following Table I illustrates the values of the signals SC and SE that are produced responsive to the different values of the count value signal CV. In the table, a value of `x` indicates a "don't care" state.
TABLE I
______________________________________
CV SC SE
______________________________________
≦905 1 0
906-912 x 1
≧913 0 0
______________________________________
The signals SC and SE are applied to the signal input terminal and control input terminal, respectively, of a three-state gate 32. The gate 32 provides an output signal which is applied, through a resistor 34, to the interconnection of the resistor 14 and capacitor 16. The signal SE is an error signal, indicating that the PLL may be in a side-lock condition. The signal SC indicates the type of side-lock, either greater than or less than the desired frequency. When the signal SE is a logic zero, the three-state gate 32 is enabled to apply a signal to the resistor 34 which is substantially equal to the signal SC. However, when the signal SE is a logic one, the three-state gate 32 exhibits a high impedance at its output terminal effectively removing the side-lock protection circuit from the PLL. In this embodiment of the invention, the signal SE conditions the gate 32 to exhibit a high impedance state for count values ranging from 906 to 912. Count values in this range correspond to variations in the ratio of fc to fH which do not correspond to a side-lock condition. These variations may occur, for example, when the video signals applied to the PLL system are from a VTR, video disc player or home computer.
Count values less than or equal to 905 may indicate that the PLL has locked at a frequency fc -fH. In this instance, the ROM 30, via the signals SC and SE, conditions the gate 32 to apply a logic one to the resistor 34 to cause the VCO 18 to increase the frequency of its output signal. The amount by which the frequency is increased is sufficient to destabilize the PLL and cause it to relock at a frequency of fc.
Conversely, count values greater than or equal to 913 may indicate that the PLL has locked at a frequency fc +fH. In this instance, the signals provided by the ROM 30 condition the gate 32 to apply a logic zero value to the resistor 34. This causes the VCO 18 to decrease the frequency of its output signal by an amount sufficient to condition the PLL to lock at fc.
The flip-flop 36, shown in phantom, is included in an alternative embodiment of the invention to compensate for errors in the input video signal which may, for example, cause one horizontal sync pulse to be missing, or which may result in a sudden phase shift in the horizontal synchronization signal without any change in the ratio of fc to fH. The first of these errors may be caused by a defect in the tape of a VTR which prevents one pulse of the horizontal synchronization signal from being recorded. The second error may occur during head switching in a multiple-head VTR when the video signal is obtained from at least two of the heads.
Each of these errors results in a change in the ratio of fc to fH during one horizontal line interval which does not occur during subsequent line intervals. The flip-flop 36 is included in the PLL system to ignore single errors of this type. The flip-flop 36 may be, for example, a conventional set-reset flip-flop.
In the illustrative embodiment, the flip-flop 36 is of the type wherein the set input takes precedence if a value of logic one is applied to both the set and reset input terminals. A signal, SI, provided by the ROM 30 is applied to the set input terminal, S, of the flip-flop 36 and the signal SE is applied to the reset input terminal, R. The output terminal Q is coupled to the address input port of the ROM 30 as, for example, the least significant bit of the address value. Table 2 illustrates the operation of the ROM 30 and flip-flop 36. Since the output signal, Q, of the flip-flop 36 is changed by the ROM 30 and since the signal Q is an address input signal to the ROM 30, separate from the signal CV, it is listed both as an input (Qi) and an output (Qi+1) in the Table II.
TABLE II
______________________________________
CV Q.sub.i SC SE SI Q.sub.i+1
______________________________________
≦905
0 x 1 1 1
≦905
1 1 0 1 1
906-912 0 x 1 0 0
906-912 1 x 1 0 0
≧913
0 x 1 1 1
≧913
1 0 0 1 1
______________________________________
As illustrated by Table II, if the flip-flop 36 is reset when a possible side-lock condition is detected, the flip-flop 36 is set but the signals SC and SE are not changed. A side-lock indication during the next successive line interval activates the side-lock protection circuitry to correct the condition. However, if the flip-flop 36 is set during one horizontal line interval and the output of the ROM 30 during the next horizontal line interval does not indicate a possible side-lock condition the flip-flop 36 is reset.