Matrix Vision mvBlueGEMINI Technical Manual

Smart camera

Advertisement

Quick Links

0
mvBlueGEMINI Technical
Manual (EN)
Version: 1.2.2
Date:
21.07.2016

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the mvBlueGEMINI and is the answer not in the manual?

Questions and answers

Summary of Contents for Matrix Vision mvBlueGEMINI

  • Page 1 Technical Manual (EN) Version: 1.2.2 Date: 21.07.2016...
  • Page 2: Table Of Contents

    Technical Manual (EN) v1.2.2 Table of contents Imprint ....................4 Address ..........................4 Authors ..........................4 Revisions .................... 5 Notes, Warnings, Attentions ............. 6 Declaration of Conformity statement ................6 About this user manual ..............9 Proper use ..................10 Scope of delivery ................
  • Page 3 Technical Manual (EN) v1.2.2 Software ......................... 18 First steps ..................19 Connect the smart camera .................... 19 Connect with the smart camera ..................19 8.2.1 If you wish to access ICS in another subnetwork ............20 How to continue? ......................20 Updates .....................
  • Page 4 Technical Manual (EN) v1.2.2 IMPRINT - ADDRESS...
  • Page 5: Imprint

     S. Bertele  Team BV All material in this publication is subject to change without notice and is copyright MATRIX VISION GmbH. Given that the documentation is published electronically, the user himself is responsible to update his printouts. The mvBlueGEMINI smart camera uses embedded Linux/GNU as its operating system. It also makes use of a number of freely available tools that are released under different open source licences.
  • Page 6: Revisions

    Technical Manual (EN) v1.2.2 Revisions Rev. Date Description 21.07.2016  1.2.2 Extended description of the LEDs.  Renamed ICS to mvIMPACT-CS  Added "Expert knowledge" in "Find object" and "Check object".  Corrected “User data length in bytes” of “Set inspection number”.
  • Page 7: Notes, Warnings, Attentions

    Declaration of Conformity statement The manufacturer MATRIX VISION GmbH herewith declares, that this product complies with the provisions of the following European Directives: 2014/30/EU (EMC Directive) based on the following harmonized standards Electromagnetic compatibility (EMC) ...
  • Page 8 Technical Manual (EN) v1.2.2 NOTES, WARNINGS, ATTENTIONS - DECLARATION OF CONFORMITY STATEMENT...
  • Page 9 Technical Manual (EN) v1.2.2 NOTES, WARNINGS, ATTENTIONS - DECLARATION OF CONFORMITY STATEMENT...
  • Page 10: About This User Manual

    Technical Manual (EN) v1.2.2 About this user manual Purpose of This manual provides you with an overview of the smart camera's technical data this manual and the handling of the camera. For a quick summary of the product, we recommend that you read the manual in the specified order.
  • Page 11: Proper Use

    Proper use The mvBlueGEMINI is a Smart Camera for creating inspection applications for different industrial areas. The camera provides a user interface for connecting the camera via your web browser over network. Furthermore you create and configure inspection programs with the user interface software "mvIMPACT Configuration Studio (mvIMPACT-CS)".
  • Page 12: Scope Of Delivery

    1/4" Tripod with locking arm and two ball head joints MV LENS TUBE Lens protections tube, IP67, length 54mm GEMINI 54 MV-DC2401 GEM IO Power supply 24V / 1.5 A for mvBlueGEMINI with Dig. I/O on separate cable, length Power 2.0m, I/O 1.0m SCOPE OF DELIVERY - ACCESSORIES...
  • Page 13: Technical Data

    Technical Manual (EN) v1.2.2 Technical data Dimensional drawing 12 mm TECHNICAL DATA - DIMENSIONAL DRAWING...
  • Page 14: Connections

    Technical Manual (EN) v1.2.2 Connections 7.2.1 PWR/IO Manufacturer Binder Description Flanschstecker, M12 x 1, 10,5 mm Number of contacts Area M12-A Order code 09 3491 550 12 713/763 Figure 1 Power / IO connector Signal Color VIN_L+ brown VIN_L-...
  • Page 15 Technical Manual (EN) v1.2.2 Signal Color SPSIO4 violet SPSIO5 gray/pink red/blue 7.2.1.1 Characteristics of the I/Os  SPSIO0 - SPSIO5 are digital in-/outputs. Each of them could be used as an input, output, trigger line or for controlling flash lights.
  • Page 16: Lan

    Technical Manual (EN) v1.2.2 7.2.2 Manufacturer Binder Description x-coded flange receptacle Number of contacts Area M12-D, M12-X Order code 99 3782 210 08 Serien 825/876 Figure 2 x-coded flange receptacle Signal MDX0+ MDX0- MDX1+ MDX1- MDX3+ MDX3- MDX2- MDX2+...
  • Page 17: Led States

    Technical Manual (EN) v1.2.2 NOTE The Ethernet signals are galvanically isolated from the camera electronics. LED states 7.3.1 PWR (Power) Color Description Green Power on Green flashing FPGA loaded. Once software is running: Software is in Configruation mode. Green permanent Inspection programm is running.
  • Page 18: Image Sensor

    Technical Manual (EN) v1.2.2 Image sensor CMOS Model G / C Resolution 1280 x 1024 MPixel Shutter type Pipelined / Global Sensor size 1/1.8" Unit cell size [µm] 5.3 x 5.3 Exposure time 10 µs - 1 s 10 bit (10-8 companding) → 8 bit...
  • Page 19: Hardware

    Technical Manual (EN) v1.2.2 Hardware  FPGA/SoC with Dual-Core Cortex-A9 each with 800 MHz  1 GB DDR3 SDRAM memory  4 GB NAND Flash  Connections: o 1 GBit Ethernet LAN, o 6 digital in-/outputs (valid modes: input, output, trigger, flash) ...
  • Page 20: First Steps

    Technical Manual (EN) v1.2.2 First steps Connect the smart camera Figure 3 Connector side  Connect the smart camera with the local network using the NET (2) connector .  Power the camera using the connector PWR/IO (1). ...
  • Page 21: If You Wish To Access Ics In Another Subnetwork

    Access is then via the web browser. To go to the configuration software page, a. open the web browser, b. enter the address or URL of the device on which mvIMPACT-CS is running. For the mvBlueGEMINI smart camera, this may look something like: "http://gemini- 000110".
  • Page 22: Updates

    Technical Manual (EN) v1.2.2 Updates Update software Periodically, we publish software updates on our website. The updates contain bug fixes, performance optimization, or functional extensions. NOTE We recommend updating the camera from time to time to derive maximum benefit from the camera.
  • Page 23 Technical Manual (EN) v1.2.2 4. After a few minutes, the update is finished and the LED status indicator "PWR (Power)" will change to green. The camera is then ready to use. UPDATES - UPDATE SOFTWARE...
  • Page 24: Appendix

    Technical Manual (EN) v1.2.2 Appendix 10.1 Control commands 10.1.1 Communication via UDP It is possible to control the smart camera using so-called UDP sockets via the Ethernet interface. For this, the port 36701 is used. NOTE To communicate via UDP, you have to set the Mode in the camera's system menu ("System settings ->...
  • Page 25 Technical Manual (EN) v1.2.2 a. Connect b. Change inspection c. Get date and time d. Get program number All messages have the same structure: Lenght in bytes Structure Description uint32 Magic number: 42565350 uint32 User data length in bytes...
  • Page 26 Technical Manual (EN) v1.2.2 Message Restart camera Connect The Connect message creates a connection to the smart camera. Lenght in bytes Structure Value Description uint32 42565350 Magic number uint32 User data length in bytes uint32 Message ID The smart camera answers with a Connect message.
  • Page 27 Technical Manual (EN) v1.2.2 Result container If an inspection program uses a "Send results" tool, the inspection program will send the result data in this message after processing the inspection program. Lenght Structure Value Description in bytes uint32 42565350...
  • Page 28 Technical Manual (EN) v1.2.2 Change Inspection program A change is possible, when the following conditions are fulfilled.  No client is in the config mode.  The current inspection is stopped.  The number of the inspection program which should be loaded is not zero.
  • Page 29 Technical Manual (EN) v1.2.2 Get date and time Get the current date and time from a smart camera. Lenght in bytes Structure Value Description uint32 42565350 Magic Number uint32 User data length in bytes uint32 Message ID The smart camera answers with the current date and time.
  • Page 30 Technical Manual (EN) v1.2.2 Lenght in bytes Structure Value Description uint32 uint32 Hour uint32 Minute uint32 Second The camera may discard or convert invalid values. To set date and time to 2016-06-25 10:11:12 send the following data (hex): 505356421800000033000000E007000006000000190000000A0000000B0000000C000000...
  • Page 31 Technical Manual (EN) v1.2.2 Start inspection Is sent to the smart camera to start the inspection. The behavior of the smart camera depends on the mvIMPACT Configuration Studio (mvIMPACT-CS) settings. Untriggered inspections will start immediately and will transmit results continuously while triggered inspections will wait for a trigger signal.
  • Page 32 Technical Manual (EN) v1.2.2 Set inspection number Set the inspection number for the next inspection. Lenght in bytes Structure Value Description uint32 42565350 Magic number uint32 User data length in bytes uint32 Message ID uint32 Inspection number 10.1.1.2 Testing the communication Under Linux For testing the UDP communication you can use the tool Netcat under Linux.
  • Page 33 Technical Manual (EN) v1.2.2 Figure 4 Packet Sender - for testing the UDP communication APPENDIX - CONTROL COMMANDS...
  • Page 34: Troubleshooting Table

    Technical Manual (EN) v1.2.2 10.2 Troubleshooting table Error Cause Action No connection to Incorrect network Check and implement the measures defined in the the camera configuration "Notes on network connections" chapter. possible Alternative access to the camera (direct connection): 1.
  • Page 35 Technical Manual (EN) v1.2.2 Error Cause Action 4. Close the windows and restart the PC 5. Retry the previously described way No connection to Incorrect If you still cannot get an connection to the camera as the camera configuration of PC -...
  • Page 36 Technical Manual (EN) v1.2.2 Error Cause Action C:\Users\war>nbtstat -c Ethernet: Node IpAddress: [0.0.0.0] Scope Id: No names in cache Local Area Connection: Node IpAddress: [169.254.93.40] Scope Id: [] NetBIOS Remote Cache Name Table Name Type Host Address Life [sec]...
  • Page 37: Notes On Network Connections

    Technical Manual (EN) v1.2.2 Error Cause Action 10.3 Notes on network connections 10.3.1 Background information The user would like to connect to the smart camera with their client via web browser. For this to work, 1. the smart camera's IP address or host name must be known or found, and 2.
  • Page 38 Technical Manual (EN) v1.2.2  Start the delivered script and display an overview of the smart camera. Select a smart camera and access its URL via web browser.  Start a local instance of the ICS server (offline version) and connect with "localhost" via web browser.
  • Page 39: Server And Client Separated By A Firewall

    Technical Manual (EN) v1.2.2 10.3.4 Server and client separated by a firewall In this case, the server and client are in different IP subnets without loss of generality. 10.3.4.1 Static port forwarding The easiest access to a smart camera behind a firewall is established by port forwarding. In this case, the firewall forwards all queries on one of its ports to a specific smart camera port, i.e.
  • Page 40 Technical Manual (EN) v1.2.2 10.3.4.3 OpenVPN as a bridge between two subnets An OpenVPN server functions as a bridge and connects two subnets (see http://www.heise.de/netze/artikel/Bridge-Modus-224072.html https://docs.openvpn.net/how-to- tutorialsguides/virtual-platforms/site-to-site-layer-2-bridging-using-openvpn-access-server/). In this case, the two Open VPN servers must be configured so that they transmit direct network packages as well as mDNS broadcasts.
  • Page 41 Technical Manual (EN) v1.2.2 Versions with OpenVPN bridge APPENDIX - NOTES ON NETWORK CONNECTIONS...
  • Page 42 Technical Manual (EN) v1.2.2 APPENDIX - NOTES ON NETWORK CONNECTIONS...
  • Page 43: Choice Of The Right Lens And Lighting System

    Technical Manual (EN) v1.2.2 10.4 Choice of the right lens and lighting system 10.4.1 Find the correct lens Lenses are the starting point of the image processing signal path and shape the light information. The better the optics and the more time you've invested in this issue, the better the source material for the image processing.
  • Page 44 M = F * A A = M / F => A = 0.1 / 2 = 0.05 The sensor of the mvBlueGEMINI has a pixel size (P) of 0.0053 mm (5.3 µm), which will lead to an image scale of approx. 1/10: A = V * P V = A / P =>...
  • Page 45 Technical Manual (EN) v1.2.2 Choice of the lens You can calculate further parameters using the following formula (the focal length with the given object distance, or with the given focal length the object distance): Figure 5 Focal length formula...
  • Page 46 Technical Manual (EN) v1.2.2 http://www.matrix-vision.com/lens-calculator.html Because single lenses have strong aberrations, several lenses are used to compensate these errors. The wavelength of the light has a great influence on the image. For each wavelength, the image quality is good and/or is sharp in different spots.
  • Page 47 Technical Manual (EN) v1.2.2 Figure 6 Lens correction Zoom lenses ofter consist of 10 or more lenses. Real lenses have an entrance pupil and an exit pupil. The parameters b and g are calculated starting from these levels. If the distance of the levels equals h (also called main level), the total setting distance e is between object and image.
  • Page 48 Figure 7 Setting level The parameter h is usually not known. With the mvBlueGEMINI, h is usually very small. For this reason, the formula without h is used in test setup concepts. It should be possible to set every lens to infinity. In this case, the Distance between lens and image = focal length Therefore, each lens should be fixed in a different way.
  • Page 49: Find The Correct Lighting System

    Technical Manual (EN) v1.2.2 B = Diffraction disk or point image F = Focal length D = Aperture diameter Example with green light and λ = 0.5 µm F-number F/D Diameter diffraction disk 1.25 µm 5 µm 20 µm 10.4.2...
  • Page 50 Technical Manual (EN) v1.2.2 10.4.2.1 Direction of the light Figure 8 Direction of the light Source: https://wiki.zimt.uni- siegen.de/fertigungsautomatisierung/index.php/Beleuchtungstechniken_f%C3%BCr_die_industriell e_Bildverarbeitung According to the direction, there are different possible uses: Direction Angle Applications Speciality   Background Bright transparent and opaque as well as...
  • Page 51 Technical Manual (EN) v1.2.2 Direction Angle Applications Speciality   Incident Bright suitable for transparent and uniformly bright, well- lighting field opaque parts (glass, metal, contrasted image plastics)  possible with coaxial mirror  also suitable for rough, poorly...
  • Page 52 Technical Manual (EN) v1.2.2 Dimensions Illuminant Procedure Speciality  Light grid Grid projection phase shift process returns dense spatial method information 10.4.2.3 Further factors Further factors of lighting systems are:  wavelength o color  type of lamp o incandescent lamp...

Table of Contents