banner

Blog

Jun 25, 2023

The Future of Machine Vision Interfaces

USB3 Cable. Source: Anil Öztas

This is a high resolution GigE camera. Source: Lumenera

Here is a high performance USB 3.0 camera. Source: Lumenera

Ethernet Cable. Source: Raysonho @ Open Grid Scheduler/Grid Engine

With the continually increasing demand on framerates, bit depths, and resolution, interface standards must adapt to these changes with new ways to transfer data with increased speed and robustness. Modern interface standards such as GigE Vision and USB3 Vision support the transmission of streaming video frames while using commonly available interfaces and cables, and do not require the use of specialized equipment like frame grabbers (costly pieces of networking infrastructure that allow computers to capture frames from streaming video connections). The frame transfer protocol is built directly into the standard to minimize cost and implementation complexity.

With all of this in mind, this article explores the current state and near future of the most popular machine vision interfaces that do not need a frame grabber.

The GigE Vision interface standard has been around longer and is more widely adopted than USB3 Vision. In its current state, the interface is capable of throughput speeds of up to 115 MB/s over distances of up to 100 meters with a single cable. GigE Vision benefits from the backwards compatibility designed into the Ethernet specification, allowing it to run on newer 2.5GBase-T, 5GBase-T, and 10GBase-T infrastructure. Power delivery is also possible using the Power over Ethernet (PoE) specification on copper-based CAT5e/CAT-6a/CAT-7 cables. The specification enables each cable to deliver up to 25W of power to the connected camera.

For an increase in power and speed, two cables can be used in tandem, effectively doubling throughput and power delivery. This is achieved using link aggregation (LAG) which the GigE Vision standard fully supports, but stability with this type of connection is not easy to achieve. It also supports networking abilities native to Ethernet to allow for integration into existing networks and for use with Ethernet switches for varied topologies. Again, stability issues can arise across more complex networks due to the nature of the protocol.

Since all cameras in a vision system would typically be on the same network, GigE Vision allows for the broadcast of trigger commands to all cameras at the same time, allowing for high synchronicity between cameras. Furthermore, GigE Vision supports the transmission of multiple data formats within the network including, but not limited to: RAW (uncompressed), JPEG, JPEG 2000, and H.264.

The next steps for GigE Vision currently underway are the implementation of NBase-T and ten gigabit Ethernet. NBase-T allows the transmission of data at up to five times the rate of gigabit Ethernet without the need to upgrade cabling infrastructure already in place. NBase-T aims to serve as a transition between gigabit Ethernet and ten gigabit Ethernet as only minor modifications to an existing system will be required. Once a user is ready to upgrade the entire system to ten gigabit Ethernet, they will be able to do so in one of two ways.

Ten gigabit Ethernet can use either copper-based CAT-6a/CAT-7 cables spanning up to 100 meters or more costly single mode fiber optic cables that are able to reach distances of up to five kilometers. Both cabling types support data transmission speeds of up to 1,100 MB/s. However, the fiber optic cables cannot supply power to devices. This would require the devices to be powered at the far end.

The USB3 Vision standard was built on the experience and expertise gained from GigE Vision as well as other vision standards. Currently, the standard supports image throughput speeds of 400 MB/s at distances well over 100 meters. A combination of passive, active, and fiber optic extender cables allow USB3 Vision to reach distances of up to 125 meters. Power delivery is also possible when using passive and active cables, delivering 4.5W of power to the camera. However, cable length then becomes limited to roughly 10 meters and 25 meters respectively. It also consumes one third of the power to transmit data than previous USB 2.0 technology and is capable of full duplex transmission.

USB3 Vision benefits from Direct Memory Access (DMA), where the camera writes directly to the host computer’s RAM and bypasses the CPU. This is also known as zero-copy image transmission and plays an important factor in reducing the CPU load to less than one percent. The standard also benefits from the plug and play nature of USB and offers an easy, user friendly approach to system configuration.

Similar to GigE Vision, USB3 Vision also offers the transmission of multiple types of image formats. The USB specification also allows for locking connectors suitable for machine vision applications on both the host and device side of the cable. This ensures a solid and reliable connection between the camera and the computing device in an industrial setting and reduces the chance for an inadvertent disconnection to interrupt communication.

The standard is currently built on USB 3.0 (now known as USB 3.1 Gen 1) but development is underway to launch USB3 Vision on USB 3.1 Gen 2. The second generation brings more than twice the throughput of Gen 1 and is capable of reaching speeds of over 1,200 MB/s. This is accomplished by changing the data encoding scheme from 8b/10b to 128b/132b, thereby reducing overhead from 20% down to only 3%. Image throughput speeds are not yet known, but a safe bet is that they will be more than double what is currently offered by USB3 Vision.

Along with the second generation comes a new connector type known as “Type C.” While current Type A and Type B connectors will continue to work with USB 3.1 Gen 2, Type C connectors will bring enhanced power capabilities to USB3 Vision. The supported power delivery over this type of cable is rated to 100W and will support voltages of 5, 12, and 20 volts. It is also important to note that following the trend set by Type A and Type B connectors, Type C connectors are available for purchase with locking connectors.

Type C cables will also support the Thunderbolt 3 protocol and makes them incredibly versatile. They will likely become the standardized cable of the future to charge laptops, power and transmit data to peripherals such as 4k monitors and cameras, and interface with a wide range of consumer electronics including phones and tablets.

The Choice is Yours

USB3 Vision and GigE Vision both offer viable solutions to the machine vision industry without the need for costly and complex frame grabbers. They build on technologies that are native to computing platforms and familiar to users. Both standards are built with the Generic Interface for Cameras (GenICam) that facilitates integration into systems using the software standard.

When selecting a vision interface technology for an application that does not require the extremely high data transfer rates associated with large-resolution high-framerate cameras, GigE Vision and USB3 Vision are cost effective alternatives that offer excellent performance. They keep costs down by avoiding frame grabbers and using standard cables and networking equipment commercially available for a variety of industries.

Lumenera Corp. For more information, call (613) 736-4077, email [email protected] or visit www.lumenera.com.

GigE VisionUSB3 VisionThe Choice is Yours
SHARE