17.12.2018 Views

Image Acquisitionand Proces

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Setting Up 29<br />

FIGURE 2.17 An inexpensive webcam with a USB interface.<br />

2.2.3 USB SYSTEMS<br />

Although very inexpensive, universal serial bus (USB) cameras often sufÞce when<br />

your image acquisition needs are simple (Figure 2.17). USB cameras are small,<br />

easily connected to your PC, and do not require a frame grabber card.<br />

There are currently two USB standards: the original version is able to handle<br />

data rates of 1.5 Mbps, whereas the new version (USB 2.0) can transmit at 12 Mbps.<br />

USB 2.0 can theoretically reach transfer rates of 480 Mbps; however, there is a wide<br />

variation in edge rates. With typical line loads, full speed devices usually fall in the<br />

12 to 25 ns range, and low-speed devices typically range 110 to 225 ns.<br />

The USB standard allows for a limit of 127 devices to be connected simultaneously,<br />

although devices often reserve large ranges of the available bandwidth, so<br />

this limit is rarely practically achievable. If a large number of devices are required,<br />

you can install extra USB interfaces in your PC, effectively providing independent<br />

USB buses and raising the number of devices that will function simultaneously. USB<br />

cable lengths are limited to 5 m due to a cable delay speciÞcation of 26 ns that<br />

allows for signal reßections to settle in the cable before any subsequent bits are<br />

transmitted.<br />

Both USB and IEEE 1394 are serial buses; IEEE 1394 can move more data in<br />

a given amount of time, but is considerably more expensive than USB. Applications<br />

that are best suited for FireWire are high-bandwidth applications (e.g., external disk<br />

drives and high-quality video streams), whereas USB Þlls the middle- and lowbandwidth<br />

application niche (including Webcams, audio, scanners and printers).<br />

National Instruments does not provide native support for USB cameras, although<br />

several LabVIEW drivers are available. One such solution is Peter Parente’s Webcam<br />

Library, which is featured in Chapter 3.<br />

More information regarding the USB standards and applicable hardware can be<br />

found at the USB Implementers Forum Web site (http://www.usb.org).

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!