DAQ system USB3-FRM13 K User manual

USB3-FRM13
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.

USB3-FRM13 User’s Manual
1
Contents
1. Introduction -------------------------------------------------------------------------- 3
1-1 Product Features ------------------------------------------------------------------------ 4
1-2 Product Applications ------------------------------------------------------------------------ 5
2. USB3-FRM13 Board Function
2-1 Block Diagram ------------------------------------------------------------------------ 6
2-2 Camera Link ------------------------------------------------------------------------ 7
2-3 Camera Link Cable & Connector ----------------------------------------------------------- 10
2-4 Camera Link & USB3-FRM13 ---------------------------------------------------------- 11
2-5 PoCL Function ------------------------------------------------------------------------ 12
2-6 Encoder Trigger Controller ----------------------------------------------------------- 15
2-6-1 Trigger Mode -------------------------------------------------------------------- 15
2-6-2 A,B,Z Encoder -------------------------------------------------------------------- 17
3. USB3-FRM13 Board Description
3-1 USB3-FRM13 Board Layout ----------------------------------------------------------------- 19
3-2 Device Features ----------------------------------------------------------------------- 20
3-3 Connector Pin out
3-3-1 CN1 Connector -------------------------------------------------------------------- 21
3-3-2 J3 Connector -------------------------------------------------------------------- 22
3-3-3 J4(MDR26) Connector --------------------------------------------------------------- 23
3-3-4 J8(MDR26) Connector -------------------------------------------------------------- 25
3-3-5 J9 Connector -------------------------------------------------------------------- 26
3-3-6 J11 Connector -------------------------------------------------------------------- 27
4. Installation
4-1 Product Contents ------------------------------------------------------------------------ 28
4-2 Installation Process ------------------------------------------------------------------------ 28

USB3-FRM13 User’s Manual
2
5. Sample Program ---------------------------------------------------------------------- 34
5-1 Image Frame Function ----------------------------------------------------------------------- 35
5-2 Multi-board Function ---------------------------------------------------------------------- 37
5-3 Status Function ---------------------------------------------------------------------- 37
5-4 I2C Read/Write Function ---------------------------------------------------------- 38
5-5 Line Scan Camera Trigger Function --------------------------------------------------------- 39
Appendix
A-1 Board Size ---------------------------------------------------------------------- 43
A-2 Repair Regulations ---------------------------------------------------------------------- 44
References ------------------------------------------------------------------------ 45

USB3-FRM13 User’s Manual
3
1. Introduction
USB3-FRM13 is an image acquisition board to support Full configuration camera Link compatible
cameras. Acquire images in real time and directly transferred to the system memory. Easy installation
and fast image transfer is a suitable device to meet the needs of the industry's low-cost, high-
efficiency.
The sample program provided by the DQ system is provided in the form of a source so that the API
provided to use the board can be tested briefly, so the user can modify it and use it. Refer to Chapter
5 Sample Program for detailed explanation.
The Mini MDR 26-pin connector can connect with Camera Link compatible cameras, the bottom
connector (J8) supports Base Camera Link Configuration, and the top (J4) connector supports
Full/Medium Camera Link Configuration with the bottom connector. In addition, it has the function of
external control by providing 4 pairs of RS-422 signal lines and 6 TTL level Line/Area Trigger signals.
Please refer to 3-3 Connector Pin-Out for detailed explanation.
This is a board that transmits the captured image frame to the PC through the PCI Express 1x
interface method in conjunction with the standard Camera-link camera. The operation of the board is
controlled by the program API, and the figure below shows the interlocking operation of the board.
[Figure 1-1. USB3-FRM13 Board Usage]

USB3-FRM13 User’s Manual
4
1-1 Product Features
Items
Description
Remark
Hardware
PC Interface
USB 3.0
B-Type
Operation Power
+12VDC/650mA
External 12V DC Power
(A6-Type : 5.5x2.1mm)
Video Interface
Base/Medium/Full Camera Link
Feature
Area/Line Scan Camera
Pixel Clock : 20 ~ 85MHz
Under 8tap 85MHz/10tap 65MHz
PoCL
12V (333mA)
Interface
4TTL Digital I/O
2TTL Trigger I/O
4-pair Differential Encoder Signal
Isolated Photo Coupler
On-board Memory
256MB (DDR3)
Communication
UART(Data bit 8, 1 start, 1 stop, No
parity, 9600/19200/38400/57600
/115200bps)
Simultaneous use of
boards
Max. 4
Software
OS
Windows 2000/XP/7/8/10 (32/64bit)
API
Windows Client DLL API
Development
Support
Sample Program
VC++
Environmental conditions
Operating temperature
range
0 ~ 60℃
Storage temperature
range
-20 ~ 80℃
Humidity range
5 ~ 95%
Non-condensing
Board size
80mm X 110mm
PCB Board Size

USB3-FRM13 User’s Manual
5
1-2 Product Applications
Image recognition (Pattern, particle, etc.)
Inspection equipment (Sensor, Semiconductor, Device etc.)
Security Solution
Black and White, Color Image Display
Medical Image Capture (X-ray, Supersonic etc.)

USB3-FRM13 User’s Manual
6
2. USB3-FRM13 Board Function
2-1 Block Diagram
As shown in the figure below, in the case of USB3-FRM13, FPGA Core Logic is in charge of
overall control. Its main function is to receive Image Frame Data through two Mini MDR-26
connectors, write it to DDR#1 and DDR#2 first, and transmit it to the PC upon request. These
functions are performed using API in PC through USB 3.0 interface.
[Figure 2-1. USB3-FRM13 Block Diagram]
Programming FPGA Core Logic is performed via the JTAG interface. The logic program of the
FPGA is saved in a flash ROM, it is located on the board and loaded at the power-up time.

USB3-FRM13 User’s Manual
7
2-2 Camera Link
Camera Link is a communication interface for use in a vision application development. In the
past, the camera manufacturer and Frame Grabber manufacturers use their own standard
connectors and cables. This has caused a lot of confusion and increased costs to users. In order to
eliminate this confusion and increase the data rate and data transmission trouble, the
specifications of Camera Link interface have been made to the regulations of cable or connector
assembly specifications, transfer speed, transfer method at the meeting of camera makers and
Frame grabber manufacturers.
Currently, many digital video solution use the LVDS (Low Voltage Differential Signal)
communication as defined RS-644. LVDS is a way to improve the existing RS-422 that had
intractable cable and transmission speed limit. RS-644 LVDS was the Camera Link standard. The
LVDS can be transferred the data at high speed using low voltage swing differential signal
Differential Signal. This is compared with the existing single-ended signal (Single-ended Signal)
using one of the lines, the differential signal transmits the signal using two complementary lines.
Such a transfer is characterized by excellent noise immunity, low power consumption, large in-
phase voltage transmission to refer only to the data transfer on the ground, however Single-
ended system is impossible.
Camera Link has multiple configuration with depending on the amount of data to be transferred.
Base Configuration consists of 28 bits, including a 24-bit pixel data and 3-bit video sync signal
lines of the Data Valid, Frame Line Valid, Line Valid, one reserved signal line, and can transmit
2.04Gbit / s (256MB / s). Medium Configuration can be transmitted the 48bit video signal to
4.08Gbit/s(510Mb/s), Full Configuration can be transmitted the 64bit video signal to
5.44Gbit/s(680MB/s). Camera Link requires two cables to transfer more than Medium
Specifications.
Transmitter part is converted to LVDS data stem’s 4/8/12 from 28/48/64 bit CMOS / TTL data
only. Converted signal is transmitted to MDR Cable in accordance with the Transmit Clock signal,
the opposite Receiver will be converted into parallel LVDS data of 28/48/64 bits of CMOS / TTL
according to the Receive Clock signal from 4/8/12 LVDS data. This Channel Link technology can
immediately take advantage of the low cost chip-set because easy to learn and easy to transplant.
Camera Link Interface includes Base Configuration, Medium Configuration, Full Configuration.
Base Configuration is used 4 RS-644 LVDS pairs for controlling the Transmitter/Receiver and
Camera like [Figure 2-2], is used for communication between the camera and the frame grabber.
Transferred the data from serial 26-Pin MDR Cable, is used to change 28-bit parallel image data at
the Receiver part of Frame Grabber.

USB3-FRM13 User’s Manual
8
[Figure 2-2. Base Camera Link Block Diagram]

USB3-FRM13 User’s Manual
9
[Figure 2-3. Full Camera Link Block Diagram]

USB3-FRM13 User’s Manual
10
2-3 Camera Link Cable & Connector
The connection between the camera link cameras and USB3-FRM13 board uses the 26 Pin Mini
MDR (Mini D Ribbon) cable. Camera Link cable consists of twin-axial shielded cable and 2 Mini
MDR 26-male plug. The bottom of [Figure 2-4] Camera Link cable is typically used.
26-Pin Mini MDR Connecter is located at the end of the cable as like [Figure 2-5], [Figure 2-6] is
26-Pin Mini MDR Connecter, placed at the Camera or Frame Grabber. As shown in the figure, Pin
numbers are cross-linked to each other, Transmitter and Receiver of Camera and Frame Grabber
signals are connected cross each other.
[Figure 2-4. Mini MDR-26 Camera Link Straight Cable]
[Figure 2-5. Mini MDR-26 Cable Pin Map]
[Figure 2-6. Mini MDR-26 Connector Pin Map(Opposite Connector)]

USB3-FRM13 User’s Manual
11
2-4 Camera Link & USB3-FRM13
USB3-FRM13 supports Camera Link Base/Medium/Full Configuration. Base Configuration, 24
data bits and four enable signals Frame Valid, Line Valid, Data Valid and a spare, including 28-bit
parallel signals serialized four LVDS signal lines and one LVDS signal line to fit the camera and
synchronous LVDS signal lines including four CC (Camera Control) signal and full 11 includes two
asynchronous serial communication to communicate with the camera LVDS lines, is transmitted
through one MDR cable. In order to use the MDR Medium / Full Configuration is used other cable
and has a total 64bit wide video path.
The transmitted signal parallelizes 12 video LVDS serial signals into 64-bit parallel video signals
and control signals for each specification (Frame Valid, Line Valid, Data Valid, and a spare) through
the Channel Link chip in USB3-FRM13. In addition, one LVDS to synchronize the signal between
the camera and the USB3-FRM13 makes a clock signal, and the remaining cameras control signals
and communication signals are converted into general TTL signal levels and used.
CCx+
CCx-
Camera Control
Above picture is a Camera Control output circuit from USB3-FRM13 board to Camera for the
specific control of the Camera-link Cable. The USB3-FRM13 board has four differential digital
outputs. Each output is mapped by Digital output. Below picture [Figure 2-7] display that each bit
position set.
CC1+
CC1-
CC_D0
CC2+
CC2-
CC_D1
CC3+
CC3-
CC_D2
CC4+
CC4-
CC_D3
[Figure 2-7. Camera Control LVDS Digital Output Circuit]

USB3-FRM13 User’s Manual
12
The serial input signal through the Camera-link cable is used for general input circuit from USB3-
FRM13 board.
[Figure 2-8. Serial Communication LVDS Digital Output Circuit]
2-5 PoCL Function
PoCL (Power over Camera Link) is to transmit the power to the cable such as the data transfer
cable to the camera. [Figure 2-9] shows the connection with theUSB3-FRM13 and the camera.
(a) Base Configuration PoCL Connection
(b) Full Configuration PoCL Connection
Camera Link Signals Power, Other Control Signal
[Figure 2-9. PoCL Connections]
This concept is similar the USB-powered devices to receive power from a power source such
as a Repeater or Frame Grabber. PoCL has an advantage of reducing the number of interfaces
required by the back of the camera. That is, using the four drain of the Camera Link cable wires
(4 ground), the power cable can be removed from the camera. Not only it does not have any
effect the quality of data from the camera, but also it is very helpful in reducing the cost and size
of the system to remove the power source terminal.

USB3-FRM13 User’s Manual
13
[Figure 2-10. Connection without Power Cable]
Implementation of PoCL that is, power transfer is used by setting the Camera Link 1, 13, 14, 26
pins as [table 1] and 1 and 26pins are used as the power(+ 12V). It can supply current of 330mA
for 12V, it can supply current of 400mA for 10V as standard on 4W (watt),
For USB3-FRM13, PoCL function can be implemented in the Base Configuration Connector.
It is available for Base / Full Configuration camera.
[Table 1. Camera Link Connection for PoCL]
Pin
Existing Camera Link Connector
PoCL Connector
1
Inner Shield
Power (nominal 12V DC)
26
Inner Shield
Power (nominal 12V DC)
13
Inner Shield
Power Return
14
Inner Shield
Power Return
13 12 11 10 9 8 6 5 4 3 2 17
26 25 24 23 22 21 19 18 17 16 15 1420
Power Lines
Power Return Lines
[Figure 2-11. PoCL Connector Pin Out]

USB3-FRM13 User’s Manual
14
123 4 5 6 8 9 10 11 12 137
14 15 16 17 18 19 21 22 23 24 25 2620
Power Lines
Power Return Lines
[Figure 2-12. PoCL Cable Pin out]
In order to use a PoCL, generally it requires a transformation of the Frame Grabber (power
supply section) or a dedicated cable. Frame Grabber conversion is divided into the power by
changing the design of the product to include a power supply "safe power" or "dedicated power".
Difference between the two, in the case of of "safe power" is to add some of the sensor circuit in
order to detect the possible PoCL camera –it does not detect the camera and cable, there is no
power supply. "Dedicated power" is always supplied a power, but use a fuse in order to supply
the equipment that do not receive support.
USB3-FRM13 supports dedicated power. It is only available if the camera supports PoCL and
uses PoCL cables. If either the camera or the cable does not support PoCL, PoCL does not work.
If you do not want to use the PoCL of the camera while using the PoCL cable, disconnect the
fuse (F1) on the board.
[Table 2. Compatibility Table]
Frame Grabber
Camera
Cable
Operability
Switchable PoCL
Frame Grabber
Conventional
Conventional
OK
PoCL
OK
PoCL
Conventional
NOK
PoCL
OK
Dedicated PoCL
Frame Grabber
Conventional
Conventional
NOK
PoCL
NOK
PoCL
Conventional
NOK
PoCL
OK
Conventional
Frame Grabber
Conventional
Conventional
OK
PoCL
OK
PoCL
Conventional
NOK
PoCL
NOK
Caution) When using a camera with PoCL applied and connecting a camera without
PoCL applied (when used at the same time), it is recommended to turn the
board power off and then on.

USB3-FRM13 User’s Manual
15
2-6 Encoder Trigger Controller
USB3-FRM13 has 4 pair isolated photo-coupler and 6 TTL level signal lines for external digital
I/O (Motion Controller, Digital I/O board etc.) and it can control a camera. For detailed signal
line description, refer to section 3-3-6.
Camera-Link
Camera
Base
1
239
40
DAQ system
O
N
1
2
Trigger Interface
Trigger Interface
Encoder
Light
USB3-FRM13
DAQ system
www.daqsystem.co
m
USB3-
FRM13
Rev. A
J8
J4
J11
[Figure 2-13. Encoder Trigger Control]
2-6-1 Trigger Mode
USB3-FRM13 can be used for an external trigger.
The figure below shows a circuit that trigger signal inputs through the connector J3 are
used to the general board input/output. This signals - are converted the CC (Camera
Control) signal of Camera Link inside FPGA logic - will send to the camera. Currently set to
CC1 ~ CC4 is shown below.

USB3-FRM13 User’s Manual
16
USB3-FRM13
OUT
TTL(3.3V)
Line Drive
Encoder
Encoder IN
Line Driver
PHOTO
FPGA Core Logic Camera
Motion Controller
Or
Digital I/O
bit0(CC1 configure) = “0” : digital out1 / “1”: alternate (Trigger1 output)
bit1(CC2 configure) = “0” : digital out2 / “1”: alternate (Trigger2 output)
bit2(CC3 configure) = “0” : digital out3 / “1”: (Digital output)
bit3(CC4 configure) = “0” : digital out4 / “1”: alternate (Reference clock output)
The Line Scan Camera is less time to transfer the information rather than Area Scan
Camera because the outputs are a single line of pixels per exposure. However, the Line
Scan Camera will be required moving objects in order to obtain images. Synchronization
between the movements of the camera and the object is required. This synchronization is
a little difference according to the manufacture’s cameras and is performed by the trigger
pulse which most of the triggering signal of an external camera or the camera’s itself. The
trigger pulse is initiated by the application. A thickness, width, delay of the trigger can be
gave a value (Blank, Width, Delay) by the program.
[Figure 2-14. Trigger Timing]

USB3-FRM13 User’s Manual
17
2-6-2 A, B, Z Encoder
USB3-FRM13 board can be controlled with using four pair Isolated Photo coupler
input signals. Photo-coupler circuit is shown below. Output current should be used less
than 10mA.
EA, EB, EZ,
REV EA+, EB+, EZ+,
REV+
EA-, EB-, EZ-,
REV-
680
[Figure 2-15. Photo-coupler Circuit]
Caution) As Trigger Control can change according to kinds of Motion Controller or
Camera, when you want use this function, contact to DAQ system
Rotary Encoder is used to detect a speed and turn direction of the electric volume or
Motor. When turning the axis of rotation, two pulse signals that are able to distinguish
between left and right, come out proportional to the speed. A single phase, A / B
phase, A / B / Z phase are separated, the resolution can be determined according to
the A / B pulse number by one turn.
USB3-FRM13
OUT
TTL(3.3V)
Line Drive
Encoder
Encoder IN
Line Driver
PHOTO
FPGA Core Logic Camera
Motion Controller
Or
Digital I/O
A, B phase : Forward movement A, B phase : Backward movement
A Phase
B Phase
A Phase
B Phase
[Figure 2-16. Encoder A/B Phase Clockwise/Counter Clockwise]

USB3-FRM13 User’s Manual
18
A and B operates the difference of 90 degree as shown in the figure above.
When "B" is low and "A" is high, it move counter-wise direction
When "B" is high and "A" is high, it move count counter-wise direction.
Z also used as a trigger because Z shows the one on the wheel once.
[Figure 2-17. Encoder Z Phase]

USB3-FRM13 User’s Manual
19
3. USB3-FRM13 Board Description
Each important board function is briefly described. For detailed function information, please refer to
the parts specification
3-1 USB3-FRM13 Board Layout
USB3-FRM13 Board
DAQ system
www.daqsystem.com
USB3-FRM13
U9
U10
J5
Rev. A
SW1
U12
J8
U1 J2
U4
CN1
J7
SW2
J9
U17
U8
U13
U14
U3
J10
J11 D6
D7
D12
D11 D10
D4
J7
U3
J4
2
26
1
25
U15 U16
U6
U11
U7
J1
U2
REF1 REF2
123 789 123 789
A
C
E
G
J
L
N
R
A
C
E
G
J
L
N
R
ON
1 2
J3
D8
D9
[Figure 3-1. USB3-FRM13 Layout]
The board has 6 LEDs to indicate the operation status.
D4 : turns on when power is applied to the board and the initialization ends up.
D6 : turns on when the UART enable signal detects.
D7 : turns on when Horizontal synchronization signal detects. (Hsync)
It is a display for confirming the Hsync.
D8 : turns on when power(3.3V) is applied to the board..
D11 : turns on when the Vertical Synchronization (Vsync) indicates a value divided by 1/16.
It is a display for confirming the Vsync.
D12: The clock signal (50MHz) is shown by several cycle divisions.
When it is lit to indicate that it is normal.
Table of contents