Showing posts with label cameralink. Show all posts
Showing posts with label cameralink. Show all posts

Sunday, September 15, 2013

When cable length becomes an issue


CameraLink has a limit of 10 meters. That’s plenty long enough for my applications but I believe some machine vision users find that a problem. If you’re one of those, here’s a solution:

Moog Protokraft, based in Tennessee, has recently launched a CameraLink to GigE Vision converter. The Eagle Series GigE Vision Video Converter looks a pretty sturdy device and lets you take advantage of Gigabit Ethernet’s 100 meter cable length.

Nothing about pricing on the website, so I imagine they’ve made it just a little cheaper than replacing your CameraLink cameras with GigE equivalents. Could be very useful in some applications.

Tuesday, September 4, 2012

Another twist to camera interfaces


With various groups making plays for their preferred new standard – USB 3.0, CameraLink HS and CoaXPress – camera interfaces are in the news of late. Everyone talks about data rates and cable lengths - I’ve done my part, with “King of the (camera interface speed) hill” and “Everything you ever wanted to know about USB3.0” – but writing in the Adimec blog, Gretchen Alper offers another factor to consider: the cost of the cables. (“How to save cabling costs with new machine vision interfaces” August 29th, 2012.)

Now I knew that CameraLink cables were expensive, but I hadn’t appreciated just how expensive in comparison to GigE, FireWire, USB 3.0 and CoaXPress. (Read Gretchen’s blog post to see the actual numbers.) CoaxPress is of course just plain old co-ax cable, which is why it’s so cheap. As backers of this new standard, Adimec aren’t exactly neutral, so I would expect them to have done their best to ‘spin’ the cable cost issue, but even so, the numbers are pretty startling.

I wonder if this might change your choice of interface next time you spec out a system?

Monday, August 27, 2012

King of the (camera interface speed) hill


Most of us were happy with FireWire-b and had no need of faster data rates. Then along came GigE and the bits flowed faster. If we needed real speed, like for those occasional linescan projects, there was always CameraLink.

But just as racing drivers always want more, so too do some machine vision people. Many of these are in the high speed web inspection niche, and they were starting to think that good old CameraLink might not be up to the job in a few years. So Dalsa started work on an interface they called “HSLink”.

This showed a lot of promise, but as Mike Miethig of Dalsa discusses in “Vision Market Touts Camera Link HS in Boston, Beyond” (Quality magazine, August 7th, 2012,) it never really gained traction.

Fortunately for the speed freaks though, it did set the scene for CameraLink HS, which promises speeds of up to 2.1Gbytes/sec. Now that number might be hard to grasp, so I’ve put together a little graphic to show just how much faster than the older standards that is.
 

 
Now there are some important caveats. CameraLink speeds are complicated because they depend on whether it’s Base, Medium, or Full configuration. CameraLinkHS is much the same: there are three speed flavors, starting at a relatively paltry 300Mbytes/sec. And then, missing from my table, is CoaXpress.

CoaXpress boasts of up to 6.25Gbps, (which I suspect is gigabits rather than bytes,) so it’s not a s fast as CameraLink HS. More importantly, it’s not an AIA standard – it’s supported by the Japan Industrial Imaging Association – so whether it will prosper remains to be seen.

And what does this mean for the regular machine vision user? It means there’s virtually no limit to how fast you can shove those pixels down the pipe. The only question to consider is, how deep are your pockets?

Tuesday, September 13, 2011

Trends in machine vision cameras


CameraLink provides the highest robustness and data rates, FireWire has been superseded by GigE, and USB is irrelevant for machine vision. Oh, and by the way, resolutions are going up.

Well that’s what I told an engineer who emailed me a few days ago asking if he should stick with FireWire cameras, but let’s take a moment to dive deeper.

Few in machine vision would argue that CameraLink, for now at least, provides the best overall performance. It can handle the highest data rates, (up to 6Gbps with 2 cables,) works over cable lengths as long as 10 meters, (enough for most industrial applications,) and never misses a frame, but it does have downsides. Chief among these is cost. CameraLink needs a framegrabber, which can easily cost $500 or more. It also needs special or custom cables – yet more cost. And since Power-Over-CameraLink (PoCL) doesn’t seem to have really caught on, perhaps because it’s limited to 4W, figure on running two or three cables out to the camera.

So what about the alternatives? Well let’s start with USB. Every computer has a USB port, so there’s no need for a framegrabber, making it seem attractive. But when you dig down into the details the problems start to emerge. The basic issue is that USB is something of a processor-hog, thanks to its employing a master-slave architecture. There are also bandwidth issues, meaning that a significant proportion of its 480Mbps is not available to transfer image data. For these reasons few manufacturers of industrial cameras have ventured into this standard. (Scientific and astronomical cameras are a different matter of course because they don’t need high data rates.) The maximum cable length of 5m can also be bothersome in many applications.

And then there’s FireWire, IEEE1394, to use its proper name. 1394 cameras, which need no framegrabber and take their power – up to 45W – from the single cable, come in two flavors, a) and b), the difference being speed. Roughly speaking, a) handles 400Mbps while b) hits 800Mbps. That’s more than enough for a 2Mp camera running at 5 fps, so what’s the problem?

Well first, cable length is limited to 4.5m, which can get to be a problem in even the simplest of industrial settings. Second, and I’m speaking from personal experience here, it’s just not totally reliable. I’m not up in all the details of error detection methodologies, but it’s my understanding that 1394 doesn’t have any. That means a frame can be dropped and you’ll never know. Now in many applications that might not be a problem, but if you need to be 100% confident in your system, think carefully before going this way.

That brings us to GigE, strictly speaking, GigE Vision. This uses plain old network cabling, though you should upgrade to the better shielded CAT 6, to transmit up to 1Gbps of image data as far as 100m. You will need to buy a special purpose card for your PC – the regular network card can probably not handle Jumbo Frames and in any case, you need it for internet and intranet access – but these are far less expensive than a CameraLink grabber. And if power cabling is a concern, Power-over-Ethernet (PoE) will deliver up to 13W – enough for most cameras.

Downsides? Well really, just the fact that you’re limited to 1Gbps, which is more than FireWire b) can offer, so it’s enough for run-of-the-mill applications.

As for resolutions going up, well you knew that already, didn’t you?

Thursday, March 31, 2011

Choose your standard

Is CameraLink on the way out? High-end camera maker Adimec thinks so and they explain the logic behind this statement in a white paper entitled “Vision connectivity interfaces.” (You will need to register for the download.)

This well-written document summarizes the pros and cons of the higher-end camera interface standards, GigE, CameraLink, CoaxPress and CameraLink HS. (In other words, 1394/Firewire and USB aren’t interfaces for those who are serious about machine vision.) The writers are careful to avoid hard-and-fast conclusions, preferring instead to suggest that interface choice should be a function of the application. But despite the efforts at objectivity it does seem that the real goal of the paper is to encourage movement towards the CoaxPress standard. (Of course, it may well be that this emerging standard really does offer the best all-round balance of performance and cost.)

If CoaxPress is new to you, the really neat thing about it is that it’s essentially good old fashioned coaxial cable. It’s capable of delivering up to 13W of power along with 1.25Gigabits of data per second over distances as long as 130m. It does need a framegrabber, but so do the other high-end interfaces, so that’s not really a negative, and as coax is flexible and robust it ought to help ensure good system reliability without costing the earth.

And what about CameraLink? Well as noted in the white paper, CameraLink has its strengths although many users are frustrated by the 10m cable length limitation. But the big problem is that it’s stopped evolving. There’s no roadmap to higher data rates, - CameraLink HS is not CameraLink 2.0 - and that means a CameraLink-based vision system has no upgrade path.

Choose your interface standard, but choose wisely.

Tuesday, March 22, 2011

A bolt from the blue

If you were to gather together a hundred machine vision professionals and ask them if they needed another camera interface, what do you think would be the answer?

I’d guess that 90% would scream, “No way! Over my dead body!” while 1% would get goosebumps at the thought of adding another column to all those interface comparison tables. (The missing 9% would be too busy trying to reach the bar to bother answering.)

But according to “Thunderbolt interface rattles placid PC landscape,” (EE Times, March 7th, 2011) that 1% are about to get lucky: another interface is on its way.

Okay, to be slightly less alarmist, I haven’t yet heard it suggested as new interface for machine vision, but if you read the linked article carefully it does suggest that one application would be cameras. And before you rush to dismiss this as a harebrained idea to sell more Intel chips, note that Apple has signed up. Apple, you may recall, was the first computer maker to adopt Firewire, and that had quite an impact on the vision industry, so will Thunderbolt follow suit?

Well let’s review the current interface options. At the low speed end we have USB 2.0 and Firewire/1394a. Shuffling the bits along quicker is GigE Vision, which just trails CoaXPress. Faster still is CameraLink, while leading the pack is HSLink. Then there’s the dark horse, USB 3.0. We know it’s out there but it hasn’t yet made its presence felt.

So do we need Thunderbolt? Well speed-wise, it’s comparable to the fastest CoaXPress, which means we already have options. The EE Times article also suggests that cable length will be limited. So in short, we don’t need it.

But, I have a feeling we may not get a choice. If Apple is using it there has to be a strong likelihood that consumer cameras will also pick it up. (Everyone likes to sell to Apple buyers.) And once it’s in consumer products it will move across to the industrial markets. In short, by 2013 we could be seeing Thunderbolt-based machine vision cameras.

Or it might just die quietly, unnoticed by the majority.

Wednesday, August 4, 2010

Time for an update on NI machine vision

It’s been a while since I passed comment on the vision offerings from National Instruments, so let me give a shout-out to the latest incarnation of their real time vision box.

I’m referring to the sexily-named EVS-1463RT, which is billed as a complete vision system in an industrial box. The 1463 handles GigE and CameraLink, unlike its sister box, the 1464, which was released first and provides FireWire (b) and GigE connectivity.

I like the idea behind these boxes – all the IO, memory, OS, everything really is in one robust housing which should make it quick and easy to implement. I just have to swallow hard when I look at the price: $4,500, and that’s before you’ve bought a camera and lights.

I like the NI range of vision products, but their pricing sure makes it hard to argue a persuasive case for going with them rather than the competition.

Tuesday, December 29, 2009

Prediction number 2

This concerns interface standards and particularly the adoption of GigE. I believe there’s growing momentum behind GigE and that by the end of 2010 this will have overtaken 1394(b) in popularity. My reasoning on this is, as with prediction number 1, driven by the demand for higher camera resolutions, and hence bigger images.

This is leading to bandwidth problems that need 1394(b), CameraLink or GigE. Unfortunately 1394(b) has a reputation for being somewhat “cranky” while CameraLink is a little intimidating for the average machine vision user (all that framegrabber stuff leaves engineers looking for an easier ‘plug ‘n’ play interface.) This leaves us with GigE.

The thing with GigE is that once people have tried it, they seem to like it and don’t want to go back. This, I predict, will result in growing momentum and adoption will accelerate accordingly.

You might also notice that I’ve left out any discussion of cable length limitations. Contrary to what the camera manufacturers tell us, I believe that for most users this is a non-issue. The number of situations where we need the PC to be more than ten meters from the camera is actually fairly few so cable length isn’t a high priority.

Monday, December 14, 2009

Line scan on steroids

Are Dalsa feeding their silicon performance-enhancing drugs? I ask this because, while browsing their web site a few days ago, I stumbled across the announcement of the new 12k 90kHz Piranha HS line scan camera. The specs are pretty stunning: as if a 12k TDI sensor isn’t enough, this thing runs at a line rate of 90kHz. That means it can squirt over 1 gigapixels of image data down the pipe every second.

To handle this data rate, Dalsa have put together their own communications “standard”, christened “HSLink”. Now I’m not sure what to think of this. I understand that with a camera of this performance, the framegrabber can become the weakest link, but isn’t the whole point of standards that everyone works to them? Dalsa say, “As a group we are working with the Camera Link 2 subcommittee to bring reference designs and a more complete specification to the table for industry use as the next generation Machine Vision interface.” But I’m not convinced. Call me old-fashioned but I’d rather vendors match their products to the standards than try to shape the standards to fit their products.

Incidentally, I checked the Basler web site to see if they have anything to compete. They offer higher line rates – 140kHz – but only in a 4K sensor, and their biggest sensor is 8K. So if you really need a 12,000 pixel sensor to run at 90kHz it seems you’ve no choice but to shop Dalsa.

Sunday, July 26, 2009

More pixels are on the way!

I picked up an announcement from Kodak regarding a “new” 8.1 megapixel CCD sensor. (The KAI-08050 – datasheet opens as pdf.) With an array of 3296 x 2472 pixels, and a claimed speed of up to 16fps, it will fill the gap between widely available 5 Mp cameras and the hugely expensive 11 and 16 Mp units. The downside is that a pixel size of 5.5 microns makes this a pretty large slice of silicon: with an optical format of 4/3” I don’t expect to see it in too many ‘C-mount’ format camera bodies.

I anticipate that the first machine vision cameras with this sensor will appear before the end of 2009. They’ll use the CameraLink standard and will probably take an ‘F-mount’ lens. Expect pricing to be in the region of $9,000.

And yes, there is a color version.

Sunday, May 24, 2009

Who cried when analog died?

If you’re something of a newcomer to machine vision – say in the last five years or so – then the idea that cameras were once analog probably seems rather quaint. Digital interfaces like Firewire and CameraLink have become so pervasive, not to mention easy, that it’s hard to imagine anything different. But it wasn’t always that way.

Not so long ago every vision system used analog cameras. In fact if you’re at a factory with a long history in machine vision it’s quite likely that you have a few such systems quietly working away. Have you thought what you’re going to do when those cameras finally die?

Well I’m going to save that discussion for another day, because for this post I want to summarize a major difference between older and newer cameras, and that’s progressive scan versus interlaced.

The first thing to note is that while digital doesn’t automatically mean progressive scan, it does tend to be that way. This means that your old analog cameras are probably interlaced while a new Firewire camera is almost certainly progressive. Let’s take a few moments to cover the difference.

Interlacing is the way TV’s worked. Because broadcast bandwidth was limited, rather than transmit the whole frame at the required rate, the decision was made to transmit half the frame. This means that for frame ‘n’ only the odd numbered lines in the image are updated, while for frame ‘n+1’ only the even lines are updated.

This was enough to fool the human eye into believing it was seeing moving pictures, even if the image quality, on a frame-by-frame basis, wasn’t that great.

Then along came progressive scan for our High Def TV’s. In this system the whole image is repainted, line by line, for every frame. The result is a sharper image, especially when the subject is in motion.

So if you need to replace an interlaced camera it may well be a progressive scan camera that you hook up. Why don’t you check back tomorrow for a discussion of what that might mean?

Monday, April 6, 2009

Do you feel the need for speed?

FireWire(A) holding you back? USB 2.0 lacking bite? CameraLink just not man enough for your data rates? Then you’re going to be interested in, “New Standards to Speed Data Transfer,” (Advanced Imaging, March 2009) where Kristin Lewotsky discusses the impending arrival of USB 3.0 and FireWire S3200. (Honestly, you wait ages for a new standard and then along come two at once.)

The bottom line is that by 2010 you should be able to transfer data from camera to PC at more than 3Gb/second. That’s great, but it does sound a little like Ferrari boasting of how their new model has 550 horsepower – it’s terrific, but I have no real use for it.

Indeed, if you’re operating at standard resolutions, (which I define as 1600 x 1200 pixels,) and ‘normal’ frame rates, (15 – 30 fps,) then the existing formats are sufficient. But what the new standards will do is facilitate the move to ever higher resolutions and frame rates. Once you can move gigabytes per second, the camera makers will come out with hardware to take advantage of the new capacity.

And who doesn’t want more resolution? As with horsepower, is it possible to have too much?

Tuesday, January 6, 2009

Minnow or Shark?

Jørgen Andersen, CEO of camera-maker JAI, believes his company is destined to, “be one of the big fish,” of the machine vision world. (The quote comes from a profile piece in the Oct/Nov ’08 edition of “Imaging and machine vision Europe,” titled, “A true world player,”)

Now I’ve been predicting consolidation in the crowded field of machine vision camera manufacturers for some time, (go search my archives if you doubt me,) but is JAI destined to come out on top or might they be swallowed by a larger rival – perhaps Basler or AVT, to mention a couple of possibilities?

With annual revenues of almost $50M, JAI is clearly no minnow in the machine vision pond, but Andersen himself admits that in recent years they have stumbled. In retrospect, was the decision to shun Firewire® for CameraLink the right one for the business? Yes, CameraLink is technically superior, but as I’ve said so many times, people who buy machine vision hardware look at fitness for purpose, not how sexy the technology is.

And now that GigE is gaining traction, is the whole debate moot? Will JAI’s
C3 Camera Suite turn their business around, allowing them to gobble up the smaller pond life?

Personally, I think JAI bring quality products to the marketplace, and I’d like to see them thrive, but it’s a tough world out there.

Tuesday, November 25, 2008

GigE – separating fact from fiction

True or false: if you’re developing a new vision application you should automatically go for a GigE camera?

Answer: It depends.

Yes, that’s a cop-out, but the truth is, selecting a camera interface is complicated. Cameralink or GigE? Firewire A or Firewire B? Where does USB figure in all this?

For an intelligent and readable review of the issues that surround working with GigE cameras, let me refer you to an article by Scott Israel of 1st Vision. In “
GigE Cameras: Myths & Facts” Scott addresses what the GigE interface will do for you (more speed) and why you can’t just plug the camera into your network interface card (NIC).

If you’re not familiar with 1stVision, they’re a Massachusetts-based independent distributor of
machine vision components. They do lenses, lighting and software, but for my money I think their real specialty is cameras. Scott has a deep understanding of the various interfaces (as evidenced in his paper,) so don’t be afraid to pick his brains.