To build a testing application, depending on the complexity of the project, people will use different solutions. However, the most important thing to note is that the chosen solution must be suitable for the requirements of the project. The more flexible the system is, the easier it will be to adapt to new tasks that may occur later, especially in production, there is always room for improvement. Therefore, considering possible future needs should be part of the initial step when building a testing system.
The diagram above is a simple production inspection process using a smart camera to inspect the nozzle of the sprayer. The system consists of the following main components:
1. Vision module (Camera, lens, lighting) and data processor
2. IO device (PLC, or programmable controller)
3. Product removal mechanical device
4. Object detection sensor
The object detection signal will be sent to the programming controller to control the light and camera trigger signal. The processor after receiving the image will analyze based on the programmed processing functions to evaluate the quality of the object. When detecting NG products, the controller will output a signal to activate the product removal device.
A more complex inspection system may require multiple cameras to inspect multiple locations. The diagram above shows the lighting controller used to adjust the lighting level at each inspection station.
A simple inspection application typically involves the following steps:
1. Image acquisition
The purpose of this step is to set up the system to get the best image and highlight the defect to be looked for. This may require a combination of specialized lights and filters. It is important to remember that cameras are not as flexible as the human eye, so ambient light alone may not produce the best image. It may also be necessary to adjust some system parameters such as setting the camera trigger time, adjusting the camera exposure to reduce motion blur, or deciding whether to control the lighting. Different from photography in life, industrial photography is to highlight defective (unwanted) objects on products or clarify product boundaries in size inspection.