Choosing the right interface for the machine vision application is a key decision in one’s camera selection process. The following sections provide an overview of the different types of cables and connectors available for machine vision applications along with associated pros and cons.

Useful for applications where extremely high-speeds or ultra high-resolution necessitate the use of such interfaces; for example, line-scan cameras used to inspect continuous flow processes like paper or plastic film production where cameras frequently work in the kHz range. However, these interfaces tend to be significantly more expensive, less flexible and add to system complexity.

Machine vision interfaces

These are specialized adapter cards to receive image data and assemble it into usable images

CarmeraLink (supports up to 6.8Gbit/s of data) and CoaXPress (supports up to 12Gbit/s) are dedicated machine vision interfaces typically used in such applications. In addition to the cameras, systems using these interfaces require frame grabbers. These are specialized adapter cards to receive image data and assemble it into usable images. Dedicated machine vision interfaces also use proprietary cables, making integration with other peripherals a little more challenging.

  • CoaXPress (CXP)

The CoaXpress interface was launched in 2008 to support high-speed imaging applications. CXP interfaces use 75ohm coaxial cables and support data transfer speeds of up to 6.25Gbit/s per channel, with the ability to use multiple channels to support even faster data transfer rates. A CXP cable can supply up to 13W of power per cable and requires that both the 'device' and the 'host' support the GenICam camera programming interface. While single-lane coaxial cables are inexpensive, the cost of setting up multi-lane cable assemblies and frame grabbers add up very quickly.

Maximize signal integrity

  • CameraLink

The CameraLink standard was launched in the year 2000 by Automated Imaging Association (AIA) and has been upgraded progressively in order to support higher data speeds, with some versions requiring two cables for transmission. The three main configurations available include Base (2.04Gbit/s), Medium (5.44Gbit/s) and Deca/Extended (6.8Gbit/s). The base standard uses MDR ("Mini D Ribbon") 26-pin connector, while the medium/full configuration doubles capacity using a second cable.

The Deca/Extended versions go beyond limits imposed by CameraLink, carrying up to 6.8 Gbit/s of data. Like CXP interfaces, CameraLink requires frame grabbers and additionally need to be compatible with Power over Camera Link (PoCL) standard in order to supply power. CameraLink lacks any error correction or resend capabilities, requiring expensive and cumbersome cable setups to try and eliminate dropped images by maximizing signal integrity.

Machine vision implementation

  • Consumer interfaces

These interfaces enable machine vision cameras to connect with host systems using widely available USB and Ethernet standards. For most machine vision applications, the USB 3.1 Gen 1 and Gigabit Ethernet consumer interfaces provide a winning combination of convenience, speed, simplicity and affordability. Furthermore, consumer interfaces support widely available hardware and peripherals for machine vision implementation.

Most PCs, laptops and embedded systems include at least one port each of Gigabit Ethernet and USB 3.1 Gen 1

USB and Ethernet hubs, switches, cables and interface cards can be purchased anywhere from Amazon to the local computer or electronics store at a range of price points to suit the exact requirements. Most PCs, laptops and embedded systems include at least one port each of Gigabit Ethernet and USB 3.1 Gen 1. The most obvious difference between these categories of interfaces is their bandwidth. Faster interfaces enable higher framerates for a given resolution.

Semiconductor wafer inspection system

A faster interface enables you to capture more images each second or capture higher resolution images without sacrificing throughput. For example, a semiconductor wafer inspection system being upgraded from 8” to 12” wafers, higher resolution cameras will be required. In this case, the system designer will need to choose between keeping their existing interface and trading higher resolution for reduced throughput, or upgrading to a faster interface to maintain or improve the throughput.

The user’s requirements for resolution, frame rate, cable length and host system configuration should all be considered to ensure they get performance they require without spending more than they need. FLIR’s machine visions cameras support all three trusted and widely available interfaces.

Camera control protocols

  • Universal Serial Bus (USB)

USB is everywhere. Look around and count the number of USB devices and accessories around. Most USB machine vision cameras use the USB 3.1 Gen 1 interface. This interface provides up to 4Gibt/s of image data bandwidth between the camera and the host system. The USB3 Vision standard helps ensure compatibility between a wide range of cameras and software by defining a common set of device detection, image transfer and camera control protocols.

The 5m maximum cable length of USB 3.1 Gen 1 is generally not an issue for embedded systems

USB supports Direct Memory Access (DMA). With this DMA capability, image data can be transferred across from the USB directly into memory where it is available for use by software. DMA coupled with the widespread support for USB and availability of drivers for USB controllers on virtually any hardware platform makes USB ideal for use in embedded systems. The 5m maximum cable length of USB 3.1 Gen 1 is generally not an issue for embedded systems.

Active optical cables

USB 3.1 Gen 1 can simplify system design by supplying up to 4.5 W of power to a camera. The recently developed USB Power Delivery specification allows some hosts to supply more power to devices like rapid-charging cellphone, this specification is independent from the base USB 3.1 Gen 1 standard and has not been adopted by machine vision camera manufacturers.  High-flexibility USB cables help maximize the lifespan of cables in systems where the camera must be moved repeatedly.

Active optical cables (AOCs) may be used to greatly extend the working distance and provide Electromagnetic Interference (EMI) resistance. The performance of active optical cables is dependant on the throughput requirements and the host system configuration. When using optical cables, even those that supply power via the cable, FLIR recommends using powering cameras externally via GPIO.

Locking screw position

Additionally, locking USB cables provide a secure connection between cables, cameras and host systems. Prior to purchasing locking cables, FLIR recommends checking the locking screw position and spacing compatibility, as several options are available. USB 3.1 Gen 1 is available on FLIR Blackfly S - Cased and Board level versions, and the tiny Firefly S.

  • Gigabit Ethernet (GigE)

GigE provides up to 1Gbit/s of image data bandwidth. Its combination of simplicity, speed, 100m maximum cable length and ability to supply power to cameras over a single cable make it an extremely popular camera interface. Ethernet cables are available with robust shielding. This is ideal for environments with high electromagnetic interference caused by proximity to the powerful motors found in some robots and metrology equipment.

Software accessible memory

FLIR GigE cameras also support a packet resend feature which further boosts transmission reliability. Unlike USB, GigE does not support DMA. Packets containing image data are transmitted to the host where they must be reassembled into image frames prior to being copied to software accessible memory. This process is trivial for modern PCs, though it may result in latency for some low-power embedded systems with limited system resources.

The widespread adoption of Gigabit Ethernet means there is an incredibly wide range of supporting products from cables to switches, ready to meet any project requirement. GigE cameras support the IEEE1588 PTP time synchronization protocol, enabling cameras and other Ethernet enabled devices such as actuators and industrial Programmable Logic Controllers to operate on a precisely synchronized common time base.

High flexibility requirements

The widespread adoption of Ethernet across many industries has enabled availability of many specialized cables and connectors for a wide range of use cases. For example, there are Ethernet cables designed to protect against EMI (Electromagnetic Interference), high temperature and chemical resistance, while some cater to high flexibility requirements and so on.

Ethernet cables have a category number depending on their construction

Ethernet cables have a category number depending on their construction. CAT5e is the most common for GigE, while CAT6A, CAT7 and CAT8 may be used for additional EMI resistance at the expense of greater cost and increased cable diameter. Some industrial devices use an X-Coded M12 connector to provide increased shielding, however, for most applications, the familiar RJ-45 connector is good enough and provides greater convince at lower cost.

3D scanning

Additionally, screw locking RJ45 connectors easily add additional security to RJ45 cables.

  • 10Gigabit Ethernet (10GigE)

10GigE builds on the strengths of GigE by increasing the bandwidth to 10Gbit/s. 10GigE is an ideal interface for high-resolution 3D scanning, volumetric capture and precision metrology. GigE and 10GigE can be combined in numerous ways. Multiple GigE cameras can be connected to a 10GigE switch to support multiple GigE cameras at full speed over a single 10GigE port on a host system.

Incoming image data

While CAT5e cables will work with 10GigE cameras over distances less than 30m, CAT6A or higher cables are recommended. 10Gbit/sec is a lot of data. Modern PC systems with high-speed CPUs, PCIe 3.0 and dual channel memory can handle this well, while higher performance systems can support multiple 10GigE cameras. Embedded systems with reduced system resources will generally lack the memory bandwidth and processor speed required to keep up with the incoming image data.

10GgiE is available on FLIR Oryx cameras. Both consumer and dedicated interfaces are used across many machine vision applications. Pros and cons mentioned in previous sections would eventually determine the suitability of one over another for a specific use case. However, the combination of performance, ease of use, widespread availability and low cost make consumer interfaces an attractive choice for most machine vision applications.

Share with LinkedIn Share with Twitter Share with Facebook Share with Facebook
Download PDF version Download PDF version

In case you missed it

Water Plant Attack Emphasizes Cyber’s Impact On Physical Security
Water Plant Attack Emphasizes Cyber’s Impact On Physical Security

At an Oldsmar, Fla., water treatment facility on Feb. 5, an operator watched a computer screen as someone remotely accessed the system monitoring the water supply and increased the amount of sodium hydroxide from 100 parts per million to 11,100 parts per million. The chemical, also known as lye, is used in small concentrations to control acidity in the water. In larger concentrations, the compound is poisonous – the same corrosive chemical used to eat away at clogged drains. The impact of cybersecurity attacks The incident is the latest example of how cybersecurity attacks can translate into real-world, physical security consequences – even deadly ones.Cybersecurity attacks on small municipal water systems have been a concern among security professionals for years. The computer system was set up to allow remote access only to authorized users. The source of the unauthorized access is unknown. However, the attacker was only in the system for 3 to 5 minutes, and an operator corrected the concentration back to 100 parts per million soon after. It would have taken a day or more for contaminated water to enter the system. In the end, the city’s water supply was not affected. There were other safeguards in place that would have prevented contaminated water from entering the city’s water supply, which serves around 15,000 residents. The remote access used for the attack was disabled pending an investigation by the FBI, Secret Service and Pinellas County Sheriff’s Office. On Feb. 2, a compilation of breached usernames and passwords, known as COMB for “Compilation of Many Breaches,” was leaked online. COMB contains 3.2 billion unique email/password pairs. It was later discovered that the breach included the credentials for the Oldsmar water plant. Water plant attacks feared for years Cybersecurity attacks on small municipal water systems have been a concern among security professionals for years. Florida’s Sen. Marco Rubio tweeted that the attempt to poison the water supply should be treated as a “matter of national security.” “The incident at the Oldsmar water treatment plant is a reminder that our nation’s critical infrastructure is continually at risk; not only from nation-state attackers, but also from malicious actors with unknown motives and goals,” comments Mieng Lim, VP of Product Management at Digital Defense Inc., a provider of vulnerability management and threat assessment solutions.The attack on Oldsmar’s water treatment system shows how critical national infrastructure is increasingly becoming a target for hackers as organizations bring systems online “Our dependency on critical infrastructure – power grids, utilities, water supplies, communications, financial services, emergency services, etc. – on a daily basis emphasizes the need to ensure the systems are defended against any adversary,” Mieng Lim adds. “Proactive security measures are crucial to safeguard critical infrastructure systems when perimeter defenses have been compromised or circumvented. We have to get back to the basics – re-evaluate and rebuild security protections from the ground up.” "This event reinforces the increasing need to authenticate not only users, but the devices and machine identities that are authorized to connect to an organization's network,” adds Chris Hickman, Chief Security Officer at digital identity security vendor Keyfactor. “If your only line of protection is user authentication, it will be compromised. It's not necessarily about who connects to the system, but what that user can access once they're inside. "If the network could have authenticated the validity of the device connecting to the network, the connection would have failed because hackers rarely have possession of authorized devices. This and other cases of hijacked user credentials can be limited or mitigated if devices are issued strong, crypto-derived, unique credentials like a digital certificate. In this case, it looks like the network had trust in the user credential but not in the validity of the device itself. Unfortunately, this kind of scenario is what can happen when zero trust is your end state, not your beginning point." “The attack on Oldsmar’s water treatment system shows how critical national infrastructure is increasingly becoming a target for hackers as organizations bring systems online for the first time as part of digital transformation projects,” says Gareth Williams, Vice President - Secure Communications & Information Systems, Thales UK. “While the move towards greater automation and connected switches and control systems brings unprecedented opportunities, it is not without risk, as anything that is brought online immediately becomes a target to be hacked.” Operational technology to mitigate attacks Williams advises organizations to approach Operational Technology as its own entity and put in place procedures that mitigate against the impact of an attack that could ultimately cost lives. This means understanding what is connected, who has access to it and what else might be at risk should that system be compromised, he says. “Once that is established, they can secure access through protocols like access management and fail-safe systems.”  “The cyberattack against the water supply in Oldsmar should come as a wakeup call,” says Saryu Nayyar, CEO, Gurucul.  “Cybersecurity professionals have been talking about infrastructure vulnerabilities for years, detailing the potential for attacks like this, and this is a near perfect example of what we have been warning about,” she says.  Although this attack was not successful, there is little doubt a skilled attacker could execute a similar infrastructure attack with more destructive results, says Nayyar. Organizations tasked with operating and protecting critical public infrastructure must assume the worst and take more serious measures to protect their environments, she advises. Fortunately, there were backup systems in place in Oldsmar. What could have been a tragedy instead became a cautionary tale. Both physical security and cybersecurity professionals should pay attention.

Expert Roundup: Healthy Buildings, Blockchain, AI, Skilled Workers, And More
Expert Roundup: Healthy Buildings, Blockchain, AI, Skilled Workers, And More

Our Expert Panel Roundtable is an opinionated group. However, for a variety of reasons, we are sometimes guilty of not publishing their musings in a timely manner. At the end of 2020, we came across several interesting comments among those that were previously unpublished. Following is a catch-all collection of those responses, addressing some of the most current and important issues in the security marketplace in 2021.

Smart Offices: How Is Mobile ID Changing The Way We Access The Office?
Smart Offices: How Is Mobile ID Changing The Way We Access The Office?

If you’re a security or facilities manager, you may already be aware of the quiet revolution that’s taking place across businesses and organizations up and down the country. By the end of 2020, 20% of all ID and access control systems featured mobile capability, and this is set to increase by a further 34% over the next three years. There’s no doubt that using a smartphone or mobile device in place of traditional credential and access control is a growing trend that’s only been sped up by the pandemic. It’s true that many businesses are still very much focused on remote working, although many are now starting to implement new-and-improved strategies that are better suited to protect the workforce moving forward. Mobile ID systems As the next normal becomes clearer, businesses will be reviewing procedures such as access control, occupancy monitoring, reducing touch points, and tracking visitors. Mobile ID systems are ideally suited to this task. But what are the key reasons for considering such a setup in 2021? But why is this new technology so well-suited to future-proof your physical access system, and why is it becoming so popular? Eradicating outdated legacy credentials Have you seen just how vulnerable outdated Proximity card technology can be? Low-frequency 125kHz cards can be cloned in a matter of seconds with the use of cheap, readily available tools. Despite their weaknesses, they are still used by a huge majority of businesses – big and small. All smartphones include two industry-standard features that make them perfect for operating a secure, contactless credential Replacing such a system with a mobile-enabled system is one of the best ways to increase security ten-fold. Thanks to a cloud-based infrastructure, mobile ID offers best-in-class security and cryptography. All smartphones include two industry-standard features that make them perfect for operating a secure, contactless credential. Bluetooth Smart and NFC (Near Field Communication) make them the best product to operate such a credential via a secure app. If you’re looking for best-in-class security in 2021, mobile access is most definitely the way forward. Removing touch points across the business Reducing touch points and the adoption of touchless facilities has become a key priority for businesses in the wake of COVID-19. Even as businesses start to return to the office and operate a home/office split, it will be imperative that unnecessary contact is kept to an absolute minimum between staff. The traditional issuance of identification and access control credentials can pose problems in this regard. Facility and security managers who are responsible for onboarding and processing ID have done the process face to face. Mobile access makes it possible to carry this process out without people coming into direct content. First, the security manager has access to a secure portal, allowing them to create, manage and edit credentials anywhere. They can upload and remotely transfer mobile ID and access control credentials directly to users’ smartphones over the air. Via the secure app, users can view and see their credentials and immediately begin using it for ID and access control by simply placing their smartphone over card readers. Enabling a more flexible way of working The way in which we work has changed for good. Even as people more people return to the office in 2021, a majority of businesses will be operating a home/office split indefinitely. This once again reinforces the need for a smarter, more adaptable onboarding system. Implementing mobile ID is the perfect way of doing this: over-the-air delivery of credentials and security data is now a given, helping businesses create the perfect balance between the home and the office. No longer do people have to come into the office for the onboarding process. Increasing convenience and user experience More often businesses are realising the value mobile ID can have for enhancing the work experience as well as security Ok, so mobile ID is the perfect way of increasing security and adapting workplaces to a post-COVID way of working. And we’ve not even touched on the most obvious advantage yet: Convenience. How many times have you forgotten your ID card? We’re sure it’s more times than you forget your smartphone. These powerful processors have become intertwined with the way we carry out tasks on a daily basis. They’re so vital that people will soon notice if they’ve forgotten it. From an employee’s perspective, mobile ID and access control is simple, convenient, and extremely user-friendly. More and more businesses are realizing the value mobile ID can have for enhancing the work experience as well as security. From the employer’s perspective, mobile ID means it’s easier for administrators to manage access and credentials. Future-proofing access control now will ensure that in the longer term, mobile ID is well worth the investment. The annual expenditure of printing ID cards and purchasing credentials can be vast, while reissuance costs can also quickly add up for larger organizations. These issues are a thing of the past for businesses using mobile ID. Mobile ID perfect tool for 2021 and beyond Until mobile ID, new and improved credentials’ main focus was on increasing security. Mobile ID not only delivers that, but it also provides a more convenient way of accessing the office in a way that’s perfectly suited to returning to the office in 2021. If there was ever a time to upgrade, now is the time. Summing up, mobile access is changing the way we access the office by: Eliminating weak links in security systems such as outdated legacy card technologies Eradicating the need for touch points across multiple areas of the workplace Enabling a smarter, more flexible approach to onboarding Increasing convenience – for both employers and employees.