Case Studies
Working with Corning Varioptic™ Liquid Lenses
POSTED 08/10/2018
Liquid gold
General / Motivation
Whereas many machine vision applications usually use constant distance (and constant lighting), there has been a trend to use GigE Vision and USB3 Vision cameras also e.g. in outdoor applications such as traffic monitoring or security or sports with varying object distances. This enforces the need to adjust the focus.
The advantage of this solution is that it requires only one programming interface from the host PC to the camera inclusive optics, saving the separate USB port to communicate with the lens otherwise.
Why use liquid lenses?
Fixed focal length lenses have usually two settings. One sets focus and one sets iris.
It is quite common to change the focus by means of motors. This offers the possibility to remotely manipulate these settings by command switches or via programmatic routines.
Disadvantages of this solution are it is quite slow in operation, bulky in size and limited in life time due to aging.
Recently there has been research and success in building electro wetting liquid lenses which can change their curvature based on applied voltages. One such company is Varioptic now a division of Corning. The left image (both by Varioptic) shows the working principle, the right shows one example in the form of a C-mount lens containing one liquid lens element.
These liquid lenses have been tested over 100 million of cycles with no degradation and they are very robust with respect to vibration and suitable for applications requiring quick changes in focus.
How to connect a liquid lens to a camera?
The liquid lens requires the RS232 port in the camera plus a DC power from 5 to 24 Volt.
This is supported since firmware 2.24.975.0 for mvBlueCOUGAR-X (incl. POE) and XD and mvBlueFOX3 camera families.
Pinning of the Hirose is shown in the table below on the left and connection to be made on the right.
Hirose-Pin |
Signal (Standard version) |
Lens JST |
|
1 |
GND |
2 (brown) |
GND |
2 |
12V - 24V |
1 (white) |
5V - 24V |
3 |
DigOut3 (wxPropViewnumbering: line3) |
||
4 |
Opto DigIn0 (line4) |
||
5 |
DigOut2 (line2) |
||
6 |
DigOut0 (line0) |
||
7 |
Opto GND |
||
8 |
RS232_RX |
3 (green) |
RS232_RX |
9 |
RS232_TX |
4 (yellow) |
RS232_TX |
10 |
+24V_HSD (12..24 V supply for the outputs) |
|
|
11 |
Opto DigIn1 (line5) |
||
12 |
DigOut1 (line1) |
The lens uses the power supply of the camera. This means that the POE models of the mvBlueCOUGAR-X and USB 3.0 camera mvBlueFOX3 have to use Hirose power instead of bus power.
MATRIX VISION supplies lenses with the suitably connected power supply.
Basic operation example via mvPropView
Select usage of RS232 port and use InveniosLiquidLens for interface mode. In active power mode the settings of focus value have immediate effect. Use power mode StandBy mode to conserve power. The lens can change to any focus within a few milliseconds which is usually much faster than the typical frame rates of cameras.
The SaveFocusValue can be used to set the lens to a defined focus after power up of the camera. This is stored in the EEPROM of the lens itself.
How to control lens via 3rd party libraries or APIs
mv RS232控制矩阵的特性粘度ION specific but appear in the camera’s XML-file according to GigE Vision standards and SFNC (standard feature naming convention) thanks to the standard. This makes it possible to use the features from third party applications or programs without problems, as shown with HALCON’s image acquisition.
List of usable lenses
The following is a list of usable lenses. There are two different lenses available at the time of writing with C-mount Interface. Option R2 is to be used which means RS232 interface with 12 V operations.
C-C-39N0-160 R2TYPICAL PERFORMANCE AT 25°C |
|
Effective Focal Length |
16 mm |
F-number |
2.8 |
Sensor Compatibility |
2/3" |
Image Circle Diameter |
11 mm |
DC power supply |
3.3 - 24 VDC |
Current consumption |
100mA (3.3V) to 25mA (24V) |
Connector |
6 pin JST SHR-06V-S-B |
C-C-39N0-250 R2TYPICAL PERFORMANCE AT 25°C |
|
Effective Focal Length |
25 mm |
F-number |
4 to 22 |
Sensor Compatibility |
2/3" |
Image Circle Diameter |
11 mm |
DC power supply |
3.3 - 24 VDC |
Current consumption |
100mA (3.3V) to 25mA (24V) |
Connector |
6 pin JST SHR-06V-S-B |
List of suitable cameras
All mvBlueFOX3 cameras and all mvBlueCOUGAR-X(D) cameras with sensor diagonals up to 2/3”.