Field of the Invention
[0001] The present invention relates to detection of information that may be present in
a video signal during vertical blanking intervals.
Background of the Invention
[0002] A video signal typically includes vertical display intervals that comprise a plurality
of horizontal line intervals, e.g. 525 lines per vertical interval in NTSC video systems.
A portion of each vertical interval is usually designated as a vertical blanking interval.
The vertical blanking interval may span a plurality of horizontal line intervals,
e.g. in excess of 20 horizontal line intervals. The beginning of each vertical and
horizontal interval is identified by respective vertical and horizontal sync pulses
that are included in a composite video signal.
[0003] The content of the video signal during blanking intervals is usually not intended
for display as part of the normal video image. The lack of image information in blanking
intervals makes it possible to insert auxiliary information, e.g. teletext and closed
caption data, into blanking intervals. The standards for each type of auxiliary information
specify the positioning of the information within a vertical blanking interval. For
example, the present closed captioning standard (see e.g. 47 CFR §§ 15.119 and 73.682)
specifies that digital data corresponding to ASCII characters for closed captioning
must be in line 21 of vertical blanking.
[0004] An approach to recovery of auxiliary information is to accurately identify a specific
line interval, e.g. line 21, containing auxiliary information during a vertical blanking
interval by counting horizontal sync pulses. For example, a horizontal line counter
could be initialized by a vertical sync pulse and clocked by horizontal sync pulses.
Ideally, the count value would then represent the line number.
[0005] A video receiver may produce various versions of horizontal and vertical sync signals
that might be used to control a line counter. For example, a sync separator may produce
sync signals directly from the received composite video signal. FCC requirements specify
precise timing limits for composite video signals. These timing limits might suggest
that the output of a sync separator would be a reliable source of control signals
for a line counter. However, weak signals combined with the occurrence of equalization
pulses during vertical blanking may produce an irregular horizontal sync pulse waveform
at the sync separator output that is not a reliable source of clock pulses for a line
counter. Thus, it may be desirable to use a more regular horizontal sync waveform
to clock a line counter. For example, the output of a horizontal phase-locked-loop
(PLL) that is typically included in a video receiver for deflection purposes produces
a regular pulse waveform at the horizontal line rate.
[0006] As a result of FCC specifications, the start of data within any horizontal line is
accurately timed with respect to the composite video or sync separator output, but
not necessarily with respect to the horizontal PLL output. Minor timing shifts do
not adversely affect the display of normal video images. However, significant timing
errors may be introduced if the operation of the horizontal PLL is disturbed. For
example, switching between the dual video read heads in a video cassette recorder
(VCR) may produce an abnormal horizontal line period that differs significantly from
the nominal 64 µs period. The deviation in the line period may produce a perturbation
in the horizontal PLL that is manifested as a substantial phase shift between the
composite sync signal at the sync separator output and the horizontal pulse waveform
at the horizontal PLL output. The locking action of the PLL gradually corrects the
perturbation such that the phase error is substantially eliminated before visible
display begins. A significant phase shift may exist, however, for many of the line
periods within vertical blanking. Thus, the actual beginning of the information in
a horizontal line during vertical blanking as indicated by the sync separator output
may differ in time from the beginning of the same line as indicated by the output
of a horizontal PLL.
[0007] The residual phase shift that remains during line intervals within vertical blanking
may preclude retrieving auxiliary video data that occurs during line periods within
the vertical blanking interval. For example, consider a closed caption decoder that
identifies the beginning of closed caption data in line 21 based on the count value
from a line counter that is clocked by the output of a horizontal PLL. If the video
signal containing closed caption data originates in a VCR, the horizontal PLL error
caused by read head switching may cause the line counter to exhibit the value 21 at
a time that is not synchronized to the beginning of data in line 21. Thus, the closed
caption decoder would be attempting to extract closed caption data from line 21 either
before or after line 21 actually begins. Corrupted closed caption data may be produced.
[0008] US-A-4 160 993 discloses the detection of a pattern in a composite sync waveform
followed by counting in response to a horizontal flyback signal which may exhibit
synchronization errors. US-A-4 464 679 discloses a similar arrangement in which operation
occurs in response to a deflection signal.
Summary of the Invention
[0009] A horizontal line counter provides a signal identifying the beginning of video data
in a particular horizontal video line. The counter is clocked by multiple clock signals.
A first clock signal clocks the counter until the line count value equals a known
value that is less than the line number of the horizontal line that is to be identified.
When the count value equals the known value, clocking by a second clock signal is
enabled. Although the first clock source provides a regular pulse waveform suitable
for clocking the counter reliably, transitions of the first clock signal may not accurately
indicate the beginning of information within a horizontal line interval. Transitions
of the second clock signal accurately indicate the beginning of the desired information.
However, the waveform of the second clock signal may exhibit irregularities prior
to the time at which clocking by the second clock signal is enabled that could adversely
affect the reliability of the counter value. The combined clocking arrangement advantageously
provides significantly higher reliability of the count value and improves the timing
of the line identification signal with respect to the beginning of the desired video
data.
[0010] These objects are achieved by the features specified in the appended claims.
Brief Description of the Drawing
[0011] Figure 1 shows in block diagram form an embodiment of the invention.
[0012] Figure 2 and 3 show signal waveforms useful for understanding the operation of the
embodiment in Figure 1.
Detailed Description of the Drawing
[0013] Figure 1 shows an exemplary embodiment of the invention in a system for decoding
closed caption data that occurs during horizontal line 21. In Figure 1, an input video
signal VIDEO is coupled to sync separator 100. Sync separator 100 produces a vertical
sync signal VRT SYNC and a composite sync signal COMP SYNC. Signal VRT SYNC is coupled
to horizontal line counter 110 to reset or clear the counter when a vertical sync
pulse occurs on signal VRT SYNC. Composite sync signal COMP SYNC is coupled to horizontal
phase-locked loop (PLL) 105.
[0014] Horizontal PLL 105 generates a horizontal pulse signal HOR PLS that repeats with
a period equal to the horizontal line period. Signal HOR PLS is coupled to the clock
input of line counter 110. Horizontal PLL 105 also generates a second signal HOR that
also has a period equal to the horizontal line period. However, signal HOR exhibits
a greater duty cycle, e.g. 50%, than does signal HOR PLS. The timing of signal HOR
is such that one transition of pulses on signal HOR is aligned with the opposite transition
of pulses on signal HOR PLS. The alignment of opposite transitions on signals HOR
and HOR PLS produces a delay between the same transitions on signals HOR and HOR PLS.
For example, if signal HOR exhibits approximately a 50% duty cycle and if the falling
edges of signal HOR are aligned with the rising edges of signal HOR PLS, a delay of
approximately one-half a horizontal line period exists between the rising edges of
signal HOR and the rising edges of signal HOR PLS. This delay is used advantageously
as described below.
[0015] Signal LINE # 20 in Figure 1 is an output of line counter 110 that indicates when
line 20 is currently being received. Signal LINE # 20 may be generated, for example,
when the count value has been incremented in response to clock signal HOR PLS to a
value of 20. Signal LINE # 20 is coupled to the "D" input of D-type register 115.
The clock input of register 115 is coupled to signal HOR. Counter 110 and register
115 are both triggered on the same transition, e.g. rising-edge triggered. The above-described
one-half horizontal line period delay between the same polarity transitions of signals
HOR PLS and HOR causes register 115 to be clocked one-half horizontal line period
after counter 110 is clocked. Thus, register 115 will be clocked after signal LINE
# 20 has stabilized to produce at the output of register 115 a signal DLY that is
a delayed version of signal LINE # 20. The delay between signals LINE # 20 and DLY
is approximately one-half horizontal line period.
[0016] The output of register 115 is coupled to the "D" input of register 120. Register
120 is clocked by composite sync signal COMP SYNC from horizontal PLL 105. When horizontal
PLL 105 is operated normally, i.e. stable locked state, transitions on signal COMP
SYNC are approximately aligned with corresponding transitions on signal HOR PLS causing
register 120 to be clocked at approximately the same time as counter 110. The output
of register 120 is a signal LINE # 21 that indicates the beginning of line number
21 of a video field where closed caption data is located. Signal LINE # 21 is coupled
to closed caption decoder 125 to initiate the extraction of closed caption data from
the video signal VIDEO that is also coupled to closed caption decoder 125.
[0017] The operation of the above-described circuit is explained below. The following description
may be better understood by referring to the signal waveforms shown in Figure 2. For
the purposes of the exemplary embodiment in Figure 1 and the waveforms in Figure 2,
the registers and counters are assumed to be positive-edge triggered. It will be apparent
to one skilled in the art that negative-edge triggered devices may also be used. One
skilled in the art will also realize that the embodiment in Figure 1 may be readily
adapted to line numbers other than line 21.
[0018] Line counter 110 is reset at the beginning of a field by signal VRT SYNC. Line counter
110 increments in response to pulses on signal HOR PLS to indicate the number of pulses
or lines that have been received. If a disturbance is introduced into composite sync
signal COMP SYNC, horizontal PLL 105 will be perturbed introducing a significant phase
shift between subsequent pulses on signal COMP SYNC and pulses on either signal HOR
PLS or HOR until horizontal PLL 105 stabilizes. During the time that horizontal PLL
105 is stabilizing, transitions on signal COMP SYNC continue to accurately indicate
the beginning of each horizontal line. However, signal COMP SYNC may exhibit irregular
pulse waveforms until the equalizing pulse interval of vertical blanking has been
completed, e.g. by line 20. Thus, counter 110 is clocked by the more reliable waveform
of signal HOR PLS even though the clocking is time shifted with respect to signal
COMP SYNC and the beginning of video in each line. During this time, changing count
values at the output of counter 110 do not accurately indicate the beginning horizontal
line periods.
[0019] When the count value at the output of counter 110 reaches 20, signal LINE # 20 transitions
to a new state, e.g. from logic 0 to logic 1. The next rising edge of signal HOR (delayed
by one-half cycle with respect to the corresponding rising edge of signal HOR PLS)
clocks the new value on signal LINE # 20 through register 115 causing a transition
on signal DLY. By the time that line 20 has been reached, the transitions on signal
COMP SYNC are adequate to clock a register. Thus, the next rising edge of signal COMP
SYNC, which corresponds to the beginning of video in line 21, clocks the changed state
of signal DLY through register 120 causing a change in the state of signal LINE #
21. The alignment of signal LINE # 21 with the transition on signal COMP SYNC differs
by the negligible clock-to-output delay of register 120. Therefore, an accurate indication
of the beginning of the video information on line 21 is communicated to closed caption
decoder 125 via signal LINE # 21.
[0020] Signal LINE # 21 will provide an accurate indication of the beginning of line 21
despite a phase shift between signals HOR PLS and COMP SYNC that may be almost as
large as one-half horizontal line period. The phase shift may be such that signal
HOR PLS is shifted either before or after signal COMP SYNC by an amount approaching
one-half line period without affecting the validity of signal LINE # 21. The flexibility
in the relative positioning of signal HOR PLS with respect to signal COMP SYNC is
provided by the one-half line period delay introduced by using signal HOR rather than
signal HOR PLS to clock register 115. For example, consider the timing situations
shown in Figures 3A and 3B. In Figure 3A, the rising edges of signal HOR PLS are phase
shifted prior to corresponding edges of signal COMP SYNC by slightly less than one-half
line period. In this case, register 115 is clocked by signal HOR to produce signal
DLY (indicating line 20) slightly after the rising edge of signal COMP SYNC. Thus,
the next rising edge of signal COMP SYNC (indicating the beginning of line 21) will
reliably clock register 120 to generate signal LINE #21. Figure 3B shows rising edges
of signal HOR PLS phase shifted after corresponding rising edges of signal COMP SYNC
by slightly less than one-half a horizontal line period. In this case, register 115
is clocked by signal HOR to produce signal DLY slightly before the pulse on signal
COMP SYN that indicates the beginning of line 21. Thus, signal LINE # 21 transitions
in response to the correct pulse on signal COMP SYN. The delay between signals HOR
and HOR PLS may be modified to other values less than one-half a horizontal line period
by, for example, selecting a duty cycle for signal HOR other than the 50% duty cycle
that is described above and shown in Figure 2. In addition to modifying the duty cycle,
the circuit shown in Figure 1 should be changed to ensure that the pulse on signal
DLY remains symmetrical with respect to the pulse on signal HOR PLS corresponding
to line 21 as shown in Figures 3A and 3B.
[0021] As shown in Figure 1, signals VRT SYNC and HOR PLS may be coupled to deflection circuits
if the video receiver includes means for displaying the video information, e.g. a
cathode ray tube. However, the invention may also be useful in the context of a video
receiver in a VCR where deflection circuits are not present.
1. Apparatus for processing a video signal having vertical and horizontal display intervals,
each of said vertical display intervals including a plurality of said horizontal display
intervals, said apparatus comprising:
means for producing a first signal indicative of the duration of each of said horizontal
display intervals and subject to exhibiting a synchronization error with respect to
said video signal, and a second signal synchronized with said video signal to indicate
the beginning of said horizontal display intervals in said video signal: and
means for counting in response to said first signal during a first period of each
of predetermined ones of said vertical display intervals to produce a count of said
horizontal display intervals, and for counting in response to said second signal during
a second period of each of said predetermined ones of said vertical display intervals
to produce an output signal; wherein
said second period begins when said count during said first period indicates the occurrence
of a predetermined number of said horizontal display intervals; and
said output signal is synchronized to said video signal to indicate the beginning
of an information interval within a predetermined one of said horizontal intervals
in said video signal.
2. Apparatus according to Claim 1, wherein
said first period includes a first one of said horizontal display intervals in
a predetermined one of said vertical display intervals through a twentieth one of
said horizontal display intervals in said predetermined one of said vertical display
intervals.
3. Apparatus according to Claim 1, wherein
said first period includes a first one of said horizontal display intervals in
said predetermined one of said vertical display intervals through a horizontal display
interval penultimate to said predetermined horizontal display interval
4. Apparatus according to Claim 1, wherein
said means for producing said first and second signals comprises a phase locked
loop circuit responsive to said video signal for producing said first signal, and
a sync separator circuit responsive to said video signal for producing said second
signal.
1. Vorrichtung zur Verarbeitung eines Videosignals, das vertikale und horizontale Anzeigeintervalle
aufweist, wobei jedes vertikale Anzeigeintervall eine Vielzahl der horizontalen Anzeigeintervalle
enthält, umfassend:
Mittel zur Erzeugung eines ersten Signals, das die Dauer jedes der horizontalen Anzeigeintervalle
angibt und einen Synchronisationsfehler in bezug auf das Videosignal aufweisen kann,
und eines zweiten Signals, das mit dem Videosignal synchronisiert ist, um den Beginn
der horizontalen Anzeigeintervalle in dem Videosignal anzuzeigen; und
Mittel, um in Abhängigkeit von dem ersten Signal während einer ersten Periode jede
der vorgegebenen vertikalen Anzeigeintervalle zu zählen, um eine Zählung der horizontalen
Anzeigeintervalle zu erzeugen, und um in Abhängigkeit von dem zweiten Signal während
einer zweiten Periode jedes der vorgegebenen vertikalen Anzeigeintervalle zu zählen,
um ein Ausgangssignal zu erzeugen; wobei
die zweite Periode beginnt, wenn die Zählung während der ersten Periode das Auftreten
einer vorgegebenen Anzahl von horizontalen Anzeigeintervallen anzeigt; und
das Ausgangssignal mit dem Videosignal synchronisiert wird, um den Beginn eines Informationsintervalls
innerhalb eines vorgegebenen horizontalen Intervalls in dem Videosignal anzuzeigen.
2. Vorrichtung nach Anspruch 1, bei der die erste Periode ein erstes der horizontalen
Anzeigeintervalle in dem vorgegebenen vertikalen Anzeigeintervall bis zu einem zwanzigsten
der horizontalen Anzeigeintervalle in dem vorgegebenen vertikalen Anzeigeintervall
enthält.
3. Vorrichtung nach Anspruch 1, bei der die erste Periode ein erstes der horizontalen
Anzeigeintervalle in dem vorgegebenen vertikalen Anzeigeintervall während eines horizontalen
Anzeige-intervalls enthält, das dem vorgegebenen horizontalen Anzeige-intervall vorausgeht.
4. Vorrichtung nach Anspruch 1, bei der die Mittel zur Erzeugung des ersten und zweiten
Signals eine Phasenregelschleifen-Schaltung umfassen, die auf das Videosignal anspricht,
um das erste Signal zu erzeugen, und wobei eine Synchronsignal-Abtrennschaltung auf
das Videosignal anspricht, um das zweite Signal zu erzeugen.
1. Appareil pour le traitement d'un signal vidéo ayant des intervalles d'affichage horizontaux
et verticaux, chacun des dits intervalles d'affichage verticaux incluant une pluralité
desdits intervalles d'affichage horizontaux, ledit appareil comprenant :
des moyens pour produire un premier signal indicatif de la durée de chacun desdits
intervalles d'affichage horizontaux et soumis à la présentation d'une erreur de synchronisation
par rapport audit signal vidéo, et un second signal synchronisé avec ledit signal
vidéo pour indiquer le début desdits intervalles d'affichage horizontaux, dans ledit
signal vidéo ; et
des moyens de comptage en réponse audit premier signal durant une première période
de chacun desdits intervalles d'affichage verticaux prédéterminés, afin d'obtenir
un comptage desdits intervalles d'affichage horizontaux, et pour le comptage en réponse
audit second signal pendant une seconde période de chacun desdits intervalles d'affichage
verticaux prédéterminés pour produire un signal de sortie ;
dans lesquels
ladite seconde période commence quand ledit comptage pendant ladite première période
indique l'occurrence d'un nombre prédéterminé desdits intervalles d'affichage horizontaux
; et
ledit signal de sortie est synchronisé sur ledit signal vidéo pour indiquer le début
d'un intervalle d'information à l'intérieur d'un intervalle prédéterminé des dits
intervalles horizontaux dans ledit signal vidéo.
2. Appareil selon la Revendication 1, dans lequel ladite première période inclut le premier
desdits intervalles d'affichage horizontaux dans un intervalle prédéterminé desdits
intervalles d'affichage verticaux à travers le vingtième desdits intervalles d'affichage
horizontaux dans ledit intervalle prédéterminé desdits intervalles d'affichage verticaux.
3. Appareil selon la Revendication 1 dans lequel ladite première période comprend le
premier desdits intervalles d'affichage horizontaux dans un intervalle prédéterminé
desdits intervalles d'affichage verticaux via le pénultième intervalle d'affichage
horizontal vers ledit intervalle d'affichage horizontal prédéterminé.
4. Appareil selon la Revendication 1, dans lequel lesdits moyens pour produire lesdits
premier et second signaux comprennent un circuit en boucle à phase bloquée répondant
bien audit signal vidéo pour générer ledit premier signal et un circuit séparateur
de synchronisation répondant bien audit signal vidéo pour générer ledit second signal.