Creating and Projecting Fringes Laboratory of Optoelectronics, University of Brescia 2D Vision Course Alessandro Nastro Purpose of the project: Implement an optic triangulation system and develop a VI to create fringes and project them. α Data: α = 30° γ = 90° FW = 400mm FH = 300mm Alessandro Nastro Instrumentation: Projector Philips PicoPix PPX2055 • Display technology..................................WVGA 0,3" DLP • Light source............................................................RGB LED • Resolution......................................... 854×480 pixel (16:9) • Screen distance........................................... 0,5 m up to 3 m • Power Supply ....................................................via USB Y plug • Brightness (Bright Mode) ......................... up to 55 lumen • Projected image size........................................12–120 inch (30-304 cm) • Dimensions (L×H×W)............................72×27×72mm • Weight........................................................................0,11 5kg • Camera Basler Scout scA1390-17gm • Sensor………………………………………………………………………. ICX267AL • Sensor type……………………………………………………………………….. CCD • Sensor diagonal Diagonal............................................. 8 mm (Type 1/2) • Resolution………………………………………………………… 1392 x 1040 pixel • Pixel width…………………………………………………………………… 4.65 μm • Pixel height…………………………………………………………………….4.65 μm • Transfer type………………………………………………………. Interline transfer • Interface type…………………………………………………….. Gigab Ethernet • Indication of lens category to be used……………………………….. C-Mount Alessandro Nastro Implementation : 𝑆𝑆𝑥 = 𝑁. 𝑃𝑖𝑥𝑒𝑙𝑥 ∗ 𝑃𝑖𝑥𝑒𝑙 𝑊𝑖𝑑𝑡ℎ = = 1392 ∗ 4.65μ𝑚 = 0.0065𝑚 𝑓 𝑑−𝑓 = so 𝑆𝑆𝑥 𝐹𝑂𝑉𝑥 d= (𝐹𝑜𝑣𝑥 + 𝑆𝑆𝑥) ∗f= 𝑆𝑆𝑥 (0.4𝑚 + 0.0065𝑚) = ∗ 0.025𝑚 = 0.0065𝑚 = 1,5699 m f [mm] d [mm] 8 500 16 1005 25 1569,9 35 2190 50 3139,9 300 Distance (mm): 156,9 Alessandro Nastro VI steps: Load Master and Calibration info Acquire Master and calculate calibration info Save Calibration info Create and Save viewfinder Image Project Acquire and Save viewfinder Image Create and Save a Fringes Patterns Project Acquire and Save Fringes pattern Create, Project, Save a Series of Fringes Images Apply Calibration on the acquired image Use line profile at a specific line Determinate Period (pix, mm) Alessandro Nastro Structure of the VI Producer-Consumer VI 2 State-Machine: - 7 state (Init, idle, calibration, center, fringes, application of Calibration, Stop) - 3 state (Idle, Analysis, Stop) 6 SubVI: Calibration Center Fringes AutoFringes LineProfile Monitor Alessandro Nastro Monitor SubVI Alessandro Nastro AutoFringes SubVI Alessandro Nastro Fringes State: Front Panel Alessandro Nastro Fringes State: Block Diagram Alessandro Nastro Application: This technique of projecting fringes can be used in a scanner 3D. Alessandro Nastro