现在的位置: 首页 > 综合 > 正文

The best LVDS explanation — From http://en.wikipedia.org/wiki/LVDS

2012年09月29日 ⁄ 综合 ⁄ 共 13362字 ⁄ 字号 评论关闭

Low-voltage differential signaling, or LVDS, is an electrical digital signaling standard that can run at very high speeds over inexpensive twisted-pair copper cables. It specifies the electrical-level details for interoperability between inputs and outputs on integrated circuit chips. Since it is the physical layer specification only, many data communication standards and applications use it but then add a data link layer as defined in the OSI model on top of it.

LVDS只是一个物理层的规范,所以才有下面一节“Application”的内容。和DSI不同,DSI从应用层到物理层都有规范定义。所以DSI有command的定义,而且还分DSI standard和manufacture specified两种command sets。

LVDS was introduced in 1994, and has become popular in products such as LCD-TVs, automotive infotainment systems, industrial cameras and machine vision, notebook and tabletcomputers, and communications systems. The typical applications are high-speed video, graphics, video camera data transfers, and general purpose computer buses. Early on, the notebook and LCD display vendors commonly used the term LVDS instead of FPD-Link when referring to their application, and the term LVDS has mistakenly become synonymous with Flat Panel Display Link (FPD-Link) in the video-display engineering vocabulary.

常用于手机、平板电脑、笔记本电脑中的LVDS panel,其实是FPD-Link,这也是LVDS的发明者NS公司所发明。但是由于LVDS比较被人熟知,所以很多时候FPD-Link没人知道,但是大家都知道LVDS Panel。

FPD-Link,比如可以将一个18-bit的RGB信号,变成3组LVDS pair,每组负责传输7个bit,再加上一个用于同步的告诉parallel clock组,一共八根线,就可以搞定原来需要21根线的RGB数据显示。

而且抗干扰能力强,功耗低。

Basic LVDS circuit operation.png

Contents

  [hide

[edit]Differential vs. single-ended signaling

LVDS is a differential signaling system, meaning that it transmits information as the difference between the voltages on a pair of wires; the two wire voltages are compared at the receiver. In a typical implementation, the transmitter injects a constant current of 3.5 mA into the wires, with the direction of current determining the digital logic level. The current passes through a termination resistor of about 100 to 120 ohms (matched to the cable’s characteristic impedance to reduce reflections) at the receiving end, and then returns in the opposite direction via the other wire. From Ohm's law, the voltage difference across the resistor is therefore about 350 mV. The receiver senses the polarity of this voltage to determine the logic level.

非常通俗易懂的差分信号的解释。差分信号是如何传递0101的。

As long as there is tight electric- and magnetic-field coupling between the two wires, LVDS reduces the generation of electromagnetic noise. This noise reduction is due to the equal and opposite current flow in the two wires creating equal and opposite electromagnetic fields that tend to cancel each other. In addition, the tightly coupled transmission wires will reduce susceptibility to electromagnetic noise interference because the noise will equally affect each wire and appear as a common-mode noise. The LVDS receiver is unaffected by common mode noise because it senses the differential voltage, which is not affected by common mode voltage changes.

为什么差分信号抗干扰能力强。

The low common-mode voltage (the average of the voltages on the two wires) of about 1.2V allows using LVDS with a wide range of integrated circuits with power supply voltages down to 2.5V or lower. In addition, there are variations of LVDS that use a lower common mode voltage. One example is sub-LVDS (introduced by Nokia in 2004) that uses 0.9V typical common mode voltage. Another is Scalable Low Voltage Signaling for 400 mV (SLVS-400) specified in JEDEC JESD8-13 October 2001 where the power supply can be as low as 800 mV and common mode voltage is about 400 mV.

1.2V就可以驱动,获得平均350mv的电压摆幅。

The low differential voltage, about 350 mV, causes LVDS to consume very little power compared to other signaling technologies. At 2.5V supply voltage the power to drive 3.5 mA becomes 8.75 mW, compared to the 90 mW dissipated by the load resistor for an RS-422 signal.

Logic Levels:[1]

Vee VOL VOH Vcc VCMO
GND 1.0 V 1.4 V 2.5–3.3 V 1.2 V

LVDS is not the only differential signaling system in use, but is currently the only scheme that combines low power dissipation with high speed.

[edit]Applications

LVDS became popular in the mid 1990s. Before that, computer monitor resolutions were not large enough to need such fast data rates for graphics and video. However, in 1992 Apple Computer needed a method to transfer multiple streams of digital video without overloading the existing NuBus on the backplane. Apple and National Semiconductor (NSC) createdQuickRing, which was the first integrated circuit using LVDS. QuickRing was a high speed auxiliary bus for video data to bypass the NuBus in Macintosh computers. The multimedia andsupercomputer applications continued to expand because both needed to move large amounts of data over links several meters long (from a disk drive to a workstation for instance).

The first commercially successful application for LVDS was in notebook computers transmitting video data from graphics processing units to the flat panel displays using the Flat Panel Display Link by National Semiconductor. The first FPD-Link chipset reduced a 21-bit wide video interface plus the clock down to only 4 differential pairs (8 wires), which enabled it to easily fit through the hinge between the display and the notebook and take advantage of LVDS’s low-noise characteristics and fast data rate. FPD-Link became the de facto open standard for this notebook application in the late 1990’s and is still the dominant display interface today in notebook and tablet computers. This is the reason IC vendors such as Texas Instruments, Maxim, Fairchild, and Thine produce their versions of the FPD-Link chipset.

FPD Link I serializer example.png

The applications for LVDS expanded to flat panel displays for consumer TVs as screen resolutions and color depths increased. To serve this application, FPD-Link chipsets continued to increase the data-rate and the number of parallel LVDS channels to meet the internal TV requirement for transferring video data from the main video processor to the display-panel’s timing controller. FPD-Link (commonly called LVDS) became the de facto standard for this internal TV interconnect and remains the dominant interface for this application in 2012.

The next target application was transferring video streams through an external cable connection between a desktop computer and display, or a DVD player and a TV. NSC introduced higher performance follow-ons to FPD-Link called the LVDS Display Interface (LDI) and OpenLDIstandards. These standards allow a maximum pixel clock of 112 MHz, which suffices for a display resolution of 1400 × 1050 (SXGA+) at 60 Hz refresh. A dual link can boost the maximum display resolution to 2048 × 1536 (QXGA) at 60 Hz. FPD-Link works with cable lengths up to about 5m, and LDI extends this to about 10m. However, Digital Visual Interface (DVI) using TMDS signals won the standards competition and became the standard for externally connecting desktop computers to monitors, and HDMI eventually became the standard for connecting digital video sources such as DVD players to flat panel displays in consumer applications.

Another successful LVDS application is Camera Link, which is a serial communication protocol designed for computer vision applications and based on the NSC chipset called Channel Linkthat uses LVDS. Camera Link standardizes video interfaces for scientific and industrial products including cameras, cables, and frame grabbers. The Automated Imaging Association (AIA) maintains and administers the standard because it is the industry’s global machine vision trade group.

More examples of LVDS used in computer buses are HyperTransport and FireWire, both of which trace their development back to the post-Futurebus work, which also led to SCI. In addition, LVDS is the physical layer signaling in SCSI standards (Ultra-2 SCSI and later) to allow higher data rates and longer cable lengths. Serial ATAPCI ExpressRapidIO, and SpaceWire use LVDS to allow high speed data transfer.

Intel and AMD published a press release in December 2010 stating they would no longer support the LVDS LCD-panel interface in their product lines by 2013. They are promoting Embedded DisplayPort and Internal DisplayPort as their preferred solution.[2] However, the LVDS LCD-panel interface has proven to be the lowest cost method for moving streaming video from a video processing unit to a LCD-panel timing controller within a TV or notebook, and in February 2012 LCD TV and notebook manufacturers continue to introduce new products using the LVDS interface.

这些都是LVDS的应用。可以看到非常的广泛,从FPD-Link,到PCIE,SATA,DVI和HDMI中用的TMDS,都是LVDS的应用。所以LVDS算是信号传输领域中比较响亮的standard了。

[edit]Comparing serial and parallel data transmission

LVDS works in both parallel and serial data transmission. In parallel transmissions multiple data differential pairs carry several signals at once including a clock signal to synchronize the data. In serial communications, multiple single-ended signals are serialized into a single differential pair with a data rate equal to that of all the combined single-ended channels. For example, a 7-bit wide parallel bus serialized into a single pair that will operate at 7 times the data rate of one single-ended channel. The devices for converting between serial and parallel data are the serializer and deserializer, abbreviated to SerDes when the two devices are contained in one integrated circuit.

As an example, FPD-Link actually uses LVDS in a combination of serialized and parallel communications. The original FPD-Link designed for 18-bit RGB video has 3 parallel data pairs and a clock pair, so this is a parallel communication scheme. However, each of the 3 pairs transfers 7 serialized bits during each clock cycle. So the FPD-Link parallel pairs are carrying serialized data, but use a parallel clock to recover and synchronize the data.

Serial data communications can also embed the clock within the serial data stream. This eliminates the need for a parallel clock to synchronize the data. There are multiple methods for embedding a clock into a data stream. One method is inserting 2 extra bits into the data stream as a start-bit and stop-bit to guarantee bit transitions at regular intervals to mimic a clock signal. Another method is 8b/10b encoding.

这也非常的有意思。LVDS没什么串行并行的约束。因为2根线组成一个差分信号就可以串行的传输数据。但是如果你将多组差分信号并联起来,就可以并行的传输较多的数据。

所以这里说,LVDS可以混合串行和并行的传输。

所以,如果想要提高数据传输率,一个可以提高每组差分信号的速率,另外一个就是可以多并联几组差分信号。

此外,这里提到8b/10b编码,指的是每组差分信号传输的串行信号中,可以用这两种编码方式,将clock信息编码进去,比如添加start和stop bit,这样就可以省掉那组clock信号了,节省2根线。

但是这样的话,作为接收端来说,就需要手动的去同步多组差分信号,因为虽然每单个组有自己的clock同步信息,但同步多个组还是需要添加支持才可以。

使用这种方式的话,没有parallel clock,就不能称为并行传输方式,还是串行传输方式。

Embedded clock serializer example.png

[edit]LVDS transmission with 8b/10b encoding

LVDS does not specify a bit encoding scheme because it is a physical layer standard only. LVDS accommodates any user-specified encoding scheme for sending and receiving data across an LVDS link, including 8b/10b encoded data. An 8b/10b encoding scheme embeds the clock signal information and has the added benefit of DC balance. DC balance is necessary for AC-coupled transmission paths (such as capacitive or transformer-coupled paths). There are also DC-balance encoding methods for the start bit/stop bit embedded clock, which usually include a data scrambling technique. The key point is LVDS is the physical layer signaling to transport bits across wires. It is compatible with most all data encoding and clock embedding techniques.

[edit]LVDS for very high data-throughput applications

When a single differential pair of serial data is not fast enough there are techniques for grouping serial data channels in parallel and adding a parallel clock channel for synchronization. This is the technique used by FPD-Link. Other examples of parallel LVDS using multiple LVDS pairs and a parallel clock to synchronize are Channel Link and HyperTransport.

There is also the technique to increase the data throughput by grouping multiple LVDS-with-embedded-clock data channels together. However, this is not parallel LVDS because there is no parallel clock and each channel has its own clock information. An example of this technique is PCI Express where 2, 4, or 8 8b/10b encoded serial channels carry application data from source to destination. In this case the destination must employ a data synchronization method to align the multiple serial data channels.

[edit]Multipoint LVDS

The original LVDS standard only envisioned driving a digital signal from one transmitter to one receiver in a point-to-point topology. However, engineers using the first LVDS products soon wanted to drive multiple receivers with a single transmitter in a multipoint topology. As a result NSC invented Bus LVDS (BLVDS) as the first variation of LVDS designed to drive multiple LVDS receivers. It uses termination resistors at each end of the differential transmission line to maintain the signal integrity. Double termination is necessary because it is possible to have one or more transmitters in the center of the bus driving signals toward receivers in both directions. The difference from standard LVDS transmitters was increasing the current output in order to drive the multiple termination resistors. In addition, the transmitters need to tolerate the possibility of other transmitters simultaneously driving the same bus.

Typical multipoint termination scheme.png

Bus LVDS and LVDM (by TI) are de facto multipoint LVDS standards. Multipoint LVDS (MLVDS) is the TIA standard (TIA-899). TheAdvancedTCA standard specified MLVDS for clock distribution across the backplane to each of the computing module boards in the system.

MLVDS has two types of receivers. Type-1 is compatible with LVDS and uses a +/- 50 mV threshold. Type-2 receivers allow Wired-Or signaling with M-LVDS devices. For MLVDS:

Output Input
Common mode Amplitude
Min 0.3 V 0.480 V −1.4 V
Max 2.1 V 0.650 V 3.8 V

[edit]SCI-LVDS

The present form of LVDS was preceded by an earlier standard initiated in Scalable Coherent Interconnect (SCI). SCI-LVDS was a subset of the SCI family of standards and specified in theIEEE 1596.3 1995 standard. The SCI committee designed LVDS for interconnecting multiprocessing systems with a high-speed and low power interface to replace positive emitter-coupled logic (PECL).

[edit]Standards

The ANSI/TIA/EIA-644-A (published in 2001) standard defines LVDS. This standard originally recommended a maximum data rate of 655 Mbit/s over twisted-pair copper wire, but data rates from 1- to 3-Gbit/s are common today on high quality transmission medium.[3]

[edit]See also

[edit]References

[edit]External links

抱歉!评论已关闭.