Background of the Invention
1. Field of the Invention
This invention relates to a signal generator, and more particularly to a signal generator which can be most suitably used for a writing portion to a memory in a time base corrector in a PAL color television system.
2. Description of the Prior Art
FIG. 1 shows a conventional writing portion to a memory in a time base corrector. In FIG. 1, video signals are supplied to an AD converter 1, and converted thereby to digital signals. The converted video signals are memorized in a memory 2. In this case, the memory 2 may be of the type of RAM (Random Access Memory).
In order to obtain a writing address signal for the memory 2, a burst signal is supplied to a locked oscillator 3. A signal S synchronized with the burst signal, whose frequency is fc, is obtained from the locked oscillator 3, and applied to a counter 4 to be counted by the latter. The writing address signal is obtained from the counter 4. The output signal S from the locked oscillator 3 is further supplied as a clock pulse to the AD converter 1.
In the read-out of the video signals memorized in the memory 2, a reading address signal is supplied to the memory 2 from a not-shown circuit. The time base of the video signals is corrected with the adjustment of the time relationship between the writing address signal and the reading address signal.
In the time base corrector of FIG. 1, pulse signals H synchronized with horizontal synchronizing signals are supplied as reset signals to the counter 4. Accordingly, when the time base corrector of FIG. 1 is used for a PAL color television system, it has the following disadvantage:
According to the PAL color television system, there is the following relationship between the frequency fc of the subcarrier (fc=4.43361875 MHz) and the frequency f.sub.H of the horizontal synchronizing signal (f.sub.H =15.625 KHz):
Accordingly, the address signal obtained by resetting the counter 4 with the pulse signal H synchronized with the horizontal synchronizing signal progresses or leads in phase by about .pi./2 with respect to the output signal S of the locked oscillator 3 every period of the horizontal scanning line. When the video signals written into the memory 2 with the thus obtained address signals are read out from the memory 2 with address signals obtained by dividing a fixed frequency, the video signals are distorted. For example, when video signals for a vertical line as a picture are written into the memory 2, the read-out video signals are distorted into video signals for zigzag configuration.
Summary of the Invention
An object of this invention is to provide a signal generator in which a third signal synchronized with one of first and second signals having different frequencies can be obtained in simple circuit construction under the control of the other of the first and second signals, the frequencies of the first and second signals being not integrally related to each other.
Another object of this invention is to provide a signal generator which can form a signal to compensate periodical phase shifts between a pulse signal synchronized with a horizontal synchronizing signal, and a chrominance subcarrier, in a PAL color television system in which the frequency of the chrominance subcarrier is not an integral multiple of the frequency of the horizontal synchronizing signal.
A further object of this invention is to provide a video signal memory apparatus which can memorize video signals without influence of the fact that the frequency of the chrominance subcarrier is not an integral multiple of the frequency of the pulse signal synchronized with the horizontal synchronizing signal.
In accordance with one aspect of this invention, a signal generator comprises: a delay circuit for delaying a first signal, the delay time of the delay circuit being controllable; and a counter for counting the first signal, the delay time of the delay circuit being controlled in accordance with the counting output of the counter, whereby a third signal substantially synchronized with a second signal is obtained from the delay circuit, the frequency of the second signal being not an integral multiple of the frequency of the first signal.
The above and other objects, features and advantages of this invention, will be apparent in the following detailed description of illustrative embodiments which are to be read in connection with the accompanying drawings.
Brief Description of the Drawings
FIG. 1 is a block diagram of a writing portion to a memory of a conventional time base corrector; and
FIG. 2 is a block diagram of a writing portion to a memory of a time base corrector according to one embodiment of this invention.
Description of the Preferred Embodiments
One embodiment of this invention will be described with reference to FIG. 2. Parts in FIG. 2 which correspond to the parts in FIG. 1, are denoted by the same reference numerals and will not be described.
Referring to FIG. 2, a pulse signal H synchronized with the horizontal synchronizing signals is supplied through a delay line 5 having a fixed delay time to a line selector 6 and to a delay line 15. The delay line 5 functions to delay the pulse signal H in consideration of change-over operation times of counters 23 and 25, and a memory 24 which will be described hereinafter. For example, the delay time of the delay line 5 is 1.mu. sec.
Next, delay lines 15 to 21 will be described. When the period (1/fc) of the subcarrier signal S obtained from the locked oscillator 3 is represented by T.sub.c, the delay lines 15 and 16 have delay times T.sub.c /2 and T.sub.c /4, respectively. And delay lines 17 to 21 have delay times T.sub.c /2, T.sub.c /4, T.sub.c /8, T.sub.c /16 and T.sub.c /32, respectively. In line selectors 6 to 12, terminals Y are selectively connected to terminals A and B in response to signals applied to terminals S, respectively. The delay lines 15 to 21 are connected between the terminals A and B of the line selectors 6 to 12, respectively.
The line selectors 6 and 7 are controlled by the outputs of the counter 23. An output signal obtained by dividing the frequency of the pulse signal H synchronized with the horizontal synchronizing signal into 1/4 of the frequency of the pulse signal H, is generated from one output terminal O.sub.1 of the counter 23. And another output signal obtained by dividing the frequency of the pulse signal H synchronized with the horizontal synchronizing signal into 1/2 of the frequency of the pulse signal H, is generated from another output terminal O.sub.2 of the counter 23. The output signals from the output terminals O.sub.1 and O.sub.2 of the counter 23 are supplied to the terminals S of the line selectors 7 and 6.
The line selectors 8 to 12 are controlled by the output signals of the memory 24. The memory 24 may be of the type of ROM (Read Only Memory). Informations for deciding delay times necessary for every horizontal scanning lines are memorized in the memory 24. Address signals from the counter 25 are supplied to the memory 24. The counter 25 functions to divide the frequency of the pulse signal H, and it may be of the 625-counting type in accordance with the number of the horizontal scanning lines. Vertical synchronizing signals are supplied to a 1/2 frequency divider 26. The frequency of the vertical synchronizing signals is divided into 1/2 frequency. The output of the 1/2 frequency divider 26 is supplied as a reset signal for every frame to the counter 25.
Next, operation of the circuit of FIG. 2 will be described.
Since the frequency f.sub.H is equal to 15.625 KHz, the equation (1) can be modified into the following equation: ##EQU1##
The equation (2) means that a signal H' having the frequency f.sub.H, which is 1/n (n: integer) times as high as the frequency fc of the subcarrier signal S, and can be obtained by compensating the A-term and B-term in the above equation (2), synchronizes with the subcarrier signal S. When the counter 4 is reset with the signal H', the phase of the output of the counter 4 does not vary with respect to the subcarrier signal S for every horizontal scanning line, but it is always constant with respect to the subcarrier signal S.
In the embodiment of this invention, the above-described A-term and B-term are compensated by means of the delay lines to obtain the signal H'.
Next, the compensation operation of the delay lines will be described with reference to Table I. The equation (2) is further modified into the following equation (3) for explanation of the Table I: ##EQU2## where T.sub.c and T.sub.H equal to 1/f.sub.c and 1/f.sub.H, respectively.
In the Table I, the column (A) represents delay times theoretically necessary for compensation of the A-term in the equation (2), the column (B) represents actual delay times obtained by the delay line 15 or 16 or the combination of the delay lines 15 and 16, the column (C) represents delay times theoretically necessary for compensation of the B-term in the equation (2), and the column (D) represents actual delay times obtained by the delay line 17, 18 . . . or 21, or the combinations of the delay lines 17 to 21.
Phases of the subcarrier signal S and pulse signal H synchronized with the horizontal synchronizing signal, at time t.sub.0, will be represented by .THETA..sub.s and .THETA..sub.H respectively. In order that the phases of the subcarrier signal S and pulse signal H at time t.sub.1, namely in period of one horizontal scanning line after the time t.sub.0, are the same as the phases .THETA..sub.s and .THETA..sub.H at the time t.sub.0, it is required that the phase of the signal H is made to lead by T.sub.c /4 relative to the phase of the signal S with respect to the A-term in the equation (1) or (2), and it is made to lag by T.sub.c /625 relative to the phase of the signal S with respect to the B-term in the equation (1) or (2). From the viewpoint of the compensation of the A-term, the lead of the phase of the signal H by T.sub.c /4 is equal to the lag of the phase of the signal H by 3/4 T.sub.c. In the circuit of FIG. 2, the signal H is delayed by 3/4 T.sub.c by passing through the delay lines 15 and 16. With respect to the B-term, it is theoretically required that the phase of the signal H is delayed by T.sub.c /625. However, since the required delay time T.sub.c /625 of the signal H is negligible short, it may be considered to be approximately zero. Namely, the frequency fc may be considered to be approximately equal to 284 f.sub.H' (fc.apprxeq.284f.sub.H').
Similarly, the delay times of the signal H with respect to the A-term and the B-term are obtained for times t.sub.2, t.sub.3, . . . t.sub.625, as shown in the Table I. The line selectors 6 to 12 are so controlled with the counters 23 and 25, and the memory 24 that the delay times shown in the Table I are obtained for times t.sub.1, t.sub.2, t.sub.3 . . . t.sub.625.
Thus, with the compensations of the A-term and B-term, the signal H' having the frequency f.sub.H, which is apparently 1/n times as high as the frequency fc of the subcarrier, is obtained from the terminal Y of the line selector 12. The signal H' synchronizes substantially with the subcarrier signal S.
The signal H' is supplied as the reset signal to the counter 4 which counts the subcarrier signal S to form the address signal. The counting outputs of the counter 4 which is reset with the signal H', varies every four horizontal scanning lines, as (284, 284, 284, 283), (284, 284, 284, 283) . . . . The counting outputs (284, 284, 284, 284) are obtained once per four frames from the counter 4.
Although there has been described one embodiment of this invention, various modifications are possible on the basis of the spirit of this invention.
For example, the line selectors 6 and 7 are controlled with the output of the counter 23 in the above embodiment. However, they may be controlled with the output of the memory 24 instead of the output of the counter 23, in the same manner as the line selectors 8 to 12.
Moreover, the output of the memory 24 is used as the control signal for the line selectors 8 to 12 in the above embodiment. However, the output of the combination of an arithmetic circuit and a counter, or the output of the counter itself may be used as the control signal for the line selectors 8 to 12.
Clock pulses having the frequency nf.sub.c which is integrally related to the frequency of the subcarrier signals S as the output of the locked oscillator 3 may be supplied to the counter 4. In this case, a D-type flip-flop is connected between the counter 4 and the last line selector 12. The subcarrier S having the frequency fc is applied to the T-terminal of the D-type flip-flop, and the signal H' from the last line selector 12 is applied to the D-terminal of the D-type flip-flop. The output signal from the Q-terminal of the D-type flip-flop is supplied as the reset signal to the counter 4. Thus, the signal H' passing through the D-type flip-flop, as the output signal of the latter, can be more surely synchronized with the signal having the frequency nf.sub.c.
Instead of the D-type flip-flop, a synchronous counter may be connected between the last line selector and the counter 4.