Certain embodiments of the invention relate to signal processing. More specifically, certain embodiments of the invention relate to a method and system for detection of video connections.
Video source devices support a variety of analog video interfaces. In this regard, component video (3 channels such as RGB or YPbPr) is an exemplary analog interfaces which may support standard-definition (SD) and high-definition (HD) formats. Conversely, composite video and S-Video interfaces may only support SD formats.
Conventional video sources may have no way to determine which analog video interfaces are actually connected at any given time and conventional video sources typically address this shortcoming in one of two ways. The first way conventional video sources deal with the inability to detect connected interfaces, is to require a user to manually select an interface. However, manual selection of an interface often leads to a less than desirable user experience. For example, user inexperience or unfamiliarity with the video source may result in the user being unable to correctly or quickly select an appropriate interface. The second way conventional video systems deal with the inability to detect connected interfaces, is to drive all analog interfaces simultaneously. However, driving all analog interfaces simultaneously may also negatively impact the video system. For example, the need to re-format SD content for an HD interface and the different latencies of the different signal paths may lead to undesirable video artifacts. Additionally, simultaneously driving all analog interfaces may increase cost and power consumption of the video source due to the presence and operation of increased and/or redundant circuitry. In this regard, battery life of portable systems may be significantly shortened when multiple analog video interfaces are driven.
Further limitations and disadvantages of conventional and traditional approaches will become apparent to one of skill in the art, through comparison of such systems with some aspects of the present invention as set forth in the remainder of the present application with reference to the drawings.
A system and/or method is provided for detection of video connections, substantially as shown in and/or described in connection with at least one of the figures, as set forth more completely in the claims.
These and other advantages, aspects and novel features of the present invention, as well as details of an illustrated embodiment thereof, will be more fully understood from the following description and drawings.
Certain embodiments of the invention may be found in a method and system for detection of video connections. In this regard, a pulse of current may be applied to a video interface and a voltage differential resulting from the applied current may be measured to determine whether the video interface is connected to a video device, such as a video receiver. In instances the video interface is connected vs. unconnected, the output impedance at the interface may be lower and may result in the measured differential being lower. The voltage differential may be measured by sampling a voltage on the interface during the current pulse and subtracting the sampled voltage from a voltage on the interface subsequent to the current pulse. In instances that the voltage may be less than a threshold, the interface may be determined to be connected. In instances that the voltage differential may be greater than a threshold, the video interface may be determined to be unconnected. The current pulse may be a Hsync pulse of a video signal which may occur during a vertical blanking time of the video signal. In this regard, a voltage differential resulting from each of a plurality of Hsync pulses occurring over one or more frames of said video signals may be measured. The current pulse may be a pulse in a pulse train. In this regard, a voltage differential resulting from each of a plurality of pulses in a pulse train occurring over a period of time may be measured. A pulse train, instead of a video signal, may be applied to a video interface in instances that the interface may be unconnected. In various embodiments of the invention, video signals to unconnected video interfaces may be disabled.
The video sources 102 may comprise suitable logic, circuitry, and/or code that may enable outputting video signals via one or more analog video interfaces. Exemplary video sources may comprise DVD players, high-definition optical disk players (such as Blu-Ray®), set-top boxes (e.g. satellite and cable boxes), and hard-drive and/or solid-state-memory based devices (e.g. digital video recorders). Exemplary analog interfaces may comprise composite video 104c, S-Video 104b, and component video 104a (collectively referred to herein as interfaces 104).
The cables 110 may comprise physical media for conveying video signals. Accordingly, each of the cables 110 may be terminated by connectors specified in the applicable video interface standards.
The video receiver 112 may comprise suitable logic, circuitry, and/or code for receiving and processing analog video signals. For example, the receiver may be (or be within) a television and may be enabled to process the received video signals for display on a monitor. In another example, the receiver 112 may be (or be within) a video recording device such as a DVD burner or a digital video recorder (DVR), and may be enabled to process the received video signals and store the video content. In another example, the video receiver 112 may be a signal distribution element such as a splitter or signal booster. The receiver 112 may receive video signals via one or more of the composite video 106c, S-Video 106b, and component video 106a interfaces.
In operation, the source 102 may connect to the receiver 112 via one or more of the cables 110. In this regard, the cable 110a may convey composite video signals from the interface 104a to the interface 106a, the cable 110b may convey S-video signals from the interface 104b to the interface 106b, and the cable 110c may convey component video signals from the interface 104c to the interface 106c. Aspects of the invention may enable the source 102 to detect which of the interfaces 104 may be coupled to a corresponding interface 106. Accordingly, the source 102 may output video signals on only the portion of the interfaces 104 that may be coupled to a corresponding interface 106. Furthermore, of the coupled interfaces 104, the source may be enabled to select a preferred interface.
In an exemplary embodiment of the invention, it may be detected that only the interface 104b may be connected. Consequently, the source 102 may only output an S-video signal, while the interfaces 104a and 104c remain idle.
In another exemplary embodiment of the invention, it may be detected that the interfaces 104a and 104c are both connected. Consequently, the source 102 may be enabled to intelligently determine which of the interfaces 104a and 104c to utilize. For example, the source 102 may output HD content via the interface 104a while the interfaces 104b and 104c remain idle and may output SD content via the interface 104c while the interfaces 104a and 104b remain idle.
The portion of the SD video signal 202a shown in
The portion of the HD video signal 202b shown in
In operation, aspects of the invention may enable determining whether a video interface is being driven by a signal such as the signals 202 based on a value of ΔV. In this regard, VHs may be determined via a sample and hold of a voltage level on a video interface at time A. Subsequently, ΔV may be determined by subtracting VHs from a voltage level on the interface at time B. Because the width of the Hsync pulse may depend on the video format, the amount of time, Δt, between points A and B may be adjusted based on the video format. For example, the duration of the Hsync signal may range from approximately 500 ns for HD signals to approximately 2 us for SD signals.
In operation, the signal 202 may be incident on the interface 104. The current of the signal 202 may be established such that ΔV equals a value, Vstd, as determined by the applicable standards, when the signal 202 is being driven into a receiver. Thus, in FIG, 3A, when the interface 104 is connected, the current of the signal 202 across ½ ZL may result in ΔV equal to Vstd (within a tolerance). However, in
The capacitor 418 may enable AC coupling signals at the interface 104 to the connection detect block 402. In this manner, AC coupling via the capacitor 418 may prevent the connection detect block 402 from significantly affecting signals at the interface 104. However, in various embodiments of the invention, DC levels on the interface 104 may be known enabling omission of the capacitor 418 and DC coupling the connection detect block 402 to the interface 104.
The level restore block 416 may comprise suitable logic, circuitry, and/or code that may enable setting a DC level for the AC coupled signal 419. Accordingly, the output signal 417 of the level restore block 416 may have the same (ideally) AC characteristics of the signal 419 but with a known DC level that enables reliably processing the signal 417.
The sample-and-hold 414 may comprise suitable logic, circuitry, and/or code that may enable outputting a signal 415. In this regard, the signal 415 may sample or track the signal 417 while ‘sample’ is asserted and may remain fixed while ‘sample’ is de-asserted.
The subtractor 412 may comprise suitable logic, circuitry, and/or code that may enable subtracting the voltage of the signal 415 from the voltage of the signal 417 to generate ΔV. In an exemplary embodiment of the invention, the subtractor 412 may comprise a differential amplifier.
The comparator 408 may comprise suitable logic, circuitry, and/or code that may enable comparing ΔV with the reference voltage 411. In this regard, the signal “comp_out” may be asserted when ΔV is greater than reference voltage 411 and “comp_out” may be de-asserted when ΔV is less than the reference voltage 411. Additionally, the ‘enable’ signal may be a digital signal that may control operations of the comparator 408. In this regard, when ‘enable’ is asserted, a comparison may be performed and when “enable” is de-asserted the output of the comparator 408, coupled to “comp_out”, may be placed into a high impedance state. In an exemplary embodiment of the invention, ‘ref[3:0]’ may establish a reference voltage of approximately 450 mV.
The DAC 410 may comprise suitable logic, circuitry, and/or code that may enable converting digital signals to analog signals. In this regard, the DAC 410 may be enabled to convert the 4-bit word “ref[3:0]” into an analog reference voltage 411.
The digital portion 404 may comprise suitable logic, circuitry, and/or code that may enable controlling and/or configuring the analog portion 406. In this regard, the digital portion 404 may exchange information with the analog portion 406 via the signal bus 405 comprising signals ‘ref[3:0]’, ‘enable’, ‘comp_out’, and ‘sample’.
The digital portion 404 may also comprise suitable logic, circuitry, and/or code for processing information received from the analog portion 106 to generate one or more signals indicating a connection status of one or more interfaces.
The digital portion 404 may also comprise suitable logic, circuitry, and/or code that may enable exchanging information with a remainder of the video source 102. In this regard, the digital portion 104 may receive control and/or configuration information from, for example, a video processor. Additionally, the digital portion 104 may output, via the “status” signal in the data bus 403, an indication of whether or not interface 104 may be coupled to a video receiver. For example, the “status” signal may comprise a plurality of bits corresponding to the plurality of interfaces 104 in the video source 102. Accordingly, a bit in the “status” signal being asserted or de-asserted may indicate that a corresponding interface may be connected or disconnected, respectively.
In operation, the digital portion 404 may utilize Hsync and Vsync signals 401 to determine the format and/or timing of a video signal being transmitted to the interface 104. Based on the determined video format and/or timing, the digital portion 404 may assert “sample” and the voltage on the interface 104 at point A (see
The digital portion 404 may generate the “status” signal based on “comp_out”. In this regard, the digital portion 404 may, for example, store the value of “comp_out” over multiple video frames and may determine the connection status of the interface 104 based on the number of times that ‘comp_out’ may be asserted vs. the number of times that ‘comp_out’ may be de-asserted. Consequently, in instances that the interface 104 is determined to be connected, video may continue to be provided to the interface 104. Conversely, in instances that the interface 104 is determined to be unconnected video output to the interface 104 may be disabled. Additionally, in instances that the terminal 104 has been determined to be unconnected, aspects of the invention may enable periodically outputting synthetic video signals or simple pulses to the interface 104 to determine if the interface 104 has been connected since the initial detection.
The interfaces 104a, 104b, and 104c may each be similar to, or the same as, the interfaces 104a, 104b, and 104c described with respect to
The capacitors 418a, 418b, and 418 may each be similar to, or the same as, the capacitor 418 described with respect to
The digital portion 404 may be similar to, or the same as, the digital portion 404 described with respect to
The analog portions 406a, 406b, and 406c may each be similar to, or the same as, the analog portion 406 described with respect to
The video processing subsystem 502 may comprise suitable logic, circuitry, and/or code that may enable generating video signals for transmission to a receiver. For example, the subsystem 502 may read video information from a disk and decompress, decrypt, decode, deinterlace, or otherwise process the video information to generate a digital video signal 503. Additionally, the video processing subsystem 502 may output a signal 501 for controlling the multiplexer 508. In some embodiments of the invention the video processing subsystem 502 may output Vsync and Hsync signals 401 separate from the signal 503 and in other embodiments of the invention the digital portion 104 may extract the Hsync and Vsync signals from the video signal 503.
The sync/pulse generator 504 may comprise suitable logic, circuitry, and/or code that may enable generating signals which may be utilized to detect a connection status of one or more of the interfaces 104. In some embodiments of the invention, the sync/pulse generator 504 may generate a synthetic video signal comprising Hsync and Vsync signals in accordance with applicable video standards. In such instances, a synthetic video signal 505 and corresponding Hsync and Vsync signals 507 may be output by the sync/pulse generator 504. In other embodiments of the invention, the sync/pulse generator 504 may generate a pulse train which may not be constrained by the amplitude and/or timing specifications of an Hsync signal. In such instances, a pulse train 505 and a corresponding timing signal 507 may be output by the sync/pulse generator 504. In various embodiments of the invention, the reference voltage 411 (see
The multiplexer 508 may comprise suitable logic, circuitry, and/or code that may enable routing the video signal 503 or the sync/pulse generator output 505 to each channel of the DAC 510. In this regard, whether signal 503 or 505 is routed to each channel of the DAC 510 may be determined based on the control signal 501.
The DAC 510 may comprise suitable logic, circuitry, and/or code that may enable converting digital signals to an analog representation. The DAC 510 may comprise six channels and thus may be enabled to convert each of six digital inputs to a corresponding analog output. In this manner, analog video signals, in accordance with applicable standards, may be output to the interfaces 104.
In operation, the video processing subsystem 502 may output the video signal 503 which may be routed via the multiplexer 508, converted to analog via the DAC 510, and conveyed to a selected (active) interface 104a (104a is chosen for illustration purposes and the active interface may be any of 104a, 104b, and 104c). Accordingly, the video signal 503 may formatted and/or encoded to in accordance with applicable standards of the active interface 104a. Additionally, the sync/pulse generator 504 may output a signal 505 which may be routed via the multiplexer 508, converted to analog via the DAC 510, and conveyed to unselected (inactive) interfaces 104b and 104c. Accordingly, the multiplexer 508 may be configured to route the signal 503 to the active interface 104a and route the signal 505 to the inactive interfaces 104b and 104c.
The active interface 104a may be determined based, at least in part, on a connection status of each of the interfaces 104, as determined by the connection detect block 403. In this regard, determination of the connection status of the interfaces 104 may be as described with respect to
In various embodiments of the invention, a change in the connection status of one or more of the interfaces 104 may result in a different interface becoming the active interface. For example, interface 104a may be the preferred interface but may initially be determined to by unconnected. However, 104a may subsequently be coupled to a receiver and upon detection of the new connection, the interface 104a may become active interface and the interface 104b may become inactive. For example, a change in the ‘status’ signal 403 may generate an “interrupt” in the video processor subsystem 404 causing a reevaluation of which channel should be active.
Returning to step 612, in instances that i is equal to imax, the video source may have checked a connection status of all of its analog video interfaces and the exemplary steps may advance to step 614. In step 614, the video source may select a preferred video interface from the interfaces which were determined to be connected. Accordingly, video may be output via the selected video interface.
Thus, exemplary aspects of a method and system for detection of video connections are provided. In this regard, a pulse of current may be applied to a video interface 104 and a voltage differential ΔV resulting from the applied current pulse may be measured to determine whether the video interface 104 is connected to a video device, such as a video receiver 112. The voltage differential ΔV may be measured by sampling a voltage on the interface during the current pulse (point A of
Another embodiment of the invention may provide a machine-readable storage, having stored thereon, a computer program having at least one code section executable by a machine, thereby causing the machine to perform the steps as described herein for detection of video connections.
Accordingly, the present invention may be realized in hardware, software, or a combination of hardware and software. The present invention may be realized in a centralized fashion in at least one computer system, or in a distributed fashion where different elements are spread across several interconnected computer systems. Any kind of computer system or other apparatus adapted for carrying out the methods described herein is suited. A typical combination of hardware and software may be a general-purpose computer system with a computer program that, when being loaded and executed, controls the computer system such that it carries out the methods described herein.
The present invention may also be embedded in a computer program product, which comprises all the features enabling the implementation of the methods described herein, and which when loaded in a computer system is able to carry out these methods. Computer program in the present context means any expression, in any language, code or notation, of a set of instructions intended to cause a system having an information processing capability to perform a particular function either directly or after either or both of the following: a) conversion to another language, code or notation; b) reproduction in a different material form.
While the present invention has been described with reference to certain embodiments, it will be understood by those skilled in the art that various changes may be made and equivalents may be substituted without departing from the scope of the present invention. In addition, many modifications may be made to adapt a particular situation or material to the teachings of the present invention without departing from its scope. Therefore, it is intended that the present invention not be limited to the particular embodiment disclosed, but that the present invention will include all embodiments falling within the scope of the appended claims.
This patent application makes reference to, claims priority to and claims benefit from U.S. Provisional Patent Application Ser. No. 61019676 filed on Jan. 8, 2008. The above stated application is hereby incorporated herein by reference in its entirety.
Number | Date | Country | |
---|---|---|---|
61019676 | Jan 2008 | US |