1. Field of the Invention
The present invention relates to a sampling clock generation circuit and a teletext broadcasting data sampling circuit suitable for using in a teletext broadcasting data receiving circuit of a television video signal.
2. Description of Related Art
A teletext broadcasting superimposes information such as a static image including text and simple graphics in a form of a digital signal on an airwave to transmit. A receiver stores the digital signal to a memory and the like, and then the digital signal is converted into a television video signal so as to display on a television receiver. A system for transmitting texts and graphics in a form of data together with telecast is internationally referred to as a teletext.
A signal of a teletext broadcasting (hereinafter referred to as a text signal) is superimposed in a vertical blanking interval of a television video signal, and exists after a color burst signal, as shown in
As shown in
In a conventional technique, there are suggested methods which are to configure fixed timings and to adjust timings using CRI. In the method to configure fixed timings, a first sampling timing is set to a timing after a certain pre-registered time from a falling edge of a horizontal synchronization signal. The certain pre-registered time here is determined by a specification of a text signal. An example is explained hereinafter in sampling a data of a text data multiplex broadcasting, which is “ARIB (Association of Radio Industries and Businesses) STD-B5 Standard Television Data Multiplex Broadcasting in a Transmission Method Using Vertical Blanking Interval”. In this case, a start timing of a text signal will be 56×Tb from a falling edge of a horizontal synchronization signal (wherein Tb is a period for 1 bit of a transmission code and it is approximately 175 ns in ARIB STD-B5). Thus a sampling start position of the text signal can be calculated as 56.5×Tb (approx. 9.87 us) to be suitable.
A conventional method of adjusting timings is described hereinafter in detail that uses CRI, which is disclosed in Japanese Unexamined Patent Application Publication No. 61-88679 in reference to a teletext broadcasting data sampling circuit shown in
The comparator 401 compares a text signal with a slice level so as to generate a slice data. The sampling clock generation circuit 402 generates a slice level adjustment value and a sampling clock from the slice data by a method described later. The data sampling circuit 403 synchronizes with the sampling clock, samples the slice data and generates a sampled data. The slice level generation circuit 404 generates a slice level from a slice level adjustment value by a method described later.
The sampling clock generation circuit 402 is described hereinafter in detail.
An output 605 from the second pulse generator 502 is inputted to the second AND gate 506. An output 606 from the second AND gate 506 is inputted to a second counter 507. Outputs from the first counter 503 and the second counter 507 are inputted to an adder 508. An output from the first counter 503 will be a slice level adjustment value. An output from the adder 508 is inputted to a third pulse generator 509. The third pulse generator 509 generates a sampling clock and output it.
An operation of the sampling clock generation circuit is described hereinafter in detail.
1) When a slice data shown in
2) The first pulse generator 505 generates a pulse 604 shown in
3) The second pulse generator 502 generates a signal 605 that becomes “1” from a rising edge of the pulse 604 to a rising edge of the slice data.
4) A clock is outputted from the oscillator 504 through the second AND gate 506 while the signal 605 is “1” as a signal 606. The second counter 507 to receive the signal 606 counts the number of clocks in the output signal 606 illustrated in
5) A most appropriate calculation method of a sampling clock is described hereinafter in reference to
Accordingly, the adder 508 adds up and outputs 1/16 of a value of an output from the first counter 503 (½ of an average time interval of 2×T2, which is T2) and ⅛ of a value of an output from the second counter 507 (an average time interval T1). Namely an output from the adder 508 indicates an interval (T1+T2) between the pulse 604 (timing Tw) and the optimum sampling timing (timing Ty).
6) The third pulse generator 509 generates a sampling clock that rises at a timing Ty based on an output from the adder 508 and the pulse 604. A data is sampled using this sampling clock to output a slice data.
7) When using 45.8 MHz for a oscillation frequency of the oscillator 504, an output from the first counter 503 is expected to be counted to 8×8=64. However when a slice level moves upward, the count become smaller and when a slice level moves downward, the count becomes larger. That means that referring to an output value from the counter 503 helps optimize the slice level. Accordingly, for example the slice level generation circuit 404 shown in
Japanese Unexamined Patent Application Publication No. 2002-216424 discloses a multilevel data sampling apparatus for accurately sampling a multilevel data from a reproducing signal of a data recorded with high recording density. Specifically, a reproducing signal of a multilevel data is converted from an analog signal to a digital signal in an A/D conversion portion based on a clock with a shorter cycle than the multilevel data, and then stored to a memory. After that, a synchronous signal detection portion detects a pattern data of a synchronous signal in a memory, and then multilevel data cycle calculation portion detects all maximum values and minimum values from the pattern data.
A time interval between adjacent maximum values and a time interval between adjacent minimum values are computed, and a cycle of a multilevel data is calculated as a half of an average value of all the time intervals. A data extraction portion samples a data from information for each of the cycle with a reference value to be one of the maximum values and the minimum values to output. By computing a cycle of a multilevel data from a time interval between adjacent maximum values and a time interval between adjacent minimum values, a multilevel data can accurately be sampled.
According to an aspect of the present invention, there is a sampling clock generation circuit for generating a sampling clock from an input signal that includes a peak detection circuit for detecting a peak of the input signal, a peak timing identification circuit for identifying a timing of a peak detected by the peak detection circuit as a peak timing, a reference timing determination circuit for determining a reference timing to identify a phase of the sampling clock, and a pulse generator for generating the sampling clock.
According to another aspect of the present invention, there is provided a teletext broadcasting data sampling circuit for sampling a text data from a text signal of teletext broadcasting that includes a peak detection circuit for detecting a peak included in a Clock Run In of an inputted text signal, a peak timing identification circuit for identifying a timing of a peak detected by the peak detection circuit, a reference timing determination circuit that determines a reference timing to identify a phase of a sampling clock using the identified peak timing and a sampling clock cycle, and a pulse generator for generating a sampling clock by the reference timing, and a data sampling circuit for sampling a character data included in the text signal.
In this invention, a reference timing to identify a phase of a sampling clock is determined using an identified peak timing and a cycle of a sampling clock. Accordingly a sampling clock can be generated without using a signal that compared a slice level and an input signal, thereby generating a more accurate sampling clock without an influence of slice level accuracy. That is, this invention can generate a more accurate sampling clock.
The above and other objects, advantages and features of the present invention will be more apparent from the following description taken in conjunction with the accompanying drawings, in which:
The invention will be now described herein with reference to illustrative embodiments. Those skilled in the art will recognize that many alternative embodiments can be accomplished using the teachings of the present invention and that the invention is not limited to the embodiments illustrated for explanatory purposes.
Embodiments of the present invention are described hereinafter with reference to the drawings. The description hereinbelow is appropriately shortened and simplified to clarify the explanation. In the drawings, identical constituents are denoted by reference numerals identical to those therein with repeated descriptions omitted.
The slice level generation circuit 904 is supplied with a text signal, and outputs a slice level corresponding to the text signal. The comparator 401 is supplied with the slice level and the text signal. Then the comparator 401 compares a level of the text signal to the slice level as a reference signal and outputs a slice data, which is a binary signal. The sampling clock generation circuit 902 determines a maximum and minimum value of the text signal, and generates a sampling clock corresponding to a text data from the maximum and minimum value. The data sampling circuit 403 samples the slice data synchronized with the sampling clock and generate a sampled data.
The sampling clock generation circuit 902 is described hereinafter in detail with reference to
The maximum value detection circuit 1001 is inputted with a text signal, detects peak of local maximal value (hereinafter referred to as maximum value peak) of the text signal, and outputs a pulse when a maximum value of the text signal is detected. Similarly the minimum value detection circuit 1002 is inputted with a text signal, detects a peak of local minimal value (hereinafter referred to as minimum value peak) of the text signal, and outputs a pulse when a maximum value of the text signal is detected. The maximum value counter circuit 1003 and the minimum value counter circuit 1004 respectively count pulses that detected the maximum value and the minimum value. The reference timing generation circuit 1005 generates a reference timing for identifying a phase of the sampling clock from counter values of the maximum value and the minimum value. The pulse generator 1006 generates a sampling clock based on the reference timing.
A peak detection circuit for detecting a peak of an input signal is configured by the maximum value detection circuit 1001 and the minimum value detection circuit 1002. Further, a peak timing identification circuit is configured by the maximum value counter circuit 1003 and the minimum value counter circuit 1004. A reference timing determination circuit is configured by the reference timing generation circuit 1005.
In this invention, a minimum value peak and a maximum value peak respectively are detected form CRI which consists of “0” and “1” data, and a reference timing to identify a phase of a sampling clock is computed from the minimum value peak and the maximum value peak. In this example, a reference timing is computed by the sampling clock generation circuit 902 of this invention, where the reference timing is capable of identifying a phase of a sampling clock to be generated. A timing supposed to be taken by the reference timing if an ideal transmission is performed is hereinafter referred to as an ideal reference timing. A sampling clock is generated in the pulse generator 1006 using a pre-registered cycle by the reference timing as a reference.
The reference timing may be a timing to identify a sampling clock start, in addition to identify a phase of a sampling clock to be generated. Further, as for a cycle of a sampling clock to be generated, it is possible to have a configuration in which a cycle is determined from an input text signal, which is CRI, a reference timing is determined using the cycle and a sampling clock is generated.
An operation is described hereinafter in detail.
1)
2) The maximum value detection circuit 1001 outputs a pulse every time it detects a MAX, while the maximum value counter 1003 counts the pulse. In other words, the maximum value counter 1003 counts the number of MAX detection. Similarly, the minimum value counter 1004 counts the number of MIN detection every time it detects a MIN.
3) An operation of the reference timing generation circuit 1005 is described hereinafter in detail.
CRI is a data of “1010101010101010”. An example of an operation for generating a reference timing of a sampling clock using a first 8 bits of “10101010” data is explained hereinbelow. A maximum value data of a plurality data for Tb is indicated by a peak value of “1”, while a minimum value data of plurality data for Tb is indicated by a peak value of “0”. Therefore when values of the maximum value counter 1003 and the minimum value counter 1004 become “maximum value counter value=‘1’ and minimum value counter value=‘0’” for the first time, it means that a first peak value “1” for a CRI (MAX1 in
Similarly when values of the maximum value counter 1003 and the minimum value counter 1004 become “maximum value counter value=‘1’ and minimum value counter value=‘1’” for the first time, it means that a first peak value “0” for a CRI (MIN1 in
Then, candidates for a reference timing are determined from detected timings of the maximum and minimum value, using a cycle Tb which is a period for 1 bit of transmission code. As an example, a position of (½)×Tb before a timing position of the MAX1, which is a timing position when an ideal transmission is carried out, to be an ideal reference timing, and reference timings corresponding to the ideal reference timing are computed from detected timings of MAX1 to MAX4 and MIN1 to MIN4.
For example as for a timing that detected MAX1, a position where a period of (½)×Tb before MAX1 is computed as a reference timing candidate (which is BT1 in
Candidates for a reference timing are computed from each of MAX and MIN detection points (which are BT1 to BT8 in
A reference timing is computed as an average value of the reference timing candidates. Computing an average value reduces an influence of noise affected in each detection point. Furthermore by making the number of data to be summed to be a power-of-two, a division needed for calculating an average value can be accomplished by a bit shift.
4) The pulse generator 1006 generates a sampling clock by an obtained reference timing as a reference. As shown in
If configuring a fixed sampling start position for a sampling clock, a sampled data differs from an expected value when a received text signal is delayed due to an external noise as shown in
Alternatively, a method of creating a sampling clock using CRI, which is disclosed in Japanese Unexamined Patent Application Publication No. 61-88679 as indicated above, has a problem that a proper sampling clock cannot be generated if DC component is too high or low due to external noise, as shown in
The above technique disclosed in Japanese Unexamined Patent Application Publication No. 2002-216424 only computes a cycle of a multilevel data from a time interval between adjacent maximum values and a time interval between adjacent minimum values of an inputted signal. It indicates that the technique does not identify an exact phase of a sampling clock.
On the contrary, in this embodiment as described so far, since a sampling clock is generated from peak timings of maximum and minimum values (i.e. timing of maximum value peak and timing of minimum value peak) for CRI, a sampling clock can correctly be generated even in a case when DC component become too high or too low, so that a text signal does not cross a slice level as shown in
As described in the foregoing, a plurality of peaks (maximum values or minimum values) is preferably used for a determination of an accurate reference timing, it is possible to determine a reference timing by using one maximum value peak or minimum value peak. A part of the plurality of peaks may be used to determine a reference timing. Alternatively, a plurality of peaks in maximum or minimum values may be detected to determine a reference timing from. Further, when generating a sampling clock from either of maximum values or minimum values, a configuration may be set up in a way to allow a selection of whether to generate a sampling clock from maximum values or minimum values, depending on an external control signal. In such a case, a reference timing is generated only for an output from a selected circuit of either the maximum value detection circuit or the minimum value detection circuit, and then a sampling clock is generated corresponding to the reference timing.
That is, if a peak pattern and a peak interval (interval between peak timings) of an input signal are known in advance, a reference timing can be identified using a peak interval that is obtained from detected peak timings. Furthermore in the first embodiment, an ideal reference timing and a reference timing to be computed are specified as a timing of (½)×Tb before a peak timing of MAX1, however it is possible to configure a circuit by defining an ideal reference timing and a reference timing to be a start position of a desired sampling clock. For example when defining an ideal reference timing and a reference timing to be a peak timing of MAX1, a calculation of adding (½)×Tb can be left out when attempting to retrieve an output start position of a sampling clock (or a rising edge of a sampling clock) after determining a reference timing.
Timings in the first embodiment can be treated as count values of pulses for a system clock inside the sampling clock generation circuit 902 of this invention, for example.
A count value BCstart corresponding to a sampling clock start position is determined from a computed BCavg. The pulse generator 1006 outputs a sampling clock when a count value of pulses for the system clock 1401 reaches BCstart. When retrieving data from a beginning of CRI, BCstart uses a value calculated by adding a value of count value or more (hereinafter referred to as AC), which corresponds to a time difference between a first peak and a last peak of an input signal needed to calculate BCavg, to a value of BCavg. In such a case, a delay circuit 1501 is provided prior to a data sampling circuit 403, as shown in
It indicates that a sampling clock capable of stable reception (data retrieval) can be generated by determining a reference timing from peaks of an input signal. This is because that a desired start timing for a sampling clock can be computed based on the reference timing.
In a case when a CRI pattern is not required to be sampled (that is, when sampling from text data), a value of BCstart can be determined without adding the delay circuit 1501, so as to meet a timing when a text data is transmitted from a reference timing.
Although an example shown in
A second embodiment of a teletext broadcasting data sampling circuit of the present invention is described hereinafter with reference to FIGS. 16 to 18.
Besides the configuration of
An operation is described hereinafter in detail. The maximum and minimum value difference detection circuit 1607 holds a maximum and minimum values detected just before, and evaluates whether a maximum or a minimum value to be detected next is valid or not. For example,
On the other hand, if the maximum value detection circuit 1001 detects an original maximum value point MAXb, a difference Lb between a level of the minimum value point MINa and a level of the maximum value point MAXb that are computed by the maximum and minimum value difference detection circuit 1607 is recognized as more or less the same in relation to the reference value A, and then a determination signal is outputted to the maximum value counter circuit 1003 so as to recognize and count the maximum value point MAXb as a correct maximum value.
The maximum value counter circuit 1003 recognizes an output pulse from the maximum value detection circuit 1001 originated from the maximum value point MAXa to be invalid with the determination signal from the maximum and minimum value difference detection circuit 1607, while recognizing an output pulse from the maximum value detection circuit 1001 originated from the maximum value point MAXb to be valid and counting this output pulse. A minimum value is counted in the similar manner.
An operation of the error detection circuit 1608 is described hereinafter in detail. Combinations of maximum value counter values and a minimum value counter values are the combinations shown in an abovementioned
If the error detection circuit 1608 does not detect an error, a selector circuit 1610 selects a reference timing from a timing generation circuit 1005 and outputs the reference timing to a pulse generator 1006, performing in the same manner as with the first embodiment explained with reference to
If the error detection circuit 1608 detects an error, in a meantime the selector circuit 1610 selects an optimum reference timing of a 1H (horizontal cycle) before a current cycle held in the data holding circuit 1609 and outputs the optimum reference timing to the pulse generator 1006, the data holding circuit 1609 prevents from an incorrect operation by not retrieving a sampling clock reference timing from the timing generation circuit 1005.
When a level fluctuation occurs in a timing other than an original maximum or minimum value due to an external noise, an incorrect recognition of the timing can be prevented. Moreover even when a combination of a maximum value counter and a minimum value counter does not match any of the combinations in
To accurately evaluate without an influence from a signal level fluctuation, it is preferable to prevent from an incorrect detection by measuring a difference of levels between continuous peaks as described above, however levels between non-continuing peaks with some separation between them may also be used. It is preferable to use a reference timing in 1H before a current cycle, values further before can be retained. A person skilled in the art will be able to easily change, add, or modify various elements of the above-described embodiments, without departing from the scope of the present invention.
Number | Date | Country | Kind |
---|---|---|---|
2005-130831 | Apr 2005 | JP | national |