patents.google.com

CN117557567B - Detection method of cell ray source equipment, cell ray source equipment and system - Google Patents

  • ️Fri May 31 2024

Disclosure of Invention

In view of the foregoing, it is desirable to provide a method, a device, and a system for detecting a cell radiation source device, which are capable of monitoring the state of the cell radiation source device in real time.

In a first aspect, the present application provides a method for detecting a cell radiation source device. The method comprises the following steps:

Acquiring a product image of a product to be detected, which is acquired by the battery cell ray source equipment on a product logistics line;

evaluating the quality of the product image to obtain an evaluation result;

and detecting the cell ray source equipment according to the evaluation result to obtain a detection result.

According to the detection method of the battery cell ray source equipment, the product image of the product to be detected, which is acquired on the product logistics line by the battery cell ray source equipment, is acquired, and the quality of the product image is evaluated, so that an evaluation result is obtained; and detecting the cell ray source equipment according to the evaluation result to obtain a detection result. The method realizes the self-checking method of the cell ray source equipment on the product logistics line, and the quality of the product image of the product to be checked can reflect the health state of the cell ray source equipment, so that the method can realize the effect of grasping the health state of the cell ray source equipment in real time by monitoring the product image of the product to be checked in real time in the product detection process on the product logistics line, and further can reduce the influence of the detection quality of the product to be checked due to the fault of the cell ray source equipment in the product detection process to a certain extent, thereby improving the productivity of the product to be checked to a certain extent.

In one embodiment, the detecting the radiation source according to the product image to obtain a detection result includes:

identifying a target area and a background area in the product image to obtain target area image data and a background area image;

and evaluating the quality of the product image according to the target area image and the background area image to obtain an evaluation result.

According to the detection method provided by the embodiment of the application, detection is performed based on different areas in the product image, so that the image quality is evaluated in a targeted manner, the accuracy of image identification can be improved to a certain extent, and the accuracy of detecting the cell ray source equipment based on the image quality is improved.

In one embodiment, the evaluating the quality of the product image according to the target area image and the background area image to obtain an evaluation result includes:

If the pixel point with the gray value larger than the first gray threshold value exists in the target area image and/or the pixel point with the gray value larger than the second gray threshold value exists in the background area image, determining that the quality of the product image is not in accordance with the preset quality requirement by the evaluation result;

If no pixel point with the gray value larger than the first gray threshold exists in the target area image and no pixel point with the gray value larger than the second gray threshold exists in the background area image, determining that the evaluation result indicates that the quality of the product image meets the preset quality requirement.

According to the detection method provided by the embodiment of the application, the image quality is evaluated based on the gray value of each pixel point in the product image, so that the efficiency of image identification can be improved to a certain extent, and the efficiency of detecting the cell ray source equipment based on the image quality is improved.

In one embodiment, the product image includes multiple frames of product images, and the evaluating the quality of the product image according to the target area image and the background area image to obtain an evaluation result includes:

Determining first fluctuation information of gray value mean value changes of target area images in product images of all frames along with time;

Determining second fluctuation information of gray value mean value changes of background area images in the product images of all frames along with time;

And evaluating the quality of the product image according to the first fluctuation information and the second fluctuation information to obtain an evaluation result.

According to the detection method provided by the embodiment of the application, the image quality is estimated based on the change condition of the gray value mean value of each region in the product image, and the accuracy of judging the image quality can be improved to a certain extent, so that the accuracy of detecting the cell ray source equipment based on the image quality is improved.

In one embodiment, the evaluating the quality of the product image according to the first fluctuation information and the second fluctuation information to obtain an evaluation result includes:

If the first fluctuation information indicates that the change rate of the gray value mean value of the target area image along with time is larger than a first preset change rate threshold value, or the change rate of the gray value mean value of the background area image along with time is larger than a second preset change rate threshold value, determining that the evaluation result indicates that the quality of the product image does not meet the preset quality requirement;

if the first fluctuation information indicates that the change rate of the gray value mean value of the target area image along with time is not greater than a first preset change rate threshold value, and the change rate of the gray value mean value of the background area image along with time is not greater than a second preset change rate threshold value, determining that the evaluation result indicates that the quality of the product image meets the preset quality requirement.

According to the detection method provided by the embodiment of the application, the image quality is estimated based on the fluctuation information of each region in the product image, so that the accuracy of judging the image quality can be improved to a certain extent, and the accuracy of detecting the cell ray source equipment based on the image quality is improved.

In one embodiment, the detecting the electrical core radiation source device according to the evaluation result, to obtain a detection result, includes:

Determining whether the evaluation result meets a preset quality requirement;

if the evaluation result shows that the quality of the product image does not meet the preset quality requirement, determining that the detection result is abnormal in the battery cell ray source equipment;

And if the evaluation result shows that the quality of the product image meets the preset quality requirement, determining that the detection result is that the cell ray source equipment is normal.

According to the detection method disclosed by the embodiment of the application, the battery cell ray source equipment is detected through the evaluation result of evaluating the quality of the product image, the characteristic that the quality of the product image can directly react with the health state of the battery cell ray source equipment can be fully utilized, the product image is fully utilized to finish detection in the detection process in the process of detecting the product to be detected by using the battery cell ray source equipment, the special detection image of the battery cell ray source equipment is not required to be additionally acquired, and the detection cost can be reduced to a certain extent.

In one embodiment, the method further comprises:

And if the detection result is that the cell ray source equipment is abnormal, outputting alarm information, wherein the alarm information is used for indicating the maintenance of the cell ray source equipment.

According to the method provided by the embodiment of the application, by outputting the alarm information when the battery cell ray source equipment is abnormal, a detector can timely perform on-line maintenance, off-line maintenance or fault investigation on the battery cell ray source equipment, so that the influence on product detection caused by the potential fault of the battery cell ray source equipment is reduced, and the detection accuracy of the product detection is further improved.

In one embodiment, the method further comprises:

and under the condition that a waiting signal sent by a product controller on the product logistics line is received, controlling the cell ray source equipment to enter a dormant state.

According to the detection method provided by the embodiment of the application, the battery cell ray source equipment is dormant under the non-detection state by the product controller on the battery cell ray source equipment linkage product logistics line, so that the service life of the battery cell ray source equipment can be prolonged to a certain extent, and the energy-saving effect can be achieved.

In one embodiment, the controlling the electrical core radiation source device to enter the sleep state under the condition of receiving the waiting signal sent by the product controller on the product logistics line includes:

Under the condition that a waiting signal sent by a product controller on the product logistics line is received, starting a timing device to perform timing, and controlling the cell ray source equipment to enter a dormant state when the recorded time length is longer than a preset dormant time length.

According to the detection method provided by the embodiment of the application, the battery cell ray source equipment is dormant under the non-detection state by the product controller on the battery cell ray source equipment linkage product logistics line, so that the service life of the battery cell ray source equipment can be prolonged to a certain extent, and the energy-saving effect can be achieved.

In one embodiment, the controlling the radiation source to enter a sleep state includes:

And controlling an emergent module in the cell ray source equipment to stop emergent light so that the cell ray source equipment is in the dormant state.

According to the detection method provided by the embodiment of the application, when the product material line is in the waiting state, the emergent module can stop emergent light, so that the resource waste phenomenon of the emergent module of an important part in the cell ray source equipment can be reduced to a certain extent, and the service life of the cell ray source equipment is further prolonged.

In one embodiment, the controlling the exit module in the electrical core radiation source apparatus to stop light emission includes:

And disconnecting a passage between a power module in the ray source and the emergent module to stop the emergent module from emitting light.

According to the detection method provided by the embodiment of the application, when the emergent module is controlled to stop emergent light, the control response speed can be improved to a certain extent by disconnecting the power supply connected with the emergent module, so that the resource waste phenomenon of the emergent module which is an important part in the cell ray source equipment is reduced, and the service life of the cell ray source equipment is prolonged.

In one embodiment, the method further comprises:

And disconnecting a path between a power module and other components in the cell ray source equipment and connecting a path between an auxiliary power module and the other components in the cell ray source equipment so that the auxiliary power module supplies power for the other components.

According to the detection method disclosed by the embodiment of the application, when the product material line is in the waiting state, the light emission of the emergent module is stopped, the main power module is stopped to work, the auxiliary power module is used for supplying power to other parts which do not need much electric quantity, the energy-saving effect is achieved to a certain extent, the waste of detection resources can be reduced, and the service life of the cell ray source equipment is prolonged.

In one embodiment, the method further comprises:

and under the condition that a detection signal sent by the product controller is received, controlling the ray source to enter a detection state.

According to the detection method provided by the embodiment of the application, the battery cell ray source equipment is linked with the product controller on the product logistics line, so that the battery cell ray source equipment is automatically converted from the dormant state to the detection state in the detection state, the state switching can be performed by matching the feeding and discharging states of the product logistics line, the service life of the battery cell ray source equipment can be prolonged to a certain extent, and the energy-saving effect can be achieved.

In a second aspect, the present application also provides a device for a cell radiation source. The battery cell ray source equipment comprises an image acquisition module, a power supply module, an emergent module and a control module; the control module is respectively connected with the image acquisition module, the power supply module and the emergent module, and the emergent module is connected with the power supply module;

the control module is configured to perform the detection method according to the first aspect.

In a third aspect, the application also provides a product detection system. The product detection system comprises a product to be detected, a product logistics line and the cell ray source device according to the second aspect; the product to be detected is arranged in a detection area on the product logistics line, and the cell ray source equipment is arranged at the surrounding position of the detection area.

In a fourth aspect, the present application also provides a computer device. The computer device comprises a memory storing a computer program and a processor implementing the method of the first aspect described above when executing the computer program.

In a fifth aspect, the present application also provides a computer-readable storage medium. The computer readable storage medium has stored thereon a computer program which, when executed by a processor, implements the method of the first aspect described above.

The foregoing description is only an overview of the present application, and is intended to be implemented in accordance with the teachings of the present application in order that the same may be more clearly understood and to make the same and other objects, features and advantages of the present application more readily apparent.

Detailed Description

The present application will be described in further detail with reference to the drawings and examples, in order to make the objects, technical solutions and advantages of the present application more apparent. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the application.

Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs; the terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application; the terms "comprising" and "having" and any variations thereof in the description of the application and the claims and the description of the drawings above are intended to cover a non-exclusive inclusion.

In the description of embodiments of the present application, the technical terms "first," "second," and the like are used merely to distinguish between different objects and are not to be construed as indicating or implying a relative importance or implicitly indicating the number of technical features indicated, a particular order or a primary or secondary relationship. In the description of the embodiments of the present application, the meaning of "plurality" is two or more unless explicitly defined otherwise.

Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment may be included in at least one embodiment of the application. The appearances of such phrases in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. Those of skill in the art will explicitly and implicitly appreciate that the embodiments described herein may be combined with other embodiments.

At present, in the process of detecting the battery cell, an X-ray source device is generally used for acquiring images of the battery cell on a battery cell logistics line to realize battery cell detection, so that the health condition of the X-ray source device directly influences the detection quality of the battery cell, namely, the state of the X-ray source device is monitored in the battery cell detection process, and potential faults of the X-ray source device are timely found, so that the problem that the quality detection of the battery cell is affected by poor picture effect of the X-ray source device, and the production efficiency of the battery cell is reduced is solved. In view of the above problems, the following embodiments of the present application provide a method for detecting a cell radiation source device, and a product detection system, which can implement health detection of an X-cell radiation source device, and improve the service life of the X-cell radiation source device.

The detection method of the cell ray source device provided by the embodiment of the application can be applied to an application environment shown in fig. 1. The electric core ray source device 102 is connected with the product controller 104, the electric core ray source device 102 is arranged on the product logistics line 106, and the light outlet of the electric core ray source device is aligned with the product 108 to be detected on the product logistics line; the cell ray source device 102 is used for collecting a product image of a product 108 to be detected and performing product detection or self-detection based on the product image; the product controller 104 is configured to control the feeding or discharging operation of the product 108 to be detected on the product flow line 106, and monitor the feeding state, the waiting state, and the discharging state of the product 108 to be detected.

In one embodiment, as shown in fig. 2, a method for detecting a cell radiation source device is provided, and the method is applied to the cell radiation source device in fig. 1 for illustration, and includes the following steps:

S201, acquiring a product image of a product to be detected, which is acquired on a product logistics line by the battery cell ray source equipment.

Wherein, the product streamline is provided with the product to be detected after the material loading. The product to be detected can be a battery pack to be detected, and also can be a battery core to be detected. The product image may be an overall structure image of the product, a side image of the product, or an end image of the product. Alternatively, the product image may be a battery cell image or a battery cell image.

In the embodiment of the application, the cell ray source equipment can be arranged on a product logistics line, the light outlet of the cell ray source equipment is aligned to a product to be detected, the emergent module can project X-rays onto the product to be detected, and the image acquisition module can receive or detect reflected light beams on the product to be detected and construct a product image of the product to be detected based on the reflected light beams. When the battery cell ray source equipment is used for detecting the product to be detected on the product logistics line, the emergent module and the image acquisition module can be started to obtain the product image of the product to be detected according to the method.

S202, evaluating the quality of the product image to obtain an evaluation result.

The evaluation result is used for indicating that the quality of the product image meets the preset quality requirement or that the quality of the product image does not meet the preset quality requirement. Alternatively, the evaluation result may also include an index parameter for representing the quality of the product image, for example, the index parameter may include at least one of a signal-to-noise ratio, brightness, sharpness, gray-scale value, and the like.

In the embodiment of the application, when the battery cell ray source equipment acquires the product image of the product to be detected based on the steps, the quality of the product image can be evaluated to obtain an evaluation result, and when the evaluation result is used for indicating that the quality of the product image meets the preset quality requirement or that the quality of the product image does not meet the preset quality requirement, the quality of the product image can be evaluated based on indexes such as the signal-to-noise ratio of the image, the brightness of the image, the definition of the image, the gray value of the image and the like, and the corresponding preset quality requirement can be predetermined according to the corresponding evaluation use indexes, for example, if the signal-to-noise ratio of the image is adopted to evaluate the quality of the product image, the preset quality requirement is that the signal-to-noise ratio of the product image is larger than the preset signal-to-noise ratio threshold; if the brightness of the image is adopted to evaluate the quality of the product image, the preset quality requirement is that the brightness of the product image is larger than a preset brightness threshold value; if the quality of the product image is evaluated by adopting the definition of the image, the preset quality requirement is that the definition of the product image is larger than a preset definition threshold; if the gray value of the image is adopted to evaluate the quality of the product image, the preset quality requirement is that the gray value of the product image is not greater than a preset gray threshold, wherein the gray value of the image refers to the gray value of each pixel point on the image, and also refers to the average value of the gray values of all the pixel points on the image. Optionally, when the cell radiation source device acquires a product image of a product to be inspected based on the foregoing steps, the quality of the product image may be evaluated to obtain an evaluation result including an index parameter for representing the quality of the product image, for example, after the quality of the product image is evaluated, an evaluation result of at least one of a signal-to-noise ratio of the product image, or brightness of the product image, sharpness of the product image, and gray value of the product image may be obtained.

And S203, detecting the cell ray source equipment according to the evaluation result to obtain a detection result.

The detection result may be abnormal or normal.

In the embodiment of the application, when the battery cell ray source equipment acquires the product image of the product to be detected based on the steps, the quality of the product image can be evaluated to obtain an evaluation result; the cell ray source equipment can be further detected according to the evaluation result to obtain a detection result; for example, when the evaluation result indicates whether the quality of the product image meets the preset quality requirement, if the evaluation result indicates that the quality of the product image meets the preset quality requirement, the product quality is excellent, and at this time, it can be determined that the detection result indicates that the cell radiation source device is normal; if the evaluation result indicates that the quality of the product image does not meet the preset quality requirement, the product quality is poor, and at the moment, the detection result can be determined to indicate that the cell ray source equipment is abnormal. Optionally, when the evaluation result includes an index parameter of image quality, it may be further determined whether the index parameter of the product image meets a preset index requirement, and if so, it may be determined that the detection result indicates that the electrical core radiation source device is normal; if the detection result does not accord with the detection result, the detection result can be determined to indicate that the cell ray source equipment is abnormal; when the index parameters of the product image are multiple, for example, the definition and the gray value of the product image can be set, and when the definition and the gray value of the product image meet the respective index requirements, the detection result is determined to indicate that the cell ray source equipment is normal; or setting that when only one of the definition and gray value of the product image meets the corresponding index requirement, the detection result can be determined to indicate that the cell ray source equipment is normal; correspondingly, when one of the definition and gray value of the product image does not meet the respective index requirement, determining that the detection result indicates that the cell ray source equipment is abnormal; when the definition and gray value of the product image do not meet the respective index requirements, determining that the detection result indicates that the cell ray source equipment is abnormal. It should be noted that, the index requirements corresponding to the parameter indexes may be determined according to the actual image types and the detection requirements, which is not limited herein.

According to the detection method of the battery cell ray source equipment, the product image of the product to be detected, which is acquired on the product logistics line by the battery cell ray source equipment, is acquired, and the quality of the product image is evaluated, so that an evaluation result is obtained; and detecting the cell ray source equipment according to the evaluation result to obtain a detection result. The method realizes the self-checking method of the cell ray source equipment on the product logistics line, and the quality of the product image of the product to be checked can reflect the health state of the cell ray source equipment, so that the method can realize the effect of grasping the health state of the cell ray source equipment in real time by monitoring the product image of the product to be checked in real time in the product detection process on the product logistics line, and further can reduce the influence of the detection quality of the product to be checked due to the fault of the cell ray source equipment in the product detection process to a certain extent, thereby improving the productivity of the product to be checked to a certain extent.

In one embodiment, an implementation manner of S202 is provided, as shown in fig. 3, that is, "evaluate quality of product image, obtain evaluation result" includes:

S301, identifying a target area and a background area in the product image to obtain a target area image and a background area image.

The target area is an area where the product is located in the product image, and the background area is an image area except the product in the product image.

In the embodiment of the application, when the product image is acquired by the cell ray source equipment, the product image can be further processed, namely, the image belonging to the target area and the image belonging to the background area are identified. Optionally, during identification, a segmentation network may be used to segment two regions in the product image, so as to obtain the target region image and the background region image. Alternatively, two different segmentation networks may be used to segment two regions in the product image respectively, so as to obtain the target region image and the background region image.

S302, evaluating the quality of the product image according to the target area image and the background area image to obtain an evaluation result.

The evaluation results comprise a first evaluation result for evaluating the quality of the target area image and a second evaluation result for evaluating the quality of the background area image. The first evaluation result is used for indicating that the quality of the target area image meets the quality requirement of the preset target area or that the quality of the target area image does not meet the quality requirement of the preset target area. Optionally, the first evaluation result may also include an index parameter for representing the quality of the image of the target area, for example, the index parameter may include at least one of a signal-to-noise ratio, brightness, sharpness, gray-scale value, and the like. The second evaluation result is used for indicating that the quality of the background area image meets the preset background area quality requirement or that the quality of the background area image does not meet the preset background area quality requirement. Alternatively, the second evaluation result may also include an index parameter for representing the quality of the background area image, for example, the index parameter may include at least one of a signal-to-noise ratio, brightness, sharpness, gray-scale value, and the like.

In the embodiment of the application, the target area image generally comprises an image of a product to be detected, for example, a cell to be detected, the background area image generally comprises a background image, for example, an environmental image in a detection area on a cell logistics line, and the quality of each area image has different effects on the detection quality of the product to be detected, for example, the quality of the target area image can not be influenced under the condition that the quality of some background area images is lower, and the quality of the target area image is in an information relation with the detection quality of the product to be detected, so when the cell radiation source equipment acquires the target area image and the background area image, the target area image and the background area image can be respectively evaluated to obtain a first evaluation result of the target area image and a second evaluation result of the background area image, and when the first evaluation result is used for representing that the quality of the target area image meets the quality requirement of a preset target area, or is used for representing that the quality of the target area image does not meet the quality requirement of the preset target area, wherein the quality of the target area image can be based on the signal to noise ratio, the brightness of the image, the quality of the image, the image of the target area image can be compared with the preset target area can be used as a clear signal to noise ratio if the preset area is required, and the signal to noise ratio is high; if the brightness of the image is adopted to evaluate the quality of the target area image, the quality requirement of the target area is preset to be that the brightness of the target area image is larger than a preset brightness threshold value; if the quality of the target area image is evaluated by adopting the definition of the image, presetting the quality requirement of the target area to be that the definition of the target area image is larger than a preset definition threshold; if the quality of the target area image is evaluated by adopting the gray value of the image, the preset target area quality requirement is that the gray value of the target area image is larger than a preset gray threshold, wherein the gray value of the target area image refers to the gray value of each pixel point on the target area image, and can also refer to the gray value average value of all the pixel points on the target area image.

Alternatively, when the cell radiation source device acquires the target area image based on the foregoing steps, the quality of the target area image may be evaluated to obtain a first evaluation result including an index parameter for representing the quality of the target area image, for example, after the quality of the target area image is evaluated, a first evaluation result of at least one of a signal-to-noise ratio of the target area image, or brightness of the product image, sharpness of the product image, gray value of the product image, and the like may be obtained.

Optionally, when the second evaluation result is used to indicate that the quality of the background area image meets the preset background area quality requirement, or is used to indicate that the quality of the background area image does not meet the preset background area quality requirement, where the quality of the background area image may be evaluated based on indexes such as a signal-to-noise ratio of the image, brightness of the image, sharpness of the image, gray value of the image, etc., and the corresponding preset background area quality requirement may be predetermined according to the corresponding evaluation usage index, for example, if the signal-to-noise ratio of the image is used to evaluate the quality of the target area image, the preset background area quality requirement is that the signal-to-noise ratio of the background area image is greater than the preset signal-to-noise ratio threshold; if the brightness of the image is adopted to evaluate the quality of the target area image, the quality requirement of the preset background area is that the brightness of the background area image is larger than a preset brightness threshold value; if the image definition is adopted to evaluate the quality of the background area image, the preset background area quality requirement is that the background area image definition is larger than a preset definition threshold; if the quality of the background area image is evaluated by adopting the gray value of the image, the preset background area quality requirement is that the gray value of the background area image is larger than a preset gray threshold, wherein the gray value of the background area image refers to the gray value of each pixel point on the background area image, and also refers to the gray value average value of all the pixel points on the background area image. It should be noted that the preset target area quality requirement and the preset background area quality requirement are different.

Optionally, when the cell radiation source device acquires the background area image based on the foregoing steps, the quality of the background area image may be evaluated to obtain a second evaluation result including an index parameter for representing the quality of the background area image, for example, after the quality of the background area image is evaluated, a second evaluation result of at least one of a signal-to-noise ratio of the background area image, or brightness of the product image, sharpness of the product image, gray value of the product image, and the like may be obtained.

In one embodiment, an implementation manner of S203 is provided, where the "detecting the cell radiation source device according to the evaluation result, to obtain the detection result" is shown in fig. 4, and includes:

S401, determining whether the evaluation result meets the preset quality requirement. If the evaluation result indicates that the quality of the product image does not meet the preset quality requirement, step S402 is executed, and if the evaluation result indicates that the quality of the product image meets the preset quality requirement, step S403 is executed.

S402, determining that the detection result is abnormal in the cell ray source equipment.

S403, determining that the detection result is that the cell ray source equipment is normal.

The preset quality requirement may be determined in advance according to a test requirement of the product to be tested, or according to an influence degree of the quality of the product to be tested, for example, the preset quality requirement includes a correspondence between the quality of the product image and the influence degree.

In the embodiment of the application, when one or more samples are subjected to stay wire detection on a product logistics line, corresponding product images with different qualities can be obtained in advance, for example, product images with different definition are obtained, or product images with different signal to noise ratios are obtained, or product images with different brightness are obtained, detection results corresponding to the one or more samples are obtained, detection quality corresponding to the one or more samples is determined based on the detection results of the samples, then the influence degree of the product images with different qualities on the product quality is evaluated, and the corresponding relation between the quality of the product images and the influence degree is constructed, so that the influence degree corresponding to the quality of the product image to be detected can be determined according to the corresponding relation when the battery cell ray source device detects the self health state. After the electric core ray source equipment acquires the evaluation result corresponding to the product image, if the evaluation result shows that the quality of the product image does not meet the preset quality requirement, determining that the detection result is abnormal; if the evaluation result shows that the quality of the product image meets the preset quality requirement, the detection result is determined to be that the cell ray source equipment is normal.

According to the detection method disclosed by the embodiment of the application, the battery cell ray source equipment is detected through the evaluation result of evaluating the quality of the product image, the characteristic that the quality of the product image can directly react with the health state of the battery cell ray source equipment can be fully utilized, the product image is fully utilized to finish detection in the detection process in the process of detecting the product to be detected by using the battery cell ray source equipment, the special detection image of the battery cell ray source equipment is not required to be additionally acquired, and the detection cost can be reduced to a certain extent.

Alternatively, when the quality of the product image is evaluated according to the target area image and the background area image based on the method described in the embodiment of fig. 3, a first evaluation value corresponding to the target area image and a second evaluation value corresponding to the background area image may be obtained, and the cell ray source device may evaluate the quality of the product image based on the first evaluation value and the second evaluation value, where the evaluation method specifically includes; if the first evaluation result of the target area image indicates that the quality of the target area image meets the preset target area quality requirement, and the second evaluation result of the background area image indicates that the quality of the background area image meets the preset background area quality requirement, determining that the evaluation result of the quality of the product image indicates that the quality of the product image meets the preset quality requirement, and the corresponding detection result indicates that the cell ray source equipment is normal.

Optionally, if there is a first evaluation result of the target area image that does not meet the quality requirement of the preset target area, or there is a first evaluation result of the background area image that does not meet the quality requirement of the preset background area, determining that the evaluation result of the quality of the product image indicates that the quality of the product image does not meet the quality requirement of the preset, and the corresponding determination and detection result indicates that the electrical core radiation source equipment is abnormal.

According to the detection method provided by the embodiment of the application, detection is performed based on different areas in the product image, so that the image quality is evaluated in a targeted manner, the accuracy of image identification can be improved to a certain extent, and the accuracy of detecting the cell ray source equipment based on the image quality is improved.

Optionally, an implementation manner of the foregoing S302 is provided, that is, when the cell radiation source device performs the foregoing step S302 "evaluate the quality of the product image according to the target area image and the background area image to obtain the evaluation result", as shown in fig. 5, the steps may specifically be performed:

s3021, determining the gray value of each pixel point in the target area image and the gray value of each pixel point in the background area image, and executing step S3022 if the pixel point with the gray value larger than the first gray threshold value exists in the target area image and/or the pixel point with the gray value larger than the second gray threshold value exists in the background area image; if there is no pixel with gray value greater than the first gray threshold in the target area image and there is no pixel with gray value greater than the second gray threshold in the background area image, step S3023 is executed.

S3022, determining that the quality of the product image represented by the evaluation result does not meet the preset quality requirement;

s3023, determining that the evaluation result indicates that the quality of the product image meets the preset quality requirement.

In the embodiment of the application, when the cell ray source equipment detects based on a product image of one frame and recognizes the target area image and the background area image, the gray value of each pixel point in the target area image and the gray value of each pixel point in the background area image can be directly determined. When the gray value larger than the first gray threshold value exists in the target area image, the pixel point corresponding to the gray value is determined to be an abnormal pixel point, and the target area image is indicated to be abnormal, so that the quality of the product image is determined to be not in accordance with the preset quality requirement according to the evaluation result, and the detection result of the battery cell ray source equipment based on the evaluation result is abnormal; or when the gray value larger than the second gray threshold exists in the background area image, determining the pixel point corresponding to the gray value as an abnormal pixel point, and indicating that the background area image is abnormal, so that the determination result shows that the quality of the product image does not meet the preset quality requirement, and the detection result of the electric core ray source equipment based on the evaluation result is abnormal, namely, only one image in the target area image and the background area image has the abnormal pixel point, and the electric core ray source equipment can be determined to be abnormal; correspondingly, when the gray value larger than the first gray threshold value is not found in the target area image, no abnormal pixel point is found in the target area image, namely the quality of the target area image meets the preset target area quality requirement, when the gray value larger than the second gray threshold value is found in the background area image, no abnormal pixel point is found in the background area image, namely the quality of the background area image meets the preset background area quality requirement, and the fact that no abnormal pixel point exists in the target area image and the background area image can be indicated, the evaluation result can be determined to indicate that the quality of the product image meets the preset quality requirement, and the detection result of the battery cell radiation source equipment is that the battery cell radiation source equipment is normal based on the evaluation result.

According to the detection method provided by the embodiment of the application, the image quality is evaluated based on the gray value of each pixel point in the product image, so that the efficiency of image identification can be improved to a certain extent, and the efficiency of detecting the cell ray source equipment based on the image quality is improved.

Optionally, another implementation manner of the step S302 is provided, that is, when the cell radiation source device performs the step S302 "evaluate the quality of the product image according to the target area image and the background area image to obtain the evaluation result", as shown in fig. 6, the steps may be specifically performed:

s3024, determining first fluctuation information of gray value mean value of target area images in product images of all frames along with time.

The first fluctuation information may include a change rate of a gray value mean value of the target area image in the product images of all frames over time; alternatively, the first fluctuation information may also include the fluctuation amount of the gray value mean value of the target area image in the product images of all frames over time. Alternatively, the first fluctuation information may also include a change curve of a gray value average value of the target area image in the product images of all frames over time.

In the embodiment of the application, when the cell ray source equipment detects based on multi-frame product images and identifies the target area image in each frame image, the gray value average value (the average value of the gray values of all pixel points) of the target area image in each frame image can be directly calculated, and then a change model of the gray value average value of the target area image of all frame images can be constructed, so that first fluctuation information of the gray value average value of the target area image in the product image of all frames changing along with time is obtained based on the change model. For example, the time-varying change rate of the average value of the gray values of the target area images in the product images of all frames, or the time-varying fluctuation amount of the average value of the gray values of the target area images in the product images of each frame, or the time-varying change curve of the average value of the gray values of the target area images in the product images of all frames is obtained.

S3025, determining second fluctuation information of gray value mean value of the background area image in the product images of all frames along with time.

The second fluctuation information may include a change rate of a gray value mean value of the background area image in the product images of all frames over time; alternatively, the second fluctuation information may also include the fluctuation amount of the average value of the gray value of the background area image with time in the product images of all frames. Alternatively, the second fluctuation information may also include a change curve of the average value of gray values of the background area image in the product images of all frames over time.

In the embodiment of the application, when the cell ray source equipment detects based on multi-frame product images and recognizes background area images in each frame of images, the gray value average value (the average value of gray values of all pixel points) of the background area images in each frame of images can be directly calculated, and then a change model of the gray value average value of the background area images of all frames of images can be constructed, so that second fluctuation information of the gray value average value of the background area images in all frames of product images changing along with time is obtained based on the change model. For example, the time-varying change rate of the average value of the gray values of the background area images in the product images of all frames, or the time-varying fluctuation amount of the average value of the gray values of the background area images in the product images of each frame, or the time-varying change curve of the average value of the gray values of the background area images in the product images of all frames is obtained.

And S3026, evaluating the quality of the product image according to the first fluctuation information and the second fluctuation information to obtain an evaluation result.

In the embodiment of the application, when the cell ray source device acquires the first fluctuation information of the target area image and the second fluctuation information of the background area image based on the steps, the quality fluctuation condition of the target area image can be further analyzed according to the first fluctuation information, the quality fluctuation condition of the background area image is analyzed according to the second fluctuation information, if the quality change of the target area image is smaller according to the first fluctuation information, and the quality change of the background area image is smaller according to the second fluctuation information, the evaluation result can be determined to indicate that the quality of the product image meets the preset quality requirement, and the detection result of the cell ray source device detection based on the evaluation result is that the cell ray source device is normal; if the quality change of the image of the target area is determined to be larger according to the first fluctuation information or the quality change of the image of the background area is determined to be larger according to the second fluctuation information, it can be determined that the quality of the product image represented by the evaluation result does not meet the preset quality requirement, and the detection result of the detection of the battery cell radiation source equipment based on the evaluation result is abnormal battery cell radiation source equipment. It should be noted that, the above method for determining the quality of the image of the target area may be determined according to the specific type of the first fluctuation information, and the method for determining the quality of the image of the background area may be determined according to the specific type of the second fluctuation information.

In an exemplary first aspect, if the first fluctuation information includes a change rate of a gray value average value of the target area image in the product images of all frames over time, when determining the quality of the target area image according to the first fluctuation information, the change rate may be compared with a preset change rate threshold, if the change rate is greater than the preset change rate threshold, the quality of the target area image is considered to be changed more, and if the change rate is not greater than the preset change rate threshold, the quality of the target area image is considered to be changed less. If the second fluctuation information includes a change rate of a gray value mean value of the background area image in the product images of all frames over time, a method for correspondingly determining the quality of the background area image is similar to the above method, and is not repeated here.

In an exemplary second aspect, if the first fluctuation information includes a fluctuation amount of a gray value average value of the target area image in the product images of all frames over time, the fluctuation amount of each frame may be compared with a preset change fluctuation threshold, if there is an image with a fluctuation amount greater than the preset change fluctuation threshold, the quality change of the target area image is considered to be larger, and if there is no image with a fluctuation amount greater than the preset change fluctuation threshold, the quality change of the target area image is considered to be smaller. If the second fluctuation information includes the fluctuation amount of the gray value mean value of the background area image in the product images of all frames along with the time change, the method for correspondingly determining the quality of the background area image is similar to the above method, and is not repeated here.

In an exemplary third aspect, if the first fluctuation information includes a change curve of a gray value average value of the target area image in the product images of all frames over time, if the change curve indicates that the gray value average value of the target area image is changed more, the quality change of the target area image is considered to be larger, and if the change curve indicates that the gray value average value of the target area image is changed less, the quality change of the target area image is considered to be smaller. If the second fluctuation information includes a change curve of the gray value mean value of the target area image in the product images of all frames along with the time change, a method for correspondingly determining the quality of the background area image is similar to the above method, and is not repeated here.

Exemplary four, for example, as shown in fig. 7, is a primary image of a cell photographed by an X-ray source device, which includes a non-cell imaging region 1, i.e., a target region, and a cell imaging region 2, i.e., a background region. The gray values of the two areas generally change between 065535, taking the average change of the gray values of the image areas as an example, the change with time can show certain regular fluctuation, so that the online monitoring of the X-ray source equipment can be realized by setting image thresholds and respectively monitoring the fluctuation conditions of the gray values of the two areas. Alternatively, on-line monitoring of the X-ray source device can be achieved by monitoring whether the change rule of the gray value mean value of each area image accords with a preset rule, and referring to the change curve of the gray value mean value of the target area image shown in fig. 8, the fluctuation condition of the target area image can be determined through the change curve.

Further, the method for evaluating the quality of the product image according to the first fluctuation information and the second fluctuation information to obtain an evaluation result comprises the following steps: if the first fluctuation information indicates that the change rate of the gray value mean value of the target area image along with the time is larger than a first preset change rate threshold value, or the change rate of the gray value mean value of the background area image along with the time is larger than a second preset change rate threshold value, determining that the quality of the product image indicated by the evaluation result does not meet the preset quality requirement; if the first fluctuation information indicates that the change rate of the gray value mean value of the target area image along with time is not greater than a first preset change rate threshold value, and the change rate of the gray value mean value of the background area image along with time is not greater than a second preset change rate threshold value, determining that the evaluation result indicates that the quality of the product image meets the preset quality requirement.

Optionally, the first fluctuation information includes a gray value of each pixel point in the target area image, and the second fluctuation information includes a gray value of each pixel point in the background area image; at this time, comparing the gray value of each pixel point in the target area image in the first fluctuation information with a first preset change rate threshold value, comparing the gray value of each pixel point in the background area image in the second fluctuation information with a second preset change rate threshold value, and if the gray value with the change rate larger than the first preset change rate threshold value exists in the first fluctuation information or the gray value with the change rate larger than the second preset change rate threshold value exists in the second fluctuation information, determining that the quality of the product image is not in accordance with the preset quality requirement; if no gray value with the change rate larger than the first preset change rate threshold exists in the first fluctuation information, and if no gray value with the change rate larger than the second preset change rate threshold exists in the second fluctuation information, determining that the quality of the product image is represented to meet the preset quality requirement by the evaluation result.

According to the detection method provided by the embodiment of the application, the image quality is estimated based on the change condition of the gray value mean value of each region in the product image, and the accuracy of judging the image quality can be improved to a certain extent, so that the accuracy of detecting the cell ray source equipment based on the image quality is improved.

In one embodiment, when the cell radiation source device detects based on the method described in any one of the embodiments, it is determined that the cell radiation source device is abnormal as a result of the detection, the cell radiation source device may further output alarm information, where the alarm information is used to instruct maintenance of the cell radiation source device. The alarm information can be voice alarm information or text alarm information, and after the battery cell ray source equipment outputs the alarm information, a detector can timely conduct on-line maintenance, off-line maintenance or fault investigation on the battery cell ray source equipment, so that the influence on product detection due to the potential fault of the battery cell ray source equipment is reduced, and the detection accuracy of the product detection is improved.

The following embodiments provide a detection method for improving the service life of a cell radiation source device, that is, in one embodiment, the cell radiation source device can be linked with a product controller on a product logistics line, and the working mode of the cell radiation source device is changed through linkage, so that the effect of saving energy or improving the service life of the device is achieved.

In one embodiment, as shown in fig. 9, the method described in the embodiment of fig. 2 further includes the steps of:

S204, under the condition that a waiting signal sent by a product controller on a product logistics line is received, controlling the cell ray source equipment to enter a dormant state.

The waiting signal indicates that the product logistics line is in a waiting state, i.e. no product to be detected exists on the product logistics line.

In the embodiment of the application, the electric core ray source equipment can be linked with the product controller on the product logistics line, and can specifically perform information interaction with the product controller, namely, receive any signal sent by the product controller, and receive the signal to be charged sent by the product controller, so that the electric core ray source equipment can automatically enter the dormant state when the state of the product logistics line is in the state of being charged at the moment.

According to the detection method provided by the embodiment of the application, the battery cell ray source equipment is dormant under the non-detection state by the product controller on the battery cell ray source equipment linkage product logistics line, so that the service life of the battery cell ray source equipment can be prolonged to a certain extent, and the energy-saving effect can be achieved.

In one embodiment, an implementation manner of controlling the radiation source to enter the sleep state is provided, that is, the step is specifically performed when the cell radiation source device performs the step 204: under the condition that a waiting signal sent by a product controller on a product logistics line is received, starting a timing device to perform timing, and controlling the cell ray source equipment to enter a dormant state when the recorded time length is longer than a preset dormant time length.

The product controller can be a programmable controller (Programmable Logic Controller, PLC) used for monitoring the feeding and discharging states of the products on the product logistics line.

In the embodiment of the application, the cell ray source equipment can comprise a hardware timing device or a logic program for realizing timing. When the electric core ray source equipment receives a waiting signal sent by the product controller, the product logistics line is in a waiting state at the moment, namely, no product to be detected is arranged on the product logistics line, the timing device can be started immediately to count time at the moment, the time is compared with a preset reasonable dormancy time (preset dormancy time), if the recorded time is longer than the preset dormancy time, the electric core ray source equipment is indicated to be wasting detection resources, and the electric core ray source equipment is required to enter the dormancy state at the moment, so that the electric core ray source equipment is controlled to stop detection work and enter the dormancy state immediately.

Optionally, a specific implementation manner of the electrical core radiation source device entering the sleep state is provided, that is, when the electrical core radiation source device performs the step of controlling the radiation source to enter the sleep state, the specific implementation steps are as follows: and controlling an emergent module in the ray source to stop emergent light, so that the cell ray source equipment is in a dormant state.

In the embodiment of the application, the accumulated light emitting duration of the emergent module (such as a ray tube in an X-ray source) in the cell ray source equipment is relatively fixed, and for the online cell ray source equipment, when a product logistics line is ready, if the emergent module continuously emits light, the waste of detection resources can be caused, and the service life of the cell ray source equipment can be reduced. According to the method, when the product material line is in a waiting state, the emergent module can stop emergent light, so that the resource waste phenomenon of the emergent module of an important part in the cell ray source equipment can be reduced to a certain extent, and the service life of the cell ray source equipment is further prolonged.

Optionally, the exit module in the electric core ray source device is connected with the power module, when the electric core ray source device is controlled to be in a dormant state, a path between the power module in the electric core ray source device and the exit module can be specifically disconnected so as to stop supplying power to the exit module, so that the exit module stops emitting light, and the electric core ray source device is in the dormant state. When the emergent module is controlled to stop emergent light, the method can be realized by disconnecting the power supply connected with the emergent module, so that the control response speed can be improved to a certain extent, the resource waste phenomenon of the emergent module which is an important part in the cell ray source equipment is reduced, and the service life of the cell ray source equipment is prolonged.

Optionally, when the cell ray source device further includes an auxiliary power module and other components, when the cell ray source device is controlled to be in a dormant state, the path between the power module and other components in the cell ray source device and the path between the auxiliary power module and other components in the cell ray source device are specifically disconnected, so that the auxiliary power module supplies power to other components.

In one embodiment, if the apparatus is in the sleep state, as shown in fig. 10, the method in the embodiment of fig. 9 further includes the steps of:

S205, when receiving the detection signal sent by the product controller, controlling the ray source to enter a detection state.

The material waiting signal indicates that the product logistics line is in a feeding state, namely a product to be detected exists on the product logistics line, namely the material waiting signal is used for indicating to start the battery cell ray source equipment to detect the product to be detected.

In the embodiment of the application, the electric core ray source equipment can be linked with the product controller on the product logistics line, and can specifically perform information interaction with the product controller, namely, receive any signal sent by the product controller, and receive the detection signal sent by the product controller, so that the electric core ray source equipment can automatically change from a dormant state to a detection state when the product logistics line is in a feeding state, and can specifically control the emergent module in the electric core ray source equipment to start to emit light, so that the electric core ray source equipment is restored to a normal light emitting state, namely, enters the detection state; or the power module can be specifically communicated with a passage between the power module and the emergent module, so that the power module can supply power for the emergent module to start the emergent module to normally emit light.

Optionally, after the electrical core radiation source device enters the sleep state, a preset time period estimated by combining the feeding time interval of the product may also be combined, and after the preset time period passes, the electrical core radiation source device automatically enters the detection state from the sleep state, and specifically, a mode of entering the detection state is consistent with the above, which is referred to above and is not repeated herein.

According to the detection method provided by the embodiment of the application, the battery cell ray source equipment is linked with the product controller on the product logistics line, so that the battery cell ray source equipment is automatically converted from the dormant state to the detection state in the detection state, the state switching can be performed by matching the feeding and discharging states of the product logistics line, the service life of the battery cell ray source equipment can be prolonged to a certain extent, and the energy-saving effect can be achieved.

The detection method described in all the above embodiments is further provided with a self-checking method of a cell radiation source device, as shown in fig. 11, where the method includes:

s501, acquiring a product image of a product to be detected, which is acquired by the cell ray source equipment on a product logistics line, in the process of detecting the product to be detected.

S502, identifying a target area and a background area in the product image to obtain a target area image and a background area image.

S503, determining the gray value of each pixel point in the target area image and the gray value of each pixel point in the background area image, and executing step S404 if the pixel point with the gray value larger than the first gray threshold value exists in the target area image and/or the pixel point with the gray value larger than the second gray threshold value exists in the background area image; if there is no pixel with gray value greater than the first gray threshold in the target area image and there is no pixel with gray value greater than the second gray threshold in the background area image, step S405 is executed.

S504, determining that the detection result is abnormal in the cell ray source equipment.

S505, determining that the detection result is that the cell ray source equipment is normal.

S506, determining first fluctuation information of gray value mean value of target area images in the product images of all frames along with time.

S507, determining second fluctuation information of the gray value mean value of the background area image in the product images of all frames along with the time change.

S508, detecting the cell ray source equipment according to the first fluctuation information and the second fluctuation information to obtain a detection result.

And S509, outputting alarm information if the detection result is that the cell ray source equipment is abnormal, wherein the alarm information is used for indicating that the cell ray source equipment is overhauled.

S510, under the condition that a waiting signal sent by a product controller on a product logistics line is received, starting a timing device to perform timing, and when the recording time is longer than the preset dormancy time, disconnecting a passage between a power module and an emergent module in the cell ray source equipment, stopping the emergent module from emitting light, and enabling the cell ray source equipment to be in a dormancy state.

S511, under the condition that a detection signal sent by the product controller is received, the cell ray source equipment is controlled to enter a detection state.

The above steps are described in the foregoing embodiments, and the detailed description is given in the foregoing description, which is not repeated here.

The detection method of the embodiment of the application realizes the method for monitoring the health state of the cell ray source equipment by the quality of the product image, and the cell ray source equipment automatically enters the dormant state when the product logistics line is in the waiting state by being linked with the product controller on the product logistics line, and automatically changes from the dormant state to the detection state when the product logistics line is in the feeding state, thereby realizing the autonomous detection and the state switching of the feeding and discharging states of the matched product logistics line, prolonging the service life of the cell ray source equipment to a certain extent, particularly the high cell ray source equipment comprising the emergent module, playing a certain role in protecting the emergent module in the high cell ray source equipment, and improving the endurance of the cell ray source equipment.

Based on any of the above embodiments, the embodiment of the present application further provides a cell radiation source device 1, as shown in fig. 12, where the cell radiation source device 1 includes an image acquisition module 10, a power supply module 11, an exit module 12, and a control module 13; the control module 13 is respectively connected with the image acquisition module 10, the power supply module 11 and the emergent module 12, the emergent module 12 is respectively connected with the power supply module 11 and the image acquisition module 10, and the power supply module 11 is also connected with the image acquisition module 10; a control module 13 for executing the detection method according to any of the above embodiments. In the process of detecting a product to be detected on a product logistics line, the cell ray source device 1 can also realize self-detection, namely self-detection on the health state of the cell ray source device, and a specific self-detection method is referred to the detection method and is not repeated here.

In one embodiment, as shown in fig. 13, the electrical core radiation source apparatus 1 shown in fig. 12 further includes: an auxiliary power module 14 and other components 15; the other components 15 are connected to the power supply module 11 and the auxiliary power supply module 14, respectively.

Based on any of the above embodiments, the present application further provides a product detection system 2, as shown in fig. 14, which includes a product 21 to be detected, a product streamline 22, a product controller 23, and the electrical core radiation source device 1 according to the foregoing embodiments; the product 21 to be detected is arranged in a detection area 24 on a product material flow line 22, the cell ray source device 1 is arranged at the surrounding position of the detection area 24, and the cell ray source device 1 is connected with a product controller 23.

In the process of detecting the product to be detected on the product logistics line, the product detection system 2 can also realize a detection method for the cell ray source device 1, namely, the health state of the cell ray source device 1 is detected, and the specific self-detection method is referred to the detection method and is not repeated herein.

It should be understood that, although the steps in the flowcharts related to the embodiments described above are sequentially shown as indicated by arrows, these steps are not necessarily sequentially performed in the order indicated by the arrows. The steps are not strictly limited to the order of execution unless explicitly recited herein, and the steps may be executed in other orders. Moreover, at least some of the steps in the flowcharts described in the above embodiments may include a plurality of steps or a plurality of stages, which are not necessarily performed at the same time, but may be performed at different times, and the order of the steps or stages is not necessarily performed sequentially, but may be performed alternately or alternately with at least some of the other steps or stages.

Based on the same inventive concept, the embodiment of the application also provides a detection device for realizing the detection method. The implementation of the solution provided by the device is similar to that described in the above method, so the specific limitation of the embodiment of the detection device or devices provided below may be referred to the limitation of the detection method of the cell radiation source device hereinabove, and will not be described herein.

In one embodiment, a computer device is provided, which may be a terminal, and an internal structure diagram thereof may be as shown in fig. 15. The computer device includes a processor, a memory, a communication interface, a display screen, and an input device connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The communication interface of the computer device is used for carrying out wired or wireless communication with an external terminal, and the wireless mode can be realized through WIFI, a mobile cellular network, NFC (near field communication) or other technologies. The computer program is executed by a processor to implement a method of detecting a cell source device. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, can also be keys, a track ball or a touch pad arranged on the shell of the computer equipment, and can also be an external keyboard, a touch pad or a mouse and the like.

It will be appreciated by those skilled in the art that the structure shown in fig. 15 is merely a block diagram of a portion of the structure associated with the present inventive arrangements and is not limiting of the computer device to which the present inventive arrangements are applied, and that a particular computer device may include more or fewer components than shown, or may combine certain components, or have a different arrangement of components.

In one embodiment, a computer device is provided comprising a memory and a processor, the memory having stored therein a computer program, the processor when executing the computer program performing the steps of:

Acquiring a product image of a product to be detected, which is acquired by the battery cell ray source equipment on a product logistics line;

evaluating the quality of the product image to obtain an evaluation result;

and detecting the cell ray source equipment according to the evaluation result to obtain a detection result.

In one embodiment, the processor when executing the computer program further performs the steps of:

Identifying a target area and a background area in the product image to obtain a target area image and a background area image;

and evaluating the quality of the product image according to the target area image and the background area image to obtain an evaluation result.

In one embodiment, the processor when executing the computer program further performs the steps of:

If the pixel point with the gray value larger than the first gray threshold value exists in the target area image and/or the pixel point with the gray value larger than the second gray threshold value exists in the background area image, determining that the quality of the product image is not in accordance with the preset quality requirement by the evaluation result;

If no pixel point with the gray value larger than the first gray threshold exists in the target area image and no pixel point with the gray value larger than the second gray threshold exists in the background area image, determining that the evaluation result indicates that the quality of the product image meets the preset quality requirement.

In one embodiment, the processor when executing the computer program further performs the steps of:

Determining first fluctuation information of gray value mean value changes of target area images in product images of all frames along with time;

Determining second fluctuation information of gray value mean value changes of background area images in the product images of all frames along with time;

And evaluating the quality of the product image according to the first fluctuation information and the second fluctuation information to obtain an evaluation result.

In one embodiment, the processor when executing the computer program further performs the steps of:

If the first fluctuation information indicates that the change rate of the gray value mean value of the target area image along with time is larger than a first preset change rate threshold value, or the change rate of the gray value mean value of the background area image along with time is larger than a second preset change rate threshold value, determining that the evaluation result indicates that the quality of the product image does not meet the preset quality requirement;

if the first fluctuation information indicates that the change rate of the gray value mean value of the target area image along with time is not greater than a first preset change rate threshold value, and the change rate of the gray value mean value of the background area image along with time is not greater than a second preset change rate threshold value, determining that the evaluation result indicates that the quality of the product image meets the preset quality requirement.

In one embodiment, the processor when executing the computer program further performs the steps of:

Determining whether the evaluation result meets a preset quality requirement;

if the evaluation result shows that the quality of the product image does not meet the preset quality requirement, determining that the detection result is abnormal in the battery cell ray source equipment;

And if the evaluation result shows that the quality of the product image meets the preset quality requirement, determining that the detection result is that the cell ray source equipment is normal.

In one embodiment, the processor when executing the computer program further performs the steps of:

And if the detection result is that the cell ray source equipment is abnormal, outputting alarm information, wherein the alarm information is used for indicating the maintenance of the cell ray source equipment.

In one embodiment, the processor when executing the computer program further performs the steps of:

and under the condition that a waiting signal sent by a product controller on the product logistics line is received, controlling the cell ray source equipment to enter a dormant state.

In one embodiment, the processor when executing the computer program further performs the steps of:

Under the condition that a waiting signal sent by a product controller on the product logistics line is received, starting a timing device to perform timing, and controlling the cell ray source equipment to enter a dormant state when the recorded time length is longer than a preset dormant time length.

In one embodiment, the processor when executing the computer program further performs the steps of:

And controlling an emergent module in the cell ray source equipment to stop emergent light so that the cell ray source equipment is in the dormant state.

In one embodiment, the processor when executing the computer program further performs the steps of:

And disconnecting a passage between a power module and the emergent module in the cell ray source equipment, so that the emergent module stops emergent light.

In one embodiment, the processor when executing the computer program further performs the steps of:

And disconnecting a path between a power module and other components in the cell ray source equipment and connecting a path between an auxiliary power module and the other components in the cell ray source equipment so that the auxiliary power module supplies power for the other components.

In one embodiment, the processor when executing the computer program further performs the steps of:

And under the condition that a detection signal sent by the product controller is received, controlling the cell ray source equipment to enter a detection state.

The computer device provided in the foregoing embodiments has similar implementation principles and technical effects to those of the foregoing method embodiments, and will not be described herein in detail.

In one embodiment, a computer readable storage medium is provided having a computer program stored thereon, which when executed by a processor, performs the steps of:

Acquiring a product image of a product to be detected, which is acquired by the battery cell ray source equipment on a product logistics line;

evaluating the quality of the product image to obtain an evaluation result;

and detecting the cell ray source equipment according to the evaluation result to obtain a detection result.

In one embodiment, the computer program when executed by the processor further performs the steps of:

Identifying a target area and a background area in the product image to obtain a target area image and a background area image;

and evaluating the quality of the product image according to the target area image and the background area image to obtain an evaluation result.

In one embodiment, the computer program when executed by the processor further performs the steps of:

If the pixel point with the gray value larger than the first gray threshold value exists in the target area image and/or the pixel point with the gray value larger than the second gray threshold value exists in the background area image, determining that the quality of the product image is not in accordance with the preset quality requirement by the evaluation result;

If no pixel point with the gray value larger than the first gray threshold exists in the target area image and no pixel point with the gray value larger than the second gray threshold exists in the background area image, determining that the evaluation result indicates that the quality of the product image meets the preset quality requirement.

In one embodiment, the computer program when executed by the processor further performs the steps of:

Determining first fluctuation information of gray value mean value changes of target area images in product images of all frames along with time;

Determining second fluctuation information of gray value mean value changes of background area images in the product images of all frames along with time;

And evaluating the quality of the product image according to the first fluctuation information and the second fluctuation information to obtain an evaluation result.

In one embodiment, the computer program when executed by the processor further performs the steps of:

If the first fluctuation information indicates that the change rate of the gray value mean value of the target area image along with time is larger than a first preset change rate threshold value, or the change rate of the gray value mean value of the background area image along with time is larger than a second preset change rate threshold value, determining that the evaluation result indicates that the quality of the product image does not meet the preset quality requirement;

if the first fluctuation information indicates that the change rate of the gray value mean value of the target area image along with time is not greater than a first preset change rate threshold value, and the change rate of the gray value mean value of the background area image along with time is not greater than a second preset change rate threshold value, determining that the evaluation result indicates that the quality of the product image meets the preset quality requirement.

In one embodiment, the computer program when executed by the processor further performs the steps of:

Determining whether the evaluation result meets a preset quality requirement;

if the evaluation result shows that the quality of the product image does not meet the preset quality requirement, determining that the detection result is abnormal in the battery cell ray source equipment;

And if the evaluation result shows that the quality of the product image meets the preset quality requirement, determining that the detection result is that the cell ray source equipment is normal.

In one embodiment, the computer program when executed by the processor further performs the steps of:

And if the detection result is that the cell ray source equipment is abnormal, outputting alarm information, wherein the alarm information is used for indicating the maintenance of the cell ray source equipment.

In one embodiment, the computer program when executed by the processor further performs the steps of:

and under the condition that a waiting signal sent by a product controller on the product logistics line is received, controlling the cell ray source equipment to enter a dormant state.

In one embodiment, the computer program when executed by the processor further performs the steps of:

Under the condition that a waiting signal sent by a product controller on the product logistics line is received, starting a timing device to perform timing, and controlling the cell ray source equipment to enter a dormant state when the recorded time length is longer than a preset dormant time length.

In one embodiment, the computer program when executed by the processor further performs the steps of:

And controlling an emergent module in the cell ray source equipment to stop emergent light so that the cell ray source equipment is in the dormant state.

In one embodiment, the computer program when executed by the processor further performs the steps of:

And disconnecting a passage between a power module and the emergent module in the cell ray source equipment, so that the emergent module stops emergent light.

In one embodiment, the computer program when executed by the processor further performs the steps of:

And disconnecting a path between a power module and other components in the cell ray source equipment and connecting a path between an auxiliary power module and the other components in the cell ray source equipment so that the auxiliary power module supplies power for the other components.

In one embodiment, the computer program when executed by the processor further performs the steps of:

And under the condition that a detection signal sent by the product controller is received, controlling the cell ray source equipment to enter a detection state.

The foregoing embodiment provides a computer readable storage medium, which has similar principles and technical effects to those of the foregoing method embodiment, and will not be described herein.

Those skilled in the art will appreciate that implementing all or part of the above described methods may be accomplished by way of a computer program stored on a non-transitory computer readable storage medium, which when executed, may comprise the steps of the embodiments of the methods described above. Any reference to memory, database, or other medium used in embodiments provided herein may include at least one of non-volatile and volatile memory. The nonvolatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical Memory, high density embedded nonvolatile Memory, resistive random access Memory (ReRAM), magneto-resistive random access Memory (Magnetoresistive Random Access Memory, MRAM), ferroelectric Memory (Ferroelectric Random Access Memory, FRAM), phase change Memory (PHASE CHANGE Memory, PCM), graphene Memory, and the like. Volatile memory can include random access memory (Random Access Memory, RAM) or external cache memory, and the like. By way of illustration, and not limitation, RAM can be in the form of a variety of forms, such as Static Random access memory (Static Random access memory AccessMemory, SRAM) or dynamic Random access memory (Dynamic Random Access Memory, DRAM), and the like. The databases referred to in the embodiments provided herein may include at least one of a relational database and a non-relational database. The non-relational database may include, but is not limited to, a blockchain-based distributed database, and the like. The processor referred to in the embodiments provided in the present application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic unit, a data processing logic unit based on quantum computing, or the like, but is not limited thereto.

The technical features of the above embodiments may be arbitrarily combined, and all possible combinations of the technical features in the above embodiments are not described for brevity of description, however, as long as there is no contradiction between the combinations of the technical features, they should be considered as the scope of the description.

The foregoing examples illustrate only a few embodiments of the application and are described in detail herein without thereby limiting the scope of the application. It should be noted that it will be apparent to those skilled in the art that several variations and modifications can be made without departing from the spirit of the application, which are all within the scope of the application. Accordingly, the scope of the application should be assessed as that of the appended claims.