Revision: | 1.54 |
---|---|
Date: | 2023-09-07 |
Contact: | support@vision-comp.com |
Copyright: | 1996-2023 Vision Components GmbH Ettlingen, Germany |
Author: | VC Support, mailto:support@vision-comp.com |
This documentation has been prepared with most possible care. However Vision Components GmbH does not take any liability for possible errors. In the interest of progress, Vision Components GmbH reserves the right to perform technical changes without further notice.
Please notify support@vision-components.com if you become aware of any errors in this manual or if a certain topic requires more detailed documentation.
This manual is intended for information of Vision Component’s customers only. Any publication of this document or parts thereof requires written permission by Vision Components GmbH.
Symbol | Meaning |
---|---|
The Light bulb highlights hints and ideas that may be helpful for a development. | |
This warning sign alerts of possible pitfalls to avoid. Please pay careful attention to sections marked with this sign. | |
This is a sign for an example. |
Trademarks
Linux, Debian, the Tux logo, Vivado, Xilinx and Zynq, ARM, Cortex, Windows XP, Total Commander, Tera Term, Motorola, HALCON, FreeRTOS, Vision Components are registered Trademarks. All trademarks are the property of their respective owners.
Table of Contents
The VC nano Z Series Smart Cameras have been designed for high resolution image processing with a very small form factor. They are the ideal compromise between high performance and low system costs, and thus especially suited for high volume OEM applications. This makes them viable to use a smart camera in even more products than before.
Based on a dual-core processor ARM® Cortex®-A9 with 866 MHz and an integrated FPGA the models of the VC Z series offer solutions at extreme high-speed in real-time.
The operating system VC Linux provides for the ideal interaction of hard- and software.
All cameras are equipped with a battery backed real time clock and come with a range of inputs and outputs, with trigger input and flash trigger output, as well as an Ethernet interface.
The VC pro Z Hardware capabilities:
Component / Feature | Specification |
---|---|
CMOS Sensor |
|
Active pixels |
|
Pixel size |
|
Active sensor size |
|
High-speed shutter |
|
Low-speed shutter |
|
Integration | Global shutter |
Picture taking | program-controlled or external high speed trigger, jitterfree acquisition
|
A/D conversion | 118.75 MHz / 10 bit, only the 8 most significant bits used |
Input LUT | no |
Image Display | Via Ethernet onto PC |
Processor | Dual-Core ARM® Cortex®-A9 with 866MHz and integrated FPGA |
RAM | 512 MB DDR-SDRAM |
Flash EPROM | 16 GB flash memory (nonvolatile) industrial eMMC |
Process interface | 4 inputs / 4 outputs, outputs 400 mA each (limited to 1A in total) |
Flash Outputs | 4 flash outputs with programmable current: 2 internal / 2 external. External outputs are configurable as additional PLC outputs. |
Encoder Inputs | Optional, but encoder inputs can be used as additional 5V inputs. |
Trigger Input | 1 dedicated picture trigger input. Any of the available PLC or 5V inputs can be chosen as an optional trigger input source. |
Trigger Output | 1 default trigger output on FLASH0/TrigOut pin. Any set of the available PLC or FLASH outputs (internal or external) can be chosen as trigger output. |
Ethernet interface | 1 Gbit / 100 Mbit / 10 Mbit |
Serial interface | RS-232 |
CE certification | CE Certification from Vision Components |
Storage Conditions | Temperature -20 to +60 deg C, Max. humidity: 90%, non condensing. |
Operating Conditions |
|
Power Supply | 24V DC
|
Power Consumption | 2.9 W typical |
Heater | 23 W (only in cameras with S/N 4000673 and higher) |
The following diagram shows the maximum reachable (with the shortest shutter time) framerate according to the number of captured lines for the VC pro Z 0010, the VC pro Z 0011, the VC pro Z 0015 and the VC pro Z 0252:
The following table gives some example values.
VC pro Z 0010 | VC pro Z 0011 | VC pro Z 0015 | VC pro Z 0252 | ||||
---|---|---|---|---|---|---|---|
Resolution | Max. framerate (FPS) | Resolution | Max. framerate (FPS) | Resolution | Max. framerate (FPS) | Resolution | Max. framerate (FPS) |
2048 x 1536 | 88 | ||||||
1600 x 1200 | 55 | ||||||
1280 x 1024 | 63 | 1600 x 1024 | 63 | 2048 x 1024 | 134 | ||
1280 x 768 | 83 | 1600 x 768 | 84 | 2048 x 768 | 177 | ||
1280 x 640 | 98 | 1600 x 640 | 101 | 2048 x 640 | 210 | ||
736 x 480 | 134 | 1280 x 512 | 121 | 1600 x 512 | 125 | 2048 x 512 | 260 |
736 x 384 | 167 | 1280 x 384 | 158 | 1600 x 384 | 164 | 2048 x 384 | 338 |
736 x 256 | 246 | 1280 x 256 | 228 | 1600 x 256 | 240 | 2048 x 256 | 485 |
736 x 192 | 323 | 1280 x 192 | 292 | 1600 x 192 | 312 | 2048 x 192 | 619 |
736 x 128 | 470 | 1280 x 128 | 406 | 1600 x 128 | 447 | 2048 x 128 | 856 |
736 x 64 | 861 | 1280 x 64 | 669 | 1600 x 64 | 788 | 2048 x 64 | 1382 |
736 x 32 | 1473 | 1280 x 32 | 986 | 1600 x 32 | 1272 | 2048 x 32 | 1903 |
736 x 16 | 2288 | 1280 x 16 | 1295 | 1600 x 16 | 1836 | 2048 x 16 | 2340 |
736 x 8 | 3158 | 1280 x 8 | 1535 | 1600 x 8 | 2359 | 2048 x 8 | 2598 |
736 x 4 | 3901 | 1280 x 4 | 1691 | 1600 x 4 | 2765 | 2048 x 4 | 2797 |
736 x 2 | 4422 | 1280 x 2 | 1783 | 1600 x 2 | 3015 | 2048 x 2 | N/A |
736 x 1 | 4925 | 1280 x 1 | 1832 | 1600 x 1 | 3238 | 2048 x 1 | N/A |
Note
The VC pro Z camera incorporates the following connector interfaces:
Connector | Description |
---|---|
J0 | Power Connector |
J1 | Option Connector |
J2A | Internal Illumination Source Connector |
J2B | Reserved |
JE | Ethernet Connector |
Camera Socket Rear View | Pin | Signal | Level | Cable Standard Color |
---|---|---|---|---|
1 | Main Power Supply | +24 V | brown | |
2 | Common Ground | GND | blue | |
3 | PLC In0 | +24 V | white | |
4 | PLC Out0 | +24 V | green | |
5 | PLC In1 | +24 V | pink | |
6 | PLC Out1 | +24 V | yellow | |
7 | PLC Out2 | +24 V | black | |
8 | PLC In2 | +24 V | grey | |
9 | PLC Out3 | +24 V | red | |
10 | PLC In3 | +24 V | purple | |
11 | FLASH0/TrigOut | +24 V | grey/pink | |
12 | FLASH1 | +24 V | red/blue |
Warning
Ensure, that the current is always limited in such a way that it cannot destroy the to the FLASH0 and FLASH1 pin connected hardware.
Note
What | How much |
---|---|
Nominal Voltage | +24 V |
Absolute Voltage Limits | +32V |
Minimum nominal Operating voltage | 21.6V |
Maximum nominal Operating voltage | 26.4V |
Operating Current (Typical) | 120mA (see note) |
Operating Current (Maximum) | 200mA (see note) |
Nominal Power Consumption (Typical) | 2.9W (see note) |
Nominal Power Consumption (Maximum) | 5W (see note) |
Note
The power consumption relies on a setup without internal or external LED illumination and without PLC I/O current.
Separation of PLC/trigger output voltage | PLC outputs supply not separated from power supply |
PLC Input Voltage | 24V, threshold: 12V |
Input Current (max) | 1.5mA @ 24V |
PLC Output Voltage | 24V |
PLC Output Current (max) | 4 x 400 mA Max total of all outputs: 1A |
Max Current for 1 Power / PLC connector pin | 400 mA |
Power failure detection | Yes, power failure detected if total PLC current > 1A |
Warning
If power failure is detected, all PLC outputs may switch off regardless of their output state.
It is not necessary for that socket to be connected for image acquisition.
Camera Socket Rear View | Pin | Signal | Level | Cable Standard Color |
---|---|---|---|---|
1 | P5V_Out max 100mA, switched | 5V | brown | |
2 | GND | GND | blue | |
3 | V24_TxD | ±12V max. [1] | white | |
4 | TrigIn_P | 5V | green | |
5 | TrigIn_M | GND | pink | |
6 | ENC /Z | 5V | yellow | |
7 | ENC Z | 5V | black | |
8 | ENC B | 5V | grey | |
9 | ENC /A | 5V | red | |
10 | ENC A | 5V | purple | |
11 | V24_RxD | ±12V max. | grey/pink | |
12 | ENC /B | 5V | red/blue |
[1] | Standard RS-232 voltage. Refer to the RS-232 specification for exact voltage and tolerance. |
The TrigOut connector is available over the Power Connector J0!
Separation of trigger input | Yes, optically isolated, 8mA @ 5V |
Separation of trigger output | No |
Trigger output voltage | Identical with power supply voltage |
Trigger output current (max) | 400 mA (1500 mA pulse) |
Note
For a connection example for the TrigOut, see Connection of Flash Outputs: External Flash, Connection of Flash Outputs: Direct High-Power-LEDs, Connection of Flash Outputs: PLC
Optional.
Separation of Encoder Signals | No |
Encoder Input Voltage | 5V, differential |
Note
You can optionally use the encoder pins as 5V inputs.
Optional.
Standard Voltage vor RS-232 (V.24).
Camera Socket Rear View | Pin | Signal |
---|---|---|
1 | ETH_A_p | |
2 | ETH_A_n | |
3 | ETH_B_p | |
4 | ETH_B_n | |
5 | ETH_D_p | |
6 | ETH_D_n | |
7 | ETH_C_n | |
8 | ETH_C_p |
Note
Activation of flash output is done by assigning the right GPIO via the command line tool named vcio (and vcproz_flash_set), see GPIOs and Trigger Assignment for more information.
Camera Socket Top View | Pin | Signal |
---|---|---|
1 | GND | |
2 | GND switched, REF | |
3 | FLASH2 | |
4 | FLASH3 |
LEDs at the connector J2A must have an extra resistor attached whose resistance value encodes the allowed flash duration at specific current values. If the current value is set to 0.0 A, the circuit however provides the pins with a minimum current due to buffering purposes.
Warning
Ensure, that the current is always limited in such a way that it cannot destroy the to the FLASH2 and FLASH3 pin connected hardware.
Warning
Never dis-/connect something to the J2A or J2B connector without turning off the camera device.
The formula used to calculate the current between maximum steady current and maximum flash current is based on durations at currents specified by the resistor ID of the LED ring, see the table named 'J2A Connector Resistor Specification':
Left blank for future use. Do not connect!
General Information | Maximum Flash Current | Maximum Steady Current | |||||
---|---|---|---|---|---|---|---|
Spectrum | LED Count | Opening angle | Resistor [Ω] | IhighCurr [mA] | thighCurr [s] | Isteady [mA] | tsteady [s] |
IR 850nm | × 32 | ±10°deg | 220R | 1500 | 1.0e-4 | 300 | 1.0e-2 |
White | × 12 | ±40°deg | 2200R | 1000 | 1.0e-3 | 500 | 1.0e-1 |
IR 850nm | × 12 | ±45°deg | 2700R | 1500 | 15.0e-3 | 500 | 1.0e-1 |
This specification is subject to change for the limiting values due to technical improvements without further notice. For this reason please try to avoid programming current values higher than reported as maximum by the program vcproz_flash_set.
Make sure to mount the ring illuminator as depicted at the figure 'How to mount the ring illuminator' so that the smaller vertical resistor is to the right, and the larger horizontal resistor is to the left. Also make sure to place all four pins of both connectors J2A and J2B properly, and to align the mounting holes with the corresponding threads. It may be necessary to apply a heat spreading pad between the camera and the illuminator ring. The illuminator ring must be fixed mechanically with two screws of type M2×4.
Note
Activation of flash output is done by assigning the right GPIO via the command line tool named vcio (and vcproz_flash_set), see GPIOs and Trigger Assignment for more information.
The FLASH0 and FLASH1 outputs are available over the Power Connector J0.
The VC pro Z Hardware features four independently adjustable current sources for the connection of four LED light sources. Two of the current sources are designed for controlling the ring illuminators around the lens, connected to J2A. The other two current sources are accessible over the connector J0.
The default and system startup current at the FLASH0, FLASH1, FLASH2 and FLASH3 pins are 500 mA, limited to 1ms duration.
The controller covers a current range from 150 to 1500 mA. The controller provides a steady current in the range from 150 to 400 mA. Currents over 400 mA are available in flash mode saving LED lifetime.
The duty cycle is limited to 1:8, i.e. the off-state is eight times longer than the on-state for the output. Example: 1 ms flash duration, 8 ms cool down duration.
The flash duration depends on the real flash duration and not the maximum given flash duration.
Iout | 150-1500 mA, programmable |
Uout | 4-16 V (1-4 LEDs depending on the Vf) |
Isteady | < 400 mA |
IhighCurr | 400-1500 mA |
tpulse | > 20 µs |
In the header file vcproz.h are the ranges available as defines.
Define Name | Meaning |
---|---|
VCPROZ_FLASH_MAXCURR_MA | Maximum current configurable for flash output pins. |
VCPROZ_FLASH_MINCURR_MA | Minimum current configurable for flash output pins (0mA will be set if request is lower). |
VCPROZ_FLASH01_MAXCURRSDY_MA | For FLASH 0 and FLASH 1 output pins, current above this level will limit the flash duration to @ref VCPROZ_FLASH01_DURTNLIMIT_US. |
VCPROZ_FLASH01_DURTNLIMIT_US | Maximum Duration in microseconds |
The figure shows how to connect an external flash illumination to FLASH0/TrigOut signal by using an opto isolation. R limit should be chosen to protect the opto isolator, e.g. 2K2/250mW for a current of 10mA. Remark: R limit is not necessary for Vision Components' High Power IR Illumination VK XXXXXXXX. The current source should be set to 500 mA.
The figure shows how to connect an external flash illumination. The current source should be set to the required current setting between 200 and 1500 mA. The time limit must be set to an appropriate value for the protection of the external LEDs according to the data sheet of the manufacturer. Connectable are 1 to 6 High Power LEDs.
The figure shows how to connect a PLC to the FLASH0/TrigOut or FLASH1 signal. The current source should be set to 500 mA.
Warning
Do not connect inductive loads to FLASH0 or FLASH1 outputs!
The VC pro Z camera contains a built-in heater which is automatically activated when necessary. The following table and diagram show the behaviour of the heater. The heater is integrated in all VC pro Z cameras starting from S/N 4000673.
Temperature | Heating power | CPU |
---|---|---|
T < -5 °C | 100 % (23 W) | Off |
-5 °C < T < 5 °C | 20 % (4.6 W) | On |
T > 5 °C | 0 % | On |
GPIO Nr. | Connector | Pin Designator | Usability | Remark |
---|---|---|---|---|
0 | J0 | OUT 0 | Output | — |
1 | J0 | OUT 1 | Output | — |
2 | J0 | OUT 2 | Output | — |
3 | J0 | OUT 3 | Output | — |
4 | — | — | — | — |
5 | — | — | — | — |
6 | — | — | — | — |
7 | — | — | — | — |
8 | — | — | — | — |
9 | — | — | — | — |
10 | J0 | INP 0 | Input | — |
11 | J0 | INP 1 | Input | — |
12 | J0 | INP 2 | Input | — |
13 | J0 | INP 3 | Input | — |
14 | J1 | ENC N | Input | Signal cannot be used as input if encoder active |
15 | J1 | ENC A | Input | Signal cannot be used as input if encoder active |
16 | J1 | ENC B | Input | Signal cannot be used as input if encoder active |
17 | — | — | — | — |
18 | J0 | FLASH1 | Output | Adjustable current source |
19 | J2A | FLASH2 | Output | Adjustable current source |
20 | J2A | FLASH3 | Output | Adjustable current source |
21 | — | — | — | — |
22 | — | — | — | — |
23 | — | — | — | — |
24 | — | — | — | — |
25 | — | — | — | — |
26 | — | — | — | — |
27 | — | — | — | — |
28 | — | — | — | — |
29 | INTERNAL | MALFUNCTION | Input | — |
30 | — | — | — | — |
31(Out) | J0 | FLASH0/TrigOut | Output | Adjustable current source |
31(In ) | J1 | TrigIn | Input | Optically isolated |
They can be accessed over the linux standard way via /sys/class/gpio, see https://www.kernel.org/doc/Documentation/gpio/sysfs.txt. The GPIO numbers are relative to the start number of the gpiochip labelled with '/amba@0/axi-gpio0@41200000', here: /sys/class/gpio/gpiochip224.
To choose the sensor input/output trigger signals, the corresponding GPIO Nr. must be determined and assigned by the supporting program named vcio. More information can be found at the help of the program, if you run it with no command line parameter, it will show how to do it.
Sample usage instructions are provided here, but always refer to the instructions of your version, different camera models may have different vcio parameters:
VCIO v.1.2.3.- VCLinux Camera I/O Configuration and Connection Setup.
Usage: vcio [-s sen] [-i gpioNr] [-n] [-o gpioField] [-d gpioField] [-t time]
-s Sensor to be configured, default value: 0. -i GPIO Nr. to be used as external sensor trigger input (TRGSRC_EXT) -n Negates trigger input signal -o Bitfield of GPIOs which are coupled with sensor trigger output signal. The bit of GPIO Nr. X is coupled, if Bit X is set to 1, for example, For coupling GPIO Nr. 0, 3 and 31 (TrigOut) provide the Bitfield as Decimal Value: 2^0+2^3+2^31=2147483657, as Hex Value: 0x80000009, or as Binary Value: 0b10000000000000000000000000001001. -d The direction of the GPIOs as bitfield (see -o switch); If the GPIO Nr. X should be configured as output, set bit X to 1, and if it should be an input, set bit X to 0. -t Time used to debounce all input sources, default value: 10000. Time Unit is in FPGA Cycles. The FPGA clock frequency can be acquired by reading out the value of capt->sen->d.fpgaClkHz, e.g. 153846161 Hz. The default debouncing time for that example is then given by 10000 cycles / 153846161 Hz = 0.000065 s = 65 us. Settings done cannot be read out. Different camera models may have different vcio parameters.
Example
If an ring LED flash device is connected to connector J2A (pin FLASH2 and FLASH3), the 'Connector Assignment of GPIOs' table shows the corresponding GPIO Nrs.: 19 and 20. To link the gpio Nr. 19 and 20 to the sensor trigger signal, the 'vcio' program must couple it to the sensor trigger signal (-o), for example, the following call uses the TrigOut pin (gpio Nr. 31) and the FLASH2 and FLASH3 pins (gpio Nr. 19 and 20) for simultaneous flash output, the external input trigger is coming from gpio Nr. 10, which is, by table, the hardware pin of INP 0:
vcio -o 0b10000000000110000000000000000000 -i 10
Note
At a VC pro Z Smart Camera you are not able to change the GPIO direction, i.e. you cannot turn an output pin to an input pin.
Note
To actually use the trigger input source (assigned by the vcio program) you have to select it at your source code in your image capture struct by setting the capture trigger input source to TRGSRC_EXT (instead of TRGSRC_IMM for immediate trigger); refer to the libvclinux image acquisition documentation!
Additionally you may also set the right values at the vcproz_flash_set program, like vcproz_flash_set -f 2 -c 500 and vcproz_flash_set -f 3 -c 500 to use an output current of 500mA at pin FLASH2 and FLASH3, which limits the maximum flash time to approx. 4ms. Call vcproz_flash_set without any parameters to get usage instructions. You cannot change settings via vcproz_flash_set during image acquisition.
You may also invert the trigger signal, see Output Trigger Signal Inversion
One can further switch flash outputs for each capture (see the libvclinux documentation: VCFlashSelector); therefore the corresponding gpios must be set as output (-d), but they should not be coupled with the trigger signal (-o), since this given value would be ORed with the flash selector settings, and the flash would always trigger.
GPIO Nr. | Connector | Pin Designator | Assignment |
---|---|---|---|
31(Out) | J0 | FLASH0/TrigOut | Trigger Output |
31(In ) | J1 | TrigIn | Trigger Input |
One can invert the value of the trigger output signal by writing a 1 onto the corresponding GPIO nr, for example via the program vcgpio. To get usage instruction for the program vcgpio run it without any parameters.
The VC pro Z Smart Cameras feature 2 LEDs providing status information on power supply and ethernet connection, as well as 4 LEDs being free programmable by the developer.
They can be accessed over the linux standard way via /sys/class/leds, see https://www.kernel.org/doc/Documentation/leds/leds-class.txt.
Order Number | Product / Service description |
---|---|
VK002859 | VC pro Z 0010 Smart Camera, b/w sensor |
VK002858 | VC pro Z 0010 Smart Camera, bayer sensor |
VK002088 | VC pro Z 0011 Smart Camera, b/w sensor |
VK002257 | VC pro Z 0011 Smart Camera, bayer sensor |
VK002207 | VC pro Z 0015 Smart Camera, b/w sensor |
VK002230 | VC pro Z 0015 Smart Camera, bayer sensor |
VK003148 | VC pro Z 0252 Smart Camera, b/w sensor |
VK003133 | VC pro Z 0252 Smart Camera, bayer sensor |
VK003161 | VC pro Z 0392 Smart Camera, b/w sensor |
VK002147 | VC pro Z 0011 Carrida Cam Smart Camera, b/w sensor |
Order Number | Product / Service description |
---|---|
VK002154 | VC pro Z Lens Tube 15 mm |
VK002155 | VC pro Z Lens Tube 35 mm |
VK002157 | VC pro Z Lens Tube 35 mm with light guide |
VK002156 | VC pro Z Lens Tube 45 mm |
VK002158 | VC pro Z Lens Tube 45 mm with light guide |
VK002228 | VC pro Z Lens Tube 55 mm |
VK002212 | VC pro Z LED Ring Light - red 640 nm |
VK002213 | VC pro Z LED Ring Light - IR 850 nm |
VK002233 | VC pro Z LED Ring Light - UV |
VK002876 | VC pro Z LED Ring Light - White |
VK002227 | VC pro Z Protection cap for unused connector |
If you plan to use the pro Z camera outdoors, we advise you to order protection caps for all unused connectors, so that the IP67 property is ensured.