Phase detector circuit for periodic signal using three sampling data

Abstract: A phase detection circuit (50) for detecting the phase shift of an input signal. An A/D converter (31) converts the input signal into first, second and third digital data according to successive three sampling points. A first subtracter (53) subtracts the third data from the second data to produce a first subtraction signal. A second subtracter (54) subtracts the first data from the second data to produce a second subtraction signal. A third subtracter (55) subtracts the second subtraction signal from the first subtraction signal to produce a signal representing the phase shift. An adder (56) adds the first and second subtraction sig­ nals together to produce a signal representing the amplitude of the input signal. A converter (57) con­ verts the signal representing the phase shift into a signal representing the absolute value of the phase shift according to the signals representing the phase shift and the amplitude.

Description: This invention relates to phase detection circuits, and more particularly to a phase detection circuit functioning as a time base corrector for correcting the phase shift caused by fluctuation in the time base of analog video signals. Video signal processing devices include video cassette recorders (VCR) using cassettes as recording media and laser disc devices using optical discs as recording media. While video information recorded on the recording medium is being reproduced, variation in the relative speed between the magnetic tape and the head in the VTR may occur. Likewise, in the laser disc device, variation in the relative speed between the pits recorded on the optical disc and the optical pickup may occur. In order to precisely reproduce the recorded video signals, the video signal processing device generally includes a time base corrector. The time base corrector is divided into two types according to its correction process. One type of time base corrector performs the process of detecting the frequency and phase of a sync. signal included in the reproduced signal and mechanically controlling the rotation speed of the head, tape speed, or the rotation speed of the optical disc based on the detected frequency and phase. The other type of time base corrector effects the process of detecting the frequency and phase of a sync. signal included in the reproduced signal and electrically controlling the delay time of the reproduced signal itself. The latter type time base corrector includes a triangular wave generation circuit for receiving a reference clock signal having a frequency of 3.58 MHz and generating a triangular wave signal for each period of the clock signal, and a phase comparator circuit for comparing the reference clock signal with a burst signal included in the input video signal to be phase-corrected. A sample-hold circuit samples the triangular wave signal and holds the signal level thereof in response to a sampling pulse which is generated from the phase comparator circuit according to the result of comparison. That is, the sample-hold circuit supplies an error voltage corresponding to the phase difference between the burst signal and the reference signal to a phase shifter circuit. Then, the time base variation of the input video signal can be corrected by the phase shifter circuit. The conventional time base corrector uses a triangular wave having a frequency of 3.58 MHz. However, it is technically difficult to generate a triangular wave having such a high frequency at high precision, and therefore is becomes difficult to derive a precise error voltage. Further, the conventional time base corrector is sensitive to variation in the power source voltage and temperature variation, and the operation thereof is unstable. An object of this invention is to provide a phase detector circuit capable of precisely detecting the phase shift even in the case of using a high frequency signal. Another object of this invention is to provide a phase detector circuit which can effect the stable operation. According to one aspect of this invention, there is provided a phase detection circuit for detecting the phase shift of an input signal which comprises A/D converting means for converting an input signal into first, second and third digital data according to successive three sampling points; first subtracter means connected to the A/D converting means, for subtracting the third data from the second data to produce a first subtraction signal representing a difference between the second and third data; second subtracter means connected to the A/D converting means, for subtracting the first data from the second data to produce a second subtraction signal representing a difference between the second and first data; and detection means connected to the first and second subtracter means, for detecting a signal representing the phase shift based on the first and second subtraction signals. The foregoing aspects and other features of the invention will be explained in the following description in connection with the accompanying drawings wherein: Fig. 1 is a block diagram schematically showing a time base corrector to which this invention can be applied; Fig. 2 is a circuit diagram showing a phase detector circuit according to one embodiment of this invention; Figs. 3 and 4 are signal waveform diagrams illustrating the operation of the circuit shown in Fig. 2; and Figs. 5A and 5B show other embodiments used instead of a ROM shown in Fig. 2. First, the time base corrector of a video signal processing device to which this invention can be applied is schematically explained with reference to Fig. 1. As shown in Fig. 1, an analog video signal of NTSC, for example, is input to input terminal 30 and then supplied to A/D converter 31. A clock pulse used in the A/D converter is generated from voltage controlled oscillator (VCO) 39. When the time base of the analog video signal has varied, the phase of the clock pulse for the A/D converter is PLL-controlled according to the time base variation. As a result, the analog video signal is A/D converted according to the time base variation so that substantially the same digital signal as that which could be obtained by A/D converting the analog video signal having no time base variation can be derived. The digital video signal output from A/D converter 31 is stored in memory 32. Write address generator 33 generates a write address according to the time base variation in the analog video signal in order to control the write address of memory 32. Readout address generator 34 is driven by a stable clock pulse from crystal oscillator 45 in order to control the readout address of memory 32. A digital video signal read out is converted into an analog video signal by means of D/A converter 44 which is driven by a clock pulse from crystal oscillator 45, and is then supplied to output terminal 46. Now, the PLL control is explained. An analog video signal input to input terminal 30 is supplied to sync. separator circuit 35. Sync. separator circuit 35 separates horizontal sync. signal HD from the analog video signal and supplies the same to phase comparator 36. A loop constituted by phase comparator 36, low-pass filter (LPF) 37, adder 38, voltage controlled oscillator (VCO) 39 and frequency divider 40 is closed to complete a phase locked loop (PLL). That is, phase comparator 36 compares the phase of sync. signal HD with the phase of a clock pulse supplied from VCO 39 via frequency divider 40. The phase difference output from phase comparator 36 is smoothed by means of LPF 37, and supplied to the frequency controlling terminal of VCO 39 via adder 38. In this way, the clock pulse from VCO 39 is phase-synchronized with the horizontal sync. signal of the analog video signal. In other words, in a case where the time base of the analog video signal varies and jitter occurs in the horizontal sync. signal of the analog video signal, the clock signal from VCO 39 varies accordingly. As described above, the time base variation of the analog video signal can be corrected to some extent by the PLL control, and this invention is provided to further enhance the precision of correction. Now, this invention is described in more detail with reference to Fig. 2. The output of A/D converter 31 is supplied to burst gate circuit 43. In burst gate circuit 43, a digital burst gate signal is derived form the output. The output of A/D converter 31 is also supplied to sync. separator circuit 42 (Fig. 1). In sync. separator circuit 42, the sync. signal is separated from the output. The separated sync. signal is supplied as a burst flag to burst gate circuit 43 to control the gate timing thereof. The burst flag can also be derived from sync. separator circuit 35. The derived digital burst signal is input to phase detector circuit 50 of this invention. As shown in Fig. 2, phase detector circuit 50 includes two shift registers 51 and 52. The digital burst signal is sequentially shifted by shift registers 51 and 52, and is output from each of the shift registers at preset timings. Assume now that three successive sampling points are sampled by A/D converter 31 with a phase difference of π/2. Further, assume that data DA, DB and DC are obtained at these successive sampling points in this time sequence. That is, data DA is stored in shift register 51 at the first timing. AT the second timing, data DA is shifted to shift register 52 and at the same time data DB is stored in shift register 51. Then, at the third timing, data DA is supplied from shift register 52 to subtracter 54 and at the same time data DB is supplied from shift register 51 to subtracters 53 and 54 and data DC is input to subtracter 53. Subtracter 53 processes data DC and DB to produce the operation result (DB-DC). Further, subtracter54 processes data DB and DA to produce the operation result (DB-DA). Then, the first operation result (DB-DC) and the second operation result (DB-DA) are respectively input to subtracter 55 and adder 56. Adder 56 performs the following operation to output information DADD concerning the amplitude of the analog video signal. Also, subtracter 55 performs the following operation to output information DSUB concerning the phase shift. Now, DADD and DSUB are derived with reference to Fig. 4. Since the burst signal is a sinusoidal wave, it can be expressed as follows: y = a sin (ωt + ), where a is amplitude and  is phase shift. When the phase shift  is expressed in terms of time variation τ, the following equation can be obtained: y = a sin (ωt + 2π(τ/T)), where T is period (1/3.58 MHz = 279 nsec). Since first, second and third sampling points A, B and C are respectively shifted by π/2, data DA, DB and DC corresponding to the sampling points can be expressed as follows. DA = a sin 2π(τ/T) DB = a sin {(ωT/4) + 2π(τ/T)} = a sin {(1/4) + (τ/T)} DC = a sin {(ωT/2) + 2π(τ/T)} = a sin {(1/2) + (τ/T)} Since addition result DADD is determined by the absolute value of DA, DB and DC, it can be derived as follows by taking the polarities thereof into consideration. DADD = - DA + DB + DB - DC = a sin 2π(τ/T) + 2a sin 2π{(1/4) + (τ/T)} - a sin 2π{(1/2) + (τ/T)} = 2a sin 2π{(1/4) + (τ/T)} - [a sin 2π{(1/2) + (τ/T)} + a sin 2π(τ/T)] = 2a sin 2π{(1/4) + (π/T)} - 2a sin{(1/2 + (2τ/T)}cos(π/T) = 2a{sin(π/2)cos(2πτ/T)} + cos(π/2)sin(2πτ/T) = 2a cos(2πτ/T) Likewise, subtraction result DSUB can be as follows. DSUB = - DA + DC = a[sin{(1/2) + (τ/T)} - sin2π(τ/T)] = 2a cos(1/2){π + (4πτ/T)sin(π/2) = 2a cos{(π/2) + (2πτ/T)} = 2a{cos(π/2)cos(2πτ/T) - sin(π/2)sin(2πτ/T) = -2a sin(2πτ/T) Now, the time variation τ is derived based on addition result DADD and subtraction result DSUB. Since DADD = 2a cos(2πτ/T) and DSUB = -2a sin(2πτ/T), the following equation can be obtained. a = DADD/{2a cos(2πτ/T)} = DSUB/{-2a sin(2πτ/T)} Based on the above equation, the following equations can be obtained. -DADD sin(2πτ/T) = DSUB cos(2πτ/T) -(DADD/DSUB) = {sin(2πτ/T)}/{cos(2πτ/T)} = tan(2πτ/T) Therefore, τ can be expressed as follows. τ = -(T/2π)tan -1 (DADD/DSUB) Therefore, if τ is previously stored in a read only memory (ROM), the amount of phase shift can be detected as the absolute value of the phase shift by using the subtraction result and the addition result. Next, this invention is explained in more detail with reference to Figs. 3 and 4. Fig. 3 shows a case wherein the burst signal included in an analog video signal is sampled in an ideal condition in which no time base variation occurs. As is clearly seen from Fig. 3, in this case, the zero-cross point and peak point (indicated by × mark in Fig. 3) of the burst signal are sampled in response to the rise of the sampling clock so that no relative time base variation will occur between the burst signal and the clock pulse. The ideal sampling points are indicated by circle (o) marks on the burst signal in Fig. 4. When the time base of the analog video signal has varied and if the clock pulse phase is not adjusted, points on the burst signal indicated by dot (·) marks in Fig. 4 will be sampled. Now, suppose that DADD is derived based on data DA, DB and DC corresponding to sampling points A, B and C which have a phase difference of π/2. As described before, DADD = 2a cos(2πτ/T). Therefore, when no time base variation occurs, DADD = (2πτ/T) cos0° = 2a and information concerning the amplitude of the burst signal can be derived. In other words, when DA and DC are on the t axis, the amplitude will be 2DB. If the time base has varied and sampling points A and C are shifted, the value of cos(2πτ/T) becomes smaller than 1, causing DAA to be smaller than 2DB. Further, as described before, DSUB = -2a sin(2πτ/T). With no time base variation, DSUB = -2a sin (2πτ/T) = -2a sin0° = 0. This means that there is no phase shift in the burst signal. If there is a phase shift, DSUB takes a value other than 0 and the value represents the amount of phase shift. DSUB and DADD obtained are supplied to ROM 57. A phase detection output is derived from ROM 57 as the absolute value of the phase shift corresponding to DSUB. In this case, the values of DSUB and DADD are used as the lower and upper address of ROM 57. In this embodiment, ROM 57 is used, but other converters may be used to serve the same purpose. For example, a selector shown in Fig. 5A or a microprocessor unit (MPU) shown in Fig. 5B may be used. In a case where the selector is used, subtraction data is varied according to addition data to attain the approximation of a phase shift signal. The phase detection output from phase detection circuit of this invention is supplied to D/A converter 61. Analog information concerning the phase shift correction amount can be derived from D/A converter 61. Further, the low frequency components of the analog information is extracted by means of LPF 62 and supplied to adder 38. The correction outputs from LPFs 37 and 62 are added together in adder 38 which in turn supplies the result of addition to VCO 39. In this way, the PLL including VCO 39 performs the phase synchronization with respect to the horizontal sync. signal and the phase synchronization with respect to the burst signal (low frequency components). As described above, since the clock pulse generated from VCO 39 and used for the sampling operation in the D/A converter 44 is precisely adjusted according to variation in the input analog video signal, the analog signal can be sampled as if it were not subject to time base variation. The digital video signal subjected to the A/D conversion is stored in memory 32, and in this case the address of memory 32 is determined by address generation circuit 33 which is driven in response to the output of VCO 39. The operation of reading out the digital video signal and D/A converting the digital video signal by use of D/A converter 44 is effected based on the reference clock from crystal oscillator 45. Therefore, it becomes possible to derive an output video signal with respect to the input analog video signal whose time base variation is corrected. In this embodiment, this invention is applied to the time base corrector of the video signal processing device. However, this invention is not limited to this embodiment, and can be used in other devices for detecting the phase lead and lag in a periodic signal, for example. The application range thereof can be further widened by changing data stored in ROM 57 according to how the phase detection output is used.

Claims: A phase detection circuit for detecting the phase shift of an input signal relative to a time base, including: A/D converting means (31) for converting the input signal into first, second and third digital data according to successive three sampling points, first subtracter means (53) connected to said A/D converting means (31), for subtracting the third data from the second data to produce a first subtraction signal representing a difference between the second and third data; second subtracter means (54) connected to said A/D converting means (31), for subtracting the first data from the second data to produce a second subtraction signal representing a difference between the second and first data; and detection means (55, 56) connected to said first and second subtracter means (53, 54), for detecting a signal representing the phase shift based on the first and second subtraction signals, characterized in that said detection means (55, 56) includes means (56) for adding the first and second subtraction signals to produce a signal representing an amplitude of the input signal, and means (55) for subtracting the second subtraction signal from the first subtraction signal to produce a signal representing the phase shift. A circuit according to claim 1, further comprising means (51, 52) for storing the digital data. A circuit according to claim 2, characterized in that said storing means (51, 52) includes a shift register (51, 52). A circuit according to any of claims 1 to 3, further comprising converter means (57) for converting the signal representing the phase shift and producing a signal representing an absolute value of the phase shift. A circuit according to claim 4, characterized in that said converter means (57) includes a read only memory. A circuit according to claim 4, characterized in that said converter means (57) includes a selector. A circuit according to claim 4, characterized in that said converter means (57) includes a microprocessor unit. A time base corrector device for correcting the phase shift of an input signal relative to a time base, including: A/D converting means (31) for converting the input signal into first, second and third digital data according to successive three sampling points, first subtracter means (53) connected to said A/D converting means (31), for subtracting the third data from the second data to produce a first subtraction signal representing a difference between the second and third data; second subtracter means (54) connected to said A/D converting means (31), for subtracting the first data from the second data to produce a second subtraction signal representing a difference between the second and first data; characterized by third subtracter means (55) connected to said first and second subtracter means (53, 54), for subtracting the second subtraction signal from the first subtraction signal to produce a signal representing the phase shift; adding means (56) connected to said first and second subtracter means (53, 54), for adding the first and second subtraction signals together to produce a signal representing an amplitude of the input signal; converter means (57) connected to said third subtracter means (55) and adding means (56), for converting the signal representing the phase shift into a signal representing an absolute value of the phase shift according to the signals representing the phase shift and the amplitude; and correction means (39) connected to said converter means (57) and A/D converting means (31), for correcting the phase shift according to the signal representing the absolute value. A device according to claim 8, further comprising means (51, 52) for storing the digital data. A device according to claim 9, characterized in that said storing means (51, 52) includes a shift register (51, 52). A device according to any of claims 8 to 10, characterized in that said converter means (57) includes a read only memory. A device according to any of claims 8 to 10, characterized in that said converter means (57) includes a selector. A device according to any of claims 8 to 10, characterized in that said converter means (57) includes a microprocessor unit.

Inventors: ENOMOTO AKIHIKO, KOBATA HIROSHI, KOGA TAKASHI, YONEDA MINORU, ENOMOTO, AKIHIKO, KOBATA, HIROSHI, KOGA, TAKASHI, YONEDA, MINORU, ENOMOTO, AKIHIKO C/O PATENT DIVISION, KOBATA, HIROSHI C/O PATENT DIVISION, KOGA, TAKASHI C/O PATENT DIVISION, YONEDA, MINORU C/O PATENT DIVISION
Applicants: TOSHIBA AVE KK, TOSHIBA KK, KABUSHIKI KAISHA TOSHIBA, TOSHIBA AVE CO., LTD
Application year: 1989
Main classification: H03D13
IPC codes: H04N5, H03L7, H04L7, H04N9, H03D13