simone formichella laboratory of optoelectronics, university of brescia 2d vision course washers...
TRANSCRIPT
![Page 1: Simone Formichella Laboratory of Optoelectronics, University of Brescia 2D Vision Course Washers detector using a NI1764 Smart Camera](https://reader036.vdocuments.us/reader036/viewer/2022062309/56649e9e5503460f94b9f47b/html5/thumbnails/1.jpg)
Simone Formichella
Laboratory of Optoelectronics, University of Brescia
2D Vision Course
Washers detector using aNI1764 Smart Camera
![Page 2: Simone Formichella Laboratory of Optoelectronics, University of Brescia 2D Vision Course Washers detector using a NI1764 Smart Camera](https://reader036.vdocuments.us/reader036/viewer/2022062309/56649e9e5503460f94b9f47b/html5/thumbnails/2.jpg)
Simone Formichella
Stepper motor Plate
Proximity sensor
Objects
Acquisition syncronized witha strobe
Objective
![Page 3: Simone Formichella Laboratory of Optoelectronics, University of Brescia 2D Vision Course Washers detector using a NI1764 Smart Camera](https://reader036.vdocuments.us/reader036/viewer/2022062309/56649e9e5503460f94b9f47b/html5/thumbnails/3.jpg)
Simone Formichella
NI1764 Smart Camera
Requirements:
- Labview 2011 or lesser- Labview RT module- Vision development module- NI IMAQ dx module
Photo-electric sensor: Farnell XU5-M18PP340
Signal cable to external triggerLine of NI1764 Smart Camera.
System assembling
![Page 4: Simone Formichella Laboratory of Optoelectronics, University of Brescia 2D Vision Course Washers detector using a NI1764 Smart Camera](https://reader036.vdocuments.us/reader036/viewer/2022062309/56649e9e5503460f94b9f47b/html5/thumbnails/4.jpg)
Simone Formichella
Delay Stroboscope LAEL 8804-B
Input trigger IN connected to 5V TTL out signal of the smart camera.
Stepper motor: SCT HY200
Stepper motor controlled by WinICSoftware.
System assembling
![Page 5: Simone Formichella Laboratory of Optoelectronics, University of Brescia 2D Vision Course Washers detector using a NI1764 Smart Camera](https://reader036.vdocuments.us/reader036/viewer/2022062309/56649e9e5503460f94b9f47b/html5/thumbnails/5.jpg)
Simone Formichella
Smart Camera
Strobe
Proximitysensor
Rotating plate +Stepper motor
System configuration
![Page 6: Simone Formichella Laboratory of Optoelectronics, University of Brescia 2D Vision Course Washers detector using a NI1764 Smart Camera](https://reader036.vdocuments.us/reader036/viewer/2022062309/56649e9e5503460f94b9f47b/html5/thumbnails/6.jpg)
Simone Formichella
Choice of the camera lens:
FOVx
Sensor Size x (SSx)
WorkingDistance (WD)
Focal (f)
Plan
e-se
nsor
dist
ance
(d)
x x
f WD
SS FOV
x x
f d f
SS FOV
x
x x
d SSf
FOV SS
6640 7.4 10 4.7xSS m mm
370d mm75xFOV mm
22f mm
Design phase two: sizing of measurement chain
![Page 7: Simone Formichella Laboratory of Optoelectronics, University of Brescia 2D Vision Course Washers detector using a NI1764 Smart Camera](https://reader036.vdocuments.us/reader036/viewer/2022062309/56649e9e5503460f94b9f47b/html5/thumbnails/7.jpg)
Simone Formichella
Strobe perpendicular at the plate.
PROBLEM: plate transparent! Unable to detect correctly the objects and apply the binarization in the elaboration phase.
SOLUTION: cover the plate with a dark piece of cardboard that does not reflect light.
Lighting
![Page 8: Simone Formichella Laboratory of Optoelectronics, University of Brescia 2D Vision Course Washers detector using a NI1764 Smart Camera](https://reader036.vdocuments.us/reader036/viewer/2022062309/56649e9e5503460f94b9f47b/html5/thumbnails/8.jpg)
Simone Formichella
IMAGE ACQUIRE AND
ELABORATIONSTOP
Waiting for trigger
Stop button
or erro
r
Stop buttonor error
Start acquisition
Wait
Elaborationdone
Triggerevent
WAITING FORTRIGGER SIGNALINIZIALIZATION
Software structure
![Page 9: Simone Formichella Laboratory of Optoelectronics, University of Brescia 2D Vision Course Washers detector using a NI1764 Smart Camera](https://reader036.vdocuments.us/reader036/viewer/2022062309/56649e9e5503460f94b9f47b/html5/thumbnails/9.jpg)
Simone Formichella
Problem
The device has a limited computational power and support only very light programs like a simple acquisition: shared variables
Program splitted into two parts: acquisition of image performed by the camera, elaboration made by the host PC.
![Page 10: Simone Formichella Laboratory of Optoelectronics, University of Brescia 2D Vision Course Washers detector using a NI1764 Smart Camera](https://reader036.vdocuments.us/reader036/viewer/2022062309/56649e9e5503460f94b9f47b/html5/thumbnails/10.jpg)
Simone Formichella
PRODUCER – CONSUMER LOOP
Software loaded on the smart camera:
![Page 11: Simone Formichella Laboratory of Optoelectronics, University of Brescia 2D Vision Course Washers detector using a NI1764 Smart Camera](https://reader036.vdocuments.us/reader036/viewer/2022062309/56649e9e5503460f94b9f47b/html5/thumbnails/11.jpg)
Simone Formichella
The software interface
![Page 12: Simone Formichella Laboratory of Optoelectronics, University of Brescia 2D Vision Course Washers detector using a NI1764 Smart Camera](https://reader036.vdocuments.us/reader036/viewer/2022062309/56649e9e5503460f94b9f47b/html5/thumbnails/12.jpg)
Simone Formichella
:
Setting the Smartcamera parameterswith variables and viewing Real-Time Acquisition.
Error handling.
Features
![Page 13: Simone Formichella Laboratory of Optoelectronics, University of Brescia 2D Vision Course Washers detector using a NI1764 Smart Camera](https://reader036.vdocuments.us/reader036/viewer/2022062309/56649e9e5503460f94b9f47b/html5/thumbnails/13.jpg)
Simone Formichella
…THANK YOU FOR YOUR ATTENTION!
Potential improvements
Complete stepper motor control by the main software, interfacing the motor using a microcontroller PIC or Arduino like and LabView.
Possible industrial application: learn the form of a template object and recognize if the objects sliding under the camera are related to that object.
Have the complete control of the smart camera attributes from the main software.