Glass abnormality detection system

By introducing a synchronization control device into the glass detection system, generating and sending pulse signals to synchronize the light source and image acquisition equipment, the problem of insufficient synchronization in the prior art is solved, and the accuracy and efficiency of detection are improved.

CN119804502AActive Publication Date: 2025-04-11BEIJING LUSTER LIGHTTECH
View PDF 15 Cites 0 Cited by

Patent Information

Application Number
CN202411995446.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-31
Publication Date
2025-04-11
Estimated Expiration
2044-12-31

AI Technical Summary

Technical Problem

In the existing glass detection system, the synchronization between the light source and the image acquisition device is poor, resulting in poor detection effect.

Method used

A glass abnormality detection system is designed to send a trigger signal to the synchronization control device through the production line sensor, generate a first pulse signal and a second pulse signal, and send it to the light source device and the image acquisition device at the same time to ensure that they operate at the same time and improve synchronization.

Benefits of technology

By improving the synchronization between the light source and the image acquisition device, the accuracy and efficiency of glass detection are improved, the cooperation between the light source and the image acquisition device is ensured, and effective image acquisition of the target glass is achieved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119804502A_ABST
    Figure CN119804502A_ABST
Patent Text Reader

Abstract

The invention discloses a glass anomaly detection system, and belongs to the technical field of industrial detection. The system comprises a production line sensor, a synchronous control device, a light source device and an image acquisition device, the production line sensor is used for sending a first trigger signal to the synchronous control device under the condition that target glass is detected; the synchronous control device is used for generating a first pulse signal and a second pulse signal based on the first trigger signal, sending the first pulse signal to the light source device at the same moment and sending the second pulse signal to the image acquisition device so as to trigger the light source device and the image acquisition device to operate; the light source device and the image acquisition device are matched with each other to perform image acquisition on the target glass; wherein the difference between the first pulse signal and the second pulse signal is a target phase. According to the glass anomaly detection system disclosed by the invention, the synchronism between the light source and the image acquisition equipment in the glass detection process can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the field of industrial detection technology, and in particular, relates to a glass anomaly detection system. Background Art

[0002] In the process of glass production, it is usually necessary to perform image acquisition operations on the glass to be inspected, and then use algorithms to detect the images of the glass to be inspected to identify abnormal glass and remove it. Generally, during the inspection process, the inspection system uses a distributed architecture, and the master control box sends trigger signals to the two trigger devices that control the light source and the image acquisition device respectively. The trigger device that controls the light source then instructs the light source to emit light, and the trigger device that controls the image acquisition device instructs to take a photo.

[0003] However, the distributed architecture triggers the light source and the image acquisition device separately, which cannot achieve good coordination between the light source and the image acquisition device, resulting in poor synchronization between the light source and the image acquisition device. Summary of the invention

[0004] The present application aims to solve at least one of the technical problems existing in the prior art. To this end, the present application proposes a glass anomaly detection system to improve the synchronization between a light source and an image acquisition device during a glass detection process.

[0005] In a first aspect, the present application provides a glass anomaly detection system, the system comprising: a production line sensor, a synchronization control device, a light source device and an image acquisition device;

[0006] The production line sensor is used to send a first trigger signal to the synchronous control device when the target glass is detected;

[0007] A synchronous control device is used to generate a first pulse signal and a second pulse signal based on a first trigger signal, send the first pulse signal to a light source device, and send the second pulse signal to an image acquisition device at the same time, so as to trigger the operation of the light source device and the image acquisition device, so that the light source device and the image acquisition device cooperate with each other to acquire an image of the target glass; wherein the first pulse signal and the second pulse signal have a target phase difference.

[0008] According to the glass abnormality detection system of the present application, a first pulse signal and a second pulse signal are generated by a synchronization control device based on a first trigger signal sent by a sensor, and the first pulse signal is sent to a light source device and the second pulse signal is sent to an image acquisition device at the same time, so as to trigger the operation of the light source device and the image acquisition device, and perform image acquisition on the target glass, so that the light source device and the image acquisition device cooperate with each other to perform image acquisition on the target glass, so as to improve the synchronization between the light source device and the image acquisition device during the glass detection process.

[0009] According to one embodiment of the present application, the synchronous control device includes a main control chip; the main control chip is used to receive a first trigger signal sent by a production line sensor, and generate a first pulse signal and a second pulse signal based on the first trigger signal.

[0010] According to one embodiment of the present application, the main control chip is used to obtain pre-set pulse information, and generate a first pulse signal and a second pulse signal based on the pulse information and a first trigger signal; wherein the pulse information includes a duty cycle and a period.

[0011] According to one embodiment of the present application, the system also includes a speed sensor; the speed sensor is used to obtain the moving speed data of the target glass and send the moving speed data to the main control chip; the main control chip is used to obtain the target phase based on the moving speed data, and generate a first pulse signal based on the pulse information and the first trigger signal, and generate a second pulse signal based on the target phase and the first pulse signal.

[0012] According to one embodiment of the present application, the main control chip includes a field programmable logic gate array chip.

[0013] According to one embodiment of the present application, the light source device is used to perform light-emitting and extinguishing operations based on a first pulse signal; the image acquisition device is used to perform an image acquisition operation based on a second pulse signal to obtain an image of the target glass when the light source device is emitting light.

[0014] According to one embodiment of the present application, the system further includes a target terminal; the target terminal is used to perform abnormality detection on the target glass based on an image of the target glass, and when it is determined that the target glass has an abnormality, a rejection instruction is sent to the synchronous control device.

[0015] According to one embodiment of the present application, the system further includes a rejecting device; when receiving a rejecting instruction, the synchronous control device sends a third pulse signal to the rejecting device to enable the rejecting device to perform a rejecting operation on the target glass.

[0016] According to one embodiment of the present application, the rejection instruction includes a preset pulse count value; when the synchronous control device receives the rejection instruction, it performs pulse counting, and when the pulse count value is equal to the preset pulse count value, it sends a third pulse signal to the rejection device.

[0017] According to an embodiment of the present application, the synchronous control device obtains the second trigger signal and performs validity-based filtering on the second trigger signal to obtain the first trigger signal.

[0018] Additional aspects and advantages of the present application will be given in part in the description below, and in part will become apparent from the description below, or will be learned through the practice of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] The above and / or additional aspects and advantages of the present application will become apparent and easily understood from the description of the embodiments in conjunction with the following drawings, in which:

[0020] Figure 1 It is a structural schematic diagram of a related art glass anomaly detection system provided by an embodiment of the present application;

[0021] Figure 2 It is one of the structural schematic diagrams of the glass abnormality detection system provided in the embodiment of the present application;

[0022] Figure 3 This is the second structural schematic diagram of the glass abnormality detection system provided in the embodiment of the present application;

[0023] Figure 4 is a structural schematic diagram of a synchronous control device provided in an embodiment of the present application;

[0024] Figure 5 This is the third structural schematic diagram of the glass anomaly detection system provided in the embodiment of the present application;

[0025] Figure 6 This is the fourth structural schematic diagram of the glass anomaly detection system provided in the embodiment of the present application;

[0026] Figure 7 This is the fifth structural diagram of the glass abnormality detection system provided in the embodiment of the present application;

[0027] Figure 8 This is the sixth structural diagram of the glass abnormality detection system provided in the embodiment of the present application;

[0028] Fig. 9 is a schematic diagram of a process for obtaining a first trigger signal provided in an embodiment of the present application;

[0029] Fig.10 is a schematic diagram for comparing the first trigger signal, the first pulse signal, and the second pulse signal provided in an embodiment of the present application;

[0030] Fig.11 It is a schematic diagram of the process of the light source device and the image acquisition device provided in the embodiment of the present application working together;

[0031] Fig.12 It is a schematic diagram of the process of the rejection device provided in the embodiment of the present application performing a rejection operation on the target glass;

[0032] Fig.13 It is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0033] The following will be combined with the drawings in the embodiments of the present application to clearly describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments in the present application belong to the scope of protection of this application.

[0034] The terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here, and the objects distinguished by "first", "second", etc. are generally of one type, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and / or" in the specification and claims represents at least one of the connected objects, and the character " / " generally indicates that the objects associated with each other are in an "or" relationship.

[0035] In related technologies, such as Figure 1 As shown, in the process of inspecting the glass to be inspected, after the production line sensor detects the glass to be inspected on the glass production line, the trigger control device sends a trigger signal to the master control box, so that the master control box sends a first trigger signal to the trigger control device, and then sends a second trigger signal to the acquisition board. The trigger control device sends a light-emitting instruction to the light source based on the first trigger signal, and the acquisition board controls the image acquisition device to take a photo of the glass to be inspected based on the second trigger signal. This distributed architecture triggers the light source and the image acquisition device separately, which cannot achieve good coordination between the light source and the image acquisition device, resulting in poor synchronization between the light source and the image acquisition device.

[0036] The glass anomaly detection system, electronic device, and readable storage medium provided in the embodiments of the present application are described in detail below with reference to the accompanying drawings through specific embodiments and their application scenarios.

[0037] Among them, the glass anomaly detection system can be deployed in the terminal, and can be specifically executed by hardware or software in the terminal.

[0038] The terminal includes, but is not limited to, a portable communication device such as a mobile phone or tablet computer with a touch-sensitive surface (e.g., a touch screen display and / or a touch pad). It should also be understood that in some embodiments, the terminal may not be a portable communication device, but a desktop computer with a touch-sensitive surface (e.g., a touch screen display and / or a touch pad).

[0039] In the following various embodiments, a terminal including a display and a touch-sensitive surface is described. However, it should be understood that the terminal may include one or more other physical user interface devices such as a physical keyboard, a mouse and a joystick.

[0040] The glass abnormality detection system provided in the embodiment of the present application may be an electronic device or a functional module or functional entity in the electronic device that can implement the glass abnormality detection system. The electronic devices mentioned in the embodiment of the present application include but are not limited to mobile phones, tablet computers, computers, cameras, and wearable devices. The glass abnormality detection system provided in the embodiment of the present application is described below using the electronic device as an example of the execution subject.

[0041] like Figure 2 As shown, the glass abnormality detection system includes: a production line sensor 210, a synchronization control device 220, a light source device 230 and an image acquisition device 240;

[0042] The production line sensor 210 is used to send a first trigger signal to the synchronization control device 220 when the target glass is detected;

[0043] The synchronization control device 220 is used to generate a first pulse signal and a second pulse signal based on a first trigger signal, send the first pulse signal to the light source device 230 at the same time, and send the second pulse signal to the image acquisition device 240 to trigger the light source device 230 and the image acquisition device 240 to operate, so that the light source device 230 and the image acquisition device 240 cooperate with each other to capture the image of the target glass; wherein the first pulse signal and the second pulse signal have a target phase difference.

[0044] In actual implementation, the target glass may be the glass to be detected. The production line sensor may be a pressure sensor, a photoelectric sensor, or any theoretically feasible sensor, and this application does not impose specific restrictions on this. The production line sensor may be installed on the glass production line to detect whether there is target glass on the glass production line passing through the position where the production line sensor is located. When the production line sensor detects the target glass, a first trigger signal is sent to the synchronization control device.

[0045] In actual implementation, the synchronization control device can generate a first pulse signal and a second pulse signal based on the pulse count, pulse width, frequency and other properties of the first trigger signal, and send the first pulse signal to the light source device and the second pulse signal to the image acquisition device at the same time. In some embodiments, the synchronization control device can perform pulse counting and frequency multiplication operations on the first trigger signal to generate the first pulse signal and the second pulse signal.

[0046] In some embodiments, the glass anomaly detection system may further include a target terminal, which may be any theoretically feasible terminal device such as a computer, a mobile phone, a tablet computer, etc. The target terminal may obtain pulse information set by a user, which may include a duty cycle and a period, and send the pulse information to the synchronous control device, which may generate a first pulse signal and a second pulse signal based on the pulse information and the first trigger signal.

[0047] In some embodiments, the glass anomaly detection system may further include a speed measuring device, which may include a speed sensor. The speed measuring device may be installed on a glass production line to measure the speed at which the target glass moves on a moving device (e.g., a conveyor belt) of the glass production line. The speed measuring device may obtain moving speed data of the target glass and send the moving speed data to the synchronization control device, which may generate a first pulse signal and a second pulse signal based on the moving speed data, the pulse information, and the first trigger signal.

[0048] In actual implementation, the light source device may include a light-emitting component, such as a flash lamp or any other theoretically feasible light-emitting component. The image acquisition device may include a data acquisition component (such as an acquisition board) and an image acquisition device (such as an industrial camera).

[0049] In some embodiments, the glass anomaly detection system may further include a rejection device for rejecting the target glass when the target glass is abnormal.

[0050] According to the glass abnormality detection system of the embodiment of the present application, a first pulse signal and a second pulse signal are generated by a synchronization control device based on a first trigger signal sent by a sensor, and the first pulse signal is sent to a light source device and the second pulse signal is sent to an image acquisition device at the same time, so as to trigger the operation of the light source device and the image acquisition device to acquire an image of the target glass, so that the light source device and the image acquisition device cooperate with each other to acquire an image of the target glass, so as to improve the synchronization between the light source device and the image acquisition device during the glass detection process.

[0051] In some embodiments, Figure 3 As shown, the synchronous control device 320 may include a main control chip 321; the main control chip 321 is used to receive a first trigger signal sent by the production line sensor 310, and generate a first pulse signal and a second pulse signal based on the first trigger signal.

[0052] In some embodiments, the main control chip can obtain preset pulse information.

[0053] In actual implementation, the synchronous control device may also include an exposure timing generator and at least one pulse generator. The exposure timing generator is connected to the image acquisition device. When the main control chip generates a second pulse signal, the main control chip sends the second pulse signal to the exposure timing generator, and the exposure timing generator sends the second pulse signal to the image acquisition device to trigger the image acquisition device to run. One of the at least one pulse generators is connected to the light source device. When the main control chip generates a first pulse signal, the main control chip sends the first pulse signal to the pulse generator, and the pulse generator sends the first pulse signal to the light source device to trigger the light source device to run.

[0054] According to the glass abnormality detection system of the embodiment of the present application, the synchronous control device may include a main control chip; the main control chip is used to receive a first trigger signal sent by a production line sensor, and generate a first pulse signal and a second pulse signal based on the first trigger signal, so that the synchronous control device replaces the main control box and other devices in the related technology, making the glass abnormality detection system more streamlined and reducing the complexity of the glass abnormality detection system.

[0055] In some embodiments, the main control chip is used to obtain preset pulse information, and generate a first pulse signal and a second pulse signal based on the pulse information and a first trigger signal; wherein the pulse information includes a duty cycle and a period.

[0056] In actual implementation, the synchronous control device may further include a data parser for receiving preset pulse information and sending the preset pulse information to the main control chip.

[0057] In actual execution, the main control chip can calculate the pulse width, frequency and other information of the first pulse signal and the second pulse signal based on the duty cycle, period and first trigger signal in the pulse information, and calculate the target phase between the first pulse signal and the second pulse signal.

[0058] In some embodiments, Figure 4As shown, the synchronous control device may also include a Flash memory, an electrically erasable programmable read only memory (EEPROM), an SPI interface, an IIC interface, an RS422 interface, a GPIO interface, a TTL interface, and a PCIe interface. The SPI interface is used for data transmission between the main control chip and the Flash memory, and can realize functions such as data storage and online upgrade. The IIC interface is used to connect the EEPROM and the main control chip. The RS422 interface is used to connect the image acquisition device and the main control chip to transmit the second pulse signal generated by the main control chip to the image acquisition device. RS422 is a serial communication standard. The differential signal transmission form enables it to have strong anti-interference ability, low power consumption and simple interface circuit, and is suitable for scenarios with high requirements for data transmission stability. The GPIO interface is used to connect the main control chip with the production line sensor, and the main control chip with the rejection device. The GPIO interface is flexible and versatile, and can realize different input and output functions through configuration. It also has the characteristics of low cost, easy control and wide compatibility, providing control capabilities and product versatility. The PCIe interface is used for communication between the main control chip and the target terminal, so that the main control chip receives the pulse information sent by the target terminal, and the main control chip sends the collected image data of the target glass to the target terminal. The high bandwidth and low latency characteristics of the PCIe interface make it suitable for large data transmission and high-performance computing needs; its hot-swap function and flexibility make the addition and removal of equipment simple and convenient; at the same time, it supports multi-channel communication and data transmission to improve the overall performance of the system. The TTL interface is used to connect the main control chip and the light source device to transmit the first pulse signal generated by the main control chip to the light source device.

[0059] In some embodiments, Figure 5 As shown, the system also includes a speed sensor 550; the speed sensor 550 is used to obtain the moving speed data of the target glass and send the moving speed data to the main control chip 521; the main control chip 521 is used to obtain the target phase based on the moving speed data, and generate a first pulse signal based on the pulse information and the first trigger signal, and generate a second pulse signal based on the target phase and the first pulse signal.

[0060] In actual implementation, the speed sensor can be installed on the glass production line to measure the speed of the target glass moving on the moving device (such as a conveyor belt) of the glass production line. The speed sensor can obtain the moving speed data of the target glass and send the moving speed data to the main control chip in the synchronous control device. The main control chip can generate a first pulse signal and a second pulse signal based on the moving speed data, preset pulse information and the first trigger signal.

[0061] In actual execution, the main control chip can perform a frequency multiplication operation on the first trigger signal based on preset pulse information to generate a first pulse signal, and then obtain the target phase based on the moving speed data sent by the speed sensor, and generate a second pulse signal based on the target phase and the first pulse signal.

[0062] In some embodiments, the synchronous control device may further include a pulse catcher, which is connected to a speed sensor. The speed sensor sends the moving speed data to the pulse catcher, which forwards the moving speed data to the main control chip. The main control chip obtains the target phase based on the moving speed data, generates a first pulse signal based on the pulse information and the first trigger signal, and generates a second pulse signal based on the target phase and the first pulse signal.

[0063] In some embodiments, the main control chip includes a field programmable gate array chip.

[0064] In some embodiments, the main control chip may include a Field Programmable Gate Array (FPGA) chip of the EG4X20BG256 model. FPGA has abundant wiring resources and high-speed transmission and reception characteristics, and is suitable for high-speed data transmission and interface design. Due to its programmable characteristics, FPGA can be used as the main control chip of electronic devices produced in small batches. FPGA has the characteristics of low power consumption and reconfigurability, and combined with board-level connectors, it has certain scalability.

[0065] In some embodiments, the light source device is used to perform light-on and light-off operations based on a first pulse signal; the image acquisition device is used to perform image acquisition operations based on a second pulse signal to obtain an image of the target glass when the light source device is illuminated.

[0066] In actual implementation, the light source device may include any light-emitting device, such as a flash, etc. The image acquisition device may include an acquisition board and any image acquisition device, such as a camera, etc. The acquisition board is used to acquire the image of the target glass acquired by the image acquisition device, and transmit the image to the target terminal for abnormality detection of the image through the synchronous control device.

[0067] In actual implementation, after the light source device receives the first pulse signal and the image acquisition device receives the second pulse signal, the light source device performs a light-emitting operation when the first pulse signal is in a first level state, and the image acquisition device performs an image acquisition operation on the target glass when the second pulse signal is in a first level state, such as taking a photo of the target glass. Since the time difference generated by the target phase between the first pulse signal and the second pulse signal can be equal to the time for the target glass to move from the position of the light source device on the glass production line to the position of the image acquisition device, the light source device performs a light-emitting operation and the image acquisition device performs an image acquisition operation during the process of the target glass moving from the position of the light source device on the glass production line to the position of the image acquisition device, so as to obtain an image of the target glass when the light source device emits light.

[0068] In some embodiments, the light source device may perform a light emission operation when the first pulse signal is in a high level state, and the image acquisition device may perform an image acquisition operation on the target glass when the second pulse signal is in a high level state.

[0069] In some embodiments, Figure 6 As shown, the system further includes a target terminal 660 ; the target terminal 660 is used to perform abnormality detection on the target glass based on the image of the target glass, and send a rejection instruction to the synchronous control device 620 when it is determined that the target glass has an abnormality.

[0070] In actual implementation, the image acquisition device can send the acquired image of the target glass to the main control chip in the synchronous control device, and the main control chip sends the image of the target glass to the target terminal. The target terminal can perform abnormality detection on the image of the target glass based on the target detection algorithm to obtain the abnormality detection result of the target glass, and send a rejection instruction to the main control chip in the synchronous control device when it is determined that the target glass is abnormal.

[0071] In actual implementation, the system may further include a rejection device, which instructs the rejection device to perform a rejection operation on the target glass when the synchronous control device receives a rejection instruction.

[0072] In some embodiments, the target terminal can also be used to obtain preset pulse information input by the target user, and send the pulse information to the data parser in the synchronization control device, and the data parser sends the pulse information to the main control chip, so that the main control chip generates a first pulse signal and a second pulse signal based on the pulse information and the first trigger signal.

[0073] In some embodiments, Figure 7As shown, the system further includes a rejecting device 770; upon receiving a rejecting instruction, the synchronous control device 720 sends a third pulse signal to the rejecting device 770, so that the rejecting device performs a rejecting operation on the target glass.

[0074] In actual implementation, the rejection device may include a mechanical gripper or any other theoretically feasible device.

[0075] In some embodiments, after receiving the rejection instruction sent by the target terminal, the main control chip in the synchronous control device generates a third pulse signal and sends the third pulse signal to the rejection device, so that the rejection device performs a rejection operation on the target glass.

[0076] In actual implementation, the synchronous control device may further include at least one pulse generator, one of which is connected to the rejecting device. After receiving the rejecting instruction sent by the target terminal, the main control chip generates a third pulse signal and sends the third pulse signal to the pulse generator, and the pulse generator sends the third pulse signal to the rejecting device, so that the rejecting device performs a rejecting operation on the target glass.

[0077] In some embodiments, the rejection instruction sent by the target terminal to the synchronous control device includes a preset pulse count value; when the synchronous control device receives the rejection instruction, it performs pulse counting, and when the pulse count value is equal to the preset pulse count value, it sends a third pulse signal to the rejection device.

[0078] In actual execution, the rejection instruction sent by the target terminal to the main control chip in the synchronous control device may include a preset pulse count value. When the main control chip receives the rejection instruction, it counts pulses, and when the pulse count value is equal to the preset pulse count value, it sends a third pulse signal to the rejection device. In some embodiments, the preset pulse count value may be 10. When the main control chip receives the rejection instruction, it counts pulses, and when the pulse count value is equal to 10, it sends a third pulse signal to the rejection device, so that the rejection device performs a rejection operation on the target glass.

[0079] In actual implementation, the target terminal can obtain the moving speed data sent by the speed sensor based on the synchronous control device. When it is determined that the target glass is abnormal, the time required for the target glass to move from the position of the image acquisition device to the position of the rejection device can be calculated based on the moving speed data, and the preset pulse count can be determined based on the time. The target terminal sends a rejection instruction including a preset pulse count to the synchronous control device, so that when the pulse count value of the synchronous control device is equal to the preset pulse count value, the abnormal target glass has moved to the position of the rejection device. At this time, the synchronous control device sends a third pulse signal to the rejection device, so that the rejection device accurately performs a rejection operation on the target glass.

[0080] In some embodiments, the synchronization control device acquires the second trigger signal and performs validity-based filtering on the second trigger signal to acquire the first trigger signal.

[0081] In actual implementation, the synchronous control device can obtain the second trigger signal sent by the production line sensor, which changes from the second level state to the first level state, and after a preset time period, obtain the second trigger signal sent by the production line sensor again. If the second trigger signal is in the first level state at this time, the second trigger signal is determined as the first trigger signal.

[0082] In actual execution, the synchronization control device may obtain a time period preset by the target terminal.

[0083] In some embodiments, the synchronization control device can obtain a second trigger signal sent by the production line sensor that changes from a low level state to a high level state, and after a preset time period, obtain the second trigger signal sent by the production line sensor again. If the second trigger signal is in a high level state at this time, the second trigger signal is determined as the first trigger signal.

[0084] According to the glass abnormality detection system of the embodiment of the present application, a second trigger signal is obtained by a synchronous control device and the second trigger signal is filtered based on effectiveness to obtain a first trigger signal, so as to avoid the trigger signal sent by the production line sensor received by the synchronous control device being a false trigger signal caused by the complex production line environment, thereby ensuring the accuracy of the first trigger signal received by the synchronous control device.

[0085] In order to better understand the glass anomaly detection system provided in the embodiment of the present application, further explanation is given below. It should be understood that the discussion below is only exemplary.

[0086] The present application provides a glass abnormality detection system, such as Figure 8As shown, the glass abnormality detection system includes: a production line sensor 810, a synchronization control device 820, a light source device 830, an image acquisition device 840, a speed sensor 850, a target terminal 860 and a rejection device 870;

[0087] The production line sensor 810 is used to send a first trigger signal to the synchronization control device 820 when the target glass is detected;

[0088] The synchronous control device 820 is used to generate a first pulse signal and a second pulse signal based on a first trigger signal, and send the first pulse signal to the light source device 830 and the second pulse signal to the image acquisition device 840 at the same time, so as to trigger the light source device 830 and the image acquisition device 840 to operate, so that the light source device 830 and the image acquisition device 840 cooperate with each other to acquire an image of the target glass; wherein the first pulse signal and the second pulse signal differ in phase by a target phase;

[0089] The image acquisition device 840 is used to forward the image of the target glass to the target terminal 860 through the synchronization control device 820 after acquiring the image of the target glass, and the target terminal 860 performs abnormality detection on the target glass based on the image of the target glass;

[0090] When the target terminal 860 detects that the target glass is abnormal, it sends a rejection instruction to the synchronous control device 820, and the rejection instruction includes a preset pulse count value;

[0091] After receiving the rejection instruction, the synchronous control device 820 performs pulse counting, and when the pulse count is equal to the preset pulse count value, sends a third pulse signal to the rejection device 870, and the rejection device 870 performs a rejection operation on the target glass.

[0092] In actual implementation, Fig. 9 As shown, the synchronous control device 820 can obtain the second trigger signal sent by the production line sensor 810, which is changed from the second level state to the first level state, and after a preset time period, obtain the second trigger signal sent by the production line sensor again. If the second trigger signal is in the first level state at this time, the second trigger signal is determined as the first trigger signal, thereby performing a filtering operation on the second trigger signal.

[0093] In actual implementation, the speed sensor is used to obtain the moving speed data of the target glass and send the moving speed data to the main control chip in the synchronous control module. Fig.10 As shown, the main control chip is used to obtain the target phase based on the moving speed data, and perform a frequency doubling operation on the first trigger signal based on the pulse information to generate a first pulse signal, and generate a second pulse signal based on the target phase and the first pulse signal.

[0094] In actual implementation, Fig.11 As shown, after the light source device receives the first pulse signal and the image acquisition device receives the second pulse signal, the light source device performs a light-emitting operation when the first pulse signal is in a first level state, and the image acquisition device performs an image acquisition operation on the target glass when the second pulse signal is in a first level state, such as taking a photo of the target glass. Since the time difference generated by the target phase between the first pulse signal and the second pulse signal can be equal to the time for the target glass to move from the position of the light source device on the glass production line to the position of the image acquisition device, the light source device performs a light-emitting operation and the image acquisition device performs an image acquisition operation during the process of the target glass moving from the position of the light source device on the glass production line to the position of the image acquisition device, so as to obtain an image of the target glass when the light source device emits light.

[0095] In actual implementation, Fig.12 As shown, the target terminal performs abnormality detection on the target glass based on the image of the target glass. When it is determined that the target glass is abnormal, a rejection instruction including a preset pulse count value is sent to the synchronous control device through the PCIe channel. After receiving the rejection instruction, the synchronous control device starts pulse counting. When the pulse count is equal to the preset pulse count value, a third pulse signal is sent to the rejection device through the GPIO port to instruct the rejection device to perform a rejection operation on the target glass.

[0096] The target terminal in the embodiment of the present application may be an electronic device or other device other than a terminal. For example, the electronic device may be a mobile phone, a tablet computer, a laptop computer, a PDA, a vehicle-mounted electronic device, a mobile Internet device (MID), an augmented reality (AR) / virtual reality (VR) device, a robot, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a personal digital assistant (PDA), etc. It may also be a server, a network attached storage (NAS), a personal computer (PC), a television (TV), a teller machine or a self-service machine, etc., which is not specifically limited in the embodiment of the present application.

[0097] The target terminal in the embodiment of the present application may be a device having an operating system. The operating system may be a Microsoft (Windows) operating system, an Android (Android) operating system, an IOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.

[0098] In some embodiments, Fig.13 As shown, an embodiment of the present application further provides an electronic device 1300, including a processor 1301, a memory 1302, and a computer program stored in the memory 1302 and executable on the processor 1301. When the program is executed by the processor 1301, each process of the above-mentioned glass abnormality detection system embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be described here.

[0099] It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic devices and non-mobile electronic devices mentioned above.

[0100] The embodiment of the present application also provides a non-transitory computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the various processes of the above-mentioned glass abnormality detection system embodiment are implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

[0101] The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory ROM, a random access memory RAM, a magnetic disk or an optical disk.

[0102] An embodiment of the present application also provides a computer program product, including a computer program, which implements the above-mentioned glass abnormality detection system when executed by a processor.

[0103] The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory ROM, a random access memory RAM, a magnetic disk or an optical disk.

[0104] An embodiment of the present application further provides a chip, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned glass abnormality detection system embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0105] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.

[0106] It should be noted that, in this article, the terms "comprise", "include" or any other variant thereof are intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise one..." do not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved, for example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.

[0107] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM / RAM, a disk, or an optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present application.

[0108] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.

[0109] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "illustrative embodiments", "examples", "specific examples", or "some examples" means that the specific features, structures, materials, or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials, or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.

[0110] Although the embodiments of the present application have been shown and described, those skilled in the art will appreciate that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present application, and that the scope of the present application is defined by the claims and their equivalents.

Claims

1. A glass anomaly detection system, characterized in that: It includes production line sensors, synchronous control devices, light source devices and image acquisition devices; The production line sensor is used to send a first trigger signal to the synchronization control device when the target glass is detected; The synchronous control device is used to generate a first pulse signal and a second pulse signal based on the first trigger signal, send the first pulse signal to the light source device, and send the second pulse signal to the image acquisition device at the same time, so as to trigger the operation of the light source device and the image acquisition device, so that the light source device and the image acquisition device cooperate with each other to acquire an image of the target glass; wherein the first pulse signal and the second pulse signal differ by a target phase.

2. The glass anomaly detection system according to claim 1, characterized in that: The synchronous control device includes a main control chip; The main control chip is used to receive the first trigger signal sent by the production line sensor, and generate the first pulse signal and the second pulse signal based on the first trigger signal.

3. The glass anomaly detection system according to claim 2, characterized in that: The main control chip is used to obtain preset pulse information, and generate the first pulse signal and the second pulse signal based on the pulse information and the first trigger signal; wherein the pulse information includes a duty cycle and a period.

4. The glass anomaly detection system according to claim 3, characterized in that: The system further includes a speed sensor; the speed sensor is used to obtain the moving speed data of the target glass and send the moving speed data to the main control chip; The main control chip is used to obtain the target phase based on the moving speed data, generate the first pulse signal based on the pulse information and the first trigger signal, and generate the second pulse signal based on the target phase and the first pulse signal.

5. The glass anomaly detection system according to claim 2, characterized in that: The main control chip includes a field programmable logic gate array chip.

6. The glass anomaly detection system according to claim 1, characterized in that: The light source device is used to perform light-emitting and extinguishing operations based on the first pulse signal; The image acquisition device is used to perform an image acquisition operation based on the second pulse signal to obtain an image of the target glass when the light source device emits light.

7. The glass anomaly detection system according to claim 1, characterized in that: The system further includes a target terminal; the target terminal is used to perform abnormality detection on the target glass based on the image of the target glass, and send a rejection instruction to the synchronous control device when it is determined that the target glass is abnormal.

8. The glass anomaly detection system according to claim 7, characterized in that: The system further comprises a rejecting device; when receiving a rejecting instruction, the synchronous control device sends a third pulse signal to the rejecting device, so that the rejecting device performs a rejecting operation on the target glass.

9. The glass anomaly detection system according to claim 8, characterized in that: The rejection instruction includes a preset pulse count value; when the synchronous control device receives the rejection instruction, it performs pulse counting, and when the pulse count value is equal to the preset pulse count value, it sends a third pulse signal to the rejection device.

10. The glass anomaly detection system according to claim 1, characterized in that: The synchronous control device acquires a second trigger signal and performs a validity-based filtering process on the second trigger signal to acquire a first trigger signal.

Citation Information

Patent Citations

  • Light source alternate strobe synchronous camera shooting method and vision detection system

    CN102780845A

  • Glass edge angle image collecting device and system

    CN105572144A

  • High-speed imaging method adopting time division multiplexing illumination of monochromatic narrow-pulse active light source

    CN108270955A

  • Position detection system and method and maglev transmission device

    CN111717668A

  • Image acquisition method and device for synchronous trigger control of high-speed linear array camera and high-intensity light source

    CN114339011A