Washers detector using a NI 1764 Smart Camera

  • Slides: 13
Download presentation
Washers detector using a NI 1764 Smart Camera Laboratory of Optoelectronics, University of Brescia

Washers detector using a NI 1764 Smart Camera Laboratory of Optoelectronics, University of Brescia 2 D Vision Course Simone Formichella

Objective Proximity sensor Objects Acquisition syncronized with a strobe Plate Simone Formichella Stepper motor

Objective Proximity sensor Objects Acquisition syncronized with a strobe Plate Simone Formichella Stepper motor

System assembling NI 1764 Smart Camera Photo-electric sensor: Farnell XU 5 -M 18 PP

System assembling NI 1764 Smart Camera Photo-electric sensor: Farnell XU 5 -M 18 PP 340 Requirements: - Labview 2011 or lesser Labview RT module Vision development module NI IMAQ dx module Signal cable to external trigger Line of NI 1764 Smart Camera. Simone Formichella

System assembling Delay Stroboscope LAEL 8804 -B Input trigger IN connected to 5 V

System assembling Delay Stroboscope LAEL 8804 -B Input trigger IN connected to 5 V TTL out signal of the smart camera. Stepper motor: SCT HY 200 Stepper motor controlled by Win. IC Software. Simone Formichella

System configuration Strobe Smart Camera Proximity sensor Rotating plate + Stepper motor Simone Formichella

System configuration Strobe Smart Camera Proximity sensor Rotating plate + Stepper motor Simone Formichella

Design phase two: sizing of measurement chain Choice of the camera lens: Sensor Size

Design phase two: sizing of measurement chain Choice of the camera lens: Sensor Size x (SSx) Plane-sensor distance (d) Focal (f) Working Distance (WD) FOVx Simone Formichella

Lighting Strobe perpendicular at the plate. PROBLEM: plate transparent! Unable to detect correctly the

Lighting 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. Simone Formichella

Software structure Waiting for trigger INIZIALIZATION Start acquisition n to t u r b

Software structure Waiting for trigger INIZIALIZATION Start acquisition n to t u r b p erro o St or STOP Stop button or error WAITING FOR TRIGGER SIGNAL Trigger event IMAGE ACQUIRE AND ELABORATION Simone Formichella Elaboration done

Problem q The device has a limited computational power and support only very light

Problem q The device has a limited computational power and support only very light programs like a simple acquisition: shared variables q Program splitted into two parts: acquisition of image performed by the camera, elaboration made by the host PC. Simone Formichella

Software loaded on the smart camera: PRODUCER – CONSUMER LOOP Simone Formichella

Software loaded on the smart camera: PRODUCER – CONSUMER LOOP Simone Formichella

The software interface Simone Formichella

The software interface Simone Formichella

: Features Setting the Smart camera parameters with variables and viewing Real-Time Acquisition. Error

: Features Setting the Smart camera parameters with variables and viewing Real-Time Acquisition. Error handling. Simone Formichella

Potential improvements q Complete stepper motor control by the main software, interfacing the motor

Potential improvements q Complete stepper motor control by the main software, interfacing the motor using a microcontroller PIC or Arduino like and Lab. View. q Possible industrial application: learn the form of a template object and recognize if the objects sliding under the camera are related to that object. q Have the complete control of the smart camera attributes from the main software. …THANK YOU FOR YOUR ATTENTION! Simone Formichella