AO SERIES | INSTRUCTIONS MANUAL
14
One possible application can be the following (Figure 7): an analog signal ranging from
0 to 24V can be fed to the “A/D_IN_0” pin, in a discrete ramp signal (Figure 8), as an
example.
For each input voltage level, a proportional output signal can be generated: once
the output voltage reaches a steady-state value, the “DIG_OUT” pin can be used for
triggering the image acquisition. After the end of the acquisition, the camera can
communicate with the analog signal generator, thereby moving on to the next voltage
level of the staircase signal.
After having covered the entire input dynamic (0 – 24V), a set of different images has
been acquired by the camera and is available to be processed in order to find the best
focus.
Considering the 12-bit resolution ADC, better precision can be achieved by increasing
the number of input voltage levels.
Figure 8: Discrete ramp signal.
2.3.7 Digital control
Pin 4 (A/D_IN_0) and Pin 11 (A/D_IN_1) can also be used as a digital input (0:LOW – 1:HIGH).
In this case, an input signal whose value ranges between 0V and 8V is considered a LOW
level digital signal (logic 0), whereas an input signal whose value ranges between 16V
and 24V is considered a HIGH level digital signal (logic 1).
Example
Figure 9: AOL0223X Digital control.
V
IN ANALOG
[V]
t [ms]
GND
INPUT 1
GND
20kohm
100
3.16kohm
D2
D1
3.3V
GND
INPUT 2
GND
20kohm
100
3.16kohm
D2
D1
3.3V
Output Signal
(0 ≤ V
LENS
≤ 300V)
DIG_OUT
MOVE/STOP
DIRECTION
AOL0223X
AOL0223X
Electronics
CAMERA