Battery-cell x-ray source device inspection method, battery-cell x-ray source device, and system

By evaluating and self-testing the product images collected by the battery-cell radiation source equipment, the problem of difficult monitoring of the health status of the X-ray source is solved, the detection quality and productivity are improved, the equipment life is extended and energy saving is saved.

WO2025148328A1PCT designated stage expired Publication Date: 2025-07-17JIANGSU CONTEMPORARY AMPEREX TECH LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2024/113953
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2024-01-12
Filing Date
2024-08-22
Publication Date
2025-07-17

AI Technical Summary

Technical Problem

In the prior art, the health status of the X-ray source during battery cell detection is difficult to monitor in real time, resulting in a decrease in detection quality and a decrease in production efficiency.

Method used

By obtaining the image of the product to be inspected collected by the battery cell radiation source device on the product logistics line, evaluating the image quality and detecting it based on the evaluation results, self-inspection of the battery cell radiation source device is realized, alarm information is output to indicate maintenance, and sleeping in a non-detected state to save energy.

Benefits of technology

Real-time health status monitoring of battery-cell radiation source equipment is realized, the detection quality and productivity are improved, the equipment service life is extended, and the detection cost and resource waste are reduced.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024113953_17072025_PF_FP_ABST
    Figure CN2024113953_17072025_PF_FP_ABST
Patent Text Reader

Abstract

The present application relates to a battery-cell X-ray source device inspection method, a battery-cell X-ray source device, and a system. The present application relates to the technical field of battery inspection, and the method comprises: acquiring a product image of a product to be inspected, which image is collected by a battery-cell X-ray source device on a product logistics line; and inspecting the battery-cell X-ray source device on the basis of the product image, so as to obtain an inspection result. A method for self-inspection of a battery-cell X-ray source device on a product logistics line is implemented. In the method, self-inspection is performed by monitoring, in real time, a product image of a product to be inspected, and the effect of learning of the state of health of the battery-cell X-ray source device in real time can be achieved. Thus, during product inspection, the impact of a fault that occurs in a battery-cell X-ray source device on the inspection quality of a product to be inspected can be reduced to a certain extent, thereby improving, to a certain extent, the production rate of products to be inspected.
Need to check novelty before this filing date? Find Prior Art

Description

Detection method of battery core ray source device, battery core ray source device, and system

[0001] Cross-references

[0002] This application refers to Chinese Patent Application No. 2024100446139, filed on January 12, 2024, entitled “Detection Method of Battery-Core Radiation Source Device, Battery-Core Radiation Source Device, and System”, which is incorporated into this application in its entirety by reference. Technical Field

[0003] The present application relates to the technical field of battery detection, and in particular to a detection method for a battery cell radiation source device, a battery cell radiation source device, and a system. Background Art

[0004] Currently, X-ray sources are important equipment for online real-time inspection of battery cells on the battery cell logistics line. Therefore, during the inspection of battery cells on the battery cell logistics line, it is very important to grasp the health status of the X-ray source in real time and discover potential faults of the X-ray source in time, so as to avoid the problem that the X-ray source failure affects the battery cell inspection quality and thus reduces the battery cell production efficiency.

[0005] Therefore, in the field of battery cell testing, how to effectively monitor the health status of the X-ray source has become a technical problem that needs to be solved urgently.

[0006] Summary of the Invention

[0007] Based on this, it is necessary to provide a detection method for a battery-core ray source device, a battery-core ray source device, and a system that can monitor the status of the battery-core ray source device in real time to address the above technical problems.

[0008] In a first aspect, the present application provides a method for detecting an electric core radiation source device. The method comprises:

[0009] Obtain product images of the products to be inspected collected by the battery cell X-ray source equipment on the product logistics line;

[0010] Evaluate the quality of product images and obtain evaluation results;

[0011] The battery-core X-ray source equipment is tested based on the evaluation results to obtain the test results.

[0012] The embodiment described in the present application provides a method for detecting a cell-core ray source device, which obtains a product image of a product to be inspected collected by the cell-core ray source device on a product logistics line, and evaluates the quality of the product image to obtain an evaluation result; and detects the cell-core ray source device based on the evaluation result to obtain a detection result. The above method implements a method for self-inspection of the cell-core ray source device on a product logistics line, and because the quality of the product image of the product to be inspected can reflect the health status of the cell-core ray source device, during the product inspection process on the product logistics line, the above method performs self-inspection by real-time monitoring of the product image of the product to be inspected, which can play a role in real-time grasping the health status of the cell-core ray source device, and thus can reduce to a certain extent the impact of the failure of the cell-core ray source device on the inspection quality of the product to be inspected during the product inspection process, thereby improving to a certain extent the productivity of the product to be inspected.

[0013] In one embodiment, detecting the radiation source based on the product image to obtain the detection result includes:

[0014] Identify the target area and background area in the product image to obtain target area image data and background area image;

[0015] The quality of the product image is evaluated based on the target area image and the background area image to obtain an evaluation result.

[0016] The detection method described in the embodiment of the present application performs detection based on different areas in the product image, thereby achieving targeted evaluation of image quality. To a certain extent, it can improve the accuracy of image recognition, thereby improving the accuracy of detection of battery core radiation source equipment based on image quality.

[0017] In one embodiment, the quality of the product image is evaluated based on the target area image and the background area image to obtain an evaluation result, including:

[0018] If there are pixels in the target area image whose grayscale values ​​are greater than the first grayscale threshold, and / or there are pixels in the background area image whose grayscale values ​​are greater than the second grayscale threshold, then it is determined that the evaluation result indicates that the quality of the product image does not meet the preset quality requirements;

[0019] If there are no pixels in the target area image with grayscale values ​​greater than the first grayscale threshold, and there are no pixels in the background area image with grayscale values ​​greater than the second grayscale threshold, it is determined that the evaluation result indicates that the quality of the product image meets the preset quality requirements.

[0020] The detection method described in the embodiment of the present application evaluates image quality based on the grayscale value of each pixel in the product image, which can improve the efficiency of image recognition to a certain extent, thereby improving the efficiency of detection of battery cell radiation source equipment based on image quality.

[0021] In one embodiment, the product image includes multiple frames of product images, and the quality of the product image is evaluated based on the target area image and the background area image to obtain the evaluation result, including:

[0022] Determine first fluctuation information of a grayscale value mean value of a target area image in all frames of the product image that changes over time;

[0023] Determine second fluctuation information of a grayscale value mean value of a background area image in all frames of the product image that changes over time;

[0024] The quality of the product image is evaluated according to the first fluctuation information and the second fluctuation information to obtain an evaluation result.

[0025] The detection method described in the embodiment of the present application evaluates image quality based on changes in the mean grayscale values ​​of each area in the product image, which can improve the accuracy of image quality judgment to a certain extent, thereby improving the accuracy of detection of battery cell radiation source equipment based on image quality.

[0026] In one embodiment, the quality of the product image is evaluated based on the first fluctuation information and the second fluctuation information to obtain an evaluation result, including:

[0027] If the first fluctuation information indicates that the rate of change of the mean grayscale value of the target area image over time is greater than a first preset rate of change threshold, or the rate of change of the mean grayscale value of the background area image over time is greater than a second preset rate of change threshold, then it is determined that the evaluation result indicates that the quality of the product image does not meet the preset quality requirements;

[0028] If the first fluctuation information indicates that the rate of change of the mean grayscale value of the target area image over time is not greater than the first preset change rate threshold, and the rate of change of the mean grayscale value of the background area image over time is not greater than the second preset change rate threshold, then it is determined that the evaluation result indicates that the quality of the product image meets the preset quality requirements.

[0029] The detection method described in the embodiment of the present application evaluates image quality based on the fluctuation information of each area in the product image, which can improve the accuracy of image quality judgment to a certain extent, thereby improving the accuracy of detection of battery cell radiation source equipment based on image quality.

[0030] In one embodiment, the battery core X-ray source device is tested based on the evaluation results to obtain test results, including:

[0031] Determine whether the assessment results meet the preset quality requirements;

[0032] If the evaluation result indicates that the quality of the product image does not meet the preset quality requirements, then the detection result is determined to be an abnormality of the battery core radiation source device;

[0033] If the evaluation result indicates that the quality of the product image meets the preset quality requirements, the detection result is determined to be that the battery-core X-ray source device is normal.

[0034] The detection method described in the embodiment of the present application detects the battery cell X-ray source device by evaluating the quality of the product image. This can fully utilize the characteristic that the quality of the product image can directly reflect the health status of the battery cell X-ray source device. In the process of using the battery cell X-ray source device to detect the product to be inspected, the product image during the detection process is fully utilized to complete the detection. There is no need to obtain additional proprietary detection images of the battery cell X-ray source device, which can reduce the detection cost to a certain extent.

[0035] In one embodiment, the method further comprises:

[0036] If the detection result shows that the battery cell radiation source device is abnormal, an alarm message is output, and the alarm message is used to instruct the battery cell radiation source device to be repaired.

[0037] The method described in the embodiment of the present application outputs an alarm message when the battery cell radiation source device is abnormal, so that the inspection personnel can promptly perform online maintenance, offline maintenance, or troubleshooting on the battery cell radiation source device, thereby reducing the impact of potential failures of the battery cell radiation source device on product inspection, and further improving the inspection accuracy of the product.

[0038] In one embodiment, the method further comprises:

[0039] When receiving a waiting signal from a product controller on a product logistics line, the battery cell radiation source device is controlled to enter a dormant state.

[0040] The detection method described in the embodiment of the present application realizes that the battery cell radiation source device enters sleep mode when not in detection state through linkage with the product controller on the product logistics line through the battery cell radiation source device, which can extend the service life of the battery cell radiation source device to a certain extent and also achieve energy-saving effect.

[0041] In one embodiment, upon receiving a waiting signal sent by a product controller on a product logistics line, controlling the battery cell radiation source device to enter a dormant state includes:

[0042] When a waiting signal is received from a product controller on a product logistics line, the timing device is started to start timing. When the recorded time is longer than the preset sleep time, the battery cell radiation source device is controlled to enter a sleep state.

[0043] The detection method described in the embodiment of the present application realizes that the battery cell radiation source device enters sleep mode when not in detection state through linkage with the product controller on the product logistics line through the battery cell radiation source device, which can extend the service life of the battery cell radiation source device to a certain extent and also achieve energy-saving effect.

[0044] In one embodiment, controlling the radiation source to enter a dormant state includes:

[0045] The emitting module in the battery-core ray source device is controlled to stop emitting light, so that the battery-core ray source device is in a dormant state.

[0046] The detection method described in the embodiment of the present application can reduce the waste of resources of the important component output module in the battery cell radiation source device to a certain extent by stopping the output module from emitting light when the product material line is in a waiting state, thereby increasing the service life of the battery cell radiation source device.

[0047] In one embodiment, controlling the emission module in the battery-core ray source device to stop emitting light includes:

[0048] Disconnect the path between the power module and the output module in the ray source to stop the output module from emitting light.

[0049] The detection method described in the embodiment of the present application can be achieved by disconnecting the power supply connected to the output module when controlling the light emission of the output module, which can improve the control response speed to a certain extent, thereby reducing the waste of resources of the output module, an important component of the battery-core ray source device, and thus improving the service life of the battery-core ray source device.

[0050] In one embodiment, the method further comprises:

[0051] Disconnect the path between the power module and other components in the battery-core ray source device, and connect the path between the auxiliary power module and other components in the battery-core ray source device, so that the auxiliary power module can supply power to other components.

[0052] The detection method described in the embodiment of the present application can achieve energy saving to a certain extent by stopping the light emitting module and the main power module from emitting light when the product material line is in a waiting state, and using the auxiliary power module to power other components that do not require a lot of electricity. It can also reduce the waste of detection resources, thereby increasing the service life of the battery-core X-ray source equipment.

[0053] In one embodiment, the method further comprises:

[0054] When receiving a detection signal sent by the product controller, the ray source is controlled to enter a detection state.

[0055] The detection method described in the embodiment of the present application realizes that the battery cell radiation source device automatically switches from a sleep state to a detection state in the detection state through the linkage between the battery cell radiation source device and the product controller on the product logistics line. The state switching can match the loading and unloading state of the product logistics line, which can extend the service life of the battery cell radiation source device to a certain extent and also achieve energy-saving effects.

[0056] In a second aspect, the present application further provides a battery-core ray source device. The battery-core ray source device includes an image acquisition module, a power module, an emission module, and a control module; the control module is connected to the image acquisition module, the power module, and the emission module, respectively, and the emission module is connected to the power module;

[0057] A control module is used to execute the detection method as described in the first aspect.

[0058] In a third aspect, the present application further provides a product inspection system. The product inspection system includes a product to be inspected, a product logistics line, and the battery core X-ray source device described in the second aspect. The product to be inspected is disposed in an inspection area on the product logistics line, and the battery core X-ray source device is disposed around the inspection area.

[0059] In a fourth aspect, the present application further provides a computer device, which includes a memory and a processor, wherein the memory stores a computer program, and the processor implements the method described in the first aspect when executing the computer program.

[0060] In a fifth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the method described in the first aspect.

[0061] The above description is only an overview of the technical solution of the present application. In order to more clearly understand the technical means of the present application, it can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the present application more obvious and easy to understand, the specific implementation methods of the present application are listed below. BRIEF DESCRIPTION OF THE DRAWINGS

[0062] Various other advantages and benefits will become apparent to those skilled in the art upon reading the detailed description of the preferred embodiment below. The accompanying drawings are for illustration purposes only and are not to be considered as limiting the present application. The same reference numerals are used throughout the drawings to represent the same components. In the drawings:

[0063] FIG1 is a diagram showing an application environment of a detection method according to an embodiment;

[0064] FIG2 is a schematic flow chart of a detection method in one embodiment;

[0065] FIG3 is a schematic flow chart of a detection method in another embodiment;

[0066] FIG4 is a schematic flow chart of a detection method in another embodiment;

[0067] FIG5 is a schematic flow chart of a detection method in another embodiment;

[0068] FIG6 is a schematic flow chart of a detection method in another embodiment;

[0069] FIG7 is a schematic diagram of a product image in one embodiment;

[0070] FIG8 is a schematic diagram of a variation curve of grayscale mean value in one embodiment;

[0071] FIG9 is a schematic flow chart of a detection method in another embodiment;

[0072] FIG10 is a schematic flow chart of a detection method in another embodiment;

[0073] FIG11 is a schematic flow chart of a detection method in another embodiment;

[0074] FIG12 is a schematic structural diagram of an electric core ray source device according to one embodiment;

[0075] FIG13 is a schematic structural diagram of an electric core ray source device in another embodiment;

[0076] FIG14 is a schematic diagram of the structure of a product detection system in one embodiment;

[0077] FIG15 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION

[0078] In order to make the purpose, technical solutions and advantages of this application more clear, the following further describes this application in detail with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain this application and are not intended to limit this application.

[0079] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by those skilled in the art to which this application belongs; the terms used herein are only for the purpose of describing specific embodiments and are not intended to limit this application; the terms "including" and "having" and any variations thereof in the specification and claims of this application and the above-mentioned figure descriptions are intended to cover non-exclusive inclusions.

[0080] In the description of the embodiments of this application, the technical terms "first" and "second" are used only to distinguish different objects and should not be understood to indicate or imply relative importance or implicitly specify the quantity, specific order, or primary and secondary relationship of the indicated technical features. In the description of the embodiments of this application, the meaning of "plurality" is more than two, unless otherwise clearly and specifically defined.

[0081] References herein to "embodiments" mean that a particular feature, structure, or characteristic described in connection with the embodiments may be included in at least one embodiment of the present application. The appearance of this phrase in various places in the specification does not necessarily refer to the same embodiment, nor does it constitute an independent or alternative embodiment that is mutually exclusive of other embodiments. It is understood, both explicitly and implicitly, by those skilled in the art that the embodiments described herein may be combined with other embodiments.

[0082] At present, in the process of inspecting battery cells, an X-ray source device for battery cells is usually used to be set on the battery cell logistics line to capture images of the battery cells to realize battery cell inspection. Therefore, the health status of the X-ray source device for battery cells directly affects the inspection quality of the battery cells. That is, the status of the X-ray source device for battery cells is monitored during the battery cell inspection process to timely discover potential faults of the X-ray source device for battery cells, so as to avoid the problem that the X-ray source device for battery cells affects the quality inspection of battery cells due to poor image output, thereby reducing the production efficiency of battery cells. In response to the above problems, the following embodiments of the present application provide a method for detecting a battery cell ray source device, a battery cell ray source device, and a product inspection system, which can realize the health inspection of the X-ray source device for battery cells and improve the service life of the X-ray source device for battery cells.

[0083] The detection method for a core X-ray source device provided in an embodiment of the present application can be applied in the application environment shown in Figure 1. Specifically, the core X-ray source device 102 is connected to a product controller 104. The core X-ray source device 102 is disposed on a product logistics line 106, with its light outlet aligned with a product to be inspected 108 on the product logistics line. The core X-ray source device 102 is configured to capture images of the product to be inspected 108 and perform product inspection or self-inspection based on the images. The product controller 104 is configured to control the loading or unloading of the product to be inspected 108 on the product logistics line 106, as well as monitor the loading, waiting, and unloading status of the product to be inspected 108.

[0084] In one embodiment, as shown in FIG2 , a method for detecting an electric core ray source device is provided. The method is described by taking the electric core ray source device in FIG1 as an example, and includes the following steps:

[0085] S201, obtaining a product image of a product to be inspected collected by a cell X-ray source device on a product logistics line.

[0086] After loading, the product logistics line is provided with products to be inspected. The products to be inspected can be battery packs or battery cells. The product image can be an image of the overall structure of the product, a side view of the product, or an end view of the product. In some embodiments, the product image can be an image of a battery cell or a battery.

[0087] In an embodiment of the present application, the electric core X-ray source device can be installed on a product logistics line, with its light outlet aligned with the product to be inspected. The output module therein can project an X-ray beam onto the product to be inspected, and the image acquisition module therein can receive or detect the reflected light beam from the product to be inspected, and construct a product image of the product to be inspected based on the reflected light beam. When the above-mentioned electric core X-ray source device is used to inspect the product to be inspected on the product logistics line, its output module and image acquisition module can be activated to obtain a product image of the product to be inspected according to the above-mentioned method.

[0088] S202: Evaluate the quality of the product image and obtain an evaluation result.

[0089] The evaluation result indicates whether the quality of the product image meets the preset quality requirements, or indicates whether the quality of the product image does not meet the preset quality requirements. In some embodiments, the evaluation result may also include an indicator parameter indicating the quality of the product image. For example, the indicator parameter may include at least one of signal-to-noise ratio, brightness, clarity, grayscale value, etc.

[0090] In the embodiment of the present application, when the electric core X-ray source device obtains the product image of the product to be inspected based on the above steps, the quality of the product image can be evaluated to obtain an evaluation result. When the evaluation result is used to indicate that the quality of the product image meets the preset quality requirements, or is used to indicate that the quality of the product image does not meet the preset quality requirements, the quality of the product image can be evaluated based on indicators such as the signal-to-noise ratio of the image, the brightness of the image, the clarity of the image, and the grayscale value of the image. The corresponding preset quality requirements can be predetermined based on the corresponding evaluation usage indicators. For example, if the signal-to-noise ratio of the image is used to evaluate the quality of the product image, the preset The quality requirement is that the signal-to-noise ratio of the product image is greater than a preset signal-to-noise ratio threshold; if the brightness of the image is used to evaluate the quality of the product image, the preset quality requirement is that the brightness of the product image is greater than a preset brightness threshold; if the clarity of the image is used to evaluate the quality of the product image, the preset quality requirement is that the clarity of the product image is greater than a preset clarity threshold; if the grayscale value of the image is used to evaluate the quality of the product image, the preset quality requirement is that the grayscale value of the product image is not greater than a preset grayscale threshold, wherein the grayscale value of the image refers to the grayscale value of each pixel on the image, and may also refer to the average grayscale value of all pixels on the image. In some embodiments, when the electric core ray source device obtains a product image of the product to be inspected based on the aforementioned steps, the quality of the product image can be evaluated to obtain an evaluation result including an indicator parameter for representing the quality of the product image. For example, after evaluating the quality of the product image, an evaluation result of at least one of the signal-to-noise ratio of the product image, or the brightness of the product image, the clarity of the product image, and the grayscale value of the product image can be obtained.

[0091] S203: Detect the battery-core X-ray source device according to the evaluation result to obtain a detection result.

[0092] The detection result may be that the battery cell radiation source device is abnormal or the battery cell radiation source device is normal.

[0093] In an embodiment of the present application, when the battery-core ray source device obtains a product image of the product to be inspected based on the aforementioned steps, the quality of the product image can be evaluated to obtain an evaluation result; the battery-core ray source device can be further inspected based on 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 requirements, if the evaluation result indicates that the quality of the product image meets the preset quality requirements, it means that the product quality is excellent, and at this time it can be determined that the detection result indicates that the battery-core ray source device is normal; if the evaluation result indicates that the quality of the product image does not meet the preset quality requirements, it means that the product quality is poor, and at this time it can be determined that the detection result indicates that the battery-core ray source device is abnormal. In some embodiments, when the evaluation result includes index parameters of image quality, it can be further determined whether the index parameters of the product image meet the preset index requirements. If they do, it can be determined that the detection result indicates that the battery core ray source device is normal; if they do not, it can be determined that the detection result indicates that the battery core ray source device is abnormal. When there are multiple index parameters for the product image, such as the clarity and grayscale value of the product image, it can be set that when the clarity and grayscale value of the product image meet their respective index requirements, it is determined that the detection result indicates that the battery core ray source device is normal; it can also be set that when only one of the clarity and grayscale value of the product image meets the corresponding index requirements, it can be determined that the detection result indicates that the battery core ray source device is normal; accordingly, it is set that when one of the clarity and grayscale value of the product image does not meet their respective index requirements, it is determined that the detection result indicates that the battery core ray source device is abnormal; when both the clarity and grayscale value of the product image do not meet their respective index requirements, it is determined that the detection result indicates that the battery core ray source device is abnormal. It should be noted that the index requirements corresponding to each parameter index can be determined according to the actual image type and detection requirements, and are not limited here.

[0094] The embodiment described in the present application provides a method for detecting a cell-core ray source device, which obtains a product image of a product to be inspected collected by the cell-core ray source device on a product logistics line, and evaluates the quality of the product image to obtain an evaluation result; and detects the cell-core ray source device based on the evaluation result to obtain a detection result. The above method implements a method for self-inspection of the cell-core ray source device on a product logistics line, and because the quality of the product image of the product to be inspected can reflect the health status of the cell-core ray source device, during the product inspection process on the product logistics line, the above method performs self-inspection by real-time monitoring of the product image of the product to be inspected, which can play a role in real-time grasping the health status of the cell-core ray source device, and thus can reduce to a certain extent the impact of the failure of the cell-core ray source device on the inspection quality of the product to be inspected during the product inspection process, thereby improving to a certain extent the productivity of the product to be inspected.

[0095] In one embodiment, an implementation of the above S202 is provided, as shown in FIG3 , namely, the above “evaluating the quality of the product image to obtain an evaluation result”, including:

[0096] S301 , identifying a target area and a background area in a product image to obtain a target area image and a background area image.

[0097] The target area is the area where the product is located in the product image, and the background area is the image area excluding the product in the product image.

[0098] In an embodiment of the present application, when the electric core X-ray source device captures a product image, the product image can be further processed to identify an image belonging to a target area and an image belonging to a background area. In some embodiments, during the identification process, a segmentation network can be used to segment the two areas in the product image to obtain a target area image and a background area image. In some embodiments, two different segmentation networks can also be used to segment the two areas in the product image separately to obtain a target area image and a background area image.

[0099] S302: Evaluate the quality of the product image according to the target area image and the background area image to obtain an evaluation result.

[0100] Wherein, the evaluation result includes 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 to indicate that the quality of the target area image meets the preset target area quality requirements, or is used to indicate that the quality of the target area image does not meet the preset target area quality requirements. In some embodiments, the first evaluation result may also include an indicator parameter for indicating the quality of the target area image, for example, the indicator parameter may include at least one of signal-to-noise ratio, brightness, clarity, grayscale value, etc. The second evaluation result is used to indicate that the quality of the background area image meets the preset background area quality requirements, or is used to indicate that the quality of the background area image does not meet the preset background area quality requirements. In some embodiments, the second evaluation result may also include an indicator parameter for indicating the quality of the background area image, for example, the indicator parameter may include at least one of signal-to-noise ratio, brightness, clarity, grayscale value, etc.

[0101] In the embodiment of the present application, since the target area image generally includes the image of the product to be inspected, such as the battery cell to be inspected, the background area image generally includes the background image, such as the environmental map of the inspection area on the battery cell logistics line, and the quality of the images in each area has different effects on the inspection quality of the product to be inspected. For example, when the quality of some background area images is relatively low, it will not affect the inspection quality of the product to be inspected, and the quality of the target area image is closely related to the inspection quality of the product to be inspected. Therefore, when the battery cell X-ray source device obtains the target area image and the background area image, the target area image and the background area image can be evaluated respectively to obtain a first evaluation result of the target area image and a second evaluation result of the background area image. When the first evaluation result is used to indicate that the quality of the target area image meets the preset target area quality requirements, or is used to indicate that the quality of the target area image does not meet the preset target area quality requirements, the quality of the target area image can be based on the signal-to-noise ratio, image quality, etc. The image quality is evaluated by using indicators such as image brightness, image clarity, and image grayscale value. The corresponding preset target area quality requirements can be predetermined based on the corresponding evaluation indicators. For example, if the signal-to-noise ratio of the image is used to evaluate the quality of the target area image, the preset target area quality requirement is that the signal-to-noise ratio of the target area image is greater than a preset signal-to-noise ratio threshold; if the brightness of the image is used to evaluate the quality of the target area image, the preset target area quality requirement is that the brightness of the target area image is greater than a preset brightness threshold; if the clarity of the image is used to evaluate the quality of the target area image, the preset target area quality requirement is that the clarity of the target area image is greater than a preset clarity threshold; if the grayscale value of the image is used to evaluate the quality of the target area image, the preset target area quality requirement is that the grayscale value of the target area image is greater than a preset grayscale threshold, wherein the grayscale value of the target area image refers to the grayscale value of each pixel on the target area image, and may also refer to the average grayscale value of all pixels on the target area image.

[0102] In some embodiments, when the electric core ray source device obtains the target area image based on the aforementioned steps, the quality of the target area image can be evaluated to obtain a first evaluation result including indicator parameters for representing the quality of the target area image. For example, after evaluating the quality of the target area image, a first evaluation result of at least one of the signal-to-noise ratio of the target area image, or the brightness of the product image, the clarity of the product image, and the grayscale value of the product image can be obtained.

[0103] In some embodiments, 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, wherein the quality of the background area image can be evaluated based on indicators such as the signal-to-noise ratio of the image, the brightness of the image, the clarity of the image, and the grayscale value of the image, the corresponding preset background area quality requirement can be predetermined based on the corresponding evaluation usage indicator. 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 signal-to-noise ratio of the image is used If brightness is used to evaluate the quality of the target area image, the preset background area quality requirement is that the brightness of the background area image is greater than a preset brightness threshold. If image clarity is used to evaluate the quality of the background area image, the preset background area quality requirement is that the clarity of the background area image is greater than a preset clarity threshold. If grayscale is used to evaluate the quality of the background area image, the preset background area quality requirement is that the grayscale value of the background area image is greater than a preset grayscale threshold. The grayscale value of the background area image refers to the grayscale value of each pixel in the background area image, or it can refer to the average grayscale value of all pixels in the background area image. It should be noted that the preset target area quality requirement and the preset background area quality requirement are different.

[0104] In some embodiments, when the electric core ray source device obtains a background area image based on the aforementioned steps, the quality of the background area image can be evaluated to obtain a second evaluation result including indicator parameters for representing the quality of the background area image. For example, after evaluating the quality of the background area image, a second evaluation result of at least one of the signal-to-noise ratio of the background area image, or the brightness of the product image, the clarity of the product image, and the grayscale value of the product image can be obtained.

[0105] In one embodiment, an implementation of the above S203 is provided, that is, the above “testing the battery-core X-ray source device according to the evaluation result to obtain the test result” is shown in FIG4 , including:

[0106] S401, determining whether the evaluation result meets the preset quality requirements. If the evaluation result indicates that the quality of the product image does not meet the preset quality requirements, step S402 is executed; if the evaluation result indicates that the quality of the product image meets the preset quality requirements, step S403 is executed.

[0107] S402: Determine that the detection result is that the battery-core radiation source device is abnormal.

[0108] S403: Determine that the detection result shows that the battery-core X-ray source device is normal.

[0109] The preset quality requirements may be determined in advance based on the test requirements of the product to be inspected, or based on the degree of impact on the inspection quality of the product to be inspected. For example, the preset quality requirements include a correspondence between the quality of the product image and the degree of impact.

[0110] In an embodiment of the present application, the electric core ray source device can pre-acquire product images of different qualities corresponding to one or more samples when performing wire drawing inspection on the product logistics line, for example, obtain product images of different clarity, or obtain product images of different signal-to-noise ratios, or obtain product images of different brightness, and obtain the inspection results corresponding to the above-mentioned one or more samples, and determine the inspection quality corresponding to the above-mentioned one or more samples based on the inspection results of the samples, and then evaluate the degree of influence of these product images of different qualities on the product quality, and construct a correspondence between the quality of the product image and the degree of influence, so that when the electric core ray source device performs its own health status inspection, it can determine the degree of influence corresponding to the quality of the product image of the product to be inspected according to the above-mentioned correspondence. When the degree of influence is greater than the preset degree threshold, it means that the quality of the product image is poor, or has affected the product inspection quality. At this time, the preset quality requirements of the product image can be determined. When the degree of influence is not greater than the preset degree threshold, it means that the quality of the product image is still good, or does not affect the product inspection quality. At this time, it can be determined that the quality of the product image meets the preset quality requirements. When the battery-core ray source device obtains the evaluation result corresponding to the product image, if the evaluation result indicates that the quality of the product image does not meet the preset quality requirements, the detection result is determined to be that the battery-core ray source device is abnormal; if the evaluation result indicates that the quality of the product image meets the preset quality requirements, the detection result is determined to be that the battery-core ray source device is normal.

[0111] The detection method described in the embodiment of the present application detects the battery cell X-ray source device by evaluating the quality of the product image. This can fully utilize the characteristic that the quality of the product image can directly reflect the health status of the battery cell X-ray source device. In the process of using the battery cell X-ray source device to detect the product to be inspected, the product image during the detection process is fully utilized to complete the detection. There is no need to obtain additional proprietary detection images of the battery cell X-ray source device, which can reduce the detection cost to a certain extent.

[0112] In some embodiments, when the quality of the product image is evaluated based on the target area image and the background area image based on the method described in the embodiment of Figure 3 above, a first evaluation value corresponding to the target area image and a second evaluation value corresponding to the background area image can be obtained. The electric core ray source device can evaluate the quality of the product image based on the first evaluation value and the second evaluation value. Specifically, the evaluation method 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 requirements, 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 requirements, then determining that the evaluation result of the quality of the product image indicates that the quality of the product image meets the preset quality requirements, and the corresponding detection result indicates that the electric core ray source device is normal.

[0113] In some embodiments, if there is a first evaluation result of the target area image that does not meet the preset target area quality requirements, or there is a first evaluation result of the background area image that does not meet the preset background area quality requirements, then the evaluation result of determining the quality of the product image indicates that the quality of the product image does not meet the preset quality requirements, and the corresponding determination detection result indicates that the battery core radiation source device is abnormal.

[0114] The detection method described in the embodiment of the present application performs detection based on different areas in the product image, thereby achieving targeted evaluation of image quality. To a certain extent, it can improve the accuracy of image recognition, thereby improving the accuracy of detection of battery core radiation source equipment based on image quality.

[0115] In some embodiments, an implementation of the above S302 is provided, that is, when the electric core X-ray source device performs the above S302 "evaluating the quality of the product image according to the target area image and the background area image to obtain an evaluation result", as shown in Figure 5, the following steps can be specifically performed:

[0116] S3021, determine the grayscale value of each pixel in the target area image and the grayscale value of each pixel in the background area image. If there are pixels in the target area image with a grayscale value greater than the first grayscale threshold, and / or there are pixels in the background area image with a grayscale value greater than the second grayscale threshold, execute step S3022; if there are no pixels in the target area image with a grayscale value greater than the first grayscale threshold, and there are no pixels in the background area image with a grayscale value greater than the second grayscale threshold, execute step S3023.

[0117] S3022, determining that the evaluation result indicates that the quality of the product image does not meet the preset quality requirements;

[0118] S3023, determining that the evaluation result indicates that the quality of the product image meets the preset quality requirements.

[0119] In an embodiment of the present application, when the electric core ray source device performs detection based on a frame of product image and identifies the target area image and the background area image therein, the grayscale value of each pixel in the target area image and the grayscale value of each pixel in the background area image can be directly determined. When there is a grayscale value greater than the first grayscale threshold in the target area image, the pixel corresponding to the grayscale value is determined as an abnormal pixel, and it is indicated that there is an abnormality in the target area image, so at this time, it is determined that the evaluation result indicates that the quality of the product image does not meet the preset quality requirements, and the detection result of the electric core ray source device based on the evaluation result is that the electric core ray source device is abnormal; or, when there is a grayscale value greater than the second grayscale threshold in the background area image, the pixel corresponding to the grayscale value is determined as an abnormal pixel, and it is indicated that there is an abnormality in the background area image, so at this time, it is determined that the evaluation result indicates that the quality of the product image does not meet the preset quality requirements, and the detection result of the electric core ray source device based on the evaluation result is that the electric core ray source device is abnormal, that is, the target area image and the background area image If there are abnormal pixels in only one image in the image, it can be determined that the battery core ray source device is abnormal; correspondingly, when there is no grayscale value greater than the first grayscale threshold in the target area image, it is determined that there are no abnormal pixels in the target area image, that is, the quality of the target area image meets the preset target area quality requirements; when there is no grayscale value greater than the second grayscale threshold in the background area image, it is determined that there are no abnormal pixels in the background area image, that is, the quality of the background area image meets the preset background area quality requirements, which also means that there are no abnormal pixels in both the target area image and the background area image. It can be determined that the evaluation result indicates that the quality of the product image meets the preset quality requirements, and the detection result of the battery core ray source device based on the evaluation result is that the battery core ray source device is normal.

[0120] The detection method described in the embodiment of the present application evaluates image quality based on the grayscale value of each pixel in the product image, which can improve the efficiency of image recognition to a certain extent, thereby improving the efficiency of detection of battery cell radiation source equipment based on image quality.

[0121] In some embodiments, another implementation of the above S302 is provided. That is, when the electric core X-ray source device performs the above S302 "evaluating the quality of the product image according to the target area image and the background area image to obtain an evaluation result", as shown in Figure 6, the following steps can be specifically performed:

[0122] S3024: Determine first fluctuation information of the grayscale value mean of the target area image in the product images of all frames that changes over time.

[0123] The first fluctuation information may include the rate of change of the mean grayscale value of the target area image in all frames of the product image over time. In some embodiments, the first fluctuation information may also include the fluctuation amount of the mean grayscale value of the target area image in all frames of the product image over time. In some embodiments, the first fluctuation information may also include a curve showing the change of the mean grayscale value of the target area image in all frames of the product image over time.

[0124] In an embodiment of the present application, when the electric core ray source device performs detection based on multiple frames of product images and identifies the target area image in each frame image, the grayscale value mean of the target area image in each frame image (the mean of the grayscale values ​​of all pixels) can be directly calculated, and then a change model of the grayscale value mean of the target area image in all frame images can be constructed, thereby obtaining the first fluctuation information of the grayscale value mean of the target area image in all frames of product images over time based on the change model. For example, the rate of change of the grayscale value mean of the target area image in all frames of product images over time is obtained, or the fluctuation amount of the grayscale value mean of the target area image in each frame of product images over time, or the change curve of the grayscale value mean of the target area image in all frames of product images over time is obtained.

[0125] S3025 , determining second fluctuation information of the grayscale value mean of the background area image in the product images of all frames changing over time.

[0126] The second fluctuation information may include the rate of change of the mean grayscale value of the background area image in all frames of the product image over time. In some embodiments, the second fluctuation information may also include the fluctuation amount of the mean grayscale value of the background area image in all frames of the product image over time. In some embodiments, the second fluctuation information may also include a curve showing the change of the mean grayscale value of the background area image in all frames of the product image over time.

[0127] In an embodiment of the present application, when the electric core ray source device performs detection based on multiple frames of product images and identifies the background area image in each frame image, the grayscale value mean of the background area image in each frame image (the mean of the grayscale values ​​of all pixels) can be directly calculated, and then a change model of the grayscale value mean of the background area image in all frame images can be constructed, thereby obtaining the second fluctuation information of the grayscale value mean of the background area image in all frames of product images over time based on the change model. For example, the rate of change of the grayscale value mean of the background area image in all frames of product images over time is obtained, or the fluctuation amount of the grayscale value mean of the background area image in each frame of product images over time, or the change curve of the grayscale value mean of the background area image in all frames of product images over time is obtained.

[0128] S3026: Evaluate the quality of the product image according to the first fluctuation information and the second fluctuation information to obtain an evaluation result.

[0129] In an embodiment of the present application, when the electric core ray source device obtains the first fluctuation information of the target area image and the second fluctuation information of the background area image based on the aforementioned steps, it can further analyze the quality fluctuation of the target area image according to the first fluctuation information, and analyze the quality fluctuation of the background area image according to the second fluctuation information. If it is determined that the quality change of the target area image is small according to the first fluctuation information, and the quality change of the background area image is small according to the second fluctuation information, then it can be determined that the evaluation result indicates that the quality of the product image meets the preset quality requirements, and the detection result of the electric core ray source device based on the evaluation result is that the electric core ray source device is normal; if it is determined that the quality change of the target area image is large according to the first fluctuation information, or the quality change of the background area image is large according to the second fluctuation information, then it can be determined that the evaluation result indicates that the quality of the product image does not meet the preset quality requirements, and the detection result of the electric core ray source device based on the evaluation result is that the electric core ray source device is abnormal. It should be noted that the above-mentioned method for determining the quality of the target area image can be determined according to the specific type of the first fluctuation information, and the method for determining the quality of the background area image can be determined according to the specific type of the second fluctuation information.

[0130] In a first exemplary embodiment, if the first fluctuation information includes the rate of change of the mean grayscale value of the target area image in all frames of the product image over time, then when determining the quality of the target area image based on the first fluctuation information, this rate of change can be compared with a preset rate of change threshold. If the rate of change is greater than the preset rate of change threshold, it is considered that the quality change of the target area image is significant; if the rate of change is not greater than the preset rate of change threshold, it is considered that the quality change of the target area image is minor. If the second fluctuation information includes the rate of change of the mean grayscale value of the background area image in all frames of the product image over time, then the corresponding method for determining the quality of the background area image is similar to the above method and is not further described here.

[0131] In a second exemplary embodiment, if the first fluctuation information includes the temporal fluctuation of the mean grayscale value of the target area image in all frames of the product image, the fluctuation of each frame can be compared with a preset fluctuation threshold. If there are images with a fluctuation greater than the preset fluctuation threshold, the quality change of the target area image is considered to be significant. If there are no images with a fluctuation greater than the preset fluctuation threshold, the quality change of the target area image is considered to be minor. If the second fluctuation information includes the temporal fluctuation of the mean grayscale value of the background area image in all frames of the product image, the corresponding method for determining the quality of the background area image is similar to the above method and is not further described here.

[0132] In a third exemplary embodiment, if the first fluctuation information includes a curve showing how the mean grayscale value of the target area image in all frames of the product image changes over time, and if the curve indicates a significant change in the mean grayscale value of the target area image, then the quality change of the target area image is considered significant; if the curve indicates a minimal change in the mean grayscale value of the target area image, then the quality change of the target area image is considered minimal. If the second fluctuation information includes a curve showing how the mean grayscale value of the target area image in all frames of the product image changes over time, then the corresponding method for determining the quality of the background area image is similar to the above method and is not further described here.

[0133] Example 4, for example, as shown in FIG7 , is an original image of a cell taken by an X-cell ray source device, which includes a non-cell imaging area 1, i.e., a target area, and a cell imaging area 2, i.e., a background area. The grayscale values ​​of the two areas generally fluctuate between 065535. Taking the change in the mean grayscale value of the image area as an example, the change over time will show a certain regular fluctuation. Therefore, by setting the image threshold, the fluctuation of the grayscale value of the two areas can be monitored separately to achieve online monitoring of the X-cell ray source device. In some embodiments, online monitoring of the X-cell ray source device can also be achieved by monitoring whether the change law of the grayscale value mean of each area image conforms to the preset law. See the change curve of the grayscale value mean of the target area image shown in FIG8 . The fluctuation of the target area image can be determined by the change curve.

[0134] In some embodiments, the quality of the product image is evaluated based on the first fluctuation information and the second fluctuation information, and the method for obtaining the evaluation result includes: if the first fluctuation information indicates that the rate of change of the grayscale value mean of the target area image over time is greater than the first preset change rate threshold, or the rate of change of the grayscale value mean of the background area image over time is greater than the second preset change rate threshold, then determining that the evaluation result indicates that the quality of the product image does not meet the preset quality requirements; if the first fluctuation information indicates that the rate of change of the grayscale value mean of the target area image over time is not greater than the first preset change rate threshold, and the rate of change of the grayscale value mean of the background area image over time is not greater than the second preset change rate threshold, then determining that the evaluation result indicates that the quality of the product image meets the preset quality requirements.

[0135] In some embodiments, the first fluctuation information includes the grayscale value of each pixel in the target area image, and the second fluctuation information includes the grayscale value of each pixel in the background area image; at this time, the grayscale value of each pixel in the target area image in the first fluctuation information is compared with the first preset change rate threshold, and the grayscale value of each pixel in the background area image in the second fluctuation information is compared with the second preset change rate threshold. If there is a grayscale value with a change rate greater than the first preset change rate threshold in the first fluctuation information, or there is a grayscale value with a change rate greater than the second preset change rate threshold in the second fluctuation information, then it is determined that the evaluation result indicates that the quality of the product image does not meet the preset quality requirements; if there is no grayscale value with a change rate greater than the first preset change rate threshold in the first fluctuation information, and if there is no grayscale value with a change rate greater than the second preset change rate threshold in the second fluctuation information, then it is determined that the evaluation result indicates that the quality of the product image meets the preset quality requirements.

[0136] The detection method described in the embodiment of the present application evaluates image quality based on changes in the mean grayscale values ​​of each area in the product image, which can improve the accuracy of image quality judgment to a certain extent, thereby improving the accuracy of detection of battery cell radiation source equipment based on image quality.

[0137] In one embodiment, when the battery cell ray source device is tested based on the method described in any of the above embodiments and the test result is determined to be an abnormality of the battery cell ray source device, the battery cell ray source device may further output an alarm message, which is used to instruct the battery cell ray source device to be repaired. The above alarm message may be a voice alarm message or a text alarm message. After the battery cell ray source device outputs the alarm message, the inspection personnel may promptly perform online repair, offline repair, or troubleshooting on the battery cell ray source device, thereby reducing the impact of potential faults of the battery cell ray source device on product testing, thereby improving the detection accuracy of product testing.

[0138] The following embodiment will provide a detection method for improving the service life of a battery core radiation source device. That is, in one embodiment, the battery core radiation source device can also be linked with a product controller on a product logistics line, and change its own working mode through the linkage, thereby achieving the effect of energy saving or improving the service life of the equipment.

[0139] In one embodiment, as shown in FIG9 , the method described in the embodiment of FIG2 further includes the steps of:

[0140] S204 , when receiving a waiting signal sent by a product controller on a product logistics line, controlling the battery cell radiation source device to enter a dormant state.

[0141] Among them, the waiting signal indicates that the product logistics line is in a waiting state, that is, there is no product to be detected on the product logistics line.

[0142] In an embodiment of the present application, the battery cell radiation source device can be linked to the product controller on the product logistics line, and specifically can interact with the product controller, that is, receive any signal sent by the product controller. Here, it can receive a waiting signal sent by the product controller, indicating that the product logistics line is in a waiting state at this time, and the battery cell radiation source device can automatically enter a sleep state.

[0143] The detection method described in the embodiment of the present application realizes that the battery cell radiation source device enters sleep mode when not in detection state through linkage with the product controller on the product logistics line through the battery cell radiation source device, which can extend the service life of the battery cell radiation source device to a certain extent and also achieve energy-saving effect.

[0144] In one embodiment, a method for controlling the radiation source to enter a sleep state is provided, that is, when the battery cell radiation source device executes the above-mentioned step 204, the specific execution steps are: when a waiting signal is received from a product controller on a product logistics line, a timing device is started to start timing, and when the recorded time is greater than the preset sleep time, the battery cell radiation source device is controlled to enter a sleep state.

[0145] The product controller may be a programmable logic controller (PLC) for monitoring the loading and unloading status of products on a product logistics line.

[0146] In an embodiment of the present application, the battery cell ray source device may include a hardware timing device, or include a logic program to implement timing. When the battery cell ray source device receives a waiting signal sent by the product controller, it indicates that the product logistics line is in a waiting state, that is, there are no products to be inspected on it. At this time, the timing device can be immediately started to count, and compared with a preset reasonable sleep time (preset sleep time). If the recorded time is longer than the preset sleep time, it indicates that the battery cell ray source device has been wasting detection resources and needs to enter a sleep state. Therefore, the battery cell ray source device is controlled to stop the detection work and immediately enter a sleep state.

[0147] In some embodiments, a specific implementation method for a battery-core ray source device to enter a sleep state is provided, that is, when the battery-core ray source device executes the step of "controlling the ray source to enter a sleep state", the specific execution steps are: controlling the output module in the ray source to stop emitting light, so that the battery-core ray source device is in a sleep state.

[0148] In the embodiment of the present application, the cumulative light-emitting time of the emission module in the battery-core ray source device (such as the ray tube in the X-ray source) is relatively fixed. For the online battery-core ray source device, when the product logistics line is waiting for material, if the light-emitting module continues to emit light, it will cause a waste of detection resources and reduce the service life of the battery-core ray source device. Based on this, when the battery-core ray source device is controlled to enter a dormant state, the emission module in the battery-core ray source device can be specifically controlled to stop emitting light, so that the battery-core ray source device is in a dormant state. This method can reduce the waste of resources of the emission module, an important component of the battery-core ray source device, to a certain extent by stopping the emission module when the product material line is in a waiting state, thereby improving the service life of the battery-core ray source device.

[0149] In some embodiments, the emission module in the battery-core ray source device is connected to the power module. When the battery-core ray source device is controlled to enter a dormant state, the path between the power module and the emission module in the battery-core ray source device can be specifically disconnected to stop supplying power to the emission module, causing the emission module to stop emitting light and putting the battery-core ray source device into a dormant state. This method can be achieved by disconnecting the power supply connected to the emission module when controlling the emission module to stop emitting light. This can improve the control response speed to a certain extent, thereby reducing the waste of resources of the emission module, an important component of the battery-core ray source device, and thus extending the service life of the battery-core ray source device.

[0150] In some embodiments, when the battery cell ray source device also includes an auxiliary power supply module and other components, when the battery cell ray source device is controlled to enter a sleep state, the path between the power supply module and other components in the battery cell ray source device can be specifically disconnected, as well as the path between the auxiliary power supply module and other components in the battery cell ray source device can be connected, so that the auxiliary power supply module can supply power to other components. When the product material line is in a waiting state, this method can stop the light emitting module and stop the main power supply module from working, and use the auxiliary power supply module to supply power to other components that do not require a lot of electricity, thereby achieving energy-saving effects to a certain extent, and can also reduce the waste of detection resources, thereby improving the service life of the battery cell ray source device.

[0151] In one embodiment, if the electric core ray source device is in a dormant state, as shown in FIG10 , the method described in the embodiment of FIG9 further includes the steps of:

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

[0153] Among them, the waiting signal indicates that the product logistics line is in a loading state, that is, there are products to be inspected on the product logistics line, that is, the waiting signal is used to instruct the start-up of the battery cell radiation source equipment to inspect the products to be inspected.

[0154] In an embodiment of the present application, the battery cell ray source device can be linked to the product controller on the product logistics line, and specifically can exchange information with the product controller, that is, receive any signal sent by the product controller. Here, a detection signal sent by the product controller can be received, indicating that the product logistics line is in a loading state at this time. The battery cell ray source device can then automatically switch from a sleep state to a detection state, and can specifically control the output module in the battery cell ray source device to start emitting light, so that the battery cell ray source device returns to a normal light-emitting state, that is, enters a detection state; or, the passage between the power module and the output module can be specifically connected, so that the power module can supply power to the output module to start the output module to emit light normally.

[0155] In some embodiments, when the battery cell radiation source device enters the sleep state, a preset time length can also be estimated based on the product loading time interval. After the preset time length, the battery cell radiation source device automatically enters the detection state from the sleep state. The specific method of entering the detection state is the same as above. Please refer to the above content and will not be repeated here.

[0156] The detection method described in the embodiment of the present application realizes that the battery cell radiation source device automatically switches from a sleep state to a detection state in the detection state through the linkage between the battery cell radiation source device and the product controller on the product logistics line. The state switching can match the loading and unloading state of the product logistics line, which can extend the service life of the battery cell radiation source device to a certain extent and also achieve energy-saving effects.

[0157] In combination with the detection methods described in all the above embodiments, a self-test method for an electric core X-ray source device is also provided, as shown in FIG11 . The method includes:

[0158] S501 , during the process of inspecting the product to be inspected, obtaining a product image of the product to be inspected collected by a cell X-ray source device on a product logistics line.

[0159] S502 : Identify the target area and the background area in the product image to obtain a target area image and a background area image.

[0160] S503, determine the grayscale value of each pixel in the target area image and the grayscale value of each pixel in the background area image. If there are pixels in the target area image with a grayscale value greater than the first grayscale threshold, and / or there are pixels in the background area image with a grayscale value greater than the second grayscale threshold, execute step S404; if there are no pixels in the target area image with a grayscale value greater than the first grayscale threshold, and there are no pixels in the background area image with a grayscale value greater than the second grayscale threshold, execute step S405.

[0161] S504: Determine that the detection result is that the battery-core radiation source device is abnormal.

[0162] S505: Determine that the detection result shows that the battery-core X-ray source device is normal.

[0163] S506 : Determine first fluctuation information of the grayscale value mean of the target area image in the product images of all frames that changes over time.

[0164] S507 : Determine second fluctuation information of the time-varying mean grayscale value of the background area image in the product images of all frames.

[0165] S508 : Detect the battery-core ray source device according to the first fluctuation information and the second fluctuation information to obtain a detection result.

[0166] S509: If the detection result shows that the battery-core radiation source device is abnormal, an alarm message is output, and the alarm message is used to instruct the battery-core radiation source device to be repaired.

[0167] S510, when receiving the waiting signal sent by the product controller on the product logistics line, start the timing device to start timing, and when the recorded time is greater than the preset sleep time, disconnect the path between the power module and the output module in the battery cell ray source device, so that the output module stops emitting light, and the battery cell ray source device is in a sleep state.

[0168] S511 , when receiving a detection signal sent by the product controller, controlling the battery cell radiation source device to enter a detection state.

[0169] The above steps are all described in the above embodiments. Please refer to the above description for details and will not be repeated here.

[0170] The detection method described in the embodiment of the present application realizes a method for monitoring the health status of the battery cell radiation source equipment by the quality of the product image, and by linking with the product controller on the product logistics line, the battery cell radiation source equipment automatically enters the sleep state when the product logistics line is in the waiting state, and automatically switches from the sleep state to the detection state when the product logistics line is in the loading state, thereby realizing autonomous detection and state switching that matches the loading and unloading states of the product logistics line. To a certain extent, the service life of the battery cell radiation source equipment can be improved, especially for the high-energy battery cell radiation source equipment that includes an output module, which can play a certain protective role on the output module therein, that is, the endurance of the battery cell radiation source equipment is improved.

[0171] Based on any of the above embodiments, the embodiment of the present application also provides an electric core ray source device 1, as shown in Figure 12, the electric core ray source device 1 includes an image acquisition module 10, a power module 11, an emission module 12 and a control module 13; the control module 13 is respectively connected to the image acquisition module 10, the power module 11 and the emission module 12, the emission module 12 is respectively connected to the power module 11 and the image acquisition module 10, and the power module 11 is also connected to the image acquisition module 10; the control module 13 is used to execute the detection method as described in any of the above embodiments. The electric core ray source device 1 can also implement a self-inspection in the process of inspecting the product to be inspected on the product logistics line, that is, self-inspecting its own health status. The specific self-inspection method can be referred to the aforementioned detection method, which will not be repeated here.

[0172] In one embodiment, as shown in FIG13 , the electric core ray source device 1 described in FIG12 further includes: an auxiliary power module 14 and other components 15 ; the other components 15 are connected to the power module 11 and the auxiliary power module 14 , respectively.

[0173] Based on any of the above embodiments, the embodiment of the present application also provides a product inspection system 2, as shown in Figure 14, the product inspection system includes a product to be inspected 21, a product logistics line 22, a product controller 23, and the battery cell radiation source device 1 as described in the above embodiment; wherein, the product to be inspected 21 is arranged in the inspection area 24 on the product logistics line 22, the battery cell radiation source device 1 is arranged at a position around the inspection area 24, and the battery cell radiation source device 1 is connected to the product controller 23.

[0174] During the process of inspecting the products to be inspected on the product logistics line, the product inspection system 2 can also implement a method for inspecting the battery cell radiation source device 1, that is, inspecting the health status of the battery cell radiation source device 1. For the specific self-inspection method, please refer to the aforementioned detection method and will not be repeated here.

[0175] It should be understood that, although the various steps in the flowcharts involved in the various embodiments described above are displayed in sequence according to the instructions of the arrows, these steps are not necessarily executed in sequence in the order indicated by the arrows. Unless otherwise specified herein, there is no strict order restriction on the execution of these steps, and these steps can be executed in other orders. Moreover, at least a portion of the steps in the flowcharts involved in the various embodiments described above can include multiple steps or multiple stages, and these steps or stages are not necessarily executed and completed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a portion of steps or stages in other steps.

[0176] Based on the same inventive concept, the present application also provides a detection device for implementing the aforementioned detection method. The solution provided by this device is similar to the solution described in the aforementioned method. Therefore, the specific limitations in one or more detection device embodiments provided below can be found in the above-mentioned limitations on the detection method for the electric core X-ray source device, and will not be repeated here.

[0177] In one embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram may be shown in Figure 15. The computer device includes a processor, memory, a communication interface, a display screen, and an input device connected via a system bus. The processor of the computer device is used 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 program in the non-volatile storage medium. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner. The wireless manner may be achieved through WiFi, a mobile cellular network, NFC (near field communication), or other technologies. When the computer program is executed by the processor, a detection method for an electric core radiation source device is implemented. The display screen of the computer device may be a liquid crystal display or an electronic ink display screen. The input device of the computer device may be a touch layer covering the display screen, or may be a key, trackball, or touchpad provided on the computer device housing, or may be an external keyboard, touchpad, or mouse.

[0178] Those skilled in the art will understand that the structure shown in FIG15 is merely a block diagram of a portion of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than shown in the figure, or combine certain components, or have a different arrangement of components.

[0179] In one embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, the following steps are implemented:

[0180] Acquire a product image of the product to be inspected collected by the battery core radiation source device on the product logistics line;

[0181] Evaluating the quality of the product image to obtain an evaluation result;

[0182] The battery core ray source device is tested according to the evaluation result to obtain a test result.

[0183] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:

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

[0185] The quality of the product image is evaluated according to the target area image and the background area image to obtain an evaluation result.

[0186] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0187] If there are pixels in the target area image whose grayscale values ​​are greater than a first grayscale threshold, and / or there are pixels in the background area image whose grayscale values ​​are greater than a second grayscale threshold, determining that the evaluation result indicates that the quality of the product image does not meet the preset quality requirements;

[0188] If there are no pixels in the target area image with grayscale values ​​greater than the first grayscale threshold, and there are no pixels in the background area image with grayscale values ​​greater than the second grayscale threshold, then it is determined that the evaluation result indicates that the quality of the product image meets the preset quality requirements.

[0189] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0190] Determine first fluctuation information of a grayscale value mean value of a target area image in all frames of the product image that changes over time;

[0191] Determine second fluctuation information of a grayscale value mean value of a background area image in all frames of the product image that changes over time;

[0192] The quality of the product image is evaluated according to the first fluctuation information and the second fluctuation information to obtain an evaluation result.

[0193] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0194] If the first fluctuation information indicates that the rate of change of the mean grayscale value of the target area image over time is greater than a first preset rate of change threshold, or the rate of change of the mean grayscale value of the background area image over time is greater than a second preset rate of change threshold, then determining that the evaluation result indicates that the quality of the product image does not meet the preset quality requirements;

[0195] If the first fluctuation information indicates that the rate of change of the mean grayscale value of the target area image over time is not greater than a first preset change rate threshold, and the rate of change of the mean grayscale value of the background area image over time is not greater than a second preset change rate threshold, then it is determined that the evaluation result indicates that the quality of the product image meets the preset quality requirements.

[0196] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0197] Determining whether the evaluation results meet preset quality requirements;

[0198] If the evaluation result indicates that the quality of the product image does not meet the preset quality requirement, determining that the detection result is that the battery core radiation source device is abnormal;

[0199] If the evaluation result indicates that the quality of the product image meets the preset quality requirement, then the detection result is determined to be that the electric core radiation source device is normal.

[0200] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0201] If the detection result shows that the battery core ray source device is abnormal, an alarm message is output, and the alarm message is used to instruct the battery core ray source device to be repaired.

[0202] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0203] When receiving a waiting signal sent by a product controller on the product logistics line, the battery core ray source device is controlled to enter a dormant state.

[0204] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0205] When a waiting signal is received from a product controller on the product logistics line, a timing device is started to start timing. When the recorded time is longer than a preset sleep time, the battery cell ray source device is controlled to enter a sleep state.

[0206] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0207] The emitting module in the battery-core ray source device is controlled to stop emitting light, so that the battery-core ray source device is in the dormant state.

[0208] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0209] The passage between the power module and the emission module in the electric core ray source device is disconnected, so that the emission module stops emitting light.

[0210] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0211] Disconnect the path between the power module and other components in the electric core ray source device, and connect the path between the auxiliary power module and the other components in the electric core ray source device, so that the auxiliary power module supplies power to the other components.

[0212] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0213] When receiving the detection signal sent by the product controller, the battery core ray source device is controlled to enter a detection state.

[0214] The computer device provided in the above embodiment has an implementation principle and technical effects similar to those of the above method embodiment, and will not be described in detail here.

[0215] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the following steps are implemented:

[0216] Acquire a product image of the product to be inspected collected by the battery core radiation source device on the product logistics line;

[0217] Evaluating the quality of the product image to obtain an evaluation result;

[0218] The battery core ray source device is tested according to the evaluation result to obtain a test result.

[0219] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented:

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

[0221] The quality of the product image is evaluated according to the target area image and the background area image to obtain an evaluation result.

[0222] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented:

[0223] If there are pixels in the target area image whose grayscale values ​​are greater than a first grayscale threshold, and / or there are pixels in the background area image whose grayscale values ​​are greater than a second grayscale threshold, determining that the evaluation result indicates that the quality of the product image does not meet the preset quality requirements;

[0224] If there are no pixels in the target area image with grayscale values ​​greater than the first grayscale threshold, and there are no pixels in the background area image with grayscale values ​​greater than the second grayscale threshold, then it is determined that the evaluation result indicates that the quality of the product image meets the preset quality requirements.

[0225] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented:

[0226] Determine first fluctuation information of a grayscale value mean value of a target area image in all frames of the product image that changes over time;

[0227] Determine second fluctuation information of a grayscale value mean value of a background area image in all frames of the product image that changes over time;

[0228] The quality of the product image is evaluated according to the first fluctuation information and the second fluctuation information to obtain an evaluation result.

[0229] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented:

[0230] If the first fluctuation information indicates that the rate of change of the mean grayscale value of the target area image over time is greater than a first preset rate of change threshold, or the rate of change of the mean grayscale value of the background area image over time is greater than a second preset rate of change threshold, then determining that the evaluation result indicates that the quality of the product image does not meet the preset quality requirements;

[0231] If the first fluctuation information indicates that the rate of change of the mean grayscale value of the target area image over time is not greater than a first preset change rate threshold, and the rate of change of the mean grayscale value of the background area image over time is not greater than a second preset change rate threshold, then it is determined that the evaluation result indicates that the quality of the product image meets the preset quality requirements.

[0232] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented:

[0233] Determining whether the evaluation results meet preset quality requirements;

[0234] If the evaluation result indicates that the quality of the product image does not meet the preset quality requirement, determining that the detection result is that the battery core radiation source device is abnormal;

[0235] If the evaluation result indicates that the quality of the product image meets the preset quality requirement, then the detection result is determined to be that the electric core radiation source device is normal.

[0236] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented:

[0237] If the detection result shows that the battery core ray source device is abnormal, an alarm message is output, and the alarm message is used to instruct the battery core ray source device to be repaired.

[0238] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented:

[0239] When receiving a waiting signal sent by a product controller on the product logistics line, the battery core ray source device is controlled to enter a dormant state.

[0240] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented:

[0241] When a waiting signal is received from a product controller on the product logistics line, a timing device is started to start timing. When the recorded time is longer than a preset sleep time, the battery cell ray source device is controlled to enter a sleep state.

[0242] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented:

[0243] The emitting module in the battery-core ray source device is controlled to stop emitting light, so that the battery-core ray source device is in the dormant state.

[0244] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented:

[0245] The passage between the power module and the emission module in the electric core ray source device is disconnected, so that the emission module stops emitting light.

[0246] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented:

[0247] Disconnect the path between the power module and other components in the electric core ray source device, and connect the path between the auxiliary power module and the other components in the electric core ray source device, so that the auxiliary power module supplies power to the other components.

[0248] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented:

[0249] When receiving the detection signal sent by the product controller, the battery core ray source device is controlled to enter a detection state.

[0250] The above embodiment provides a computer-readable storage medium, whose implementation principle and technical effects are similar to those of the above method embodiment, and will not be repeated here.

[0251] Those skilled in the art will appreciate that all or part of the processes in the above-mentioned embodiment methods can be implemented by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, database or other media used in the embodiments provided in this application may include at least one of non-volatile and volatile memory. Non-volatile memory may include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory may include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in the various embodiments provided herein may include at least one of a relational database and a non-relational database. Non-relational databases may include, but are not limited to, distributed databases based on blockchains. The processor involved in the various embodiments provided herein may be, but are not limited to, a general-purpose processor, a central processing unit, a graphics processing unit, a digital signal processor, a programmable logic unit, a data processing logic unit based on quantum computing, and the like.

[0252] The technical features of the above embodiments can be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0253] The above-described embodiments merely represent several implementation methods of the present application. While the descriptions are relatively specific and detailed, they should not be construed as limiting the scope of the present application. It should be noted that a person of ordinary skill in the art may make various modifications and improvements without departing from the spirit of the present application, and these modifications and improvements fall within the scope of protection of the present application. Therefore, the scope of protection of the present application shall be determined by the appended claims.

Claims

1. A detection method for a cell ray source device, wherein, The method includes: Obtaining a product image of a product to be inspected collected by the cell ray source device on a product logistics line; Evaluating the quality of the product image to obtain an evaluation result; Detecting the cell ray source device according to the evaluation result to obtain a detection result.

2. The method according to claim 1, wherein The evaluating the quality of the product image to obtain an evaluation result includes: Identifying a target area and a background area in the product image to obtain a target area image and a background area image; Evaluating the quality of the product image according to the target area image and the background area image to obtain an evaluation result.

3. The method according to claim 2, wherein, 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 there are pixel points with gray values greater than a first gray value threshold in the target area image, and / or there are pixel points with gray values greater than a second gray value threshold in the background area image, it is determined that the evaluation result indicates that the quality of the product image does not meet the preset quality requirements; If there are no pixel points with gray values greater than the first gray value threshold in the target area image, and there are no pixel points with gray values greater than the second gray value threshold in the background area image, it is determined that the evaluation result indicates that the quality of the product image meets the preset quality requirements.

4. The method according to claim 2, wherein, The product image includes multiple frames of product images. 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 the mean gray value of the target area image in all frames of the product image changing with time; Determining second fluctuation information of the mean gray value of the background area image in all frames of the product image changing with time; Evaluating the quality of the product image according to the first fluctuation information and the second fluctuation information to obtain an evaluation result.

5. The method according to claim 4, wherein, 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 mean gray value of the target area image changing with time is greater than a first preset change rate threshold, or the change rate of the mean gray value of the background area image changing with time is greater than a second preset change rate threshold, it is determined that the evaluation result indicates that the quality of the product image does not meet the preset quality requirements; If the first fluctuation information indicates that the change rate of the mean gray value of the target area image changing with time is not greater than the first preset change rate threshold, and the change rate of the mean gray value of the background area image changing with time is not greater than the second preset change rate threshold, it is determined that the evaluation result indicates that the quality of the product image meets the preset quality requirements.

6. The method according to any one of claims 1-5, wherein, The detecting the cell ray source device according to the evaluation result to obtain a detection result includes: Determining whether the evaluation result meets the preset quality requirements; If the evaluation result indicates that the quality of the product image does not meet the preset quality requirements, it is determined that the detection result is that the cell ray source device is abnormal; If the evaluation result indicates that the quality of the product image meets the preset quality requirements, determine that the detection result is that the cell ray source device is normal.

7. The method according to claim 1, wherein The method further includes: If the detection result is that the cell ray source device is abnormal, output an alarm message for indicating to perform maintenance on the cell ray source device.

8. The method according to any one of claims 1-5, wherein, The method further includes: When receiving a material shortage signal sent by a product controller on the product logistics line, control the cell ray source device to enter a sleep state.

9. The method according to claim 8, wherein, The step of, when receiving a material shortage signal sent by a product controller on the product logistics line, controlling the cell ray source device to enter a sleep state includes: When receiving a material shortage signal sent by a product controller on the product logistics line, start a timing device to time. When the recorded duration is greater than a preset sleep duration, control the cell ray source device to enter the sleep state.

10. The method according to claim 9, wherein, The step of controlling the cell ray source device to enter the sleep state includes: Control the light emitting module in the cell ray source device to stop emitting light, so that the cell ray source device is in the sleep state.

11. The method according to claim 10, wherein, The step of controlling the light emitting module in the cell ray source device to stop emitting light includes: Disconnect the path between the power supply module and the light emitting module in the cell ray source device, so that the light emitting module stops emitting light.

12. The method according to claim 11, wherein, The method further includes: Disconnect the path between the power supply module and other components in the cell ray source device, and connect the path between the auxiliary power supply module and the other components in the cell ray source device, so that the auxiliary power supply module supplies power to the other components.

13. The method according to claim 8, wherein The method further includes: When receiving a detection signal sent by the product controller, control the cell ray source device to enter a detection state.

14. A cell ray source device, wherein, The cell ray source device includes an image acquisition module, a power supply module, a light emitting module, and a control module; the control module is respectively connected to the image acquisition module, the power supply module, and the light emitting module, and the light emitting module is connected to the power supply module; The control module is configured to execute the detection method according to any one of claims 1-13.

15. The cell ray source device according to claim 14, wherein, The cell ray source device further includes an auxiliary power supply module and other components; the other components are respectively connected to the power supply module and the auxiliary power supply module.

16. A product detection system, wherein, The product detection system includes a product to be detected, a product logistics line, a product controller, and the cell ray source device according to claim 14 or 15; the product to be detected is disposed in a detection area on the product logistics line, the cell ray source device is disposed at a surrounding position of the detection area, and the cell ray source device is connected to the product controller.

17. A computer device, comprising a memory and a processor, the memory storing a computer program, wherein, When the processor executes the computer program, it implements the steps of the method according to any one of claims 1 to 13.

18. A computer-readable storage medium having a computer program stored thereon, wherein, When the computer program is executed by the processor, it implements the steps of the method according to any one of claims 1 to 13.

Citation Information

Patent Citations

  • X-ray source equipment power supply system and X-ray source equipment endurance method

    CN112731999A

  • X-ray detection system, device and method for multi-stage sorting of detected articles

    CN114602818A

  • X-ray detector quality detection method and system, storage medium and electronic equipment

    CN116523836A

  • Image processing method and device, computer equipment and medium

    CN116883336A

  • Detection method of cell radiation source equipment, cell radiation source equipment and system

    CN117557567A