PicPort®-Digital

PicPort®-Digital boards allow simultaneous acquisition from 2 digital LVDS inputs. Supported input formats are digital RS-422 or RS-644. The boards offer various real-time image conditioning functions, different synchronization modes, asynchronous acquisition, simultaneous capture, and more. The conditioned image is sent by fast DMA transfer directly to VGA and/or main memory.

Besides the standard PCI bus version, PMC module version of the PicPort®-Digital series is also available.

PicPort®-Digital frame grabbers are designed for:

  • digital LVDS cameras
  • simultaneous grab
  • real-time conditioning
  • PCI, PMC module

 

Architecture

All the PicPort® models are based on similar architecture.

I/O Interface

The PicPort® I/O interface generally comprises video input connectors, synchronization and opto-isolated trigger inputs and outputs. The exact physical hardware interface is model-specific.

Input circuits

The PicPort®-Digital cards feature two input channels.

Pixel Stream Manager

The Pixel Stream Manager is the real heart of every PicPort®. It consists of two data paths (DMA channels) with different features (see the figure). Data path A features the following circuits: High Performance Scaler for fine interpolating, detail-preserving, image scaling down to approx. 40 ¡Ñ 40 pixels with horizontal plus vertical mirroring, Lock Mask Control for text or graphics overlay on the top of the live image and Pixel Packer and Color Space Converter to perform conversion to a desired color format.

The second data path B contains only the Binary Ratio Scaler. Both data paths contain FIFO buffers for proper synchronizing the DMA transfers.

On Board Controller (Not shown in the figure)

All boards utilize an on-board controller to guarantee performance of real time critical tasks independent of host processor or operating system.

EEPROM (Not shown in the figure)

Each PicPort® board contains a firmware EEPROM that is updated automatically by driver software en-suring compatibility between hardware and software releases. In addition two bytes of the EEPROM are available to OEM’s for use as a Software Dongle.

Image Acqusition & Conditioning

Input Format

In general PicPort® boards accept video resolutions up to 2048 ¡Ñ 2048.

PicPort®-Digital models accept digital video sources with RS-422 or RS-644 interface.

Input Channels

PicPort®-Digital is capable of acquiring 8 bit data at max 48MHz or up to 16bit data at max 24MHz. The 16-bit inputs can be used for two-tap (2¡Ñ8-bit) cameras as well. An FPGA ensures other pixel formats (i.e. 9 to 15 bits) are also fully supported by means of bit shifting.

Downscaling and Mirroring

Image scaling and mirroring are operations performed by the Pixel Stream Manager with a range of functionality dependent on the data path (DMA channel) used. DMA channel A with its High Performance Scaler uses a mathematical interpolation method independently along both x and y axes, resulting in an image free from any significant loss of detail. Alternatively, when the simpler DMA channel B is used, only vertical mirroring and binary downscaling is available.

Full Color Overlay

By means of a Lock Mask feature, unique to PicPort®, image data flowing through DMA channel A can be overlaid by a 1-bit mask created as a compressed bitmap within Windows in the form of text or graphics.

Color Model Conversion

By utilizing the Pixel Packer and Color Space Converter the data on DMA channel A can be converted to monochrome or RGB with predefined color and bit depths.

Original format DMA Target format Bit use
8-bit, monochrome A & B Y8, packed 8-bit luminance
8-bit, monochrome A & B Y2, packed 2-bit luminance
8-bit, monochrome A & B Y1, packed 1-bit luminance
8-bit, monochrome A £\RGB, 32-bit 8-8-8-8
8-bit, monochrome A RGB, 24-bit packed 8-8-8
8-bit, monochrome A RGB, 16-bit 5-6-5
8-bit, monochrome A £\RGB, 15-bit 1-5-5-5
8-bit, monochrome A RG£\B, 15-bit 5-5-1-5
8-bit, monochrome A RGB, 8-bit 3-3-2

Data Transfer

The digitized and conditioned data is transferred using two independent DMA channels directly to the CPU and/or video memory without on board intermediate storage and with minimal CPU intervention. The board acts as a PCI bus master allowing transfers at peak rates of up to 132 MB/s i.e. real time transfer for all acquisition modes.

The two independent DMA channels provide many modes of operation including:

Simultaneous transfer of video data from a single image source to main memory for processing and to video memory for display.

Transfer of images from two synchronized cameras to two independent memory windows.

Synchronization

The following modes are possible:

Camera is Master and provides H & V timing and Pixel Clock

The timing of the video acquisition is fully controlled by the camera in this mode. The the PicPort® accepts vertical synchronizing pulses (frame valid), horizontal synchronizing pulses (line valid), and pixel clock pulses (data valid) from the camera or other external device. The H/V sync signals may be either separate or composite.

Because the board is matching the rigid geometry of the camera, only a single camera may be attached in this mode (unless the cameras are inter-synchronized externally).

Camera is Slave, Pixel Synchronized

In this mode the PicPort® generates all the synchronization signals: H & V sync and pixel clock to control the attached camera(s). When more cameras are synchronized by a single PicPort® a user application can switch between them during vertical retrace (blanking) without any image loss.

Asynchronous Reset

The trigger input on the PicPort® can be used with asynchronous reset cameras to initiate a new frame. Similarly output signals from the PicPort® can be used to control strobe lighting etc. Application note «External trigger and flash» gives good overview of applications involving external devices such as trigger and flash.

Input/Output Connector Configurations

All PicPort®-Digital boards for standard PCI bus come with the same connector configuration (however, the signal definition of the connectors differ from model to model). Detailed pin-outs and descriptions of the connectors are available at the chapter Connector description below.

Universal Camera Connector

The universal camera connector (100-pin flat connector) can be used for either 2 ¡Ñ 8bit digital input at 40 MHz or 2 ¡Ñ 16bit digital input at 20 MHz. In addition to handling camera timing and 5/12 V camera power supply, this connector also has 8 general bi-directional (I/O) signals. All of the signals are transmitted differentially. Physical connection to many popular digital cameras is made simple by the use of specific cables to directly match the pin-outs of the camera being used.

PicPort-Digital/RS422

Both video input and the control I/O signals are in RS-422 format.

PicPort-Digital/RS644

Both video input and the control I/O signals are in RS-644 format.

PicPort-Digital/RS644/TTL

Video input is in RS-644, control I/O signals in TTL format.

Trigger I/O

For synchronization of events like start/stop, trigger, good/bad, input/output etc. PicPort® boards offer digital inputs and outputs, which can be controlled by software. For use in industrial environment, the signals are isolated by the use of optocouplers. To take full profit of this signal isolation, you have to connect the optocoupler to an external power supply.

The optocoupler input is prepared for input signals of 5 V or 24 V with the appropriate onboard serial resistors. For other signal levels an additional serial resistor has to be added to guarantee the proper forward current. The optooupler output is prepared for external voltage of 5 V or 24 V.

See also the following examples of optocoupler output. In industrial environment, signal levels of 24 V are usually needed.

Application note «External trigger and flash» gives good overview of applications involving external devices such as trigger and flash.

Host Bus Interface

Based on the PCI bus Revision 2.1 specification PicPort® framegrabbers are available to suit a variety of different host buses.

PicPort®-Digital series is currently available for standard PCI bus as well as in PMC module version.

Software

Driver Software

Leutron Vision Software Development Suite, LV-SDS, is a software development package (Windows, Linux, VxWorks) that allows full control of all PicPort® and PicProdigy® products. The suite consists of Daisy - the basic software interface for PicPort®/PicProdigy® cards, Camera Editor - easy interactive setup of standard and non-standard cameras, DRAL - a library for handling specific time-critical tasks, Orchid - high level library (DLL or OCX) for quick and easy design of PicPort®/PicProdigy® applications, TWAIN Driver and Video for Windows - provide a simple interface between Leutron Vision hardware and other office and image manipulation programs (e.g. MS Office, CorelDRAW, etc.).

The software products come complete with a set of demo programs and additional examples with source code as a guide to the programmer in developing particular applications. To obtain more comprehensive information please download the LV-SDS manual.

Third Party Software

Several well-known third party packages for real-time image processing and analysis are also supported. The packages include HALCON, Activ Vision Tools, NeuroCheck, and others. Please refer to our detailed software brochure (PDF) for more details.

Connector Description, Wiring Schemes

The pin wiring schemes of all the PicPort®-Digital connectors are described below.

Universal camera connector

100-pin (MDR-100, female) connector, same for all PicPort®-Digital boards

Pin Signal I/O Signal Format
PPD/RS422 PPD/RS644 PPD/RS644/TTL
Data port A1)
3 (+) AVDI 04) I RS422 RS644 RS644
2 (-) AVDI 04) I RS422 RS644 RS644
5 (+) AVDI 1 I RS422 RS644 RS644
4 (-) AVDI 1 I RS422 RS644 RS644
7 (+) AVDI 2 I RS422 RS644 RS644
6 (-) AVDI 2 I RS422 RS644 RS644
9 (+) AVDI 3 I RS422 RS644 RS644
8 (-) AVDI 3 I RS422 RS644 RS644
11 (+) AVDI 4 I RS422 RS644 RS644
10 (-) AVDI 4 I RS422 RS644 RS644
13 (+) AVDI 5 I RS422 RS644 RS644
12 (-) AVDI 5 I RS422 RS644 RS644
15 (+) AVDI 6 I RS422 RS644 RS644
14 (-) AVDI 6 I RS422 RS644 RS644
17 (+) AVDI 7 I RS422 RS644 RS644
16 (-) AVDI 7 I RS422 RS644 RS644
19 (+) AVDI 8 I RS422 RS644 RS644
18 (-) AVDI 8 I RS422 RS644 RS644
21 (+) AVDI 9 I RS422 RS644 RS644
20 (-) AVDI 9 I RS422 RS644 RS644
23 (+) AVDI 10 I RS422 RS644 RS644
22 (-) AVDI 10 I RS422 RS644 RS644
25 (+) AVDI 11 I RS422 RS644 RS644
24 (-) AVDI 11 I RS422 RS644 RS644
27 (+) AVDI 12 I RS422 RS644 RS644
26 (-) AVDI 12 I RS422 RS644 RS644
29 (+) AVDI 13 I RS422 RS644 RS644
28 (-) AVDI 13 I RS422 RS644 RS644
31 (+) AVDI 14 I RS422 RS644 RS644
30 (-) AVDI 14 I RS422 RS644 RS644
33 (+) AVDI 15 I RS422 RS644 RS644
32 (-) AVDI 15 I RS422 RS644 RS644
Data port B1)
53 (+) BVDI 04) I RS422 RS644 RS644
52 (-) BVDI 04) I RS422 RS644 RS644
55 (+) BVDI 1 I RS422 RS644 RS644
54 (-) BVDI 1 I RS422 RS644 RS644
57 (+) BVDI 2 I RS422 RS644 RS644
56 (-) BVDI 2 I RS422 RS644 RS644
59 (+) BVDI 3 I RS422 RS644 RS644
58 (-) BVDI 3 I RS422 RS644 RS644
61 (+) BVDI 4 I RS422 RS644 RS644
60 (-) BVDI 4 I RS422 RS644 RS644
63 (+) BVDI 5 I RS422 RS644 RS644
62 (-) BVDI 5 I RS422 RS644 RS644
65 (+) BVDI 6 I RS422 RS644 RS644
64 (-) BVDI 6 I RS422 RS644 RS644
67 (+) BVDI 7 I RS422 RS644 RS644
66 (-) BVDI 7 I RS422 RS644 RS644
69 (+) BVDI 8 I RS422 RS644 RS644
68 (-) BVDI 8 I RS422 RS644 RS644
71 (+) BVDI 9 I RS422 RS644 RS644
70 (-) BVDI 9 I RS422 RS644 RS644
73 (+) BVDI 10 I RS422 RS644 RS644
72 (-) BVDI 10 I RS422 RS644 RS644
75 (+) BVDI 11 I RS422 RS644 RS644
74 (-) BVDI 11 I RS422 RS644 RS644
77 (+) BVDI 12 I RS422 RS644 RS644
76 (-) BVDI 12 I RS422 RS644 RS644
79 (+) BVDI 13 I RS422 RS644 RS644
78 (-) BVDI 13 I RS422 RS644 RS644
81 (+) BVDI 14 I RS422 RS644 RS644
80 (-) BVDI 14 I RS422 RS644 RS644
83 (+) BVDI 15 I RS422 RS644 RS644
82 (-) BVDI 15 I RS422 RS644 RS644
Sync group 12)
37 (+) APCLK I/O RS422 RS644 RS422
36 (-) APCLK I/O RS422 RS644 RS422
39 (+) ASYNC3 I/O RS422 RS644 RS422
38 (-) ASYNC3 I/O RS422 RS644 RS422
41 (+) ASYNC1 I/O RS422 RS644 RS422
40 (-) ASYNC1 I/O RS422 RS644 RS422
43 (+) ASYNC2 I/O RS422 RS644 RS422
42 (-) ASYNC32 I/O RS422 RS644 RS422
Control signal group 22)3)
85 (+) CTRL0 I/O RS422 RS644 O=RS422, I=RS644
84 (-) CTRL0 I/O RS422 RS644 O=RS422, I=RS644
87 (+) CTRL1 I/O RS422 RS644 O=RS422, I=RS644
86 (-) CTRL1 I/O RS422 RS644 O=RS422, I=RS644
89 (+) CTRL2 I/O RS422 RS644 O=RS422, I=RS644
88 (-) CTRL2 I/O RS422 RS644 O=RS422, I=RS644
91 (+) CTRL3 I/O RS422 RS644 O=RS422, I=RS644
90 (-) CTRL3 I/O RS422 RS644 O=RS422, I=RS644
Control signal/sync group 32)
93 (+) BSYNC2 or CTRL4 I/O RS422 RS644 O=RS422, I=RS644
92 (-) BSYNC2 or CTRL4 I/O RS422 RS644 O=RS422, I=RS644
95 (+) BSYNC1 or CTRL5 I/O RS422 RS644 O=RS422, I=RS644
94 (-) BSYNC1 or CTRL5 I/O RS422 RS644 O=RS422, I=RS644
97 (+) BPCLK or CTRL6 I/O RS422 RS644 O=RS422, I=RS644
96 (-) BPCLK or CTRL6 I/O RS422 RS644 O=RS422, I=RS644
99 (+) CTRL7 I/O RS422 RS644 O=RS422, I=RS644
98 (-) CTRL7 I/O RS422 RS644 O=RS422, I=RS644
Power output
46, 47, 48, 49 +12 V ¡Ó10 % / 700 mA max. O - - -
44, 45 +5 V ¡Ó10 % / 1 A max. O - - -
34, 35, 50, 51 GND - - - -
1) Any pixel data size (1..16bit) must be connected LSB-aligned at Port A or B.
2) All signals in one set must have the same direction (in or out).
3) Group 2 signals are not terminated with 100 Ohms. For RS644-grabbers these resistors must be present if CTRL0..3 are used as inputs.
4) Any pixel data size (1..16bit) must be connectred LSB-aligned to the connectors's AVDI0/BVDI0!

Optocoupler I/O (Trigger I/O)

16-pin 2.54 mm terminal strip connector, same for all PicPort®-Digital boards (standard PCI models)

Optional conversion cable with D-sub 15-pin connector on a PC-slot bracket is available.

Pin 1) Pin 2) Signal
3 2 Optocoupler Input A0 + 5 V Anode
5 3 Optocoupler Input A1 + 24 V Anode
7 4 Optocoupler Input K Cathode (signal ground)
6 11 Optocoupler Output Emitter
4 10 Optocoupler Output Collector
1 1 TAP 5 V, External Power Supply
2 9 TAP 24 V, External Power Supply
10 13 +5 V power (for test purpose only)
15 8 +12 V power (for test purpose only)
12 14 Common Ground (+5/12 V)
8 12 reserved, do not connect
9 5 reserved, do not connect
11 6 reserved, do not connect
13 7 reserved, do not connect
14 15 reserved, do not connect
16 NC reserved, do not connect
1) Pin numbers for the 16-pin flatcable connector CO703 on PicPort®-Mono/Stereo.
On the solder side of the board you can see, that one of the 16 pins has a square shape,
the rest has circle shapes. The one with square shape is pin 1.
2) Pin numbers for the optional female Dsub-15 connector on a PC-slot-bracket.

Technical Specifications

  PicPort®-Digital
Bus PCI (Revision 2.1)
PMC module version is also avialable
Video inputs 2 (single-tap or two-tap)
Input format RS422, RS644
Video geometry resolution programmable up to 2048 ¡Ñ 2048
Pixel geometry CCIR601, square, programmable
Input channels 2
Data rate up to 24MHz/16-bit or 48MHz/8-bit per channel
Image coding up to 16-bit luminance
Input LUT n/a
Brightness n/a
Contrast n/a
Color hue n/a
Color saturation n/a
Gain n/a
Offset n/a
Downscaling horizontal 5-tap and vertical 1-tap independently interpolating scaler
Mirroring along x and/or y axes
Overlay freely programmable 1-bit lockmask stored in host memory
Color conversion monochrome or RGB target models with various color depths and data packing
8-bit VGA colors display 20 Windows system colors preserved with mask
Transfer to host bus master burst DMA transfer
Transfer rate peak rate up to 132 MB/s, real time for all acquisition modes
Synchronization, inputs H/V, pixel clock; RS422, RS644
Synchronization, outputs H/V, pixel clock; RS422, RS644
Asynchronous acquisition by external HW trigger
Plugs for video universal camera connector:
  • 100-pin flat MDR connector; add-on conversion cables designed to interface particular camera types are available on request
  • Trigger in/out by means of 8 general i/o differential signals
    Camera power out
  • 12 V, up to 1 A, protected
  • 5 V, up to 700 mA, protected
  • Power requirements
  • 5V/900mA,
  • +12V/90mA,
  • -12V/20mA
  • Operating temperature 0-50 ¢XC

    Complementary and Related Products

    Supporting software

    Comprehensive set of software tools consisting of video capture libraries and image processing libraries for Windows XP/2000/NT4, Windows Me/98/95 and for Linux. Please check especially the following ones:

    Daisy
    Video capture library of LV-SDS (Software Development Suite). Object oriented library of functions controlling all features of PicPort® and PicProdigy® boards.
    Camera editor
    An easy-to-use application enabling user to connect one of many predefined video sources or specify another, even nonstandard one.
    DRAL
    Extension libraries for Daisy providing real-time functionality of PicPort®/PicProdigy® frame grabbers.
    Orchid
    High level library for developing interactive applications with a few lines of code in visual tools like Microsoft Visual Basic, Borland Delphi, Borland C++ Builder, etc. Available as a DLL or as an OCX component.

    Suitable Cameras

    Please check the list of suitable cameras (digital RS644/RS422 models) for use with PicPort®-Digital. The link invokes page showing wide list of different suitable cameras, allowing you to specify more criterions and restrict the list only to the cameras exactly matching your needs.

    Correspondent cables

    All the necessary cables for connecting a camera to the framegrabber are available.

    Related Frame Grabbers

    PicPort®-Pro-CL
    Frame grabber with CameraLink digital interface.
    PicPort®-Mono/Stereo
    Frame grabber series for analog monochrome cameras.
    PicPort®-Digital-PMC
    PMC-module version of the PicPort®-Digital board.

    LVmPC®

    LVmPC® is an ultra compact, mobile image processing system for industrial and machine vision, based on standard PC technology and Leutron's frame grabber series. LVmPC® is available in a huge variety of different configurations.

    Ordering Information

    Ordering number Product Description
    11040 PicPort®-Digital/RS422 Standard PCI bus, for digital cameras, RS422 interface
    11041 PicPort®-Digital/RS644 Standard PCI bus, for digital cameras, RS644 interface
    11042 PicPort®-Digital/RS644/TTL Standard PCI bus, for digital cameras, RS644/TTL interface
    Complementary products
    16028 LV-SDS Driver software developer's suit for Windows and Linux
    15000 Potoelectric reflex switch set Ready to use with PicPort®-Digital, consists of photoelectric reflex switch, self adhesive reflective tape and mounting parts
    15012 Optocoupler test board Enables testing of the opto-isolated I/O functionality of all PicPort® framegrabbers
    14¡Ñ¡Ñ¡Ñ Various cables All needed cables for various camera models

    ¡@