This invention relates to the field of video transmission. More specifically the invention relates to transmission of video over long distances using twisted pair cables.
Cables are one method commonly used to convey electronic video signals from a source device (e.g., a video camera or a DVD player) to a destination device (e.g., a video display screen). Two types of cable commonly used for video transmission are coaxial cable and twisted pair cable. It is desirable for the video signal at the destination device to correspond accurately to the original video signal transmitted by the source device. “Insertion loss” is a term used to describe signal degradation that occurs when a video or other signal is transmitted over a transmission medium such as a cable. Insertion loss is typically caused by the physical characteristics of the transmission cable.
Typically, insertion loss is proportional to the cable length: longer length transmission cables will exhibit greater loss than shorter length cables. Coaxial cables typically exhibit less insertion loss than twisted pair cables. However, coaxial cables are more expensive and difficult to install than twisted pair cables. Twisted pair cables typically are manufactured as bundles of several twisted pairs. For example, a common form of twisted pair cable known as “Category 5” or “CAT5” cable comprises four separate twisted pairs encased in a single cable. CAT5 cable is typically terminated with an eight-pin RJ45 connector.
Insertion loss is typically caused by the physical characteristics of the transmission cable. Insertion loss includes resistive losses (also sometimes referred to as DC losses) as well as inductive, capacitive and skin effect losses (also sometimes referred to as AC losses). The AC insertion loss exhibited by a cable is frequency dependent. For example, the insertion loss for a 1500 foot length of CAT5 cable as a function of frequency is shown in
Video signals come in a variety of formats. Examples are Composite Video, S-Video, and YUV. Each format uses a color model for representing color information and a signal specification defining characteristics of the signals used to transmit the video information. For example, the “RGB” color model divides a color into red (R), green (G) and blue (B) components and transmits a separate signal for each color component.
In addition to color information, the video signal may also comprise horizontal and vertical sync information needed at the destination device to properly display the transmitted video signal. The horizontal and vertical sync signals may be carried over separate conductors from the video component signals. Alternatively, they may be added to one or more of the video signal components and transmitted along with those components.
For RGB video, several different formats exist for conveying horizontal and vertical sync information. These include RGBHV, RGBS, RGsB, and RsGsBs. In RGBHV, the horizontal and vertical sync signals are each carried on separate conductors. Thus, five conductors are used: one for each of the red component, the green component, the blue component, the horizontal sync signal, and the vertical sync signal. In RGBS, the horizontal and vertical sync signals are combined into a composite sync signal and sent on a single conductor. In RGsB, the composite sync signal is combined with the green component. This combination is possible because the sync signals comprise pulses that are sent during a blanking interval, when no video signals are present. In RsGsBs, the composite sync signal is combined with each of the red, green and blue components. Prior art devices exist for converting from one format of RGB to another. To reduce cabling requirements, for transmission of RGB video over anything other than short distances, a format in which the sync signals are combined with one or more of the color component signals are commonly used.
Thus, an RGB signal typically requires at least three separate cables for transmission of each of the red, green, and blue components and the combined horizontal and vertical sync information. If coaxial cable is used, three separate cables are required. If twisted pair conductors are used, three twisted pairs are also required, but a single CAT5 cable (which comprises four twisted pairs) can be used. Three of the four pairs may be used for the red, green, and blue components, respectively. The fourth pair is available for transmission of other signals (e.g., digital data, composite sync, and/or power).
In a CAT5 or similar cable, each end of each conductor is typically connected to one of eight pins of a standard male RJ-45 connector. In
For RGBS (i.e. RGB with one composite sync signal), in the example of
In addition to showing example pin assignments for RGB signals,
Whenever multiple cables are used to transmit different components of a video signal, they must be properly combined at the destination to reproduce the transmitted video signal. For example, the components must be synchronized at the receiving station to prevent distortion in the video reproduction. Differences in arrival time of the various signal components may become an issue if the transmission distance is long and there are differences in length among the multiple conductors. Such differences in arrival time are referred to as “skew.” CAT5 or similar twisted pair cables are particularly prone to skew the twist rate of each cable pair is different (to reduce cross-talk between the adjacent cables). Over long distances, this difference in twist rate can result in significant differences in conductor path length of the different pairs.
Although twisted pair cables are convenient and economical for transmission of video signals, signal degradation (skew between video signal components and insertion loss) limits the distance over which satisfactory quality video signals can be transmitted via twisted pair cables. Video transmitter/receiver systems exist that amplify video signals transmitted over twisted-pair cables. In such systems, a transmitter amplifies the video source signal prior to being transmitted over twisted pair cable, and a receiver amplifies the received signal. These transmitter/receiver systems allow longer transmission distances over twisted-pair cable than are possible for unamplified signals. However, to prevent signal distortion, the amount of gain (amplification) supplied by the transmitter and receiver must be properly matched to the amount of insertion loss that occurs in the length of the twisted-pair cable over which the video signal is transmitted. Ideally the system gain should be flat across the frequency spectrum. If the resulting video signal is not flat across the frequency spectrum a smearing of the video image across the display will occur.
However, amplification of the video signal to compensate for insertion loss may result in unacceptably magnifying the noise accumulated over the transmission lines. This is because the signal to noise ratio decreases as the cable length increases. Thus, although a flat frequency response is ideal over a desired frequency spectrum, signal amplification may need to be tempered by noise considerations.
It is not uncommon to find video signals with a DC offset, i.e., steady state signal component that is floating or biased with respect to ground. There are several potential culprits for existence of DC bias in a video signal, e.g., the DC bias may be directly from the video source, AC coupling through a capacitor from the source, or due to processing circuit elements in the receiving device. In order for the receiver to properly detect the synchronization signals and restore the video, the incoming video signal is DC restored.
Therefore, there exists a need for a video transmission system that automatically compensates for signal losses, skew, DC offset, and other unacceptable characteristics of transmission of video signals over appreciable distances via conductors, including twisted pair cables.
The invention comprises a transmitter and a receiver tandem coupled together over twisted pair cables for communication of high resolution video signals to greater distances than currently possible with prior art systems. The present invention extends the transmission capabilities of twisted pair video systems by several multiple times the distance of prior art video over twisted pair systems.
One embodiment of the present invention is configured to automatically detect the presence of a signal between the transmitter and the receiver and adjust the video signals accordingly to correct for any losses in the video quality. For instance, when a twisted pair cable is connected between the transmitter and the receiver of the present invention, the receiver detects the presence of video signal in the line and automatically adjusts for DC loss, AC loss, Skew, and offset.
Signal adjustment is done primarily with the synchronization signal. When the receiver is first coupled to the line, it sets the loop gains to maximum in order to facilitate recovery of the synchronization signal. After the synchronization signal is established, the receiver adjusts the DC and/or AC signal amplitude and peaking until the synchronization signal is restored to its proper level.
Once the synchronization signal is restored to the proper level the skew is measured and signals are adjusted to compensate for any skew differences between the conductors in the cable and the receiver.
One or more embodiments of the present invention may also include an appropriate amount of noise filtering for high fidelity restoration of the video signal at the receiver.
Further objects, features, and advantages of the present invention over the prior art will become apparent from the detailed description of the drawings which follows, when considered with the attached figures.
The invention comprises a method and apparatus for transmission of video over long distances using twisted pair conductors. In the following description, numerous specific details are set forth in order to provide a more thorough description of the present invention. It will be apparent, however, to one skilled in the art, that the present invention may be practiced without these specific details. In other instances, well-known features have not been described in detail so as not to obscure the invention.
In general, the invention comprises a transmitter and a receiver tandem coupled together over a twisted pair cable for communication of video signals, e.g. composite video, S-Video, Component video, computer-video, and other high resolution video, over long distances. Embodiments of the present invention extend the transmission capabilities of twisted pair video systems over long distances of twisted pair cable.
Embodiments of the present invention are preferably configured for Plug and Play operation. Thus, when a twisted pair cable is connected between the transmitter and the receiver, with a video signal present, the system detects the presence of the video signals and automatically adjusts for DC loss, AC loss, Skew, and DC offset.
In one or more embodiments, the transmitter is configured to transmit video signals over multiple conductor pairs to a receiver. Each conductor pair carries a component of the video signal. The transmitter obtains input video signals from a video source device (e.g. a video camera or a DVD player). In one or more embodiments, the transmitter modifies the input video signal by removing any DC offset present from the video source. The transmitter may also have a local buffered video output for local monitoring.
Subsequently, the transmitter adds a reference signal having a predetermined form to each component of the input video signal, preferably during the blanking period. The transmitter transmits the modified input video signal over the multiple conductor pairs to the receiver. The receiver processes the modified input video signal and provides a reprocessed video signal to a destination device (e.g. a video recorder or video display).
Processing of each component of the modified video signal at the receiver is done based on the reference signals. In one embodiment, when the receiver is coupled to the transmitter via the conductor pairs, the receiver recognizes that a signal is present at its input terminals and begins processing of the input signals. The receiver attempts to detect the reference signal in each signal component. In one or more embodiments, the receiver comprises a closed loop signal amplifier for each signal component. The receiver initially sets the loop gains of the amplifiers to maximum for purposes of detecting the reference signal. In one or more embodiments, once the reference signal is detected in a particular signal component, the receiver adjusts the DC and/or AC signal amplitude and peaking for that signal component until the reference signal is restored to its original form.
Once the reference signal for each signal component has been restored, skew between the different video signal components is measured. Delay is added to the earliest arriving signal component(s) such that they arrive at the same time as the slowest arriving signal component.
An embodiment of a video transmission system comprising the present invention is illustrated in
In one or more embodiments, cable 106 comprises a cable bundle of multiple twisted pair conductors. For example, cable 106 may comprise a CAT5 or similar cable comprising four pairs of twisted conductors and terminated with standard male RJ-45 connectors that mate with matching female RJ-45 connectors on the transmitter and receiver. The pairs of twisted conductors may, for example, be allocated as shown in
Example embodiments of the present invention are described using RGBHV as an example video input signal format. However, it will be clear to those of skill in the art that the invention is not limited to RGBHV and that other video formats may be used in which the video signal is transmitted over more than one conductor pair.
In embodiments configured for S-Video; Component video; Composite video; or some forms of RGB video with a combined synchronization signal, the synchronization signals may be detected and extracted from the video information and then re-combined, after conditioning, with the video to provide the appropriate reference signals for compensation and skew measurements. In such embodiments, the synchronization signals are stripped from the incoming video signals, conditioned, and then recombined with the appropriate video data, in the transmitter. Thus configured, the input signal at the receiver provides the necessary information for the receiver to detect the insertion loss, compensate for skew, and also re-generate the appropriate synchronization signals for these video formats.
In the RGBHV embodiment of
Input amplifiers 410 receive the input video signal from video input terminals 401, and uni-polar pulse converters 450 receive the sync input signals from sync input terminals 431. In one or more embodiments, separate amplifiers are utilized for each video component signal. For example, in an embodiment for an RGBHV input signal, three input amplifiers 410 for the video components (one each for the R, G, and B components) and two uni-polar pulse converters 450 for the sync signals (one each for the H and V sync signals) are used.
Input amplifiers 410 are used in conjunction with horizontal sync BPC generator 430 and offset correction circuits 440 to detect and compensate for any DC offset in the source video signal. In the embodiment of
The vertical and horizontal synchronization signals 431H and 431V are coupled to uni-polar pulse converters 450. Uni-polar pulse converters 450 assure that output sync signals from transmitter 104 are always the same polarity regardless of the polarity of the input. An embodiment of a uni-polar pulse converter 450 is illustrated in
In the embodiment of
In one or more embodiments, the horizontal sync signal HSYNCP is used as both the horizontal sync signal and as the reference pulse signal. HSYNCP is therefore added to each of the video signal component signals. In addition, in one or more embodiments, the vertical sync signal VSYNCP is added to one or more of the video components to provide vertical sync information to the receiver.
As illustrated in the embodiment of
Differential output amplifiers 460 receive the reference, sync (if applicable) and video signals and provide corresponding amplified differential driver signals to differential output terminals 402. In one or more embodiments, differential output terminals 402 comprise a female RJ-45 connector using pin assignments such as those shown in
Receiver 108 receives the differential video signals from transmitter 104 via twisted pair cable 106. Receiver 108 processes the differential video signals to compensate for skew and signal degradation and then outputs the compensated video signals to a destination device such as projector 110.
In the embodiment of
The differential video input signals 601 (e.g. 601R, 601G and 601B) are coupled to the respective variable gain amplifiers 610 and discrete gain amplifiers 620. Each variable gain amplifier 610 works together with the corresponding discrete gain amplifier 620 to compensate a respective one of the differential input video signals for insertion losses resulting from communication of the signal from transmitter 104 to receiver 108 over twisted pair cable 106. In one or more embodiments, each variable gain amplifier 610 is capable of providing a controllable, variable amount of gain over a range from zero (0) to a maximum value (K), and each discrete gain amplifier 620 provides amplification in controllable, discrete multiples of K (e.g. 0K, 1K, 2K, etc). Together, variable gain amplifiers 610 and discrete gain amplifiers 620 provide controllable amounts of variable gain over an amplification range equal to the sum of the maximum gain of variable gain amplifiers 610 and the maximum gain of discrete gain amplifiers 620. In one or more embodiments, K represents the amount of gain typically required to compensate for signal losses over a known length of cable (e.g. 300 feet).
In one or more embodiments, the total amount of gain provided by variable gain amplifiers 610 and discrete gain amplifiers 620 may be selected based on the length of cable 106, or may be automatically controlled, as described in more detail in co-pending U.S. patent application Ser. No. 11/309,122, entitled “Method And Apparatus For Automatic Compensation Of Video Signal Losses From Transmission Over Conductors”, specification of which is herein incorporated by reference.
In the embodiment of
In the embodiment of
The amount of gain supplied by VGA 840 is controlled by Fine Gain Control Signal 805 supplied, for example, by a microcontroller. Compensator circuit 842 is used to set the desired frequency response of VGA 840. The fine gain control of VGA 840 compensates for both DC and AC signal losses in cable lengths of 0 feet to N feet (e.g. 300 feet).
If the maximum gain “K” provided by variable gain amplifier 610 corresponds to the insertion loss exhibited by 300 feet of CAT5 cable, then variable gain amplifier 610 can provide variable signal compensation for zero (0) to 300 feet of CAT5 cable. In the illustration of
Discrete gain amplifier 620 provides additional compensation for longer line lengths in discrete amounts of “K”. For example, for a cable length of 450 feet, 1.5K of total compensation is required. In this case, discrete gain amplifier 620 provides 1K (300 feet) of compensation, while variable gain amplifier 610 provides the remaining 0.5K (150 feet) of compensation.
In the embodiment of
The amount of gain required to compensate for insertion losses resulting from transmission of video signals over long cable lengths will tend to increase the noise in the video signal. For instance, as illustrated in
In the embodiment of
In the embodiment of
The connection of either of inputs 831, 832, 833, 834 or 835 to output 802 of multiplexer 820 is controlled by coarse gain selection signal 807. In one or more embodiments, coarse gain selection signal 807 is generated by a micro-controller, which determines both the coarse gain selection signal 807 and the fine gain control signal 805 based on the actual loss in the reference signal as detected in the video signal received from the transmitter.
Skew compensation is performed through Skew Adjustment circuit 630. An embodiment of skew adjustment circuit 630 is illustrated in
In one or more embodiments, each reference signal detector 920 comprises a comparator which compares the respective video signal to a negative reference voltage threshold, HREF, generating a pulse when the reference signal is detected in the video signal. For example, signal detector 920R generates an output reference pulse signal R_ref corresponding to detection of the reference signal in the red component signal RY. Similarly, signal detector 920G generates an output reference pulse signal G_ref corresponding to detection of the reference signal in the green component signal GY, and signal detector 920B generates an output reference pulse signal B_ref corresponding to detection of the reference signal in the blue component signal BY.
The three reference pulse signals generated by reference signal detectors 920 feed into high speed sampler 930 which takes digital measurements of the recovered reference pulse signals. The digital outputs of high speed sampler 930 (i.e. Sync_Red, Sync_Grn, and Sync_Blu) feed to skew capture circuit 940, wherein the skew is determined and subsequently fed to micro-controller 950. Micro-controller 950 determines the appropriate delay to be applied to each component signal to compensate for the measured skew, and commands adjustable delay circuits 910 to apply the appropriate delay to the two earliest arriving color component signals such that they will line up in time with the slowest arriving component signal.
A skew adjustment circuit is described in more detail in co-pending U.S. patent application Ser. No. 11/309,120, entitled “Method And Apparatus For Automatic Compensation Of Skew In Video Transmitted Over Multiple Conductors”, the specification of which is incorporated by reference herein.
DC Offset Compensation circuit 622 of
As illustrated, the DC restore circuit comprises: summing node 1010; amplifier 1012; Circuitry Causing Offset 1014; Sample & Hold circuit 1016; and Clamp Pulse Generator circuit 1018. The DC restore circuit operates on Input Signal 1001 to generate the clamped video signal, i.e., Offset Corrected Signal 1002. The offset signal (i.e. output of Sample & Hold circuit 1016) is generated when the clamp pulse is received from Clamp Pulse generator 1018.
Generally, clamping of the video signal with respect to ground involves detecting the offset voltage level. This may be accomplished in one or more embodiments of the present invention by sampling the back porch to obtain a reference for the video signal. This is because the voltage at the back porch of all video signals should be zero. Thus, measuring the voltage level at the back porch produces an offset voltage which may be applied to the video signal through a feedback path, continuously, until the back porch is restored (or clamped) to a ground level.
Input Signal 1001, e.g. video signal which includes the horizontal sync signal, is used by Clamp Pulse Generator 1018 to determine the back porch period (i.e. falling edge of the horizontal sync signal). The output of clamp pulse generator 1018 (i.e. clamp pulse) controls when Sample & Hold circuit 1016 samples the output video signal 1002 to generate an offset voltage equivalent in magnitude to the back porch voltage level, but with opposite polarity. Thus, the offset voltage feeds back at node 1010 to remove the DC offset error in the video signal.
DC offset correction circuits and methods are described in co-pending U.S. patent application Ser. No. 11/309,558, entitled “Method And Apparatus For DC Restoration Using Feedback”, specification of which is herein incorporated by reference.
Referring back to
Video Output 602 may be generated by stripping the sync signals from the video signal components at Output Stage 640. The sync stripping circuit may simply comprise a switch which grounds the video output during the sync period. For example, the circuit may be such that when either the Vertical Sync or the Horizontal Sync pulse is high, the video output (i.e. 602) is switched to ground; otherwise, the video output is switched to the corresponding video signal output of Skew Adjustment circuit 630. This is illustrated in
As illustrated, RX 701 is the video source from the output of Skew Adjustment circuit 630, and RY 702 is the stripped video output. The Vertical Sync signal (i.e. VSync) is wired-ORed with the Horizontal Sync signal (i.e. HSync) to generate the Select signal. When the Select signal is true (“T”) the video output, RY 702, is coupled to ground through switch 710 to remove the sync pulse. Otherwise, i.e. when the Select signal is false (“F”), the video output RY 702 is coupled to the input signal, RX 701.
Thus, a method and apparatus for automatic compensation of video transmitted over long distances using twisted pair cables have been presented. It will be understood that the above described arrangements of apparatus and the method therefrom are merely illustrative of applications of the principles of this invention and many other embodiments and modifications may be made without departing from the spirit and scope of the invention as defined in the claims.