DAQ system PCIe-FRM11 User Manual

Hide thumbs Also See for PCIe-FRM11:

Advertisement

Quick Links

PCIe-FRM11
User Manual
Version 1.4
ⓒ 2005 DAQ SYSTEM Co., Ltd. All rights reserved.
Microsoft® is a registered trademark; Windows®, Windows NT®, Windows XP®, Windows 7®, Windows 8®, Windows 10®
All other trademarks or intellectual property mentioned herein belongs to their respective owners.
Information furnished by DAQ SYSTEM is believed to be accurate and reliable, However, no responsibility is assumed by DAQ SYSTEM for its use, nor
for any infringements of patents or other rights of third parties which may result from its use. No license is granted by implication or otherwise under
any patent or copyrights of DAQ SYSTEM.
The information in this document is subject to change without notice and no part of this document may be copied or reproduced without the prior
written consent.

Advertisement

Table of Contents
loading

Summary of Contents for DAQ system PCIe-FRM11

  • Page 1 All other trademarks or intellectual property mentioned herein belongs to their respective owners. Information furnished by DAQ SYSTEM is believed to be accurate and reliable, However, no responsibility is assumed by DAQ SYSTEM for its use, nor for any infringements of patents or other rights of third parties which may result from its use. No license is granted by implication or otherwise under any patent or copyrights of DAQ SYSTEM.
  • Page 2: Table Of Contents

    2-1 Board Block Diagram ------------------------------------------------------------------------ 2-2 FPGA Block Diagram ------------------------------------------------------------------------ 2-3 Camera Link ------------------------------------------------------------------------ 2-4 Camera Link Cable & Connector ----------------------------------------------------------- 2-5 Camera Link & PCIE-FRM11 ---------------------------------------------------------- 3. PCIe-FRM11 Board Description 3-1 Board Layout ------------------------------------------------------------------------ 3-2 Device Features ------------------------------------------------------------------------ 3-3 Connector Pin out...
  • Page 3 PCIe-FRM11 User’s Manual 4. Installation 4-1 Product Contents ----------------------------------------------------------------------- 4-2 Installation Process ------------------------------------------------------------------------ 5. Sample Program 5-1 Image Frame Function ---------------------------------------------------------------------- 5-2 DIO Function ---------------------------------------------------------------------- 5-3 UART Function ---------------------------------------------------------------------- FRAME_TEST Program ---------------------------------------------------------------- 6. Test 6-1 Image Frame Input Test ------------------------------------------------------------------...
  • Page 4: Introduction

    API, and the figure below shows the interlocking operation of the board. [Figure 1-1. PCIe-FRM11 Board Usage] In [Figure 1-1], PCIe-FRM11 is installed in the PCI Express slot in the PC and receives from the camera through the image frame through the Camera-Link standard interface. It is responsible for transmitting the received data to the application program through the PCI Express 1x interface.
  • Page 5: Product Features

    PCIe-FRM11 User’s Manual 1-1 Product Features Items Description Remark Hardware PC Interface PCI Express 1x Operation Power PC Power +3.3V (Max 1.1A) +12V (Max 1A). Video Interface Base Camera Link Feature Area Scan Camera Pixel Clock : 20 ~ 85MHz External I/O 4-Ch.
  • Page 6: Product Application

    PCIe-FRM11 User’s Manual 1-2 Product Applications Image recognition (Pattern, particle, etc.)  Inspection equipment (Sensor, Semiconductor, Device etc.)  Black and White, Color Image Display  Medical Image Capture (X-ray, Supersonic etc.) ...
  • Page 7: Pcie-Frm11 Board Function

    2. PCIe-FRM11 Board Function 2-1 Board Block Diagram As shown in the figure below, in the case of PCIe-FRM11, FPGA Core Logic is in charge of overall control. Main functions include Frame Data reception, UART data transmission/reception for this, Camera Control signal and external trigger.
  • Page 8: Fpga Block Diagram

    PCIe-FRM11 User’s Manual 2-2 FPGA Block Diagram The FPGA core logic is programmed using JTAG, and the logic program is saved in FPGA Program Logic and loaded when power is applied. [Figure 2-2. PCIe-FRM11 FPGA Block Diagram]...
  • Page 9: Camera Link

    PCIe-FRM11 User’s Manual 2-3 Camera Link Camera Link is a communication interface developed for use in vision applications. In the past, we used proprietary connectors and cables between camera makers and frame grabber makers. This caused a lot of confusion and cost increase for users. In order to resolve this confusion,...
  • Page 10 PCIe-FRM11 User’s Manual [Figure 2-3. Base Camera Link Block Diagram]...
  • Page 11: Camera Link Cable & Connector

    PCIe-FRM11 User’s Manual 2-4 Camera Link Cable & Connector Camera Link The connection between the camera and the PCIe-FRM11 board uses a 26 Pin MDR (Mini D Ribbon) cable. The camera link cable consists of a twin-axial shielded cable and two MDR 26-male plugs.
  • Page 12: Camera Link & Pcie-Frm11

    (Frame Valid, Line Valid, Data Valid, and a spare) through the Channel Link chip in PCIe-FRM11. In addition, a clock signal is made with one LVDS to synchronize the signal between the camera and PCIe-FRM11, and the remaining cameras control signals and communication signals are converted into general TTL signal levels and used.
  • Page 13 PCIe-FRM11 User’s Manual The figure below shows the circuit that uses the serial input signal input through the Camera- link cable as a general input on the PCIe-FRM11 board. [Figure 2-8. Serial Communication LVDS Digital Output Circuit] PCIe-FRM11 supports Base Configuration including the following bit allocation.
  • Page 14: Pcie-Frm11 Board Description

    PCIe-FRM11 User’s Manual 3. PCIe-FRM11 Board Description Each important board function is briefly described. For detailed function information, please refer to the parts specification. 3-1 PCIe-FRM11 Board Layout [Figure 3-1. PCIe-FRM11 Layout] There are a total of five LEDs on the board, and the description of each is as follows.
  • Page 15: Device Features

    PCIe-FRM11 User’s Manual 3-2 Device Features (1) U1 : Differential Line Receiver Camera Control Signal (2) U2 : I2C Serial EEPROM U6 PCI Express Chipset Configuration (3) U3 : Differential Line Driver/Receiver Serial communication between camera and frame grabber (4) U4 : LVDS Receive an image frame.
  • Page 16: Connector Pin Out

    PCIe-FRM11 User’s Manual 3-3 Connector Pin-out The connectors and jumpers used in PCIe-FRM11 will be described. The main connectors are MDR 26pin connector J1 for Camera Link connection, D-SUB 15pin connector for external I/O connection, and Mini-circular connector for external power supply. [Figure 3-2] shows the bracket that interfaces with the board and the connection connector.
  • Page 17: J1(Mdr) Connector

    Camera Link standard, so please refer to the Camera Link standard document for details. Frame Grabber Inner shield Inner shield Xclk- Xclk+ SerTC+ SerTC- SerTFG- SerTFG+ CC1- CC1+ CC2+ CC2- CC3- CC3+ CC4+ CC4- Inner shield Inner shield [Figure 3-3. PCIe-FRM11 J1 Connector Pin-out]...
  • Page 18 PCIe-FRM11 User’s Manual [Table 1. J1 Connector] Pin No Name Description Remark Inner Shield Cable shield CC4- Camera Control output 4- CC3+ Camera Control output 3+ CC2-- Camera Control output 2- CC1+ Camera Control output 1+ SerTFG+ Serial to Frame grabber +...
  • Page 19: J5 Connector

    PCIe-FRM11 User’s Manual 3-3-2 J5 Connector The PCIe-FRM11 board is an external digital input/output device, and 8 digital inputs and 8 digital outputs isolated by a photo-coupler can be used through the J5 connector. The photo-coupler circuit is shown below.
  • Page 20 PCIe-FRM11 User’s Manual DIN6 Input 6 DIN3 Input 3 DIN7 Input 7 DIN_COM Input Common DIN_COM Input Common DOUT0 Output 0 DOUT4 Output 4 DOUT1 Output 1 DOUT5 Output 5 DOUT2 Output 2 DOUT6 Output 6 DOUT3 Output 3 DOUT7...
  • Page 21: Dsub-15 Connector

    PCIe-FRM11 User’s Manual 3-3-3 Dsub-15 Connector On the PCIe-FRM11 board, 5 digital inputs and 8 digital outputs isolated by photo- couplers can be connected to the Dsub-15 connector on the board with a cable through the J5 connector. The pin map of the Dsub-15 connector is shown in the figure below.
  • Page 22: Mini-Circular Connector

    PCIe-FRM11 User’s Manual 3-3-4 Mini-Circular Connector The PCIe-FRM11 board has a 6-pin mini circular connector, so you can supply DC12 power to the outside (camera). The maximum usable current is 1A, and to use more than 1A current, a separate power supply must be used.
  • Page 23: Sw1 Switch

    PCIe-FRM11 User’s Manual 3-3-5 SW1 Switch PCIe-FRM11 board is designed to use up to 4 PCIe-FRM11 boards simultaneously in one system (PC). Each board classification can be set through the 4-pin DIP switch in the board. [Figure 3-6. SW1 Switch (Top View)] [Table 5.
  • Page 24: Photo Coupler In/Out

    The photo-coupler input can be connected with other DIO boards of the DQ system or connected with a cable (20 pins) through the J2 connector connected to the DSUB 15 pin connector of the PCIe-FRM11 board. In this case, only input bits 4 to 0 are connected. .
  • Page 25: Photo Coupler Output

    The photo-coupler output can be connected with other DIO boards of the DQ system or connected with a cable (20 pins) through the J2 connector connected to the DSUB 15 pin connector of the PCIe-FRM11 board, and in this case, output bits 7 to 0 are connected.
  • Page 26: Installation

    PCIe-FRM11 User’s Manual 4. Installation 4-1 Product Contents Before installing the board, check that the contents of the package are intact. 1. PCIe-FRM11 Board 2. CD (Drivers/Manual/API/Sample source etc.) 4-2 Installation Process The board environment must be Windows 2000 SP4 or higher and Windows XP SP1 or higher.
  • Page 27 PCIe-FRM11 User’s Manual 2. Select Driver from the enclosed CD and click the Next button. 3. Click the Next button. It indicates that the installation process is proceeding as shown below. The driver folder contains “pcie_frm11.inf” and “pcie_frm11.sys” files required for driver...
  • Page 28 4. When the installation is completed normally, it is shown in the figure below. 5. When the installation is complete, check whether the driver is installed normally in the following way. 6. In My Computer -> Properties -> Hardware -> Device Manager, check if the Multifunction Adapter -> “PCIe-FRM11” is installed.
  • Page 29 PCIe-FRM11 User’s Manual 7. If it appears as shown in the figure below, the installation has been completed normally. The above figure shows the screen where the PCIe-FRM11 board is normally installed in the PC. (Check the red circle) (Note) After initial installation, the PC must be rebooted for normal operation.
  • Page 30: Sample Program

    PCIe-FRM11 User’s Manual 5. Sample Program Sample programs “FrmTest.exe” and “FRM11_TEST.exe” are provided in the TestApp folder of the CDROM provided with the board for easy use of the board. First, “FrmTest.exe”, one of the executable files, displays Frame Data as a hexadecimal value and stores it in memory or hard disk so that developers can utilize the frame data needed by the user, and the user can understand the frame data.
  • Page 31 PCIe-FRM11 User’s Manual API (Application Programming Interface) is required to use the above sample program. API is provided in the form of “DLL”, and import library and header file are required to compile. All files specified above are included on the supplied CDROM. In order to run the sample program normally, the API DLL (pci_frm11.dll) must be in the folder of the executable file or in the Windows system...
  • Page 32 PCIe-FRM11 User’s Manual (8) „FRAME Read‟ button Press this button to read the image frame data of the board to your PC. If image frame data is not saved on the board, you must wait until the end of data collection.
  • Page 33: Dio Function

    PCIe-FRM11 User’s Manual (13) „Frame View‟ button When you click, the screen displays only once. (14) „Auto View‟ click When you click, the screen shows video. (15) „R_B Swap‟ click Converts the color of the image. (Red <-> Blue) (16) „Save Compare‟...
  • Page 34: Uart Function

    Transmits data to the UART. After writing the data to be transferred in the editor box, press the button (5) „Get Data‟ button The UART data transmitted from the camera to the PCIe-FRM11 is read. (6) Clear Data button Clears the UART data recorded in the editor box.
  • Page 35: Frame_Test Program

    PCIe-FRM11 User’s Manual 5-4 FRM11_TEST Program [Figure 5-3. Sample Program “FRM11_TEST.exe”] This programs sets the DVAL or HVAL for valid data line. DVAL Use : DVAL(Data Valid) Use HVAL Use : HVAL(Frame Valid) Use...
  • Page 36: Test

    Link [Figure 6-1. Equipment Connection for Testing] In the figure above, the PCIe-FRM11 board is installed in the PC, but the figure is drawn outside for better understanding. The image frame simulator uses a self-made one by the DAQ system, and if you have an actual device, you can use it.
  • Page 37: Uart Tx/Rx Test

    PCIe-FRM11 User’s Manual 6-2 UART Tx/Rx Test In the above connection state, the image frame simulator periodically transmits serial data to the board. (1) After initialization by pressing the UART init button, press the “Start Timer” button to periodically read the UART data transmitted from the simulator and display it on the screen.
  • Page 38: Appendix

    PCIe-FRM11 User’s Manual Appendix Board Size The external sizes of the board are as follows. For detailed dimensions, please contact the person in charge. 120.8...
  • Page 39: Repair Regulations

    ⑥ Products whose serial number has been changed or removed intentionally ⑦ If DAQ SYSTEM determines that it is the customer's fault for other reasons (5) Shipping costs for returning the repaired product to DAQ SYSTEM are the responsibility of the customer.
  • Page 40: References

    1. Specification of Camera Link Interface Standard for Digital Cameras and Frame Grabbers -- Camera Link committee 2. PCI Local Bus Specification Revision2.1 -- PCI Special Interest Group 3. AN201 How to build application using API -- DAQ system 4. AN312 PCIe-FRM11 API Programming -- DAQ system...
  • Page 41 PCIe-FRM11 User’s Manual MEMO Contact Point Web sit : https://www.daqsystem.com Email : postmaster@daqsystem.com...

Table of Contents