Visual inspection device, inspection method thereof, inspection system and inspection method thereof

CN119816726AActive Publication Date: 2025-04-11CONTEMPORARY AMPEREX TECHNOLOGY CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202380061179.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-06-21
Publication Date
2025-04-11
Estimated Expiration
2043-06-21

AI Technical Summary

Technical Problem

The existing technology is difficult to effectively detect the complete situation of large-sided glue coating on the box, resulting in structural strength problems and safety hazards. Traditional linear array laser sensors can only detect small-section glue strips, which cannot meet the detection needs of large-sided glue coating.

Method used

The visual detection device is adopted, including an image acquisition device, a driving device and a controller. The image acquisition device is driven to move back and forth in the length direction of the glue coating area through the controller, collecting the detection image of the entire glue coating area, combining the fill light of the light source and different exits. Angle light source realizes multi-angle image acquisition, eliminates reflection, and improves detection accuracy.

Benefits of technology

The macro detection of the large surface of the lower box is realized, and it can more accurately determine whether there are bubbles, debris or glue-breaking defects in the glue-coating area, which improves the accuracy and safety of the detection and reduces the risk of missed inspection.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119816726A_ABST
    Figure CN119816726A_ABST
Patent Text Reader

Abstract

The invention discloses a visual detection device (10), a detection method thereof, a detection system and a detection method thereof. Wherein the visual detection device (10) comprises an image acquisition device (11), a driving device (13) and a controller, and the driving device (13) is in driving connection with the image acquisition device (11) so as to drive the image acquisition device (11) to reciprocate in the length direction of a gluing area (800) of the lower box body and acquire a detection image of the whole gluing area (800); and the controller is electrically connected with the image acquisition device (11) and the driving device (13) so as to control the acquisition of the image acquisition device (11) and the operation of the driving device (13).
Need to check novelty before this filing date? Find Prior Art

Description

Visual inspection device and inspection method thereof, inspection system and inspection method thereof Technical Field

[0001] The present application relates to the technical field of lower box detection, and in particular to a visual detection device and a detection method thereof, a detection system and a detection method thereof. Background Art

[0002] During the manufacturing process of battery modules and battery packs, the first step is to apply glue to the lower box and fix the module in the box by gluing. This gluing process is particularly important. Too much or too little glue will lead to poor thermal conductivity. Too little glue will affect the structural strength of the battery pack and cause the batteries in the battery pack to move, causing great harm to the safety of the vehicle.

[0003] Currently, linear array laser sensors are typically used to scan the surface during glue application to determine glue application location and glue shortages and breakages. However, this image acquisition method can only detect small cross-sections of glue strips and cannot meet the requirements for large-scale glue application.

[0004] Summary of the Invention

[0005] The main purpose of this application is to provide a visual inspection device to meet the inspection needs of the large surface glue coating of the lower box.

[0006] To achieve the above objectives, the visual inspection device proposed in this application includes:

[0007] Image acquisition device;

[0008] A driving device, wherein the driving device drives the image acquisition device to move back and forth along the length direction of the gluing area of ​​the lower box body to acquire a detection image of the entire gluing area; and

[0009] A controller is electrically connected to the image acquisition device and the driving device to control the acquisition of the image acquisition device and the operation of the driving device.

[0010] The visual inspection device includes a controller, an image acquisition device and a driving device. Under the control of the controller, the driving device can drive the image acquisition device to move back and forth in the length direction of the glue-coated area. The image acquisition device can obtain a detection image of the overall structure of the glue-coated area, thereby being able to observe the overall glue coating situation of the glue-coated area in a more macroscopic way and better assist in judging whether the glue coating is qualified.

[0011] The visual inspection device can capture the overall appearance of the glue coating area from a macroscopic perspective, so as to easily detect whether there are bubbles, debris or glue breakage defects in the glue coating area, and thus better control whether the glue coating of the lower box is qualified.

[0012] In one embodiment of the present application, the visual inspection device further includes a light source, which is disposed on one side of the image acquisition device and electrically connected to the controller, and is configured to emit light toward the glue-coated area.

[0013] Here, the setting of the light source can provide better collection light for the image acquisition device, thereby improving the image acquisition effect.

[0014] In one embodiment of the present application, the image acquisition device includes a line scan camera;

[0015] And / or, the light source includes a linear light source.

[0016] Line scan cameras have higher resolution and better imaging effects, which further improve the effect of image acquisition.

[0017] Here, the linear light source has good consistency and uniformity, and can provide better fill light for the image acquisition device.

[0018] In one embodiment of the present application, the light source includes a first light source and a second light source, the first light source is arranged on one side of the image acquisition device in the moving direction, and the second light source is arranged on the other side of the image acquisition device in the moving direction, and the first light source and the second light source have different emission angles.

[0019] Here, at least one of the first light source and the second light source can be selected for fill light, so that fill light can be provided from different directions, images of reflections at different positions can be obtained, and by eliminating the reflections, a real and effective detection image can be obtained, thereby improving the detection accuracy.

[0020] In one embodiment of the present application, the controller is further used to turn on the first light source and control the image acquisition device to move from one side of the length direction of the glue-coated area to the other side opposite thereto; turn on the second light source and control the image acquisition device to move from the other side of the length direction of the glue-coated area to the side opposite thereto.

[0021] For example, the first light source is close to the left side of the glue-coated area, and the second light source is close to the right side of the glue-coated area. When the controller controls to turn on the first light source, it also controls the image acquisition device to move from the left side of the glue-coated area to the right side to obtain the first image; when the second light source is turned on, it controls the image acquisition device to move from the right side of the glue-coated area to the left side to obtain the second image, thereby realizing the automatic acquisition of at least two images with different reflection positions and improving the detection efficiency.

[0022] In one embodiment of the present application, the light source is movably arranged relative to the image acquisition device to adjust the emission angle of the light source relative to the horizontal plane;

[0023] And / or, the angle between the emission angle of the light source and the axis of the image acquisition device is greater than or equal to 30° and less than or equal to 60°.

[0024] Here, the emission angle of the light source relative to the horizontal plane can be adjusted so that it can be changed according to different types and sizes of the lower box, thereby obtaining a more accurate detection image.

[0025] The angle range between the emission angle of the light source and the axis of the image acquisition device can be set to further facilitate obtaining a more realistic detection image.

[0026] The present application also proposes a detection method for a visual detection device, wherein the visual detection device includes a driving device, an image acquisition device, and a controller. The detection method includes the following steps:

[0027] Sending a driving instruction to the driving device so that the driving device drives the image acquisition device to move back and forth along the length direction of the glue coating area of ​​the lower box, and simultaneously sending an image acquisition instruction to the image acquisition device so that the image acquisition device acquires a detection image of the glue coating area;

[0028] The detection image is acquired and sent to the server.

[0029] In this detection method, the driving device and the image acquisition device can be controlled to automatically capture the detection image of the overall morphology of the glue-coated area, thereby facilitating the macroscopic judgment of defects in the glue-coated area and reducing the risk of missed detection.

[0030] In one embodiment of the present application, the visual detection device includes a first light source and a second light source, the first light source is provided on one side of the image acquisition device in the moving direction, and the second light source is provided on the other side of the image acquisition device in the moving direction, the first light source and the second light source have different emission angles, and the detection method of the visual detection device includes:

[0031] Sending an instruction to turn on the first light source;

[0032] Sending a driving instruction to the driving device to move the image acquisition device from one side of the glue coating area close to the first light source to the other side opposite thereto, and at the same time sending an acquisition instruction to the image acquisition device to acquire a first image;

[0033] Acquire the first image and send it to the server;

[0034] Sending an instruction to turn on the second light source and turn off the first light source;

[0035] Sending a driving instruction to the driving device to move the image acquisition device from one side of the glue-coated area close to the second light source to the other side opposite thereto, and simultaneously sending an acquisition instruction to the image acquisition device to acquire a second image;

[0036] The second image is acquired and sent to the server.

[0037] By cooperating with the first light source and the driving device, a first image with a reflective area can be obtained. By cooperating with the second light source and the driving device, a second image with a reflective area can be obtained. Due to the different positions and emission angles of the first and second light sources, the positions of the reflective areas of the first and second images are different. Therefore, by combining the two, a more realistic and complete inspection image of the glue-coated area can be obtained, preventing missed inspections due to reflections or obstructions by the box body, and providing better image data for the server. This detection method can improve detection accuracy.

[0038] This application also proposes a detection system, comprising:

[0039] A visual inspection device, which is the visual inspection device described above; and

[0040] The server is electrically connected to the controller and is used to receive and determine whether the glue coating area meets the standards based on the detection image.

[0041] The visual inspection device can capture the overall appearance of the glue coating area from a macroscopic perspective. Based on this detection image, the server can make a more accurate judgment, thereby improving the accuracy of the glue coating inspection. The inspection image obtained by the visual inspection device can easily detect whether there are bubbles, debris or glue breaks in the glue coating area, thereby better controlling the quality of the lower box glue coating.

[0042] In one embodiment of the present application, the detection system further includes a base, the base including two frames arranged opposite to each other and a crossbeam slidably connected to the two frames, and the lower box is placed between the two frames;

[0043] The driving device of the visual inspection device is installed on the frame and is driven to be connected to the crossbeam. The image acquisition device is arranged on the crossbeam and is located above the gluing area of ​​the lower box body so as to move back and forth in the length direction of the gluing area under the drive of the driving device.

[0044] Here, the setting of the base can provide an installation foundation for the driving device and can limit the lower box body between the two frames. The setting of the crossbeam can provide a more stable mobile support for the image acquisition device, so that the moving direction of the image acquisition device can be better consistent with the length direction of the glue-coated area of ​​the lower box body, thereby improving the acquisition accuracy.

[0045] In one embodiment of the present application, the detection system also includes a first driving module and a light source. The light source is arranged on one side of the image acquisition device. The first driving module is arranged on the beam and is driven and connected to the image acquisition device and the light source to drive the image acquisition device and the light source to move back and forth in the width direction of the glue coating area.

[0046] The light source provides fill light for the image acquisition device, thereby improving the image acquisition effect. The first drive module also enables the image acquisition device to reciprocate across the width of the glue-coated area to accommodate lower housings of varying widths, thereby capturing images of the entire glue-coated area and improving adaptability.

[0047] In one embodiment of the present application, the detection system also includes a second driving module, the crossbeam is equipped with a slider, the first driving module drives and connects the slider, the second driving module is installed on the slider, and drives and connects the image acquisition device and the light source to drive the image acquisition device and the light source to move back and forth in the thickness direction of the glue coating area.

[0048] The setting of the second driving module can drive the image acquisition device to move in the thickness direction, so as to match the situation where the glue-coated areas are not in the same plane, so as to further improve the accuracy of the detection image acquisition and improve the adaptability of the detection system.

[0049] In one embodiment of the present application, the detection system further includes a lifting mechanism, which is disposed between the two frames and is drivingly connected to the lower box body to drive the lower box body to reciprocate in the vertical direction.

[0050] Here, the setting of the lifting mechanism can lift the lower boxes to the same height, thereby ensuring the collection distance between the image collection device and the glue coating area, so as to improve the accuracy of image collection.

[0051] In one embodiment of the present application, the jacking mechanism includes a base, a jacking assembly provided on the base, and two relatively arranged clamping members. The two clamping members can move toward or away from each other to clamp or release the lower box body. The jacking assembly drives the clamping members to drive the clamping members to rise or fall.

[0052] In order to improve the stability of the lower box, the lower box is fixed by setting a clamping piece, making it more stable during the jacking process and preventing it from falling.

[0053] In one embodiment of the present application, the server is configured to send a detection instruction to the controller, so that the image acquisition device acquires at least two detection images;

[0054] The server is further configured to obtain at least two detection images, fuse the at least two detection images to eliminate image reflections, and then determine whether the glue coating area meets the standards.

[0055] Because the images captured by the image acquisition device with the cooperation of the light source will have different degrees of reflection, the server obtains at least two detection images when obtaining the detection image, and eliminates the reflection by fusing the two detection images to improve the authenticity and effectiveness of the detection image. The server can make more accurate judgments based on the detection image to improve the accuracy of detecting the glue coating condition in the glue coating area.

[0056] In one embodiment of the present application, the detection system also includes two grating gates, and a detection channel is formed between the two frames. The extension direction of the detection channel is consistent with the length direction of the glue-coated area. The detection channel has an entrance and an exit that are relatively set. One of the grating gates is arranged at the entrance of the detection channel, and the other grating gate is arranged at the exit of the detection channel.

[0057] The detection channel formed by the frame with openings at both ends can facilitate the entry and exit of the trolley transporting the lower box. By setting grating doors at the entrance and exit, the detection within the detection channel can be protected to prevent external interference and improve detection safety.

[0058] In one embodiment of the present application, the detection system includes an origin sensor and a limit sensor, the origin sensor is arranged at the initial position of the image acquisition device and the light source, and the limit sensor is arranged on the moving path of the image acquisition device and the light source.

[0059] The origin sensor allows the image acquisition device and light source to be accurately reset, allowing a reset check to be performed during each test to calibrate the detection system and improve detection accuracy. The limit sensor can detect whether the image acquisition device has moved in the correct direction, thereby improving the self-test performance of the detection system.

[0060] The present application further proposes a detection method for a detection system, wherein the detection system includes a visual detection device, a server, and a light source. The detection method for the detection system includes the following steps:

[0061] The server receives the inspection request of the lower cabinet and sends the inspection instruction to the controller;

[0062] The controller receives the detection instruction, sends a driving instruction to the driving device, and sends an acquisition instruction to the image acquisition device at the same time;

[0063] The driving device drives the image acquisition device and the light source to move back and forth in the length direction of the glue coating area of ​​the lower box body, and the image acquisition device acquires the detection image and sends it to the controller;

[0064] The server receives the detection image sent by the controller and performs processing and analysis to determine whether the gluing area of ​​the lower box body meets the standards.

[0065] This detection method can capture images of the entire gluing area of ​​the lower box body and process and analyze the detection images, so as to accurately determine whether there are defects such as bubbles, debris or broken glue, and thus better control whether the gluing of the lower box body is qualified.

[0066] In one embodiment of the present application, the controller receives the detection instruction, sends a driving instruction to the driving device, and simultaneously sends an acquisition instruction to the image acquisition device, including:

[0067] The controller receives the detection instruction and sends a reset instruction to the driving device;

[0068] The driving device drives the image acquisition device and the light source to return to the initial detection position;

[0069] The controller sends a driving instruction to the driving device and simultaneously sends an acquisition instruction to the image acquisition device.

[0070] In this method, by setting a reset program, each detection can be performed from the same position, thereby improving the accuracy and consistency of the detection.

[0071] In one embodiment of the present application, the light source includes a first light source and a second light source, the first light source is provided on one side of the image acquisition device in the moving direction, and the second light source is provided on the other side of the image acquisition device in the moving direction, the first light source and the second light source have different emission angles, the detection instruction includes capturing at least a first image and a second image, and the detection method includes:

[0072] The controller issues an instruction to turn on the first light source and turn off the second light source, and sends a first driving instruction;

[0073] The driving device receives the first driving instruction and drives the image acquisition device and the light source to move from one side of the gluing area of ​​the lower box in the length direction to the opposite other side, and the image acquisition device acquires a first image and sends it to the controller;

[0074] The controller issues an instruction to turn on the second light source and turn off the first light source, and sends a second driving instruction;

[0075] The driving device receives the second driving instruction and drives the image acquisition device and the light source to move from the other side of the gluing area of ​​the lower box in the longitudinal direction to the opposite side, and the image acquisition device acquires a second image and sends it to the controller;

[0076] The server receives the first image and the second image sent by the controller and performs image fusion processing to eliminate image reflections, thereby obtaining a target detection image of the glue-coated area;

[0077] The server determines whether the glue-coated area meets the standards based on the target detection image.

[0078] By cooperating with the first light source and the driving device, a first image having a reflective area can be obtained, and by cooperating with the second light source and the driving device, a second image having a reflective area can be obtained. Due to the different positions and emission angles of the first and second light sources, the positions of the reflective areas of the first and second images are different. After the server fuses the two images, it can eliminate the reflective areas and obtain a more realistic and complete detection image of the glue-coated area, preventing missed detection due to reflections or obstruction by the box. This target detection image is used as the basis for judgment, thereby achieving a more accurate judgment of the glue-coating situation and improving detection accuracy.

[0079] In one embodiment of the present application, the server receives the first image and the second image sent by the controller and performs image fusion processing to eliminate image reflections to obtain the target detection image of the glue-coated area, including:

[0080] The server performs grayscale processing on the first image and the second image respectively to obtain a first grayscale image and a second grayscale image;

[0081] The server performs binarization processing on the first grayscale image and the second grayscale image to obtain a first binarized grayscale image and a second binarized grayscale image;

[0082] The server obtains the intersection area of ​​the binary grayscale image 1 and the binary grayscale image 2 to obtain a non-reflective area;

[0083] The server calculates the highlight area and shadow area of ​​the first image and the highlight area and shadow area of ​​the second image based on the binary grayscale image 1, the binary grayscale image 1 and the non-reflective area;

[0084] The server sets preset weights based on the highlight areas and shadow areas of the first image and the second image respectively, and superimposes the two to obtain the target detection image.

[0085] In this detection method, the server performs fusion processing on the first image and the second image. Grayscale processing and binarization processing can determine the position of each pixel of the first image and the second image, so that when the two are superimposed, it is more convenient to eliminate the reflective area and obtain the target detection image.

[0086] In one embodiment of the present application, the step of setting preset weights based on the highlight areas and shadow areas of the first image and the second image, and superimposing the two to obtain the target detection image includes:

[0087] The server sets the weight of the shadow area at the overlapping position of one of the first image and the second image to x, and the weight of the shadow area of ​​the other image to 1-x;

[0088] The server sets the highlight area of ​​one of the first image and the second image to 0, and the shadow area of ​​the corresponding position of the other image to 1;

[0089] The server superimposes the first image and the second image to obtain the target detection image.

[0090] In this method, when overlaying shadow areas of both images, the pixel ratio of the first and second images can be set to any value, making the overlay more convenient. The highlight areas of the first image are completely replaced by the shadow areas of the second image, and vice versa, the highlight areas of the second image are completely replaced by the shadow areas of the first image, thus obtaining a target detection image with reflections eliminated.

[0091] In one embodiment of the present application, the step of determining whether the glue-coated area meets the standards based on the target detection image includes:

[0092] The server obtains a standard detection image and performs a comparison calculation with the target detection image;

[0093] If the comparison values ​​are consistent, the server determines that the glue-coated area meets the standards.

[0094] By comparing and calculating the pixel values ​​of each part of the target detection image and the standard detection image, it is possible to automatically determine whether the glue coating area of ​​the lower box meets the standards, which is simple and convenient.

[0095] In one embodiment of the present application, the detection system further includes a lifting structure, and after the step of the driving device driving the image acquisition device and the light source to return to the initial detection position, the following steps are included:

[0096] The controller sends a lifting instruction to the lifting mechanism;

[0097] The lifting mechanism lifts the lower box body to a preset height so that the tray carrying the lower box body is parallel to the horizontal plane.

[0098] Here, the setting of the lifting mechanism can lift the lower boxes to the same height, thereby ensuring the collection distance between the image collection device and the glue coating area, so as to improve the accuracy of image collection.

[0099] In one embodiment of the present application, after the lifting mechanism lifts the lower box to a preset height so that the tray carrying the lower box is parallel to the horizontal plane, the method further includes:

[0100] The controller issues a detection instruction to detect whether the glue coating area of ​​the lower box is on a horizontal plane;

[0101] If not, the controller sends a leveling drive command to the drive device;

[0102] The driving device drives the image acquisition device to move in the longitudinal direction of the glue coating area of ​​the lower box body and in the vertical direction at the same time, so that the moving path of the image acquisition device is parallel to the surface of the glue coating area, and acquires the detection image.

[0103] Here, the detection method can ensure that the acquisition path of the image acquisition device is parallel to the surface of the glue-coated area, thereby improving the accuracy of image acquisition.

[0104] The present application further proposes a detection method for a detection system, wherein the detection system includes a visual detection device, a server, and a light source. The detection method for the detection system includes the following steps:

[0105] receiving a detection request for the lower box body and sending a detection instruction to the controller, so that the controller controls the driving device to drive the image acquisition device and the light source to move back and forth in the length direction of the glue coating area of ​​the lower box body, and causes the image acquisition device to acquire a detection image;

[0106] The detection image is received and processed and analyzed to determine whether the gluing area of ​​the lower box body meets the standards.

[0107] This detection method can capture images of the entire gluing area of ​​the lower box body and process and analyze the detection images, so as to accurately determine whether there are defects such as bubbles, debris or broken glue, and thus better control whether the gluing of the lower box body is qualified.

[0108] In one embodiment of the present application, the detection instruction includes the steps of capturing at least a first image and a second image, receiving the detection image and performing processing and analysis to determine whether the gluing area of ​​the lower box meets the standards, including:

[0109] receiving the first image and the second image sent by the controller and performing image fusion processing to eliminate image reflections, thereby obtaining a target detection image of the glue-coated area;

[0110] The compliance status of the glue-coated area is determined according to the target detection image.

[0111] Since the positions and emission angles of the first light source and the second light source are different, the positions of the reflective areas of the first image and the second image are different. After the server fuses the two images, the reflective area can be eliminated to obtain a more realistic and complete detection image of the glue-coated area, thereby preventing missed detection due to reflection or obstruction of the box. This target detection image is used as the basis for judgment, thereby obtaining a more accurate judgment of the glue-coating situation and improving detection accuracy.

[0112] In one embodiment of the present application, the step of receiving the first image and the second image sent by the controller and performing image fusion processing to eliminate image reflections to obtain the target detection image of the glue-coated area includes:

[0113] performing grayscale processing on the first image and the second image respectively to obtain a first grayscale image and a second grayscale image;

[0114] Binarizing the first grayscale image and the second grayscale image to obtain a first binary grayscale image and a second binary grayscale image;

[0115] Obtaining an intersection area of ​​the binary grayscale image 1 and the binary grayscale image 2 to obtain a non-reflective area;

[0116] Calculating the highlight area and shadow area of ​​the first image and the highlight area and shadow area of ​​the second image according to the binary grayscale image 1, the binary grayscale image 1 and the non-reflective area;

[0117] According to the respective highlight areas and shadow areas of the first image and the second image, preset weights are set to superimpose the two to obtain the target detection image.

[0118] In this detection method, the server performs fusion processing on the first image and the second image. Grayscale processing and binarization processing can determine the position of each pixel of the first image and the second image, so that when the two are superimposed, it is more convenient to eliminate the reflective area and obtain the target detection image.

[0119] In one embodiment of the present application, the step of setting preset weights based on the highlight areas and shadow areas of the first image and the second image, and superimposing the two to obtain the target detection image includes:

[0120] Setting the weight of the shadow area at the overlapping position of one of the first image and the second image to x, and the weight of the shadow area of ​​the other image to 1-x;

[0121] Setting the highlight area of ​​one of the first image and the second image to 0 and the shadow area of ​​the corresponding position of the other image to 1;

[0122] The first image and the second image are superimposed to obtain the target detection image.

[0123] In this method, when overlaying shadow areas of both images, the pixel ratio of the first and second images can be set to any value, making the overlay more convenient. The highlight areas of the first image are completely replaced by the shadow areas of the second image, and vice versa, the highlight areas of the second image are completely replaced by the shadow areas of the first image, thus obtaining a target detection image with reflections eliminated.

[0124] In one embodiment of the present application, the step of determining whether the glue-coated area meets the standards based on the target detection image includes:

[0125] Obtain a standard detection image and perform a comparison calculation with the target detection image;

[0126] If the comparison values ​​are consistent, it is determined that the glue-coated area meets the standards.

[0127] By comparing and calculating the pixel values ​​of each part of the target detection image and the standard detection image, it is possible to automatically determine whether the glue coating area of ​​the lower box meets the standards, which is simple and convenient. BRIEF DESCRIPTION OF THE DRAWINGS

[0128] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on the structures shown in these drawings without paying any creative work.

[0129] FIG1 is a schematic diagram of an embodiment of a visual inspection device of the present application;

[0130] FIG2 is a schematic diagram of the optical path of the visual inspection device of the present application during the inspection process;

[0131] FIG3 is a flow chart of an embodiment of a detection method of a visual detection device of the present application;

[0132] FIG4 is a flow chart of another embodiment of the detection method of the visual detection device of the present application;

[0133] FIG5 is a schematic structural diagram of the detection system of the present application;

[0134] FIG6 is a schematic structural diagram of the detection system shown in FIG5 from another perspective;

[0135] FIG7 is an exploded view of the detection system shown in FIG6 ;

[0136] FIG8 is a schematic structural diagram of the detection system in FIG7 without the protective cover and the frame;

[0137] FIG9 is an enlarged view of point A in FIG8 ;

[0138] FIG10 is a flow chart of a first embodiment of a detection method of the detection system of the present application;

[0139] FIG11 is a flow chart of a second embodiment of a detection method of the detection system of the present application;

[0140] FIG12 is a flow chart of a third embodiment of a detection method of the detection system of the present application;

[0141] FIG13 is a flow chart of a fourth embodiment of a detection method of the detection system of the present application;

[0142] FIG14 is a flow chart of a fifth embodiment of a detection method of the detection system of the present application;

[0143] FIG15 is a flow chart of a sixth embodiment of a detection method of the detection system of the present application;

[0144] FIG16 is a flow chart of a seventh embodiment of a detection method of the detection system of the present application;

[0145] FIG17 is a flow chart of an eighth embodiment of a detection method of the detection system of the present application;

[0146] FIG18 is a flow chart of a ninth embodiment of a detection method of the detection system of the present application;

[0147] FIG19 is a flow chart of a tenth embodiment of a detection method of the detection system of the present application;

[0148] FIG20 is a flow chart of the eleventh embodiment of the detection method of the detection system of the present application.

[0149] Description of Figure Numbers:

[0150] The realization of the objectives, functional features and advantages of this application will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0151] The following will be combined with the drawings in the embodiments of this application to clearly and completely describe the technical solutions in the embodiments of this application. Obviously, the embodiments described are only part of the embodiments of this application, not all of the embodiments. Based on the embodiments of this application, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of this application.

[0152] It should be noted that all directional indications in the embodiments of the present application (such as up, down, left, right, front, back, etc.) are only used to explain the relative position relationship, movement status, etc. between the various components under a certain specific posture (as shown in the accompanying drawings). If the specific posture changes, the directional indication will also change accordingly.

[0153] In this application, unless otherwise specified or limited, the terms "connection" and "fixation" should be understood in a broad sense. For example, "fixation" can mean fixed connection, detachable connection, or integration; mechanical connection or electrical connection; direct connection or indirect connection through an intermediate medium; internal communication between two elements or interaction between two elements, unless otherwise specified. For those skilled in the art, the specific meanings of the above terms in this application can be understood according to specific circumstances.

[0154] In addition, the descriptions of "first", "second", etc. in this application are for descriptive purposes only and cannot be understood as indicating or implying their relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of such features. In addition, the meaning of "and / or" appearing throughout the text is to include three parallel solutions. Taking "A and / or B as an example", it includes solution A, or solution B, or a solution in which both A and B are satisfied. In addition, the technical solutions between the various embodiments can be combined with each other, but this must be based on the ability of ordinary technicians in this field to implement. When the combination of technical solutions is mutually contradictory or cannot be implemented, it should be deemed that such a combination of technical solutions does not exist and is not within the scope of protection required by this application.

[0155] Batteries mentioned in this field can be categorized as either disposable or rechargeable, depending on whether they are rechargeable. Common rechargeable battery types include lead-acid batteries, nickel-metal hydride batteries, and lithium-ion batteries. Lithium-ion batteries are widely used in pure electric and hybrid vehicles. While these batteries have a relatively low capacity, they offer high output, high charging current, and a long service life, albeit at a relatively high cost.

[0156] The batteries described in the embodiments of this application are rechargeable batteries. The following description of the embodiments disclosed herein primarily uses lithium-ion batteries as an example. It should be understood that the embodiments disclosed herein are applicable to any other appropriate type of rechargeable battery. The batteries described in the embodiments disclosed herein can be directly or indirectly used in appropriate devices to power such devices.

[0157] The battery mentioned in the embodiments disclosed in this application refers to a single physical module that includes one or more battery cells to provide a predetermined voltage and capacity. A battery cell is the basic unit in a battery, which includes a positive electrode sheet, a negative electrode sheet, an electrolyte, and a separator. Lithium-ion battery cells mainly rely on the movement of lithium ions between the positive electrode sheet and the negative electrode sheet to work. Generally, they can be divided into cylindrical battery cells, rectangular battery cells, and soft-pack battery cells according to the packaging method. The following will mainly focus on rectangular battery cells. It should be understood that the embodiments described below are also applicable to cylindrical battery cells or soft-pack battery cells in some aspects.

[0158] The development of battery technology must simultaneously consider multiple design factors, such as energy density, cycle life, discharge capacity, charge and discharge rate and other performance parameters. During the battery manufacturing process, batteries often need to go through many processes and stations to complete production and measurement to make a complete battery. The first step is to shape the positive electrode sheet, negative electrode sheet, electrolyte and diaphragm into the shape of a battery cell, and then go through the shelling, welding, formation and other processes to form a battery cell. Then, multiple battery cells are arranged side by side to form a battery module, and the battery module is then placed in the box to form a battery pack. Alternatively, multiple battery cells can be directly placed in the box to form a battery pack structure.

[0159] To ensure a stable structure for the battery module when installed in the box, a layer of adhesive is typically applied to the bottom wall of the lower box before the battery module is placed inside, securing it securely to the lower box. Excessive adhesive waste results in material waste and poor thermal conductivity, while insufficient adhesive can compromise the battery pack's structural strength and potentially cause movement within the pack, significantly compromising vehicle safety. Therefore, the adhesive application process is crucial.

[0160] Currently, with the development of technology, the quality control requirements for lower box gluing are gradually increasing, and the monitoring of bubbles, foreign matter, etc. on the gluing surface is becoming more and more sophisticated. The traditional detection method is manual judgment or ordinary camera storage and retrospection. The manual judgment method has the problem of missed detection and misplacement due to human factors; the camera storage and retrospection method also has the problem of not being able to capture local positions due to different angles, and there is also the problem of missed detection due to improper human intervention in viewing images. Both methods are increasingly difficult to meet customer market needs. There are also methods of automated detection of colloids, such as using a linear array laser sensor to scan while applying glue, so as to determine the location of glue application and glue shortages and breakages. However, this linear array laser method can only detect small-section glue strips and cannot meet the detection needs of large-surface glue application.

[0161] Therefore, in order to solve the problems in the related art, the present application proposes a visual inspection device, including an image acquisition device, a driving device and a controller. The controller automatically controls the operation of the driving device and drives the image acquisition device to move from one side of the length direction of the glue-coated area to the other opposite side, so that the overall morphology of the glue-coated area can be fully obtained without missing detection, and the presence of foreign matter and bubbles can be observed from a macro perspective, thereby improving the detection effect.

[0162] Please refer to Figure 1. In one embodiment of the present application, the visual inspection device 10 proposed in the present application includes an image acquisition device 11, a driving device 13 and a controller. The driving device 13 drives the image acquisition device 11 to drive the image acquisition device 11 to move back and forth along the length direction of the gluing area 800 of the lower box to collect the inspection image of the entire gluing area 800; the controller is electrically connected to the image acquisition device 11 and the driving device 13 to control the acquisition of the image acquisition device 11 and the operation of the driving device 13.

[0163] The visual inspection device 10 includes a controller, an image acquisition device 11, and a drive device 13. The image acquisition device 11 can be a line scan camera or an area camera, etc., which is not limited here. It only needs to be able to capture images of the glue-coated area 800 during movement. The drive device 13 can be a drive member that drives a transmission member to drive the image acquisition device 11 to move back and forth in a straight line, or it can directly drive the image acquisition device 11 to move. The drive member can be a motor or a cylinder, etc., which is not limited here. Under the control of the controller, the drive device 13 can drive the image acquisition device 11 to move back and forth in the longitudinal direction of the glue-coated area 800. The image acquisition device 11 can obtain a detection image of the overall structure of the glue-coated area 800, thereby being able to observe the overall glue coating condition of the glue-coated area 800 in a more macroscopic way and better assist in judging whether the glue coating is qualified.

[0164] The visual inspection device 10 can collect the overall appearance of the glue coating area 800 from a macroscopic perspective, so as to conveniently detect whether there are bubbles, debris or glue breakage defects in the glue coating area 800, and thus better control whether the glue coating of the lower box is qualified.

[0165] Please refer to Figures 1 and 2. In one embodiment of the present application, the visual inspection device 10 also includes a light source 12. The light source 12 is arranged on one side of the image acquisition device 11 and is electrically connected to the controller. The light source 12 is used to emit light toward the glue coating area 800.

[0166] The light source 12 can be a linear light source 12 or a matrix point light source 12, which is not limited here. The light source 12 is arranged on one side of the image acquisition device 11, which means that the light source 12 is located on one side of the image acquisition device 11 in the horizontal direction and is located at a different height. For example, the light source 12 is located below the side of the image acquisition device 11 so that it can emit light toward the glue-coated area 800, thereby providing fill light for the image acquisition device 11. The light source 12 can be installed separately or on the mounting structure of the image acquisition device 11 as an integral structure. Here, the arrangement of the light source 12 can provide better light collection for the image acquisition device 11, thereby improving the image acquisition effect.

[0167] In one embodiment of the present application, the image acquisition device 11 includes a line scan camera;

[0168] And / or, the light source 12 includes a linear light source 12 .

[0169] A line scan camera can only capture a line of pixels with a width of 1 pixel at a time. Therefore, the line scan camera is driven by the drive device 13 to complete the acquisition of a two-dimensional image of the glue-coated area 800 during the movement. The line scan camera has higher resolution and better imaging quality, thereby further improving the image acquisition effect. It can also have a certain width to match the width of the glue-coated area 800 and move along the length of the glue-coated area 800 to obtain an image of the entire glue-coated area 800, thereby avoiding missed detection.

[0170] In one example, a color line scan camera can be selected to capture color information of the glue-coated area 800, thereby quantifying the color information of the glue. When using a mixture of AB glue, the appropriate glue ratio in a certain area of ​​the glue-coated area 800 can be determined by comparing the detection images. Of course, if the line scan camera is a black and white type, it can also determine whether there are defects such as bubbles or foreign matter in the glue-coated area 800 based on the brightness of the detection image.

[0171] When image acquisition device 11 is configured as a line scan camera or not, light source 12 is selected as a linear light source 12. Linear light source 12 utilizes a high-power, high-brightness LED, which is passed through a special lens to form a high-brightness, highly uniform light band. Linear light source 12 offers excellent consistency and uniformity, and its illumination length can be designed based on the width of the adhesive coating area 800. When used in conjunction with a line scan camera, this allows for clearer and more complete captured inspection images.

[0172] In one embodiment of the present application, the light source 12 includes a first light source 12 and a second light source 12. The first light source 12 is arranged on one side of the image acquisition device 11 in the moving direction, and the second light source 12 is arranged on the other side of the image acquisition device 11 in the moving direction. The first light source 12 and the second light source 12 have different emission angles.

[0173] Here, the first light source 12 and the second light source 12 can both be linear light sources 12, and are located on opposite sides of the image capture device 11. The first light source 12 is located on one side of the image capture device 11 in the direction of movement, i.e., on the side closer to the glue-coated area 800 in the longitudinal direction, and the second light source 12 is located on the other side of the image capture device 11 in the direction of movement, i.e., on the other side closer to the glue-coated area 800 in the longitudinal direction. The first light source 12 and the second light source 12 have different light emission directions. In one example, the emission axes of both are tilted toward the image capture device 11, thereby enabling illumination at different locations of the glue-coated area 800 and improving the image quality of the image capture.

[0174] At least one of the first light source 12 and the second light source 12 can be selected for fill light, so that fill light can be provided from different directions, and at least two images of reflections at different positions can be obtained, thereby providing more effective detection images for subsequent judgment to avoid missed detection.

[0175] In one embodiment of the present application, the controller is further configured to turn on the first light source 12 and control the image acquisition device 11 to move from one side of the glue-coated area 800 in the longitudinal direction to the other side opposite thereto; turn on the second light source 12 and control the image acquisition device 11 to move from the other side of the glue-coated area 800 in the longitudinal direction to the side opposite thereto.

[0176] The controller is positioned toward one long side of the glue-coated area 800. For example, the first light source 12 is positioned near the left side of the glue-coated area 800 in its longitudinal direction, while the second light source 12 is positioned near the right side. When the controller turns on the first light source 12, it simultaneously controls the image acquisition device 11 to move from the left side of the glue-coated area 800 to the right side, capturing a first image. When the controller turns on the second light source 12, it controls the image acquisition device 11 to move from the right side of the glue-coated area 800 to the left side, capturing a second image. This structure automatically captures at least two images with different reflection positions, improving detection efficiency.

[0177] In one embodiment of the present application, the light source 12 is movably arranged relative to the image acquisition device 11 to adjust the emission angle of the light source 12 relative to the horizontal plane;

[0178] And / or, the angle between the emission angle of the light source 12 and the axis of the image acquisition device 11 is greater than or equal to 30° and less than or equal to 60°.

[0179] In one example, the image capture device 11 is mounted on a fixed frame and is positioned toward the glue-coating area 800. The light source 12 is mounted on an adjustment frame 222 and is positioned toward the glue-coating area 800. The adjustment frame 222 is movably mounted on the fixed frame, thereby adjusting the angle of the light source 12 relative to the image capture device 11, that is, adjusting the emission angle of the light source 12 relative to the horizontal plane. In an optional example, the adjustment frame 222 has multiple adjustment holes formed at both ends, and the multiple adjustment holes are arranged in an arc shape. The fixed frame has fixing holes, which are threadedly connected to different adjustment holes to change the inclination angle of the adjustment frame 222 relative to the horizontal plane, that is, change the emission angle of the light source 12. In other examples, the adjustment frame 222 and the fixed frame can also be matched with an axial hole, and the rotation angle can be limited by other locking parts.

[0180] Here, the emission angle of the light source 12 relative to the horizontal plane can be adjusted and set, so that it can be changed according to different types and sizes of the lower box, thereby obtaining a more accurate detection image.

[0181] The angle between the emission angle of the light source 12 and the axis of the image acquisition device 11 should not be too large or too small, otherwise the amount of light reflected into the image acquisition device 11 will be reduced or even eliminated, failing to achieve the fill light effect. Therefore, in one example, the angle between the emission angle of the light source 12 and the axis of the image acquisition device 11 is set to a range of 30° or greater and 60° or less, such as 30°, 35°, 40°, 45°, etc. This can further assist the image acquisition device 11 in obtaining a more realistic and clear detection image.

[0182] Referring to FIG. 3 , the present application further proposes a detection method for a visual detection device, wherein the visual detection device includes a driving device, an image acquisition device, and a controller. The detection method includes the following steps:

[0183] Step S1: sending a driving instruction to the driving device so that the driving device drives the image acquisition device to move back and forth along the length direction of the glue coating area of ​​the lower box, and simultaneously sending an image acquisition instruction to the image acquisition device so that the image acquisition device acquires a detection image of the glue coating area;

[0184] Step S2: Acquire the detection image and send it to the server.

[0185] In this detection method, in step S1, the controller, i.e., the lower computer, simultaneously sends a drive instruction and an image acquisition instruction, so that the drive device drives the image acquisition device to move in the length direction of the glue-coated area and simultaneously acquires an image. The width of the image acquisition device is set to match the width of the glue-coated area, so that the glue-coated area can be scanned once under the drive of the drive device to obtain an image of the entire topography of the glue-coated area. In step S2, the controller can send an instruction to obtain a detection image from the image acquisition device and send it to the server for analysis, judgment and processing. Optionally, the controller can also store the detection image on a local disk at the same time.

[0186] By controlling the driving device and the image acquisition device, it is possible to automatically capture the detection image of the overall morphology of the glue-coated area, thereby facilitating the judgment of defects in the glue-coated area from a macroscopic perspective. For example, it is possible to detect bubbles and foreign matter and reduce the risk of missed detection.

[0187] Referring to FIG. 4 , in one embodiment of the present application, the visual detection device includes a first light source and a second light source. The first light source is provided on one side of the image acquisition device in the moving direction, and the second light source is provided on the other side of the image acquisition device in the moving direction. The first light source and the second light source have different emission angles. The detection method of the visual detection device includes:

[0188] Step S11: sending an instruction to turn on the first light source;

[0189] Step S12: sending a driving instruction to the driving device to move the image acquisition device from one side of the glue coating area close to the first light source to the other side opposite thereto, and simultaneously sending an acquisition instruction to the image acquisition device to acquire a first image;

[0190] Step S13: Acquire the first image and send it to the server;

[0191] Step S14: Sending an instruction to turn on the second light source and turn off the first light source;

[0192] Step S15: sending a driving instruction to the driving device to move the image acquisition device from one side of the glue coating area close to the second light source to the other side opposite thereto, and simultaneously sending an acquisition instruction to the image acquisition device to acquire a second image;

[0193] Step S16: Acquire the second image and send it to the server.

[0194] Standing with one long side facing the glue-coated area, for example, the first light source is close to the left side of the glue-coated area in the longitudinal direction, and the second light source is close to the right side of the glue-coated area. When the controller controls the first light source to be turned on, it also controls the image acquisition device to move from the left side of the glue-coated area to the right side to obtain the first image. When the second light source is turned on, the image acquisition device is controlled to move from the right side of the glue-coated area to the left side to obtain the second image. This detection method can obtain a first image with a reflective area through the cooperation of the first light source and the driving device, and can obtain a second image with a reflective area through the cooperation of the second light source and the driving device, thereby realizing the automatic acquisition of at least two images with different reflective positions and improving the detection efficiency. Since the positions and emission angles of the first light source and the second light source are different, the positions of the reflective areas of the first image and the second image are different, so that after combining the two, a more realistic and complete detection image of the glue-coated area can be obtained, thereby preventing missed detection due to reflection or obstruction of the box body and providing better image data for the server. This detection method can improve detection accuracy.

[0195] Referring to Figures 5 to 7 , this application further provides a testing system 100 comprising a visual inspection device 10 and a server. The visual inspection device 10 is the visual inspection device 10 described above. The server is electrically connected to the controller and configured to receive and determine, based on the inspection image, whether the glue-coated area 800 has met the standards. Because the visual inspection device 10 of the testing system utilizes all of the technical solutions of all of the aforementioned embodiments, it possesses at least all of the beneficial effects of the technical solutions of the aforementioned embodiments, which will not be detailed here.

[0196] The visual inspection device 10 can capture the overall appearance of the glue-coated area 800 from a macroscopic perspective. Based on the detection image, the server can make a more accurate judgment, thereby improving the accuracy of the detection of the glue coating condition in the glue-coated area 800. The detection image obtained by the visual inspection device 10 can easily detect whether the glue-coated area 800 contains bubbles, debris, or glue breaks, thereby better controlling whether the glue coating on the lower box is qualified.

[0197] 7 and 8 , in one embodiment of the present application, the detection system 100 further includes a base 20 , the base 20 including two frames 21 disposed opposite to each other and a crossbeam 22 slidably connected to the two frames 21 , with the lower box being placed between the two frames 21 ;

[0198] The driving device 13 of the visual inspection device 10 is installed on the frame 21 and is driven and connected to the beam 22. The image acquisition device 11 is arranged on the beam 22 and is located above the gluing area 800 of the lower box body, so as to move back and forth in the length direction of the gluing area 800 under the drive of the driving device 13.

[0199] In one example, the two frames 21 are arranged in a rectangular structure with a length direction and a width direction. The peripheral side and the upper surface of the frame 21 can be connected with a plate body to form a cabinet structure, which can accommodate some electronic control devices and circuits, thereby making the detection system 100 more regular. Optionally, the bottom of the frame 21 is connected with a support foot, which is convenient for adjusting the height of the frame 21 and also for moving and supporting it. The crossbeam 22 is a rectangular structure, and its length direction is the width direction of the frame 21, so the two ends of the crossbeam 22 are slidably connected to the upper surfaces of the two frames 21. The image acquisition device 11 is installed on the crossbeam 22 and can be arranged in the middle of the crossbeam 22 as needed. The lower box is located between the two frames 21 and corresponds to the image acquisition device 11, so as to facilitate the acquisition of the image of the complete glue coating area 800. One or two drive devices 13 can be provided, mounted on the frame 21 and drivably connected to the crossbeam 22. This drives the crossbeam 22 to move along the length of the frame 21, aligning the length of the gluing area 800 of the lower box with the length of the frame 21. This drives the image capture device 11 to move along the length of the gluing area 800, enabling image capture to be achieved in a single pass. In other examples, the image capture device 11 can also be driven to move along the width of the gluing area 800, capturing a partial image and then scanning it once to complete the capture of the entire image.

[0200] Here, the frame 21 provides an installation base for the driving device 13 and limits the lower box to form a safe detection environment. The setting of the crossbeam 22 can provide a relatively stable mobile support for the image acquisition device 11, so that the moving direction of the image acquisition device 11 can be better consistent with the length direction of the glue-coated area 800 of the lower box, thereby improving the acquisition accuracy.

[0201] In one example, the drive device 13 may include a drive member and a transmission member. The drive member may be a motor, and the transmission member may be a screw and a slider 221. For example, a screw is provided on the frame 21, and nut sliders 221 are provided at both ends of the crossbeam 22 to cooperate with the screw. Driven by the motor, the screw rotates, causing the nut sliders 221 to move horizontally. Alternatively, a belt may be provided, driven by the motor to move the image capture device 11. A guide rail 211 is also provided on the upper surface of the frame 21 to ensure more stable movement of the image capture device 11. A tank chain is also provided above the frame 21 to pull and protect the cables of the devices on the crossbeam 22. Optionally, a support column is provided above the frame 21, on which the transmission member and tank chain are mounted, with the drive member located on the frame 21, to achieve better drive.

[0202] Referring to Figures 8 and 9, in one embodiment of the present application, the detection system 100 further includes a first driving module 30 and a light source 12. The light source 12 is disposed on one side of the image acquisition device 11. The first driving module 30 is disposed on the crossbeam 22 and is driven and connected to the image acquisition device 11 and the light source 12 to drive the image acquisition device 11 and the light source 12 to reciprocate in the width direction of the glue coating area 800.

[0203] Here, the type of light source 12 can refer to that of the aforementioned embodiment. Light source 12 is positioned to one side of image acquisition device 11, for example, below and to the side of image acquisition device 11, and emits light toward glue-coated area 800. The provision of light source 12 provides fill light for image acquisition device 11, thereby improving the image acquisition quality of the inspection. Furthermore, the provision of first drive module 30 enables reciprocating motion of image acquisition device 11 across the width of glue-coated area 800. For example, when the lower case has non-standard dimensions and a larger width, image acquisition device 11 has a limited field of view. By moving along the length of glue-coated area 800, image acquisition device 11 captures half of the image, then moves across the width to the other half of glue-coated area 800, and then continues along the length of glue-coated area 800 to capture the complete image. This structural arrangement allows image acquisition device 11 and light source 12 to adapt to lower cases of varying widths, enabling image capture of the entire glue-coated area 800 and improving compatibility.

[0204] In one example, the first drive module 30 includes a first drive motor and a transmission component. The first drive motor is mounted on the crossbeam 22. The transmission component comprises a first screw and a first nut slider 221. The image acquisition device 11 and the light source 12 are mounted on the first nut slider 221. The drive component drives the image acquisition device 11 to move horizontally relative to the crossbeam 22. Optionally, a tank chain is also provided on the crossbeam 22 to provide traction and cable protection for the device as it moves on the crossbeam 22.

[0205] In one embodiment of the present application, the detection system 100 further includes a second driving module 40, the crossbeam 22 is equipped with a slider 221, the first driving module 30 is driven and connected to the slider 221, the second driving module 40 is installed on the slider 221, and is driven and connected to the image acquisition device 11 and the light source 12 to drive the image acquisition device 11 and the light source 12 to move back and forth in the thickness direction of the glue coating area 800.

[0206] The second drive module 40 includes a second drive motor, which is mounted on the first nut slider 221 and drives a fixed frame. The image acquisition device 11 is mounted on the fixed frame, allowing it to reciprocate under the drive of the second drive motor. The light source 12 is mounted on an adjustment frame 222, which is movable relative to the fixed frame to adjust the emission angle of the light source 12 to match the different sizes of the glue-coated area 800 of the lower box.

[0207] The second driving module 40 can drive the image acquisition device 11 to move in the thickness direction, thereby adapting to the situation where the glue-coated areas 800 are not in the same plane, thereby further improving the accuracy of detection image acquisition and improving the adaptability of the detection system 100.

[0208] Referring to FIG. 7 , in one embodiment of the present application, the detection system 100 further includes a lifting mechanism 50 , which is disposed between the two frames 21 and is driven and connected to the lower box to drive the lower box to reciprocate in the vertical direction.

[0209] In one example, a lifting mechanism 50 is positioned between the two frames 21, capable of vertically lifting and lowering the incoming lower box. The type of lifting mechanism 50 is not limited; it can be driven vertically by a cylinder or by a motor. Here, the lifting mechanism 50 can lift all lower boxes to the same height, accommodating lower boxes of varying heights. This ensures that the image capture device 11 maintains a consistent acquisition distance from the glue-coating area 800, improving image capture accuracy.

[0210] In one embodiment of the present application, the jacking mechanism 50 includes a base 51, a jacking assembly provided on the base 51, and two oppositely arranged clamping members 52. The two clamping members 52 can move toward or away from each other to clamp or release the lower box body. The jacking assembly drives the clamping members 52 to drive the clamping members 52 to rise or fall.

[0211] In one example, the jacking mechanism 50 includes a base 51, which may include support columns and feet, so as to achieve a stable support effect and installation foundation. The jacking assembly may include a jacking drive and a jacking platform driven and connected thereto, the jacking drive is installed on the base 51, and the clamping member 52 is connected to the jacking platform, so as to move vertically under the drive platform. The lower box is placed on the jacking platform, and the stability of the lower box can be effectively improved by clamping the clamping member 52. The clamping member 52 can be a clamping cylinder, that is, a cylinder drive connected to a splint to achieve clamping of the lower box. The lower box is fixed by the setting of the clamping member 52, so that it is more stable during the jacking process and prevents it from falling.

[0212] In another example, two jacking mechanisms 50 may be provided, and the clamping members 52 are respectively clamped on the four sides of the lower box body, thereby further improving the stability of the lower box body during the jacking process.

[0213] In one embodiment of the present application, the server is configured to send a detection instruction to the controller so that the image acquisition device 11 acquires at least two detection images;

[0214] The server is further configured to obtain at least two detection images, fuse the at least two detection images to eliminate image reflections, and then determine whether the glue-coated area 800 meets the standards.

[0215] The server, also known as the host computer, will issue different detection schemes based on the detection judgment needs. Here, because the images captured by the image acquisition device 11 in cooperation with the light source 12 will have different degrees of reflection, in order to improve the quality of the detection image, when the server issues a detection instruction to the controller, it sends an instruction to obtain at least two detection images. The controller then obtains the first image and the second image according to the method of collecting the above-mentioned visual detection device 10. The server fuses the two detection images, namely the first image and the second image, to eliminate reflections, thereby improving the authenticity and effectiveness of the detection image. The server can make more accurate judgments based on the detection images to improve the accuracy of detecting the glue coating condition of the glue coating area 800.

[0216] Please continue to refer to Figure 7. In one embodiment of the present application, the detection system 100 also includes two grating gates 60, and a detection channel is formed between the two frames 21. The extension direction of the detection channel is consistent with the length direction of the glue coating area 800. The detection channel has an entrance and an exit that are relatively set. One of the grating gates 60 is located at the entrance of the detection channel, and the other grating gate 60 is located at the exit of the detection channel.

[0217] The grating door 60 includes two relatively arranged transmitting ends and receiving ends. After the infrared rays sent by the transmitting end are received by the receiving end, a normal signal can be sent. If the receiving end does not receive the light, it indicates that there is an obstacle blocking it, and a signal that there is an obstacle can be sent. The space in the width direction of the two frames 21 forms an entrance and an exit. The detection channel with openings at both ends formed by the frame 21 can facilitate the entry and exit of the trolley transporting the lower box. By arranging the grating door 60 at the entrance and exit, the detection in the detection channel can be protected to prevent external interference and improve the safety of the detection. In one example, the receiving end of one grating door 60 is installed at the entrance end of one of the frames 21, and the receiving end is installed at the opposite entrance end of the other frame 21. The receiving end of the other grating door 60 is installed at the exit end of one of the frames 21, and the receiving end is installed at the opposite exit end of the other frame 21.

[0218] In one embodiment of the present application, the detection system 100 includes an origin sensor and a limit sensor. The origin sensor is arranged at the initial position of the image acquisition device 11 and the light source 12, and the limit sensor is arranged on the moving path of the image acquisition device 11 and the light source 12.

[0219] An origin sensor can be located at the end of the frame 21 near the entrance. At the start of each test, the image acquisition device 11 is first controlled to return to the origin sensor. This sensor can be a displacement sensor. The placement of the origin sensor allows for accurate resetting of the image acquisition device 11 and light source 12, enabling a reset check during each test to calibrate the detection system 100 and improve detection accuracy. A limit sensor can be configured based on the dimensions of the lower housing. This limit sensor can detect whether the image acquisition device 11 has reached its desired position in the desired direction of movement, thereby improving the self-test performance of the detection system 100.

[0220] In one example, the detection system 100 further includes a protective cover 70 for covering the top of the frame 21 and covering the crossbeam 22 and the image acquisition device 11, thereby forming a better protective space, avoiding external interference, and improving detection accuracy and efficiency.

[0221] Referring to FIG. 10 , the present application further proposes a detection method for a detection system, wherein the detection system includes a visual detection device, a server, and a light source. The detection method for the detection system includes the following steps:

[0222] Step S100: The server receives a detection request for the lower cabinet and sends a detection instruction to the controller;

[0223] Step S200: The controller receives the detection instruction, sends a driving instruction to the driving device, and sends an acquisition instruction to the image acquisition device at the same time;

[0224] Step S300: The driving device drives the image acquisition device and the light source to move back and forth in the longitudinal direction of the glue coating area of ​​the lower box body, and the image acquisition device acquires the detection image and sends it to the controller;

[0225] Step S400: The server receives the detection image sent by the controller and performs processing and analysis to determine whether the glue coating area of ​​the lower box body meets the standards.

[0226] In step S100 of the above method, when the lower box is ready to enter the detection channel, a request for detection can be sent to the server. The server confirms that the detection can be carried out according to the detection environment, and can choose to open the grating door at the entrance so that the trolley carries the lower box into the detection channel. In step S200, the controller controls the driving device and the image acquisition device to operate according to the detection instruction to obtain the detection image. In step S300, the driving device drives the image acquisition device to realize image acquisition of the glue-coated area, which is movement in the length direction here. In other examples, movement in the width direction can also be performed according to the size and shape of the glue-coated area. In step S400, after the server receives the detection image, it will perform a series of processing and analysis on it, for example, quantizing its coordinates to compare it with the standard image. If the coordinate position of each pixel is the same, it means that the glue-coated position of the glue-coated area meets the standard. If not, it does not meet the standard. Alternatively, the detection image is grayed to determine whether there are obvious dark spots or bright spots to detect defects such as bubbles or debris.

[0227] This detection method can capture images of the entire gluing area of ​​the lower box body and process and analyze the detection images, so as to accurately determine whether there are defects such as bubbles, debris or broken glue, and thus better control whether the gluing of the lower box body is qualified.

[0228] Referring to FIG. 11 , in one embodiment of the present application, the controller receives the detection instruction, sends a driving instruction to the driving device, and simultaneously sends a capture instruction to the image capture device in step S200, including:

[0229] Step S201: The controller receives the detection instruction and sends a reset instruction to the driving device;

[0230] Step S202: the driving device drives the image acquisition device and the light source to return to the initial detection position;

[0231] Step S203: The controller sends a driving instruction to the driving device and simultaneously sends an acquisition instruction to the image acquisition device.

[0232] In this method, when the server receives a test request, it sends a test command to the controller. The controller first controls the image acquisition device to reset and move it to the initial test position, which is the starting point for each test. It then controls the movement to capture images. This starting point can be set as needed, for example, to the end of the frame near the entrance. Calibration is performed by setting an origin sensor.

[0233] By setting the reset procedure, each test can be performed from the same position, improving the accuracy and consistency of the test.

[0234] Referring to FIG. 12 , in one embodiment of the present application, the light source includes a first light source and a second light source. The first light source is disposed on one side of the image acquisition device in the moving direction, and the second light source is disposed on the other side of the image acquisition device in the moving direction. The first light source and the second light source have different emission angles. The detection instruction includes capturing at least a first image and a second image. The detection method includes:

[0235] Step S2031: The controller issues an instruction to turn on the first light source and turn off the second light source, and sends a first driving instruction;

[0236] Step S301: The driving device receives a first driving instruction and drives the image acquisition device and the light source to move from one side of the glue coating area of ​​the lower box to the other opposite side in the longitudinal direction. The image acquisition device acquires a first image and sends it to the controller.

[0237] Step S2032: the controller issues an instruction to turn on the second light source and turn off the first light source, and sends a second driving instruction;

[0238] Step S302: The driving device receives the second driving instruction and drives the image acquisition device and the light source to move from the other side of the glue coating area in the longitudinal direction of the lower box to the opposite side, and the image acquisition device acquires a second image and sends it to the controller;

[0239] Step S401: The server receives the first image and the second image sent by the controller and performs image fusion processing to eliminate image reflections to obtain a target detection image of the glue-coated area;

[0240] Step S402: The server determines whether the glue-coated area meets the standards based on the target detection image.

[0241] The first and second light sources can both be linear light sources, positioned on opposite sides of the image capture device. The first light source is positioned on one side of the image capture device in the direction of movement, i.e., closer to the longitudinal side of the glue-coated area, while the second light source is positioned on the other side of the image capture device in the direction of movement, i.e., closer to the longitudinal side of the glue-coated area. The first and second light sources have different light emission directions. In one example, the emission axes of both light sources are tilted toward the image capture device, thereby enabling illumination at different locations within the glue-coated area and improving the quality of image capture.

[0242] The controller is positioned toward one long side of the glue-coated area. For example, the first light source is positioned near the left side of the glue-coated area in its longitudinal direction, while the second light source is positioned near the right side. When the controller activates the first light source, it simultaneously controls the image acquisition device to move from the left side of the glue-coated area to the right side, capturing a first image. When the controller activates the second light source, it controls the image acquisition device to move from the right side of the glue-coated area to the left side, capturing a second image. This structure automatically captures at least two images with different reflection positions, improving detection efficiency.

[0243] By cooperating with the first light source and the driving device, a first image having a reflective area can be obtained, and by cooperating with the second light source and the driving device, a second image having a reflective area can be obtained. Due to the different positions and emission angles of the first and second light sources, the positions of the reflective areas of the first and second images are different. After the server fuses the two images, it can eliminate the reflective areas and obtain a more realistic and complete detection image of the glue-coated area, preventing missed detection due to reflections or obstruction by the box. This target detection image is used as the basis for judgment, thereby achieving a more accurate judgment of the glue-coating situation and improving detection accuracy.

[0244] Referring to FIG. 13 , in one embodiment of the present application, step S401 of receiving the first image and the second image sent by the controller and performing image fusion processing to eliminate image reflections to obtain the target detection image of the glue-coated area includes:

[0245] Step S4011: The server performs grayscale processing on the first image and the second image respectively to obtain a first grayscale image and a second grayscale image;

[0246] Step S4012: The server performs binarization processing on the first grayscale image and the second grayscale image to obtain a first binarized grayscale image and a second binarized grayscale image;

[0247] Step S4013: the server obtains the intersection area of ​​the binary grayscale image 1 and the binary grayscale image 2 to obtain a non-reflective area;

[0248] Step S4014: The server calculates the highlight area and shadow area of ​​the first image and the highlight area and shadow area of ​​the second image based on the binary grayscale image 1, the binary grayscale image 1, and the non-reflective area;

[0249] Step S4015: The server sets preset weights based on the highlight areas and shadow areas of the first image and the second image, and superimposes the two to obtain the target detection image.

[0250] In this detection method, grayscale processing in step S4011 refers to converting the grayscale of the first and second images using a grayscale algorithm to form respective grayscale images. In step S4012, binarization refers to binarizing the values ​​of each pixel in the image. For example, when the brightness value is greater than a preset value, it is assigned a value of 1, and when the brightness value is less than the preset value, it is assigned a value of 0, thereby forming respective binary grayscale images. In step S4013, the intersection area of ​​the two is obtained, that is, the collection of pixels with the same coordinate values ​​and values ​​in the binary grayscale image 1 and the binary grayscale image 2. This collection is also the non-reflective area in both images, thereby obtaining the non-reflective area. In step S4014, the non-reflective area obtained above is mapped to the positions of the original first and second images, thereby obtaining the shadow area, and the remaining blank area is the highlight area. In step S401, the pixels of the marked first and second images are superimposed according to the weights to obtain the final target detection image.

[0251] The server performs fusion processing on the first image and the second image. Grayscale processing and binarization processing can determine the position of each pixel of the first image and the second image, so that when the two are superimposed, it is more convenient to eliminate the reflective area and obtain the target detection image.

[0252] Referring to FIG. 14 , in one embodiment of the present application, the step of setting preset weights based on the highlight areas and shadow areas of the first image and the second image, and superimposing the two to obtain the target detection image includes:

[0253] Step S40151: The server sets the weight of the shadow area at the overlapping position of one of the first image and the second image to x, and the weight of the shadow area of ​​the other image to 1-x;

[0254] Step S40152: The server sets the weight of the highlight area of ​​one of the first image and the second image to 0, and the weight of the shadow area of ​​the corresponding position of the other image to 1;

[0255] Step S40153: The server superimposes the first image and the second image to obtain the target detection image.

[0256] In this method, when overlaying the shadow areas of both images, the pixel ratio of the first and second images can be set to any value, making the overlay more convenient. For example, if the ratio of the shadow area of ​​the first image is 0.5, the ratio of the shadow area of ​​the second image will also be 0.5, and the shadow area will remain the same after overlay. Meanwhile, the highlight areas of the first image have their weight set to 0 and are completely replaced by the shadow areas of the second image. Similarly, the highlight areas of the second image have their weight set to 0 and are completely replaced by the shadow areas of the first image, thus obtaining a target detection image with reflections eliminated.

[0257] Referring to FIG. 15 , in one embodiment of the present application, the step of determining whether the glue-coated area meets the standards based on the target detection image includes:

[0258] Step S4021: The server obtains a standard detection image and performs a comparison calculation with the target detection image;

[0259] Step S4022: If the comparison values ​​are consistent, the server determines that the glue-coated area meets the standards.

[0260] In this detection method, the test image is coordinate-quantized and color-quantized. If the values ​​of the pixels at the same location in the standard test image and the target test image are the same, the glue-coated area meets the standard. Otherwise, it fails to meet the standard. Alternatively, the test image can be grayscaled to determine whether the target test image has obvious dark spots or bright spots to detect defects such as bubbles or debris. Alternatively, the RGB values ​​of the target test image can be compared with the RGB values ​​of the standard test image. If they are the same, it can be determined that the AB glue ratio in the glue-coated area also meets the standard.

[0261] In this way, the detection method can automatically determine whether the glue-coated area of ​​the lower box meets the standards by comparing and calculating the pixel values ​​of each part of the target detection image and the standard detection image, and can simultaneously detect bubbles, debris and glue ratio, which is simple and convenient.

[0262] Referring to FIG. 16 , in one embodiment of the present application, the detection system further includes a lifting structure, and after the step of the driving device driving the image acquisition device and the light source to return to the initial detection position, the following steps are included:

[0263] Step S2021: The controller sends a lifting instruction to the lifting mechanism;

[0264] Step S2022: The lifting mechanism lifts the lower box body to a preset height so that the tray supporting the lower box body is parallel to the horizontal plane.

[0265] Here, the setting of the lifting mechanism can lift the lower boxes to the same height, so that they can match lower boxes of different heights, so that the collection distance between the image acquisition device and the glue coating area is always consistent, thereby improving the accuracy of image acquisition.

[0266] Referring to FIG. 17 , in one embodiment of the present application, after the lifting mechanism lifts the lower box to a preset height so that the tray supporting the lower box is parallel to the horizontal plane, the method further includes:

[0267] Step S2023: The controller issues a detection instruction to detect whether the glue coating area of ​​the lower box is on a horizontal plane;

[0268] Step S2024: If not, the controller sends a leveling drive instruction to the drive device;

[0269] Step S2025: The driving device drives the image acquisition device to move in the longitudinal direction of the glue coating area of ​​the lower box body and in the vertical direction at the same time, so that the moving path of the image acquisition device is parallel to the surface of the glue coating area, and collects the detection image.

[0270] Here, the driving device drives the image acquisition device to move in the length direction, and the setting of the second driving module can drive the image acquisition device to move in the thickness direction, that is, the vertical direction, so as to match the situation where the glue-coated areas are not in the same plane, so that the moving path of the image acquisition device is always parallel to the surface of the glue-coated area, so as to further improve the accuracy of detection image acquisition and improve the adaptability of the detection system.

[0271] Referring to FIG. 18 , the present application further proposes a detection method for a detection system, wherein the detection system includes a visual detection device, a server, and a light source. The detection method for the detection system includes the following steps:

[0272] Step S1': receiving a detection request for the lower box body and sending a detection instruction to the controller, so that the controller controls the driving device to drive the image acquisition device and the light source to move back and forth in the longitudinal direction of the glue coating area of ​​the lower box body, and the image acquisition device acquires a detection image;

[0273] Step S2 ′: receiving the detection image and performing processing and analysis to determine whether the glue coating area of ​​the lower box body meets the standards.

[0274] In the above method, step S1' is to send a request for detection to the server when the lower box is ready to enter the detection channel. The server confirms that the detection can be carried out according to the detection environment, and can choose to open the grating door at the entrance so that the trolley can carry the lower box into the detection channel. The controller controls the operation of the drive device and the image acquisition device according to the detection instruction to obtain the detection image. The drive device drives the image acquisition device to realize image acquisition of the glue-coated area, which is movement in the length direction here. In other examples, movement in the width direction can also be performed according to the size and shape of the glue-coated area. In step S2', after the server receives the detection image, it will perform a series of processing and analysis on it, for example, quantizing its coordinates to compare it with the standard image. If the coordinate position of each pixel is the same, it means that the glue-coated position of the glue-coated area meets the standard. If not, it does not meet the standard. Or the detection image is grayed to determine whether there are obvious dark spots or bright spots to detect defects such as bubbles or debris.

[0275] This detection method can capture images of the entire gluing area of ​​the lower box body and process and analyze the detection images, so as to accurately determine whether there are defects such as bubbles, debris or broken glue, and thus better control whether the gluing of the lower box body is qualified.

[0276] Referring to FIG. 19 , in one embodiment of the present application, the detection instruction includes the steps of capturing at least a first image and a second image, receiving the detection images and performing processing and analysis to determine whether the gluing area of ​​the lower box meets the standards, including:

[0277] Step S21': receiving the first image and the second image sent by the controller and performing image fusion processing to eliminate image reflections, thereby obtaining a target detection image of the glue-coated area;

[0278] Step S22 ′: judging whether the glue-coated area meets the standards based on the target detection image.

[0279] Since the positions and emission angles of the first light source and the second light source are different, the positions of the reflective areas of the first image and the second image are different. After the server fuses the two images, the reflective area can be eliminated to obtain a more realistic and complete detection image of the glue-coated area, thereby preventing missed detection due to reflection or obstruction of the box. This target detection image is used as the basis for judgment, thereby obtaining a more accurate judgment of the glue-coating situation and improving detection accuracy.

[0280] Referring to FIG. 20 , in one embodiment of the present application, the steps of receiving the first image and the second image sent by the controller and performing image fusion processing to eliminate image reflections to obtain the target detection image of the glue-coated area include:

[0281] Step S211′: performing grayscale processing on the first image and the second image respectively to obtain a first grayscale image and a second grayscale image;

[0282] Step S212': performing binarization processing on the first grayscale image and the second grayscale image to obtain a first binarized grayscale image and a second binarized grayscale image;

[0283] Step S213 ′: obtaining an intersection area of ​​the binary grayscale image 1 and the binary grayscale image 2 to obtain a non-reflective area;

[0284] Step S214': calculating the highlight area and shadow area of ​​the first image and the highlight area and shadow area of ​​the second image based on the binary grayscale image 1, the binary grayscale image 1 and the non-reflective area;

[0285] Step S215 ′: setting preset weights based on the highlight areas and shadow areas of the first image and the second image respectively, and superimposing the two to obtain the target detection image.

[0286] In this detection method, grayscale processing in step S211' refers to converting the grayscale of the first and second images using a grayscale algorithm to form respective grayscale images. In step S212', binarization refers to binarizing the values ​​of each pixel in the image. For example, when the brightness value is greater than a preset value, it is assigned a value of 1, and when the brightness value is less than the preset value, it is assigned a value of 0, thereby forming respective binary grayscale images. In step S213', the intersection area of ​​the two is obtained, that is, the collection of pixels with the same coordinate values ​​and values ​​in the binary grayscale image 1 and the binary grayscale image 2. This collection is also the non-reflective area in both images, thereby obtaining the non-reflective area. In step S214', the non-reflective area obtained above is mapped to the positions of the original first and second images, thereby obtaining the shadow area, and the remaining blank area is the highlight area. In step S215', the marked pixels of the first and second images are combined according to the weights to obtain the final target detection image.

[0287] The server performs fusion processing on the first image and the second image. Grayscale processing and binarization processing can determine the position of each pixel of the first image and the second image, so that when the two are superimposed, it is more convenient to eliminate the reflective area and obtain the target detection image.

[0288] In one embodiment of the present application, the step of setting preset weights based on the highlight areas and shadow areas of the first image and the second image, and superimposing the two to obtain the target detection image includes:

[0289] Setting the weight of the shadow area at the overlapping position of one of the first image and the second image to x, and the weight of the shadow area of ​​the other image to 1-x;

[0290] Setting the highlight area of ​​one of the first image and the second image to 0 and the shadow area of ​​the corresponding position of the other image to 1;

[0291] The first image and the second image are superimposed to obtain the target detection image.

[0292] In this method, when overlaying the shadow areas of both images, the pixel ratio of the first and second images can be set to any value, making the overlay more convenient. For example, if the ratio of the shadow area of ​​the first image is 0.5, the ratio of the shadow area of ​​the second image will also be 0.5, and the shadow area will remain the same after overlay. Meanwhile, the highlight areas of the first image have their weight set to 0 and are completely replaced by the shadow areas of the second image. Similarly, the highlight areas of the second image have their weight set to 0 and are completely replaced by the shadow areas of the first image, thus obtaining a target detection image with reflections eliminated.

[0293] In one embodiment of the present application, the step of determining whether the glue-coated area meets the standards based on the target detection image includes:

[0294] Obtain a standard detection image and perform a comparison calculation with the target detection image;

[0295] If the comparison values ​​are consistent, it is determined that the glue-coated area meets the standards.

[0296] By comparing and calculating the pixel values ​​of each part of the target detection image and the standard detection image, it is possible to automatically determine whether the glue coating area of ​​the lower box meets the standards, which is simple and convenient.

[0297] A specific embodiment:

[0298] The AGV car notifies the server through network interaction to let the car in. After receiving the AGV car signal, the server notifies the software and hardware control device to perform the grating shielding operation and let the car in.

[0299] After the trolley enters, the device opens the entrance grating, and the lifting mechanism clamps the trolley and lifts it to a fixed height.

[0300] The software and hardware control device starts to control the module, that is, the XYZ axis module of the gantry device. First, it performs a reset operation to return to the zero origin. Then the XY axis module scans according to the template path set by the server. The two light sources of the imaging system are turned on in turn according to the software and hardware control device.

[0301] After the scanning is completed, the lifting mechanism device performs a reset operation, that is, the clamping cylinder is released and the lifting cylinder is lowered.

[0302] After the server analyzes and processes the images acquired by the imaging system, it outputs the results to the display and uploads the data to the MES.

[0303] Notify the software and hardware control device to shield the exit grating, send a message to the AGV car to release the operation, and after the car leaves the station, re-enable the exit grating and start the next cycle.

[0304] The above description is only a preferred embodiment of the present application and does not limit the patent scope of the present application. All equivalent structural transformations made by using the contents of the present application description and drawings under the inventive concept of the present application, or direct / indirect application in other related technical fields are included in the patent protection scope of the present application.

Claims

1. A visual inspection device, wherein: include: Image acquisition device; A driving device, wherein the driving device is connected to the image acquisition device to drive the image acquisition device to move back and forth along the length direction of the glue coating area of ​​the lower box body to collect a detection image of the entire glue coating area; as well as A controller is electrically connected to the image acquisition device and the driving device to control the acquisition of the image acquisition device and the operation of the driving device.

2. The visual inspection device according to claim 1, wherein: The visual inspection device also includes a light source, which is disposed on one side of the image acquisition device and is electrically connected to the controller, and is used to emit light toward the glue coating area.

3. The visual inspection device according to claim 2, wherein: The image acquisition device includes a line scan camera; And / or, the light source includes a linear light source.

4. The visual inspection device according to claim 2 or 3, wherein: The light source includes a first light source and a second light source. The first light source is arranged on one side of the image acquisition device in the moving direction, and the second light source is arranged on the other side of the image acquisition device in the moving direction. The first light source and the second light source have different emission angles.

5. The visual inspection device according to claim 4, wherein: The controller is also used to turn on the first light source and control the image acquisition device to move from one side of the glue-coated area in the length direction to the other side opposite thereto; turn on the second light source and control the image acquisition device to move from the other side of the glue-coated area in the length direction to the side opposite thereto.

6. The visual inspection device according to any one of claims 2 to 5, wherein: The light source is movably arranged relative to the image acquisition device to adjust the emission angle of the light source relative to the horizontal plane; And / or, the angle between the emission angle of the light source and the axis of the image acquisition device is greater than or equal to 30° and less than or equal to 60°.

7. A detection method of a visual detection device, wherein the visual detection device comprises a driving device, an image acquisition device and a controller, wherein: The detection method comprises the following steps: Sending a driving instruction to the driving device so that the driving device drives the image acquisition device to reciprocate along the length direction of the glue coating area of ​​the lower box, and simultaneously sending an image acquisition instruction to the image acquisition device so that the image acquisition device acquires a detection image of the glue coating area; The detection image is acquired and sent to a server.

8. The detection method of the visual detection device according to claim 7, wherein: The visual detection device comprises a first light source and a second light source, wherein the first light source is arranged on one side of the image acquisition device in the moving direction, and the second light source is arranged on the other side of the image acquisition device in the moving direction, and the first light source and the second light source have different emission angles. The detection method of the visual detection device comprises: Sending an instruction to turn on the first light source; Sending a driving instruction to the driving device to move the image acquisition device from one side of the glue coating area close to the first light source to the other side opposite thereto, and sending an acquisition instruction to the image acquisition device to acquire a first image; Acquire the first image and send it to the server; Sending an instruction to turn on the second light source and turn off the first light source; Sending a driving instruction to the driving device to move the image acquisition device from one side of the glue coating area close to the second light source to the other side opposite thereto, and sending an acquisition instruction to the image acquisition device to acquire a second image; The second image is acquired and sent to the server.

9. A detection system, wherein: include: A visual inspection device, which is a visual inspection device as claimed in claims 1 to 6; and The server is electrically connected to the controller and is used to receive and determine whether the glue coating area meets the standards according to the detection image.

10. The detection system according to claim 9, wherein: The detection system further comprises a base, the base comprising two frames arranged opposite to each other and a crossbeam slidably connected to the two frames, and the lower box is placed between the two frames; The driving device of the visual inspection device is installed on the frame and is driven and connected to the crossbeam. The image acquisition device is arranged on the crossbeam and is located above the gluing area of ​​the lower box body so as to reciprocate in the length direction of the gluing area under the drive of the driving device.

11. The detection system according to claim 10, wherein: The detection system also includes a first driving module and a light source. The light source is arranged on one side of the image acquisition device. The first driving module is arranged on the crossbeam and is driven and connected to the image acquisition device and the light source to drive the image acquisition device and the light source to reciprocate in the width direction of the glue coating area.

12. The detection system according to claim 11, wherein: The detection system also includes a second driving module, the crossbeam is equipped with a slider, the first driving module is drivingly connected to the slider, the second driving module is installed on the slider and is drivingly connected to the image acquisition device and the light source to drive the image acquisition device and the light source to reciprocate in the thickness direction of the glue coating area.

13. The detection system according to any one of claims 10 to 12, wherein: The detection system further comprises a lifting mechanism, which is arranged between the two frames and is drivingly connected to the lower box body to drive the lower box body to reciprocate in the vertical direction.

14. The detection system of claim 13, wherein: The lifting mechanism includes a base, a lifting assembly arranged on the base and two clamping members arranged opposite to each other. The two clamping members can move towards or away from each other to clamp or release the lower box body. The lifting assembly drives and connects the clamping members to drive the clamping members to rise or fall.

15. The detection system according to any one of claims 9 to 14, wherein: The server is used to send a detection instruction to the controller so that the image acquisition device acquires at least two detection images; The server is also used to obtain at least two detection images, and after performing image fusion on the at least two detection images to eliminate image reflections, determine whether the glue coating area meets the standards.

16. The detection system according to any one of claims 10 to 14, wherein: The detection system also includes two grating gates, and a detection channel is formed between the two frames. The extension direction of the detection channel is consistent with the length direction of the glue coating area. The detection channel has an entrance and an exit that are relatively set. One of the grating gates is set at the entrance of the detection channel, and the other grating gate is set at the exit of the detection channel.

17. The detection system according to any one of claims 10 to 14, wherein: The detection system comprises an origin sensor and a limit sensor. The origin sensor is arranged at the initial position of the image acquisition device and the light source, and the limit sensor is arranged on the moving path of the image acquisition device and the light source.

18. A detection method of a detection system, wherein: The detection system includes a visual detection device, a server and a light source, and the detection method of the detection system includes the steps of: The server receives the detection request of the lower cabinet and sends the detection instruction to the controller; The controller receives the detection instruction, sends a driving instruction to the driving device, and sends a collection instruction to the image collection device; The driving device drives the image acquisition device and the light source to reciprocate in the length direction of the glue coating area of ​​the lower box body, and the image acquisition device acquires the detection image and sends it to the controller; The server receives the detection image sent by the controller and performs processing and analysis to determine whether the glue coating area of ​​the lower box body meets the standards.

19. The detection method of the detection system according to claim 18, wherein: The controller receives the detection instruction, sends a driving instruction to the driving device, and sends a collection instruction to the image collection device, including: The controller receives the detection instruction and sends a reset instruction to the driving device; The driving device drives the image acquisition device and the light source to return to the initial detection position; The controller sends a driving instruction to the driving device and simultaneously sends an acquisition instruction to the image acquisition device.

20. The detection method of the detection system according to claim 18 or 19, wherein: The light source includes a first light source and a second light source, the first light source is arranged on one side of the image acquisition device in the moving direction, and the second light source is arranged on the other side of the image acquisition device in the moving direction, the first light source and the second light source have different emission angles, the detection instruction includes at least collecting a first image and a second image, and the detection method includes: The controller issues an instruction to turn on the first light source and turn off the second light source, and sends a first driving instruction; The driving device receives the first driving instruction, and drives the image acquisition device and the light source to move from one side of the glue coating area of ​​the lower box body in the length direction to the other opposite side, and the image acquisition device acquires a first image and sends it to the controller; The controller issues an instruction to turn on the second light source and turn off the first light source, and sends a second driving instruction; The driving device receives the second driving instruction, and drives the image acquisition device and the light source to move from the other side in the length direction of the glue coating area of ​​the lower box to the opposite side, and the image acquisition device acquires the second image and sends it to the controller; The server receives the first image and the second image sent by the controller and performs image fusion processing to eliminate image reflections, thereby obtaining a target detection image of the glue-coated area; The server determines whether the glue-coated area meets the standards based on the target detection image.

21. The detection method of the detection system according to claim 20, wherein: The server receives the first image and the second image sent by the controller and performs image fusion processing to eliminate image reflection, and obtains the target detection image of the glue-coated area, including: The server performs grayscale processing on the first image and the second image respectively to obtain a first grayscale image and a second grayscale image; The server performs binarization processing on the first grayscale image and the second grayscale image to obtain a first binarized grayscale image and a second binarized grayscale image; The server obtains the intersection area of ​​the binary grayscale image 1 and the binary grayscale image 2 to obtain a non-reflective area; The server calculates the highlight area and shadow area of ​​the first image and the highlight area and shadow area of ​​the second image according to the binary grayscale image 1, the binary grayscale image 1 and the non-reflective area; The server sets preset weights according to the highlight areas and shadow areas of the first image and the second image respectively, and superimposes the two to obtain the target detection image.

22. The detection method of the detection system according to claim 21, wherein: The step of setting a preset weight according to the highlight area and the shadow area of ​​the first image and the second image respectively to superimpose the two to obtain the target detection image includes: The server sets the weight of the shadow area of ​​one of the first image and the second image at the overlapped position to be x, and the weight of the shadow area of ​​the other image to be 1-x; The server sets the highlight area of ​​one of the first image and the second image to 0, and the shadow area of ​​the corresponding position of the other image to 1; The server superimposes the first image and the second image to obtain the target detection image.

23. The detection method of the detection system according to any one of claims 20 to 22, wherein: The step of judging the compliance of the glue coating area according to the target detection image comprises: The server obtains a standard detection image and performs a comparison calculation with the target detection image; If the comparison values ​​are consistent, the server determines that the glue-coated area meets the standards.

24. The detection method of the detection system according to claim 19, wherein: The detection system further includes a lifting structure, and after the step of the driving device driving the image acquisition device and the light source to return to the initial detection position, the detection system includes the following steps: The controller sends a lifting instruction to the lifting mechanism; The lifting mechanism lifts the lower box body to a preset height so that the tray carrying the lower box body is parallel to the horizontal plane.

25. The detection method of the detection system according to claim 24, wherein: After the step of the lifting mechanism lifting the lower box body to a preset height so that the tray carrying the lower box body is parallel to the horizontal plane, the method further includes: The controller issues a detection instruction to detect whether the glue coating area of ​​the lower box is on a horizontal plane; If not, the controller sends a leveling drive command to the drive device; The driving device drives the image acquisition device to move in the length direction of the glue coating area of ​​the lower box body and in the vertical direction at the same time, so that the moving path of the image acquisition device is parallel to the surface of the glue coating area, and the detection image is acquired.

26. A detection method of a detection system, wherein: The detection system includes a visual detection device, a server and a light source, and the detection method of the detection system includes the steps of: Receive a detection request for the lower box body, and send a detection instruction to the controller, so that the controller controls the driving device to drive the image acquisition device and the light source to reciprocate in the length direction of the glue coating area of ​​the lower box body, and the image acquisition device acquires a detection image; The detection image is received and processed and analyzed to determine whether the gluing area of ​​the lower box body meets the standards.

27. The detection method of the detection system according to claim 26, wherein: The detection instruction includes at least the steps of collecting a first image and a second image, receiving the detection image and performing processing and analysis to determine whether the gluing area of ​​the lower box body meets the standard, including receiving the first image and the second image sent by the controller and performing image fusion processing to eliminate image reflections, thereby obtaining a target detection image of the glue-coated area; The compliance status of the glue-coated area is determined according to the target detection image.

28. The detection method of the detection system according to claim 27, wherein: The step of receiving the first image and the second image sent by the controller and performing image fusion processing to eliminate image reflection and obtain the target detection image of the glue-coated area includes: Performing grayscale processing on the first image and the second image respectively to obtain a first grayscale image and a second grayscale image; Binarizing the first grayscale image and the second grayscale image to obtain a first binary grayscale image and a second binary grayscale image; Obtaining the intersection area of ​​the binary grayscale image 1 and the binary grayscale image 2 to obtain a non-reflective area; According to the binary grayscale image 1, the binary grayscale image 1 and the non-reflective area, a highlight area and a shadow area of ​​the first image and a highlight area and a shadow area of ​​the second image are calculated; According to the highlight area and shadow area of ​​each of the first image and the second image, a preset weight is set to superimpose the two to obtain the target detection image.

29. The detection method of the detection system according to claim 28, wherein: The step of setting a preset weight according to the highlight area and the shadow area of ​​the first image and the second image respectively to superimpose the two to obtain the target detection image includes: Setting the weight of the shadow area at the overlapped position of one of the first image and the second image to x, and the weight of the shadow area of ​​the other image to 1-x; Setting the highlight area of ​​one of the first image and the second image to 0 and the shadow area of ​​the corresponding position of the other image to 1; The first image and the second image are superimposed to obtain the target detection image.

30. The detection method of the detection system according to any one of claims 27 to 29, wherein: The step of judging the compliance of the glue coating area according to the target detection image comprises: Obtain a standard detection image, and perform a comparison calculation with the target detection image; If the comparison values ​​are consistent, it is determined that the glue-coated area meets the standards.

Citation Information

Patent Citations

  • Online vision inspection method for surface gluing of engine and gearbox

    CN106949925A

  • Image processing method and device, computer system and storage medium

    CN114863081A

  • Adhesive detecting system for lower engine cylinder block or engine cylinder block

    CN202033295U

  • Visual inspection equipment for large printed matters

    CN209707400U

  • Product gluing detection equipment

    CN217586962U