Interfacing the JAI CV-M1 Camera with IMAQ 1409

Publish Date: Dec 17, 2014 | 8 Ratings | 2.38 out of 5 |  PDF

Overview

This article explains how to interface the high-resolution JAI CV-M1 progressive scan camera with National Instruments’ IMAQ 1409 device.

Table of Contents

  1. Introduction
  2. Camera Switches Setup
  3. Cabling Requirements
  4. Interfacing with the IMAQ 1409

1. Introduction

The JAI CV-M1 is a nonstandard, high-resolution analog camera that provides twelve images per second and has a resolution of 1300 x 1030 pixels. Because the JAI CV-M1 has a high-frequency pixel clock (20.25 MHz) that corresponds to a line frequency of 12.53 KHz, the IMAQ 1409 phase-locked loop circuitry cannot directly synchronize with the synchronization signal (HSYNC) of the incoming video signal. As a result, you cannot acquire images by connecting the video output of the camera to the input of the IMAQ 1409 and by using a standard configuration file.
However, the IMAQ 1409 can support the JAI CV-M1 in External Lock mode. In External Lock mode, the 1409 device receives HSYNC, VSYNC, and PCLK signals from the camera and uses these signals to acquire the video signal.

Back to Top

2. Camera Switches Setup

This section explains how to set up the JAI CV-M1 to output the synchronization signals and the pixel clock. This task requires that you modify some of the internal camera jumpers.

Note: If you are unsure of how to modify the jumpers inside the camera, please contact JAI technical support for more information.

See Figures 1 and 2 to locate the internal and external camera switches. See Tables 1 and 2 at the end of this section for a summary of the camera switch configuration. (These settings are valid for revision D of the JAI CV-M1.)

Make the following modifications to the jumpers on the PK8105 board:

  • To change the termination of the external synchronization signals, make sure switches SW3-1 and SW3-2 are set to OFF. These settings should be the factory default.
  • To output the synchronization signals (HSYNC and VSYNC), short-circuit JP3 and JP6, and open-circuit JP2, JP4, and JP5.
  • To output the pixel clock pulse, short-circuit JP7. Pixel clock pulse is output from pin number 9 of the 12-pin multi-connector.




Figure 1: PK8105 Board, Side A (from the JAI CV-M1 Operation Manual, Rev. D)



Make the following modification to the external camera switches:

  • Make sure switch SW1-5 is set to OFF (normal speed).



Figure 2: Back Pane of the JAI CV-M1 (from the JAI CV-M1 Operation Manual, Rev.D)



Summary: Camera Settings

Tables 1 and 2 below offer a quick reference for adjusting the camera settings.

Table 1: Internal Switches and Jumper Settings

Switch No. Location Setting Value
 SW3-1  PK8105 Board   Ext. HD Signal Termination  OFF (TTL)
 SW3-2  PK8105 Board   Ext. VD Signal Termination  OFF (TTL)
 JP2  PK8105 Board   VD Signal Direction  Open-Circuited (output)
 JP3  PK8105 Board  Short-Circuited (output)
 JP4  PK8105 Board  Open-Circuited (output)
 JP5  PK8105 Board   HD Signal Direction  Open-Circuited (output)
 JP6  PK8105 Board  Short-Circuited (output)
 JP7  PK8105 Board   Pixel Clock Direction  Short-Circuited (output)




Table 2: External Switches Settings

Switch No. Location Setting Value
 SW1-1  Back of Camera   Exposure Setting  EITHER
 SW1-2  Back of Camera  EITHER
 SW1-3  Back of Camera  EITHER
 SW1-4  Back of Camera  EITHER
 SW1-5  Back of Camera   Readout Mode  OFF (Normal Speed)
 SW1-6  Back of Camera   External Trigger Mode  OFF (Internal Sync)
 SW1-7  Back of Camera  OFF (Internal Sync)
 SW1-8  Back of Camera   RS-232 Interface  EITHER


Back to Top

3. Cabling Requirements




This section discusses cabling and power supply requirements. Figure 7 shows the cable schematics for the JAI CV-M1 and the IMAQ 1409.



Figure 7: Cable Schematics


Note: You can use the IMAQ-A6822 breakout box to easily prototype your cable.

The IMAQ 1409 operates in External Lock mode. This mode requires that you provide the horizontal and vertical synchronization signals, the pixel clock, and the video signal to the board. Tables 3 and 4 outline the connection requirements.


Table 3: Connecting the 1409 to the JAI CV-M1 (12-Pin Hirose Connector)

Signal 68-Pin IMAQ Connector (Male)

Pin Number      Signal Name
Signal Direction 12-Pin Hirose Connector
(JAI CV-M1) (Female)
Pin Number           Signal Name
   H Sync   16    HSYNC_IN +   6   Ext. HD Output
  26    DGND   5   GND
   V Sync   15    VSYNC_IN +   7   Ext. VD Output
  42    DGND   8   GND
Pixel Clock   3    PCLK_IN+   9   Pixel Clock Output
  2    DGND   10   GND
   Video   68    VIDEO(0)+   4   VIDEO OUT
  60    DGND   3   GND



Table 4: Power Supply

Signal 12-Pin Hirose Connector
(Power Supply) (Male)
Pin Number         Signal Name
Signal Direction 12-Pin Hirose Connector
(JAI CV-M1) (Female)
Pin Number          Signal Name
Power Supply   1    GND   1   GND
  2    +12V   2   +12V DC Input



Note: To preserve the quality and signal-to-noise ratio of the analog video signal, National Instruments recommends a cable length less than 10 meters (~30 feet).

Back to Top

4. Interfacing with the IMAQ 1409




This section explains how to configure your hardware and software to acquire images with the JAI CV-M1.

Note: Before configuring your software, make sure to remove the W1 jumper on the 1409 device.

Configuration Files

1. Copy the JAI CV-M1(1409).icd file into the <NI-IMAQ>\Data folder.

2. Launch Measurement & Automation Explorer (MAX).

  1. Expand the Devices and Interfaces branch of the tree view.
  2. Expand the IMAQ PCI/PXI-1409 branch of the tree view.
  3. Right-click Channel 0.
  4. Select Camera>>JAI>>JAI CV-M1.
  5. Click Save.

3. Click Snap or Grab to acquire images.


To download the camera configuration file, go to ftp://ftp.ni.com/support/imaq/camera_support/camera_files/analog/jai/ and download the file JAI CV-M1(1409).icd.

Back to Top

Bookmark & Share


Ratings

Rate this document

Answered Your Question?
Yes No

Submit