Camera Link

Last updated

Camera Link is a serial communication protocol standard [1] designed for camera interface applications based on the National Semiconductor interface Channel-link. It was designed for the purpose of standardizing scientific and industrial video products including cameras, cables and frame grabbers. The standard is maintained and administered by the Automated Imaging Association or AIA, the global machine vision industry's trade group.

Contents

Transmission protocol

Camera Link uses one to three Channel-link transceiver chips with four links at 7 serial bits each. [1] [2] [3] At a minimum, Camera Link uses 28 bits to represent up to 24 bits of pixel data and 3 bits for video sync signals, leaving one spare bit. The video sync bits are Data Valid, Frame Valid, and Line Valid. The data are serialized 7:1, and the four data streams and a dedicated clock are driven over five LVDS pairs. The receiver accepts the four LVDS data streams and LVDS clock, and then drives the 28 bits and a clock to the board. The camera link standard calls for these 28 bits to be transmitted over 4 serialized differential pairs with a serialization factor of 7. The parallel data clock is transmitted with the data. Typically a 7× clock must be generated by a PLL or SERDES block in order to transmit or receive the serialized video. To deserialize the data, a shift register and counter may be employed. The shift register catches each of the serialized bits, one at a time, then registers the data out into the parallel clock domain - once the data counter has reached its terminal value.

Variants

Camera Link comes in several variants which differ in the amount of data that can be transferred. Some of them require two cables for transmission.

Base configuration

The "Base" Camera Link configuration carries signals over a single connector/cable. [1] [2] [3] The cable used is a MDR ("Mini D Ribbon") 26-pin Male Plug Connector, optimized by 3M for the LVDS signal. In addition to the 5 LVDS pairs transmitting the serialized video data (24 bits of data and 4 framing/enable bits), the connector also carries 4 LVDS discrete control signals and 2 LVDS asynchronous serial communication channels for communicating with the camera. At the maximum chipset operating frequency (85 MHz), the base configuration yields a video data throughput of 2.04 Gbit/s (255 MB/s).

Medium/Full configuration

The Camera Link specification includes higher-bandwidth configurations that provide additional video data paths over a second connector/cable. The "Medium" configuration doubles the video bandwidth, adding 24 bits of data and the same 4 framing/enable bits present in the "Base" configuration. [1] [2] [3] This yields a 48-bit wide video data path capable of throughput up to 4.08 Gbit/s (510 MB/s). The "Full" configuration adds another 16-bits to the data path, resulting in a 64-bit wide video path [1] [2] [3] that can carry 5.44Gbit/s (680 MB/s).

Deca configuration

Some camera and data acquisition hardware manufacturers have extended the bandwidth of the interface beyond the limits imposed by the Camera Link interface specification. These formats extend the width of the "Full" configuration by utilizing 8 unused bits and reassigning the 8 redundant framing/enable bits to produce a data path width of up to 80 bits over two connectors/cables, which further increases the video bandwidth. A consensus has emerged in the industry about the 80-bit variant, and compatible cameras and frame grabbers are marketed with the term "Camera Link Deca". However, some manufacturers use the term "Extended Full" to refer to Deca configuration, [4] and still others retain use of the term Camera Link Full while referring to Full Deca. The 80-bit video path can carry 6.8 Gbit/s (850 MB/s). [5]

Signal timing

The image below shows the relative signal timing of the clock and one data line of one of the Channel Link transceivers used for Camera Link transmissions. Data words start in the middle of the high phase of the clock, and the most significant bit is transmitted first. [6]

ChannelLink.svg

Bit assignments

The bits of pixel values are not assigned to serial transmitters in order, but are permutated in a complicated way, as shown in the following figure. The figure labels the Camera Link data bits consecutively and includes 8 additional bits not part of the Camera Link Full specification. (The Camera Link standard divides the data bits into eight 8-bit ports denoted by letter-number combinations, but uses the same letter-number combinations for color channels that do not always correspond one-to-one, making this notation ambiguous.)

CamerLink Bits Wires.svg

The upper half of this figure is only relevant for the Medium and Full configurations which require two physical interfaces and two cables. The two rectangles in the middle represent the cables, with the connector pins of each signal printed at either side.

To the left of the transceivers, the list of pixel data bits transmitted over that Channel Link is printed, from LSB to MSB. The characters L, F and D refer to the Line Sync, Frame Sync and Data Valid bits, respectively. The underscore represents an unused spare bit. It remains to be said how pixel data bits are assigned to the bits 0 to 71 used in the figure. For grey-scale pixels, this is a trivial one-to-one mapping; for colour pixels with a multiple of 8 bits per colour, the colours are simply concatenated in the order red, green and blue (from LSB to MSB). For 12-bit RGB data, the lower 8 bits of each colour are assigned to data bits 0–7,16-23,32-39; the higher 4 bits of each colour to bits 8–11,12-15,40-43. [1]

Cables and connectors

The standard prescribes 26-pin Miniature Delta Ribbon connectors (MDR-26) for use with Camera Link; [1] the shrunk variant SDR-26 is allowed since standard version 1.2. The connector pin assignments are shown in the large figure in the previous section. The connector pinout is the following:

MDR26-Pinout.svg

Matching differential pairs are deliberately located at opposite sides of the connector, and at different connector sides at the different ends of the cable. This prevents skew due to the connector being mounted perpendicularly on a PCB. [6]

Camera Link cables are shielded twisted pair cables. The standard specifies that differential pairs must be individually shielded, and the cable as a whole must have two shields. [1] Some companies save costs by not shielding the two serial interface signal pairs, which carry slower signals than the camera data; these cables have one camera end and one grabber end and may not be reversed, and cannot be used as a second cable in a Medium or Full configuration.

Interface Standard Specifications

The Camera Link standard is maintained by the AIA. The introduction of the Camera Link Interface Standard (1.0) was released in October 2000. Revision 1.1 was adopted in January 2004, with expanded software function support. The standard committee adopted version 1.2 in January 2007, introducing mini SDR ("Shrunk D Ribbon") connectors (SDR-26) and power over Camera Link (POCL). Annex D of revision 1.2 adds mechanical and electrical descriptions to the standard, especially cable performance. Annex E of revision 1.2 lists requirements of POCL equipment. Camera Link 2.0 was released in November 2011.

See also

Notes

  1. 1 2 3 4 5 6 7 8 Specifications of the Camera Link Interface Standard for Digital Cameras and Frame Grabbers, Version 1.1 Automated Imaging Association, Jan 2004
  2. 1 2 3 4 Short Overview Archived 2013-01-20 at the Wayback Machine of the Camera Link Technology by camera manufacturer Basler
  3. 1 2 3 4 "A technical description of the CameraLink interface". Archived from the original on 2016-11-06. Retrieved 2011-11-12.
  4. "NI PCIe 1433 Manual" (PDF). Archived (PDF) from the original on 2017-10-19. Retrieved 2017-10-18.
  5. "MC13xx User Manual" (PDF). Archived from the original (PDF) on 2007-02-10. Retrieved 2008-05-28.

Related Research Articles

<span class="mw-page-title-main">Digital Visual Interface</span> Standard for transmitting digital video to a display

Digital Visual Interface (DVI) is a video display interface developed by the Digital Display Working Group (DDWG). The digital interface is used to connect a video source, such as a video display controller, to a display device, such as a computer monitor. It was developed with the intention of creating an industry standard for the transfer of uncompressed digital video content.

<span class="mw-page-title-main">HIPPI</span>

HIPPI, short for High Performance Parallel Interface, is a computer bus for the attachment of high speed storage devices to supercomputers, in a point-to-point link. It was popular in the late 1980s and into the mid-to-late 1990s, but has since been replaced by ever-faster standard interfaces like Fibre Channel and 10 Gigabit Ethernet.

<span class="mw-page-title-main">Low-voltage differential signaling</span> Technical standard

Low-voltage differential signaling (LVDS), also known as TIA/EIA-644, is a technical standard that specifies electrical characteristics of a differential, serial signaling standard. LVDS operates at low power and can run at very high speeds using inexpensive twisted-pair copper cables. LVDS is a physical layer specification only; many data communication standards and applications use it and add a data link layer as defined in the OSI model on top of it.

<span class="mw-page-title-main">Serial communication</span> Type of data transfer

In telecommunication and data transmission, serial communication is the process of sending data one bit at a time, sequentially, over a communication channel or computer bus. This is in contrast to parallel communication, where several bits are sent as a whole, on a link with several parallel channels.

<span class="mw-page-title-main">Serial digital interface</span> Family of digital video interfaces

Serial digital interface (SDI) is a family of digital video interfaces first standardized by SMPTE in 1989. For example, ITU-R BT.656 and SMPTE 259M define digital video interfaces used for broadcast-grade video. A related standard, known as high-definition serial digital interface (HD-SDI), is standardized in SMPTE 292M; this provides a nominal data rate of 1.485 Gbit/s.

<span class="mw-page-title-main">HDMI</span> Proprietary interface for transmitting digital audio and video data

High-Definition Multimedia Interface (HDMI) is a proprietary audio/video interface for transmitting uncompressed video data and compressed or uncompressed digital audio data from an HDMI-compliant source device, such as a display controller, to a compatible computer monitor, video projector, digital television, or digital audio device. HDMI is a digital replacement for analog video standards.

<span class="mw-page-title-main">Transition-minimized differential signaling</span> Digital serial communication standard

Transition-minimized differential signaling (TMDS) is a technology for transmitting high-speed serial data used by the DVI and HDMI video interfaces, as well as by other digital communication interfaces.

The media-independent interface (MII) was originally defined as a standard interface to connect a Fast Ethernet medium access control (MAC) block to a PHY chip. The MII is standardized by IEEE 802.3u and connects different types of PHYs to MACs. Being media independent means that different types of PHY devices for connecting to different media can be used without redesigning or replacing the MAC hardware. Thus any MAC may be used with any PHY, independent of the network signal transmission medium.

I²S, is an electrical serial bus interface standard used for connecting digital audio devices together. It is used to communicate PCM audio data between integrated circuits in an electronic device. The I²S bus separates clock and serial data signals, resulting in simpler receivers than those required for asynchronous communications systems that need to recover the clock from the data stream. Alternatively I²S is spelled I2S or IIS. Despite the similar name, I²S is unrelated to the bidirectional I²C (IIC) bus.

<span class="mw-page-title-main">DisplayPort</span> Digital display interface

DisplayPort (DP) is a proprietary digital display interface developed by a consortium of PC and chip manufacturers and standardized by the Video Electronics Standards Association (VESA). It is primarily used to connect a video source to a display device such as a computer monitor. It can also carry audio, USB, and other forms of data.

<span class="mw-page-title-main">FPD-Link</span> Video interface protocol

Flat Panel Display Link, more commonly referred to as FPD-Link, is the original high-speed digital video interface created in 1996 by National Semiconductor. It is a free and open standard for connecting the output from a graphics processing unit in a laptop, tablet computer, flat panel display, or LCD television to the display panel's timing controller.

<span class="mw-page-title-main">Parallel SCSI</span> Original SCSI storage interface

Parallel SCSI is the earliest of the interface implementations in the SCSI family. SPI is a parallel bus; there is one set of electrical connections stretching from one end of the SCSI bus to the other. A SCSI device attaches to the bus but does not interrupt it. Both ends of the bus must be terminated.

The Camera Interface block or CAMIF is the hardware block that interfaces with different image sensor interfaces and provides a standard output that can be used for subsequent image processing.

Mobile High-Definition Link (MHL) is an industry standard for a mobile audio/video interface that allows the connection of smartphones, tablets, and other portable consumer electronics devices to high-definition televisions (HDTVs), audio receivers, and projectors. The standard was designed to share existing mobile device connectors, such as Micro-USB, and avoid the need to add video connectors on devices with limited space for them.

Channel-Link (C-Link) by National Semiconductor is a high-speed interface for cost-effectively transferring data at rates from 250 megabits/second to 6.4 gigabits/second over backplanes or cables. National Semiconductor introduced the first Channel-Link chipsets in the late 1990s to provide an alternative to continually widening data buses to get higher throughput.

Automotive pixel link, or APIX, is a serial high speed gigabit multichannel link to interconnect displays, cameras and control units over one single cable targeting automotive applications. APIX2 transmits up to two independent high-resolution real-time video channels and has bidirectional protected data communication with Ethernet, SPI, and I2C, including 8 channels for audio.

V-by-One HS is an electrical digital signaling standard that can run at faster speeds over inexpensive twisted-pair copper cables than Low-voltage differential signaling, or LVDS. It was originally developed by THine Electronics, Inc. in 2007 for high-definition televisions but since 2010 V-by-One HS has been widely adopted in various markets such as document processing, automotive infotainment systems, industrial cameras and machine vision, robotics and amusement equipments.

<span class="mw-page-title-main">PlayStation 2 technical specifications</span> Overview of the PlayStation 2 technical specifications

The PlayStation 2 technical specifications describe the various components of the PlayStation 2 (PS2) video game console.

This article provides information about the communications aspects of Universal Serial Bus (USB): Signaling, Protocols, Transactions. USB is an industry-standard used to specify cables, connectors, and protocols that are used for communication between electronic devices. USB ports and cables are used to connect hardware such as printers, scanners, keyboards, mice, flash drives, external hard drives, joysticks, cameras, monitors, and more to computers of all kinds. USB also supports signaling rates from 1.5 Mbit/s to 80 Gbit/s depending on the version of the standard. The article explains how USB devices transmit and receive data using electrical signals over the physical layer, how they identify themselves and negotiate parameters such as speed and power with the host or other devices using standard protocols such as USB Device Framework and USB Power Delivery, and how they exchange data using packets of different types and formats such as token, data, handshake, and special packets.