The technology described in this patent document relates generally to serial data interfaces used in video systems. More specifically, systems and methods are provided for inserting 2-bit codes into the least significant bit positions of high-definition serialized data streams.
The Serial Digital Interface (SDI), used in broadcast and professional video systems, uses a scrambling polynomial and NRZI encoding. When the scrambler is seeded appropriately, there is an input pattern which will clear all the registers. If the remaining input data is all zeros, then only zeros will be emitted from the scrambler. Although legal video signals are restricted from containing all-zero data words, they do show up in the Timing Reference Signals (TRS) code words used to identify the beginning and end of an active line of video.
High-definition video signals use separate TRS code words for the luma and chroma channels, as mandated in SMPTE 292, Clause 6.1. Thus, for each line of video, there is a pair of EAV/SAV code words for the luma channel, and another for the chroma channel. When these streams are multiplexed prior to serialization, the TRS code words are also multiplexed, resulting in 40 consecutive zeros after serialization. If the scrambler is seeded appropriately, this results in 59 consecutive zeros out of the scrambler, or 59 consecutive ones or zeros out of the NRZI encoder.
SMPTE 425M also defines a virtual interface for mapping two SMPTE 292 data streams into a single 10-bit multiplexed data stream (Level B mapping). This results in four complete sets of TRS, Line Number and CRC code word. The serialized stream feeding the scrambler contains 80 consecutive zeros during the multiplexed TRS code words. This implies that it is possible for the NRZI encoder to emit up to 99 consecutive ones or zeros.
Requirements within the video industry to reduce the number of physical links between facilities, equipment racks, and outside broadcast vehicles can be addressed by combining multiple high-definition video signals over a higher bandwidth serial interface. This is also a requirement within large pieces of equipment, such as serial video routers, to reduce the size and complexity of high-speed interconnect. Combining multiple high-definition signals by multiplexing the video data streams results in much longer runs of zeros due to the concatenated TRS code words.
These long runs of zeros or ones can cause non-optimum performance in receive devices which employ cable equalization and/or DC restoration, resulting in data errors or failure to recover the original data. DC offsets are created by the long run of ones or zeros, requiring the signal to be “DC-restored” at the receive-end. The DC restoration process may add unwanted jitter, reducing timing margin.
In accordance with the teachings described herein, systems and methods are provided for inserting 2-bit codes into the least significant bit (LSB) positions of the TRS code words, to prevent long runs of zeros from entering the scrambling polynomial. By preventing the long runs of ones and zeros in the scrambled data stream, the receive-end DC-restoration circuits can be simplified, reducing complexity and increasing system performance.
A method of reducing long runs of static data in serial digital interfaces may include the following steps: receiving a data stream including a plurality of ten-bit data words in a high-definition video signal; modifying each of two least significant bits of a plurality of ten-bit data words in the preamble of the data stream to reduce the number of consecutive ones or zeros in the data stream; and after modifying the two least significant bits, applying a scrambling polynomial to the data stream to generate a scrambled high-definition serialized data stream.
One example system may include a video transmission system comprising: a serial digital video transmitter configured to receive a parallel video stream, the parallel video stream including a preamble made up of parallel code words, the serial digital video transmitter being further configured to modify the two least significant bits of a plurality of the parallel code words that make up the preamble of the parallel video stream, the serial digital video transmitter being further configured to serialize the parallel video stream to generate a serial video signal that includes a serialized preamble, wherein the modification of the two least significant bits of a plurality of the parallel code words prevents the serialized preamble from including more than a predetermined number of consecutive ones or zeros.
Referring now to
When the data streams shown in
When the serial data streams 302-303 and 402-403 are scrambled using the polynomials in Equations 1 and 2, set forth below, it is possible that a run of 179 zeros or ones are produced from the serialized data stream 302-303 in
NRZ generator polynomial: G1(X)=X̂9+X̂4+1 Eqn. 1
NRZI generator polynomial: G2(X)=X+1 Eqn. 2
Referring now to
As shown in
Sync-bit insertion is only applied to the 3FFh and 000h data words, which uniquely occur in the TRS and ADF preambles. The modified preamble values, 3FDh, 3FEh, 001h and 002h, are still illegal video code words, therefore, they cannot appear within the active video data stream. These data values are still unique enough such that data stream synchronization using the TRS is possible. Alternatively, TRS and ADF detect blocks need only look at the upper 8 bits of the 10-bit data words, which remain unchanged, in order to synchronize to the data streams.
If longer runs of ones and zeros can be tolerated by the data transmission system, then the sync-bit insertion may be performed less periodically. The predetermined numbers of consecutive ones and zeros that are produced following sync-bit insertion is determined by the frequency of sync-bit insertion of the code words. For example, every other input data word in the data stream 801 and 802 is modified, as shown in
This written description uses examples to disclose the invention, including the best mode, and also to enable a person skilled in the art to make and use the invention. The patentable scope of the invention may include other examples that occur to those skilled in the art.
This application claims priority from U.S. Provisional Patent Application No. 60/980,618, filed on Oct. 17, 2007, and entitled “Sync-bit Insertion for Timing Reference Signals to Prevent Long Runs of Static Data in Serial Digital Interfaces,” the entirety of which is incorporated herein by reference.
Number | Date | Country | |
---|---|---|---|
60980618 | Oct 2007 | US |