Вы находитесь на странице: 1из 54

Product-Manual

Phantom
Item-Number(s): 110xxxx

LaVision
We count on Photons
Product-Manual for DaVis DaVis 7.2

LaVision GmbH, Anna-Vandenhoeck-Ring 19, D-37081 Göttingen


Produced by LaVision GmbH, Göttingen
Printed in Germany
Göttingen, June 18, 2008

Document name: 1004936_Phantom_D72.pdf


Contents

Contents

1 Safety Precautions 5
1.1 Laser Safety . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
1.2 Camera / Image Intensifier Safety . . . . . . . . . . . . . . . . . 7

2 Phantom Camera 9
2.1 Important Safety Instructions . . . . . . . . . . . . . . . . . . . 9
2.2 General . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
2.3 Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
2.4 Temperature . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
2.5 Storage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
2.6 Shipping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
2.7 Precautions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
2.8 FCC Declaration Not Obligatory for CE . . . . . . . . . . . . . 10

3 Phantom Installation 13
3.1 Installing the network adapter . . . . . . . . . . . . . . . . . . . 13
3.2 Cabling and Connections . . . . . . . . . . . . . . . . . . . . . . 14
3.2.1 Wiring with one camera . . . . . . . . . . . . . . . . . . 14
3.2.2 Wiring with two cameras . . . . . . . . . . . . . . . . . 18
3.3 Hardware Setup . . . . . . . . . . . . . . . . . . . . . . . . . . . 19

4 Device Settings 21
4.1 Highspeed Recording . . . . . . . . . . . . . . . . . . . . . . . . 21
4.1.1 V12 frame synchronisation . . . . . . . . . . . . . . . . . 22
4.2 Timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
4.2.1 Loop Recording . . . . . . . . . . . . . . . . . . . . . . . 27
4.3 Camera: Phantom . . . . . . . . . . . . . . . . . . . . . . . . . 28
4.3.1 Scales and Overlays . . . . . . . . . . . . . . . . . . . . 29
4.3.2 Active Image Correction . . . . . . . . . . . . . . . . . . 29
4.3.3 Image Transformation . . . . . . . . . . . . . . . . . . . 30
4.3.4 Intensity correction . . . . . . . . . . . . . . . . . . . . . 31
4.3.5 Image Area Data . . . . . . . . . . . . . . . . . . . . . . 33

3
Contents

5 Recording 35
5.1 Recording sequence . . . . . . . . . . . . . . . . . . . . . . . . . 35
5.2 Highspeed Image Acquisition . . . . . . . . . . . . . . . . . . . 37
5.2.1 CL commands . . . . . . . . . . . . . . . . . . . . . . . 37

6 HighSpeed Controller (HSC) 39


6.1 HSC part numbers . . . . . . . . . . . . . . . . . . . . . . . . . 39
6.2 HSC versions . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
6.3 Driver Installation . . . . . . . . . . . . . . . . . . . . . . . . . 41
6.3.1 Driver location . . . . . . . . . . . . . . . . . . . . . . . 41
6.3.2 Uninstall the driver . . . . . . . . . . . . . . . . . . . . . 41
6.3.3 Install the driver . . . . . . . . . . . . . . . . . . . . . . 41
6.3.4 Verify the driver installation . . . . . . . . . . . . . . . . 44
6.4 HSC Terminals . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
6.4.1 HSC Trigger Terminal . . . . . . . . . . . . . . . . . . . 46
6.4.2 HSC Trigger Adapter . . . . . . . . . . . . . . . . . . . . 47
6.4.3 Device delay control . . . . . . . . . . . . . . . . . . . . 47
6.4.4 Debug and control output . . . . . . . . . . . . . . . . . 47

A Customer Service 49
A.1 Order and Dongle Number . . . . . . . . . . . . . . . . . . . . . 49
A.2 Customer Settings . . . . . . . . . . . . . . . . . . . . . . . . . 50
A.3 Log.txt . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
A.4 Shipment of defective items . . . . . . . . . . . . . . . . . . . . 51

4
1 Safety Precautions

Before working with your LaVision system we recommend to read the following
safety precautions. Observing these instructions helps to avoid danger, to
reduce repair costs and downtimes and to increase the reliability and life of
your LaVision system.

1.1 Laser Safety


If a laser1 is integrated in your system it is important that every person work-
ing with it has fully read and understood these safety precautions and the
laser manual of the specific laser.
Lasers included in LaVision systems may belong to CLASS 4 laser devices,
which are capable of emitting levels of both visible and invisible radiation that
can cause damage to the eyes and skin. It is absolutely necessary that protec-
tive eyewear with a sufficiently high optical density is worn at any time when
operating the laser. The goggles must protect against all wavelengths that can
be emitted, including harmonics. See your Laser´s manual for further details.

Class 4 laser beams are by definition a safety and fire hazard. The use of
controls, adjustments or performance of procedures other than those specified
in the LaVision manual and laser manual may result in hazardous radiation
exposure.

AVOID EYE AND SKIN EXPOSURE TO DIRECT OR SCATTERED RA-


DIATION. FOLLOW THE INSTRUCTIONS YOU CAN FIND IN THE COR-
RESPONDING LASER MANUAL FOR PROPER INSTALLATION AND
SAVE OPERATION. USE PROTECTIVE EYE WEAR ALL THE TIME
WHEN OPERATING THE LASER.

Important instructions for safe laser handling:

• Before operating the laser contact your laser safety officer.


1
In the following ‘laser’ means any kind of laser, in particular Nd:YAG- and dye laser as
well as Optical Parametric Oscillators at any wave-length and output-energy.

5
1 Safety Precautions

• Read and understand the instruction manual of the particular type of


laser. Take special care to laser emission, high voltage and hazardous
gases if in use.

• Declare a controlled access area for laser operation. Limit access to


trained people. Never operate the laser in a room where laser light can
escape through windows or doors. If possible, cover beam paths to avoid
obstacles getting into the beam.

• Provide adequate and proper laser safety-goggles to all persons present


who may be exposed to laser light. The selection of the goggles depends
on the energy and the wavelength of the laser beam as well as the oper-
ation conditions. Check the Laser´s manual for a detailed description.

• While working with lasers do not wear reflective jewelry like watches and
rings, as these might cause accidental hazardous reflections.

• Avoid looking at the output beam, even diffuse reflections can be dan-
gerous.

• Operate the laser at the lowest beam intensity possible.

• Avoid blocking the output beam or reflections with any part of the body.
Use beam dumps to avoid reflections from the target.

• Wear clothes and gloves which cover arms and hands to avoid skin dam-
age when handling in the optical path. Especially UV-radiation can cause
skin cancer.

6
1.2 Camera / Image Intensifier Safety

1.2 Camera / Image Intensifier Safety


The camera integrated in your system is based on a CCD (Charge Coupled
Device) or CMOS (Complementary Metal-Oxide Semiconductor) sensor with
high resolution and high sensitivity. Optionally your system is equipped with
a built-in or external image intensifier.

A LASER BEAM FOCUSED ON THE CHIP OR INTENSIFIER, EITHER


DIRECTLY OR BY REFLECTION, CAN CAUSE PERMANENT DAMAGE
TO THE CHIP OR INTENSIFIER. ANY LASER POWERFUL ENOUGH
TO PRODUCE LOCALIZED HEATING AT THE SURFACE OF THE CHIP
OR INTENSIFIER WILL CAUSE DAMAGE EVEN WHEN THE CAMERA
OR INTENSIFIER POWER IS OFF. A CHIP OR INTENSIFIER DAM-
AGED BY LASER LIGHT IS NOT COVERED BY ITS WARRANTY.

Important instructions for safe camera handling:

• Fully read and understand the instruction manual of the specific type of
camera.

• Put the protection cap on the camera lens whenever you do not take
images, especially when the laser beam is adjusted. Switching off the
camera / image intensifier does not protect the chip from damage by
laser light.

• Use full resolution of the sensor and always read out the complete chip
to have control of the intensity on all areas of the sensor.

• Make sure that no parts of the image are saturated, i.e. the inten-
sity is below maximum gray level (< 4095 counts for a 12 bit camera,
< 65535 counts for a 16 bit camera, ...).

• Start measurements with the lowest laser power and a small aperture of
the camera lens.

• Increase laser power step by step and check the intensity on the corre-
sponding image. Make sure that the sensor does not run into saturation.

• Bright parts in the experiment, like reflections on walls or big particles,


will limit the maximum laser power. Modify the optical arrangement of
your setup in order to remove bright reflections from the camera image.

7
1 Safety Precautions

8
2 Phantom Camera

2.1 Important Safety Instructions

All Phantom cameras and peripherals have been designed and produced ac-
cording to the relevant safety standards. Although the mechanical design is
extremely rugged and stable, the content, high-tech micro electronics deserves
a careful handling.

2.2 General

Do not open the product; there are no user serviceable parts inside. All main-
tenance and service work should be performed by qualified service personnel.
The cameras are intended to be used in restricted access areas.

2.3 Installation

• Do not expose your cameras and peripherals to excessive heat, moist and
dirt. They are intended to be used in a controlled environment, unless
precautions have been taken for outdoor use.

• The cameras and peripherals should only be powered from an appropriate


DC power supply that fulfills the local safety and EMC demands or the
appended AC adapter.

• Do not install the camera in an excessively humid environment or near


water.

• Avoid liquids or any foreign object to get into the product.

• The unit must be placed in a sufficiently ventilated area; the ambient


temperature should not exceed the specified temperature range.

• It is important that ventilation air can move freely around the unit.

9
2 Phantom Camera

2.4 Temperature
The Phantom cameras are designed to operate satisfactorily in an environment
where the ambient temperature is between 0◦ C and 40◦ C (32◦ F and 104◦ F).
The maximum humidity is 80%, non-condensing, at 5◦ C. Applicable Condi-
tions: Since the maximum allowable case temperature is 40◦ C (104◦ F) under
free access conditions and 50◦ C (122 ºF) under restricted access conditions, it
is recommended to use the record mode only shortly and keep the camera in
pretrigger mode in order to avoid over temperature. Storage Store the camera
in a dry location, storage temperature must be within -20 +60◦ C (- 4◦ F and
140◦ F).

2.5 Storage
Store the camera in a dry location, storage temperature must be within -25
+85◦ C (-13◦ F and 185◦ F).

2.6 Shipping
When shipping the Phantom cameras and accessories, use the case in which
the unit was originally delivered.

2.7 Precautions
A laser beam focused on the sensor of a Phantom camera, either directly or
by reflection, can cause permanent damage to the sensor. Any laser powerful
enough to produce localized heating at the surface of the sensor will cause
damage, even if the camera power is off. A sensor damaged by laser light is
NOT covered by warranty.

2.8 FCC Declaration Not Obligatory for CE


This equipment has been tested and found to comply with the limits for a
Class B digital device, pursuant to Part 15 of the FCC Rules. These lim-
its are designed to provide reasonable protection against harmful interference
in a residential installation. This equipment generates, uses and can radiate
radio frequency energy and, if not installed an used in accordance with the in-
structions, may cause harmful interference to radio communications. However,
there is not guarantee that interference will not occur in a particular installa-
tion. If this equipment does cause harmful interference to radio or television

10
2.8 FCC Declaration Not Obligatory for CE

reception, which can be determined by turning the equipment off and on, the
user is encouraged to try to correct the interference by one or more of the
following measures:

• Reorient or relocate the receiving antenna.

• Increase the separation between the equipment and receiver.

• Connect the equipment into an outlet on a circuit different from that to


which the receiver is connected.

• Consult the dealer or an experienced radio/TV technician for help.

11
2 Phantom Camera

12
3 Phantom Installation

3.1 Installing the network adapter

The procedure to set up the computer Gigabit Ethernet interface is described


below:

1. click Start → Settings → Network Connections

2. right click on Local Area Connection, select Properties

3. Select Internet Protocol (TCP/IP) and click the Properties button

4. Check Use the following IP address: and enter:

IP address : 100.100.100.1
Subnet mask : 255.255.0.0

13
3 Phantom Installation

5. Leave the DNS field empty.

6. Click OK to close.

3.2 Cabling and Connections


3.2.1 Wiring with one camera
You have to connect following cables to get the system ready to work:

• Plug in the camera connector 1002047 to the Camera terminal on the


HSC rear panel.

• Connect the Camera 1 line of the camera connector 1002047 to the


F-Sync input of the 19 pin capture connector of the camera.

• Plug in the TTL I/O connector 1003832 to the Port A terminal on the
HSC rear panel.

• Connect the E-mon 2 line of the TTL I/O connector 1003832 to the
Trigger input of the 19 pin capture connector of the camera.

• For external triggering of the camera sequence the external event trigger
has to be connected to the TRIGGER line of the PTU9 input connector
1002685.

• If the camera should be synchronised to a stable external frequency the


clock signal has to be connected to the INCREMENT of the PTU9
connector 1002685.

14
3.2 Cabling and Connections

Figure 3.1: Wiring for a Phantom camera system.

15
3 Phantom Installation

• Connect one end of the LASER cable to the Laser terminal of the HSC.
For the other end use the delivered Laser Connector 1000299 for the
connections to the power supply unit of the laser. All BNC connectors of
the adapter and the corresponding BNC sockets of the laser are labeled
(see below Laser Connector). For the connection to the laser power
supply please consult the laser manual for details.

• Connect the Dongle (software license) to a USB port.

• Plug in the power supplies.

• Switch on all devices. First camera, wait 30 seconds before switching on


the computer!

16
3.2 Cabling and Connections

Figure 3.2: Wiring for a Phantom camera system with two cam-
eras.

17
3 Phantom Installation

3.2.2 Wiring with two cameras


You have to connect following cables to get the system ready to work:

• Plug in the camera connector 1002047 to the Camera terminal on the


HSC rear panel.

• Connect the Camera 1 line of the camera connector 1002047 to the


F-Sync input of the 19 pin capture connector of camera 1.

• Connect the Camera 2 line of the camera connector 1002047 to the


F-Sync input of the 19 pin capture connector of camera 2.

• Plug in the TTL I/O connector 1003832 to the Port A terminal on the
HSC rear panel.

• Connect the E-mon 2 line of the TTL I/O connector 1003832 to the
Trigger input of the 19 pin capture connector of both cameras.

• For external triggering of the camera sequence the external event trigger
has to be connected to the TRIGGER line of the PTU9 input connector
1002685.

• If the camera should be synchronised to a stable external frequency the


clock signal has to be connected to the INCREMENT of the PTU9
connector 1002685.

• Connect one end of the LASER cable to the Laser terminal of the HSC.
For the other end use the delivered Laser Connector 1000299 for the
connections to the power supply unit of the laser. All BNC connectors of
the adapter and the corresponding BNC sockets of the laser are labeled
(see below Laser Connector). For the connection to the laser power
supply please consult the laser manual for details.

• Connect the Dongle (software license) to a USB port.

• Plug in the power supplies.

• Switch on all devices. First camera, wait 30 seconds before switching on


the computer!

18
3.3 Hardware Setup

3.3 Hardware Setup


The camera is initialized in the Hardware Setup. This dialog can be reached
by clicking the Settings button in the DaVis toolbar. This button is only avail-
able if no Project is open. The camera is usually initialized as a sub-device of
the HighSpeed Controller (HSC).

The camera setup dialog for this camera type will appear. After initialization
of the camera you will get the version information displayed in the dialog.

After the camera installation has been completed the camera is registered
within you program environment.

Note:
If more than one camera is installed the camera with the lowest
serialnumber is selected as camera 1. The other cameras are ini-
tialized in the order of the serial numbers.

19
3 Phantom Installation

20
4 Device Settings

The Devices card can be opened using the Device button, e.g. in the
Recording, Interactive correlation or Calibration dialog.

4.1 Highspeed Recording

On the HighSpeed Recording card you have the possibility to activate the
camera. Make sure that the flag in front of the camera entry is selected, oth-
erwise it will not be available to do the recording. Additionally you have the
possibility to select the camera operation mode. In order to be able to use
the double frame mode please make sure that your camera and light source
are assigned to T1A and T1B in the Timing Setup card in the Hardware
Setup dialog.

Single frame: This mode allows to take a single frame image. The exposure
time can be set in the HighSpeed Recording dialog. The image acquisition
is synchronized to one reference time (e.g. T1A). This allows to use a triggered
light source for illumination of the object.
Make sure that the light source is using the same reference time.

Single frame, double events: This mode allows to take a single frame
image. The exposure time can be set in the HighSpeed Recording dialog.
The image acquisition is synchronized to a double event, e.g. T1A and T1B.
The exposure time in this operating mode has at least the same value than the
dt on the Timing card that determines the delay between the two times T1A
and T1B. This allows to use a triggered light source to illuminate the object
twice during the exposure time of the image.
Make sure that the light source is using the same reference times.

21
4 Device Settings

Double frame, double events: This mode allows to take a double frame
image. The exposure time is given internally. The image acquisition is syn-
chronized to a double event, e.g. T1A and T1B, e.g. T1A and T1B. In this
case the first frame is synchronized to time T1A and the second frame is syn-
chronized to time T1B. The delay between the two reference times is given by
the dt on the Timing card. This allows to use two separately triggered light
sources to illuminate the object, the light source 1 for the first frame and light
source 2 for the second frame.
Make sure that the light source is using the same reference times.

Note
Some CMOS cameras do not have a build-in double-frame mode
like standard CCD PIV cameras. To get double frames the cameras
are used in frame straddling mode. This means that two following
camera frames are combined to one double frame image. If e.g. a
recording rate of 1000Hz is selected the camera is programmed to
record 2000frames per second. This gives double frame images at
1000Hz.

4.1.1 V12 frame synchronisation

The Phantom V12 camera has two different modes for frame synchronisation.

• In standard mode the exposure of an image starts 1.2usec after the falling
edge of a frame synch trigger. The inter-frame time is 2usec.

• In shutter-off mode the exposure of the current image is abandoned


0.5usec after the falling edge of a frame synchronisation trigger. The
next exposure starts automatically 0.5usec later.

The camera modes can be switched by the cl-command SetCamPar(x,640,y


(where x is the camera; 1 for the first camera, 2 for the second camera,...).
SetCamPar(x,640,0) sets the camera to normal synchronisation mode (de-
fault). SetCamPar(x,640,1) sets the camera to shutter-off mode. Please note
that the timing offsets of e.g. lasers might have to be adjusted.
The shutter-off mode is only used if the exposure is set to maximum. This is
automatically done in double frame mode.

22
4.2 Timing

4.2 Timing

The settings on the Timing card the Triggering and Timing options can be
selected.

• Trigger: with this selection box the user can determine how the sequence
is triggered.

None - start immediately: This recording option can only be se-


lected if Recording Loop is unchecked. After the Start Record-
ing button is clicked, the recording starts immediately after all
devices are programmed.

Keystroke: This recording option can only be selected if Recording


Loop is unchecked. After the Start Recording button is clicked
all devices are programmed. The recording starts if a key is pressed.

External (TTL): After the Start Recording button is clicked all


devices are programmed. The recording starts if a trigger is received

23
4 Device Settings

by the HSC on the Trigger input of the PTU Trigger connector


1002685.

• Condition: with this selection box the user can select if the sequence
is started or stopped at a trigger. This selection box is not available
if None - start immediately is selected as trigger option or if Loop
recording is checked.

Start at the first image: the sequence starts if a trigger is received


or key pressed. This mode is useful when you know for sure when
the anticipated event will occur. If your camera has a recording
capacity of two seconds, for example, the camera records the high-
speed event for two seconds after the start signal, as shown in the
image below.

24
4.2 Timing

Phase locked recording start


Cl-variable ptuhsrec_UseSyncStartIfPossible: If this variable is
set to 1 the camera starts to record images into a ring memory after
the Start Recording button is clicked. An external sequence
trigger indicates the first image of the recording. This means that
there is a jitter between the sequence trigger and the actual start
of the recording of up to one image.
If the variable is set to 0 the sequencer of the HSC is on standby
and does not send images triggers to the camera before an external
sequence trigger is sent. After the external sequence trigger has
been sent the camera starts to record images. In this mode there
is no jitter between the external sequence trigger and the start of
the recording. However the quality of the first few images can be
low. Also other devices (e.g. lasers) can be affected.

Stop at the last image: The sequence stops if a trigger is received or


key pressed. The camera starts recording frames to the memory
continuously (ring memory). If the memory is full it overwrites the
first recorded frames (endless). This mode is useful when it is hard
to know when your target event will take place. For example, if your
camera has a recording capacity of two seconds, it records images
of the event in the memory for two seconds before the END signal
is received as shown below.

Trigger at image number: In the Trigger frame # mode, the camera


records scenes before and after a trigger signal. The camera starts
recording frames to the memory continuously (ring memory). If the
memory is full it overwrites the first recorded frames (endless). After
an external event trigger was received the camera records frames so
that the selected number before the trigger are not overwritten.
For a camera with a recording capacity of two seconds, for example,

25
4 Device Settings

record durations of 0.5 seconds before and 1.5 seconds after the
trigger can be set as shown in the below figure.

• Number of images: The number of images that should be recorded can


be selected here. One image can consist of one or two camera frames de-
pending on the camera mode that is selected in the HighSpeed Recording
dialog.

The maximum possible number depends on the size of the memory in


the camera and the selected AOI and is displayed in the dialog.

• Recording rate: The recording rate can be directly entered in the text
field. The camera is synchronised by the HSC.
If externally synchronised is checked a stable external frequency can
be used to synchronise the HSC and the camera. The clock signal has
to be connected to the INCREMENT of the PTU trigger connector
1002685.

26
4.2 Timing

An unstable frequency of the external synchronisation signal


can cause errors in the recording. Individual triggers can
be missed due to too long HSC sequences and camera expo-
sures. The measured external frequency determines the maxi-
mum time period for the HSC sequence and camera exposure.
This period can be shortened by a fixed percentage that is de-
termined by the cl-variable ptuhsrec_RecordingRateTolerance.
If e.g. the external frequency is 1000Hz and the cl-variable
ptuhsrec_RecordingRateTolerance is set to 10 the HSC sequence
and camera exposure is limited to 900usec. For double frame
recording one HSC sequence creates the triggers for both frames of
the image. With the above figures the camera records two frames
with 450usec exposure each. If the external frequency is very sta-
ble the cl-variable ptuhsrec_RecordingRateTolerance can be set
to 0.

• Recording duration: The recording duration is calculated from the


number of images and the selected recording rate and is displayed in the
dialog. Please note that the displayed value is for one recording step.

4.2.1 Loop Recording

If Loop Recording is checked, a selected number of loop steps with specified


number of images per step can be recorded.

Trigger: Only external random can be selected as trigger source for the
recording steps. Each loop step is started by a external TTL trigger that is
sent to the Trigger input of the PTU Trigger connector 1002685.

Condition: Only Start at the first image is possible in this trigger mode.

27
4 Device Settings

In case of a cyclic external Trigger the HSC can send image triggers to the
camera shortly before the next sequence trigger should be send. These images
are discarded after the recording is finished. The time between the last dis-
carded image and the first recorded image is one frame period plus the value
that is determined by the cl-variable ptuhsrec_fCycleTriggerJitter_us.
The number of images that are discarded is determined by the cl-variable
ptuhsrec_nDiscardedImagesAtRecStart
Allowed jitter of external triggers

Cyclic
External Trigger

Image Trigger

Discarded Recorded Discarded images


images images

Loop Step 1 Loop Step 2 Loop Step 3

= Sequencer Standby

4.3 Camera: Phantom


On this card you can select the resolution of the camera in pixel and the
dynamic range in bits. The selected resolution determines the maximum image
rate. The number of images that can be recorded into the cameras RAM
depends on the selected resolution and the selected dynamic range. These
figures are displayed in the dialog.

The resolution can either be selected with the mouse (button Set) or directly
be entered in the dialog (image width and height).

28
4.3 Camera: Phantom

Please note the resolution can only be changed in the steps that the camera
supports (e.g. 32 × 8 pixels for the V7.3). DaVis automatically selects the
best possible for the selected value.

4.3.1 Scales and Overlays

On this card the horizontal X-scale, vertical Y-Scale and intensity I-scale are
defined for a camera. Each camera possesses its own scales. All scales map
X/Y/I are using the equation x0 = ax + b, where x is the original position (or
intensity) in units of pixels (or counts) and x0 is the new scale value, a is the
factor and b is the offset. The default setting are a = 1 for the factor and b = 0
for the offset.
The camera overlay include drawing information, e.g. marked areas or addi-
tional texts, which are painted above the image. This overlays are copied into
the destination buffer during image acquisition. Press button Edit to open
the Overlay Editor.

4.3.2 Active Image Correction

29
4 Device Settings

Optional the camera raw images may be corrected by the active image cor-
rection function. On the Active Image Correction card the active fitting
function is displayed.

4.3.3 Image Transformation

The way in which the CMOS image is transferred to the image buffer can be
set in different modes. It concerns only the way of image storage and not the
reading procedure.
Example: For a given experimental setup, all acquired images appear upside
down. If vertical mirror is chosen, they appear in the ’correct’ way. These
actions need quite a while, we advise to use these functions only via the batch
processing after the image acquisition is completed.
Following image transformation options are available:

• No Action: The image is not changed (default).

• Flip axes (x↔y): The image is mirrored on the first diagonal. The
result is an image with exchanged x and y axis.

• Rotate 90◦ anticlockwise: The image is rotated to the left by 90◦


(useful if camera is mounted rotated).

• Rotate 90◦ clockwise: The image is rotated to the right by 90◦ (useful
if camera is mounted rotated).

• Vertical mirror: Applies a vertical mirror.

• Horizontal mirror: Applies a horizontal mirror.

• Rotate 180◦ : Rotates the image by 180◦ .

30
4.3 Camera: Phantom

• If binned: enlarge to original size: When binning is used during


image acquisition the acquired image is enlarged to the maximum chip
size.

• Image correction: Image correction is applied to all images during


acquisition. The corresponding mapping function can be loaded using
the Calibration dialog (see Calibration chapter).

4.3.4 Intensity correction

The Intensity Correction card can be used for a correction of the fix pattern
noise of a CMOS camera. Additionally you can activate a subtraction of an
offset, white image or a background.

• Add an offset (+/-) of N counts to each image: Using this option


you can add or subtract an constant offset from the image intensity.

• Intensity calibration: The Phantom camera has a calibration function


(current session reference) that corrects the non-uniformity in output of
each pixel based on black level. For the best result of recording it is
strongly recommended that whenever you change framing parameters
such as frame rate, exposure time, etc., you carry out the calibration of
the camera before starting a recording.

The Intensity calibration button the according dialog opens (figure


another dialog where you have to confirm to do a new intensity calibra-
tion. For the intensity calibration the camera lens must be closed. This
will open

31
4 Device Settings

• White Image Subtraction: In case the 2D intensity distribution of a


homogeneously light emitting object is not flat the 2D detection efficiency
can be corrected by acquiring an image of a homogeneously illuminated
object (e.g. white paper or milky glass table). The white image sub-
traction can only be done when dark image subtraction is activated. It
is performed via division of each acquired image with the normalized
correction image.

• Background Subtraction: Let us assume, e.g. a Laser Induced Flu-


orescence (LIF) experiment. Apart from the desired fluorescence signal,
a Rayleigh-signal might be present (depending on the used filter). But
as you want to detect a fluorescence image, we can consider the dark
current and Rayleigh signal as undesired background. In this case ac-
quire a Rayleigh image (LIF-experiment conditions without fluorescence
molecules) as background. Now the dark current and the Rayleigh-signal
are automatically subtracted from each acquired image.

• Correction on device data value: Each camera intensity can be


corrected on a device data value, read from a device data source.
All available sources are selectable in the list, or the correction can be
switched off. When using this intensity correction, a reference value must
be defined to execute the following function on the camera image:
I1 (x,y) = I(x,y) / I(Value) * I(Reference)

Using the corresponding Take button you may Take an average over N
images. Additionally you may Subtract an offset of N counts for dark
and background images.

32
4.3 Camera: Phantom

4.3.5 Image Area Data

On this card you may define up to four rectangles in the camera image. On
these rectangles the average intensities is calculated and stored as device data.
This allows to display these intensity values during image acquisition what can
be useful e.g. to adjust the gain of an optional image intensifier in a low light
application in order to get a suitable signal intensity.

33
4 Device Settings

34
5 Recording

Using the Acquisition button you have access to the Recording sequence
card.

5.1 Recording sequence

In this card you can define the general recording options.

• Use RAM: Is switched on by default as the camera RAM is used for all
recordings. The maximum number of images is limited by the camera
memory. If Store immediately after recording is enabled the images
will be copied to hard disc automatically after the acquisition of one
recording (Set). Otherwise you can use the Store now button after the
recording is finished to store the files to hard disc.
Especially for a large camera RAM it makes sense to remove the Store
immediately after recording flag and to check the image quality of
the recorded data set and to download a suitable subrange of the recorded
images to the PC using the Store now button.
The images on the camera RAM can be checked if you select the
Recorded dataset option in the Window Manager of the Record-
ing dialog and use the control buttons of the data viewer.

To specify the start of the subrange move the slider of the data viewer
to a suitable position or enter the corresponding image number in the

35
5 Recording

Image text box. After that use the Subrange Start button . To
specify the end of the subrange move the slider to a suitable position
or enter the corresponding image number in the Image text box. After
that use the Subrange End button. . The selected subrange will
remain highlighted in blue color in the slider of the data viewer while the
rest will be blank.

Finally use the Store now button to download the subrange to the hard
disk of the PC.

• Store images: Defines the destination of data storage. Choose be-


tween Off, Default or Specify. With Off no storage will be done,
Default stores the images in a DaVis dataset with the name set to:
Cam_<date>_<time> (date: current date, time: current time). Spec-
ify stores the images in a DaVis dataset with the name you specify. You
are allowed to use <date> and <time> in your set filenames as well.
They will be replaced by the date and time when the first image is stored
to the hard disk.

• Store in folder: Can be used to specify a destination folder within


the current project. The Name of the folder can be specified in the
corresponding text box.

If the recording contains more than one loop steps (loop recording, see section
4.2.1) it is possible to preview the loop steps to check the recording before
storage to disk. Similar to the data viewer for the images the range of loop
steps that should be downloaded can be selected.

36
5.2 Highspeed Image Acquisition

Use the Subrange Start and Subrange End buttons to select the
subrange of the loop steps that should be downloaded.

5.2 Highspeed Image Acquisition

The Highspeed Image Acquisition item is the default item for highspeed
recordings. On this card the Number of images given by the installed
camera memory and the selected image resolution is displayed. Additionally
the recording time and recording frequency is displayed in the Recording
<TIME> seconds at <FREQUENCY> Hz text box.
The Start / end condition of the recording is displayed on this card (the
condition can be selcted in the Timing dialog).

In the Trigger first frame (START) mode, the camera starts recording at the
moment the start signal is sent to the camera and continues recording until
the memory is full, and automatically stops recording.

5.2.1 CL commands

37
5 Recording

On this card an initial and final cl-command can be entered. The initial cl-
command is executed before the recording starts, the final cl-command after
the recording has finished.

38
6 HighSpeed Controller (HSC)

The completely software controlled HighSpeed Controller (HSC)is an embed-


ded system for generation of complex patterns of pulses (sequences) with highly
accurate timing on multiple outputs (up to 16 independent channels) as used
for the synchronization of LaVision’s Intelligent Imaging Systems. The HSC
is a stand alone USB device. The pulse width and the interval between pulses
are programmed automatically by the DaVis software according to the appli-
cation, the connected hardware (laser, camera, etc.) and the user settings in
the dialog boxes inside DaVis.

The microprocessor controlled timing sequence can be started by an external


trigger or constantly generated by an internal frequency generator (e.g. at a
specified laser repetition rate).

The entire functionality is embedded into an FPGA (Field Programmable Gate


Array) which allows in system updates and upgrades.

6.1 HSC part numbers

part number Description


1108074 HSC basic
1108075 HSC standard
1108076 HSC Rotary Decoder

39
6 HighSpeed Controller (HSC)

6.2 HSC versions

Version Features Typical applications

BASIC Free choice of recording rate. Imaging or


HS IRO support. StrainMaster systems
Two synchronization signals.

STANDARD BASIC plus:


PIV double frame recording. PIV, LIF, SprayMaster,
Internal or external image trigger.
Supports HS laser and ADC.

ROTARY DECODER STANDARD plus: EngineMaster, Turbines


hardware rotary decoder for
precise phase trigger by encoder
signal readout.
Full cycle ADC support

40
6.3 Driver Installation

6.3 Driver Installation

This paragraph describes how to install or update the driver for the HSC for
a WinXP/Win2k operation system.

6.3.1 Driver location

If you have a DaVis version installed on your PC the driver can be found in
the ’/DaVis/driver/PlugAndPlay/USB’ directory. Otherwise the driver for the
HSC can be found on your DaVis installation CD in the ’/drivers/USB’ folder.

6.3.2 Uninstall the driver

Before you update the HSC driver you may need to uninstall the current driver.
You can do this using the Windows Device Manager:
Start > Settings > Control Panel > System > Hardware (tab) > Device Man-
ager (button) > LaVision devices > Highspeed Controller (right mouse click)
> Uninstall (button).

6.3.3 Install the driver

The Windows Hardware Wizard will recognize the new device the first time
you start the PC after you have installed the HSC. Or it will recognize that
its driver is missing after you have uninstalled it and restarted the PC.
In both cases the Found New Hardware Wizard will come up.

On the question ’Can Windows connect to Windows update to search for soft-
ware’ select ’No, not this time’.

41
6 HighSpeed Controller (HSC)

On the question ’What do you want the wizard to do’ select ’Install from a list
or specific location (Advanced)’.

Please choose your search and installation options. Select ’Don’t search. I will
select the driver to install’.

42
6.3 Driver Installation

Select the device driver you want to install for this hardware. Click the ’Have
Disk. . . ’ button.

Copy manufacturer’s files from: ’∼/DaVis/driver/PlugAndPlay/Highspeed


Controller’. Confirm with ’OK’.

Please wait while the wizard installs the software.

43
6 HighSpeed Controller (HSC)

Terminate the installation using the ’Finish’ button and restart the PC.

6.3.4 Verify the driver installation

To make sure that the driver has been installed properly and to get an infor-
mation on the exact driver version that has been installed please check the
diver information in the Windows Device Manager.

Select Start > Settings > Control Panel > System > Hardware (tab) > Device
Manager (button).

44
6.3 Driver Installation

Open LaVision Devices > HighSpeed Controller (HSC). Use a right mouse
click on the HSC entry and select Properties.

45
6 HighSpeed Controller (HSC)

6.4 HSC Terminals

Two DSUB25 connectors and two DSUB15C are installed at the rear panel
of the HSC. These connectors are labeled Camera, Laser and Port A and
Port B.

ER G TRIGGER
G IN
IG M N IT OP
TR AR RU WA ST INPUT

ON/OFF
USB
POWER

Front View

CAMERA LASER

Port A Port B

Rear View

Figure 6.1: Front and rear panel of external USB PTU.

Figure 6.1 shows the position of the connectors.

6.4.1 HSC Trigger Terminal

The pin assignment of the external connectors G5 (DSub15) can be seen in


tables 6.1.

Pin Name Pin Name Pin Name


1 Seq. Trigger 6 n.c. 11 GND
2 Seq. Arming 7 Pio IN1 High 12 GND
3 Start 8 Pio IN2 High 13 GND
4 Increment 9 GND 14 Pio IN1 Low
5 input (unused) 10 GND 15 Pio IN2 Low

Table 6.1: Pin assignment of PTU9 G5 (DSub15) port.

46
6.4 HSC Terminals

Trigger
Pin1: For an optional input trigger
(to trigger each image acquisition)

Arming Pin2: For an optional arming trigger


(to prepare each image acquisition)
Trigger Input PTU
DSUB15 (f) Pin3: For an optional start trigger
Start
from an encoder (1 per cycle)

Pin4: For an optional increment trigger


Increment
from an encoder (N per cycle)

Figure 6.2: PTU9 trigger connector.

6.4.2 HSC Trigger Adapter


To connect input trigger signals to the HSC you can use the PTU connector for
the PTU DSub15 port. The Trigger line can be used to trigger the acquisition
of each recording.
For the readout of a rotary encoder send the Master trigger (1 per revolution)
to the Start input, the Incremental trigger to the Increment input.

6.4.3 Device delay control


The trigger signal for each device connected to the HSC can be fine tuned in
10 ns steps in order to compensate for intrinsic delays or different cable lengths.

6.4.4 Debug and control output


DaVis programs the HSC according to the selected recording parameters and
the attached hardware. This can be displayed in the Info Text window. The
cl-function HSC_DebugSet(xx) can be used to select the debug output or
switch it off:

• HSC_DebugSet(02): outputs the sequence that is programmed into


the HSC as well as the total sequence length and resulting maximum
rate.

47
6 HighSpeed Controller (HSC)

• HSC_DebugSet(12): Same as HSC_DebugSet(02) plus most of


the HSC commands as en- or disabling of trigger lines.

• HSC_DebugSet(22): Same as HSC_DebugSet(12) plus all HSC


commands including line mapping and counter value during loop record-
ing.

• HSC_DebugSet(00): Switches the debug output off.

The cl-command HSC_MappingGetInfo() outputs the current line map-


ping of the HSC to the Info Text window.

48
A Customer Service

If you have a technical problem or questions regarding hardware or software


which is not adequately addressed in the documentation please contact your
local representative or LaVision service directly.
In order to speed up your request please include following information:

• The order number of your system (see section A.1).

• The number of the used dongle (see section A.1).

• A short description of the problem.

• Your customer settings file (see section A.2).

• A log.txt if you have a reproducible software problem (see section A.3).

• An information on the used operating system and service pack.

You can contact service at LaVision GmbH by:


email: service@lavision.de
phone +49 551 9004 229
Alternatively you may submit your problem using the service request interface
on the LaVision homepage under the URL www.lavision.com.

A.1 Order and Dongle Number


To be able to find information on the delivered hardware components and
customer details in the database your order number is required. This number
can be found in the DaVis/Help/About menu or on the original DaVis
installation CD (see Fig. A.1).
In the About DaVis dialog you find the order number in the 3rd line. The
five digits behind the leading X are the order number followed by the DaVis
version and the release date.
The dongle number is required to exclude license problems. This number is
is written on the hardware key. The number of the used dongle can also be
found using the DaVis/Help/About menu and on the DaVis CD.
Please include the order number and the dongle number in your service re-
quests.

49
A Customer Service

dongle #
order #

Figure A.1: Order no. in DaVis/Help and on installation CD.

A.2 Customer Settings


To be able to reproduce your problem it could be essential to know the exact
hardware setup and software parameter in DaVis. All currently used parameter
can be extracted using the DaVis/Help/Create service file for LaVision
Support menu.

After you have selected this the system will write back all values for the relevant
variables to an lsf-file. This procedure will take a while indicated by a Busy
dialog. The lsf-file will also contain the current settings of the hardware setup,
acquisition setup and batch processing operation lists.

The lsf-file will be written automatically to a d̃avis/service subdirectory. The


name contains the order number and dongle number that is extracted from your
software (#ordernumber/donglenumber.lsf). Send this lsf-file as attachment
to the description of you problem by email to service@lavision.de.

50
A.3 Log.txt

A.3 Log.txt
If you have a reproducible software problem in DaVis please generate a log-file.
This file contains all functions you have called and all error messages that have
been displayed after you have activated the log. Please proceed as follows:

• Start DaVis and use the Macro/Clear Log file menu.

• Enable the Log each CL function call (slow) entry in the Macro
menu. This feature is active if you see a flag left next to the entry. Every
time you click on this entry its status is changed.

• Try to reproduce your problem, e.g. until an error message is displayed.

• A log.txt file has been generated in the DaVis main directory. Send
this text file attached to your email.

• Disable the Macro/Log each CL function call (slow). This function


is deactivated if you don’t see a flag next to the entry.

A.4 Shipment of defective items


If some items need to be returned to LaVision GmbH for service or repair
please contact the LaVision service to obtain a RMA (Return Material Au-
thorization) number. Fill out the Shipment Cover Letter that is available
in DaVis/Help directory, in the Help folder on the DaVis installation CD
or at LaVision service. List all items with SN and a short description of the

51
A Customer Service

problem. Place the Shipment Cover Letter in the box with the item(s) being
returned. Return the authorized item(s) per shipping instructions.
Shipping instructions:

• Be sure to obtain a RMA number.

• Include the Shipment Cover Letter.

• Ship only the items that are authorized.

• Use the original boxes to avoid damages during transportation.

• Remove cooling water from the laser!

• Use antistatic bags for computer boards!

• Ship returned items to:


LaVision GmbH
Anna-Vandenhoeck-Ring 19
D-37081 Goettingen
Germany

Note: Shipments received by LaVision without a RMA number may be re-


fused.

52
Manual No 1004936 - Release June 18, 2008

LaVision
We count on Photons

LaVisionUK Ltd LaVision GmbH LaVision, Inc.


Downsview House/ Grove Technology Park Anna-Vandenhoeck-Ring 19 301 W. Michigan Ave., Suite 403
Grove, Oxon, Ox 12 9FF/ UK D-37081 Goettingen, Germany Ypsilanti, MI 48197, USA
www.lavisionuk.com www.lavision.com www.lavisioninc.com
Email: sales@lavision.com Email: info@lavision.com Email: sales@lavisioninc.com
Tel.: +44-(0)-870-997-6532 Tel.: +49(0)551-9004-0 Phone: +1(0)734-485-0913
Fax: +44-(0)-870-762-6252 Fax: +49(0)551-9004-100 Fax: +1(0)240-465-4306

Вам также может понравиться