Method, device, computer storage medium for detecting remaining amount of welding strip and stringer welding machine

By analyzing images of the solder ribbon reel, the rate of change of the linear distance between the edge of the solder ribbon and the edge of the reel is detected. This solves the problems of high equipment cost and inability to accurately predict when the solder ribbon is used up in the existing technology, and realizes rapid and accurate detection of the remaining amount of solder ribbon and timely reel replacement.

CN117197065BActive Publication Date: 2026-06-19WUXI AUTOWELL TECH

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
WUXI AUTOWELL TECH
Filing Date
2023-09-05
Publication Date
2026-06-19

AI Technical Summary

Technical Problem

Existing methods for detecting the remaining amount of solder ribbon require the configuration of multiple sensor switches, which increases equipment costs and cannot accurately warn of when the solder ribbon is used up.

Method used

By acquiring images of the solder strip reel at regular time intervals, and using image analysis to obtain the rate of change of the linear distance between the edge of the solder strip and the edge of the solder strip reel, it is determined whether there is a last loop of solder strip remaining, and an alarm is issued when necessary.

Benefits of technology

It enables rapid and accurate detection of remaining solder strip, reduces equipment costs, ensures timely reel replacement, and prevents solder strip from running out.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117197065B_ABST
    Figure CN117197065B_ABST
Patent Text Reader

Abstract

This application provides a method, apparatus, computer storage medium, and stringer for detecting the remaining amount of solder ribbon. The method includes: acquiring images of the solder ribbon reel during the feeding process at first predetermined time intervals; for each acquired image of the solder ribbon reel, obtaining the straight-line distance between the edge of the solder ribbon and the edge of the solder ribbon reel; calculating the rate of change of the straight-line distance using the corresponding straight-line distances of two adjacent images of the solder ribbon reel; and determining that only the last ring of solder ribbon remains on the reel when the calculated rate of change of the straight-line distance exceeds a predetermined rate of change threshold. This method acquires images of the solder ribbon reel and obtains the rate of change of the straight-line distance between the edge of the solder ribbon and the edge of the solder ribbon reel through image analysis, ultimately detecting the remaining amount of solder ribbon based on the rate of change to determine that only the last ring of solder ribbon remains on the reel.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of photovoltaic module manufacturing, specifically to a method, apparatus, computer storage medium, and string welding machine for detecting residual solder strip. Background Technology

[0002] During the battery string welding process, the welding strip is released through the welding strip reel to achieve welding strip feeding. When the remaining amount of welding strip on the welding strip reel is lower than the predetermined value (for example, only the last loop of welding strip is left), the welding strip reel needs to be replaced.

[0003] To ensure timely replacement of the solder strip reel, it is necessary to detect the remaining amount of solder strip on the reel. The current solution involves installing several inductive switches at different locations on the string welding machine and the solder strip reel. These switches detect the amount of solder strip remaining.

[0004] Existing methods for detecting the remaining amount of solder ribbon require the configuration of multiple induction switches, which increases equipment costs. Furthermore, the positions of the induction switches are fixed, making it impossible to accurately provide early warnings when the solder ribbon is depleted. Summary of the Invention

[0005] To address the aforementioned technical problems with existing methods for detecting residual solder strip, this application provides a method for detecting residual solder strip, the detailed technical solution of which is as follows:

[0006] A method for detecting residual solder strip includes:

[0007] Images of the welding strip reel during the feeding process are acquired at first predetermined time intervals;

[0008] For each acquired image of the solder strip reel, the straight-line distance between the edge of the solder strip and the edge of the solder strip reel is obtained from the image.

[0009] The rate of change of the straight-line distance is calculated using the straight-line distance between two adjacent solder strip images.

[0010] When the calculated rate of change of the straight-line distance exceeds the predetermined rate of change threshold, it is determined that only the last ring of solder strip remains on the solder strip reel.

[0011] This method acquires an image of the solder strip reel and obtains the rate of change of the linear distance between the edge of the solder strip and the edge of the solder strip reel through image analysis. Finally, it detects the remaining amount of solder strip based on the rate of change to determine whether only the last ring of solder strip remains on the solder strip reel.

[0012] In some embodiments, obtaining the straight-line distance between the edge of the solder ribbon and the edge of the solder ribbon reel based on the solder ribbon reel image includes: extracting a solder ribbon reel region map and a solder ribbon region map from the solder ribbon reel image; calculating the pixel distance between the edge contour of the solder ribbon region map and the edge contour on the solder ribbon reel region map using an edge contour detection algorithm; and mapping the pixel distance to the straight-line distance between the edge of the solder ribbon and the edge of the solder ribbon reel.

[0013] A method for obtaining straight-line distance is provided, which can quickly and accurately obtain the straight-line distance between the edge of the solder strip and the edge of the solder strip spool.

[0014] In some embodiments, extracting a solder reel region map and a solder strip region map from a solder reel image includes: performing a cropping process on the solder reel image to obtain a cropped image including the solder reel; removing the edge blank areas of the cropped image; and extracting the solder reel region map and the solder strip region map from the cropped image.

[0015] A method for extracting target region maps is provided, which can quickly and accurately extract the solder strip region map and solder strip region map of interest from the solder strip reel image.

[0016] In some embodiments, extracting the solder reel region map and the solder strip region map from the cropped image includes: performing image segmentation on the cropped image using a region segmentation algorithm to obtain the solder reel region map and the solder strip region map; and removing the edge blank areas of the solder reel region map and the solder strip region map.

[0017] The region segmentation algorithm can quickly and accurately segment the solder strip disk region map and the solder strip region map from the cropped image.

[0018] In some embodiments, before extracting the solder reel region map and the solder reel region map from the cropped image, the detection method further includes: normalizing the angle of the solder reel in the cropped image.

[0019] Because it is difficult to ensure that the viewing angle of each acquired image of the solder strip reel is completely consistent, the angle of the solder strip reel in each image may deviate. By normalizing the angle of the solder strip reel in the cropped images, the angle of the solder strip reel in each cropped image is made consistent, ultimately ensuring that the calculated rate of change of the straight-line distance between the edge of the solder strip and the edge of the solder strip reel is objective and true.

[0020] In some embodiments, the rate of change of the straight-line distance is calculated using the straight-line distance between two adjacent solder reel images, including: subtracting the straight-line distance between the later solder reel image and the earlier solder reel image to obtain a straight-line distance difference; and dividing the straight-line distance difference by the duration corresponding to a first predetermined time interval to obtain the rate of change of the straight-line distance.

[0021] By calculating the rate of change of the straight-line distance after each acquisition of a pad image, it is possible to detect and determine more promptly that only the last ring of solder ribbon remains on the solder ribbon pad.

[0022] In some embodiments, after determining that only one ring of solder ribbon remains on the solder ribbon reel, the detection method further includes: obtaining the proportion of the last ring of solder ribbon in the axial direction of the solder ribbon reel; when the proportion is lower than the target proportion, determining that the solder ribbon is about to be used up and issuing an alarm; or, after waiting for a predetermined period of time, determining that the solder ribbon is about to be used up and issuing an alarm.

[0023] Ensure that an alarm is triggered before the soldering strip is completely used up, so as to ensure timely replacement of the tray.

[0024] In some embodiments, obtaining the proportion of the last loop of solder strip along the axial direction of the solder strip reel includes: acquiring an image of the solder strip reel at second predetermined time intervals; obtaining the length of the solder strip region along the axial direction of the solder strip reel from the image of the solder strip reel; and calculating the proportion based on the length and a pre-stored axial length of the solder strip reel.

[0025] A method is provided for obtaining the proportion of the last ring of solder strip along the axial direction of the solder strip reel. This method involves acquiring an image of the solder strip reel, obtaining the length of the solder strip region along the axial direction of the solder strip reel through image analysis, and finally calculating the proportion of the last ring of solder strip along the axial direction of the solder strip reel based on the length and the pre-stored axial length of the solder strip reel.

[0026] This application also provides a solder ribbon remaining quantity detection device, which includes a memory and a processor. The memory stores at least one program instruction, and the processor loads and executes at least one program instruction to implement the solder ribbon remaining quantity detection method as described in any of the above claims.

[0027] This application also provides a computer storage medium storing at least one program instruction, which is loaded and executed by a processor to implement the solder ribbon remaining quantity detection method as described in any of the preceding claims.

[0028] This application also provides a string welding machine, which includes a ribbon feeding device, a cell feeding device, a welding conveying device, a welding device, and the aforementioned ribbon remaining quantity detection device, wherein:

[0029] The welding strip remaining quantity detection device is used to detect the remaining quantity of welding strip on the welding strip feeding device and to issue an alarm when the welding strip is used up;

[0030] The welding strip feeding device is used to supply welding strips to the welding conveying device, and the battery cell feeding device is used to supply battery cells to the welding conveying device. The welding strip feeding device and the battery cell feeding device stack the welding strips and battery cells onto the welding conveying device.

[0031] The welding conveyor transports the stacked welding strips and battery cells to the welding device, which then welds the welding strips and battery cells into battery strings.

[0032] Through the coordination of the ribbon feeding device, the cell feeding device, the welding conveyor device, and the welding device, the stringing machine achieves automatic stringing of cells. In particular, by setting up a ribbon remaining quantity detection device, the remaining amount of ribbon on the ribbon reel on the ribbon feeding device is automatically detected, ensuring that the reel can be replaced in a timely manner when the ribbon is almost used up. Attached Figure Description

[0033] Figure 1 This is a schematic diagram showing the change in the linear distance between the edge of the solder strip and the edge of the solder strip reel during the feeding process.

[0034] Figure 2 This is a schematic diagram showing the rate of change of the linear distance between the edge of the solder strip and the edge of the solder strip reel.

[0035] Figure 3 This is a flowchart of the solder strip remaining amount detection method in the embodiments of this application. Detailed Implementation

[0036] To make the above-mentioned objectives, features and advantages of this application more apparent and understandable, the application will be further described in detail below with reference to the accompanying drawings and specific embodiments.

[0037] The technical solutions of this application will now be clearly and completely described with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of this application. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0038] In the description of this application, it should be noted that the terms "center," "upper," "lower," "left," "right," "vertical," "horizontal," "inner," and "outer," etc., indicate the orientation or positional relationship based on the orientation or positional relationship shown in the accompanying drawings. They are used only for the convenience of describing this application and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation. Therefore, they should not be construed as limitations on this application. Furthermore, the terms "first," "second," and "third" are used for descriptive purposes only and should not be construed as indicating or implying relative importance.

[0039] In the description of this application, it should be noted that, unless otherwise expressly specified and limited, the terms "installation," "connection," and "linking" should be interpreted broadly. For example, they can refer to a fixed connection, a detachable connection, or an integral connection; they can refer to a mechanical connection or an electrical connection; they can refer to a direct connection or an indirect connection through an intermediate medium; and they can refer to the internal connection between two components. Those skilled in the art can understand the specific meaning of the above terms in this application based on the specific circumstances.

[0040] Furthermore, the technical features involved in the different embodiments of this application described below can be combined with each other as long as they do not conflict with each other.

[0041] As those skilled in the art know, the solder strip on the solder strip reel is neatly wound around the reel in turns (or layers) along the axial direction of the reel. During the feeding process, the solder strip is released from the outside in turn. That is, as the solder strip reel rotates, the solder strip on the reel is released from the outside in turn along the axial direction of the reel.

[0042] Figure 1 The diagram illustrates the change in the linear distance S between the edge of the welding strip 2 and the edge of the welding strip reel 1 during the feeding process. For example... Figure 1 As shown in (a) and (b), before the last round of welding strip is fed, the straight-line distance S between the edge of the welding strip 2 and the edge of the welding strip 1 will decrease once after the welding strip 1 has been fed one or two full rounds along the axial direction of the welding strip 1 (X-axis direction in the figure).

[0043] Therefore, during the first stage of feeding, the rate of change of the straight-line distance S between the edge of the welding strip 2 and the edge of the welding strip spool 1 is relatively small.

[0044] like Figure 1 As shown in (c) and (d), during the feeding of the last ring of solder strip, for every small ring of solder strip fed out by the solder strip reel 1 in the direction of rotation of the solder strip reel 1, the straight-line distance S between the edge of the solder strip 2 and the edge of the solder strip reel 1 decreases by one.

[0045] Therefore, during the second stage of feeding, the rate of change of the straight-line distance S between the edge of the welding strip 2 and the edge of the welding strip trolley 1 is relatively large.

[0046] To further confirm the above pattern, the feeding process of the solder strip reel was simulated, and the results were obtained. Figure 2 The curve showing the rate of change of the linear distance S between the edge of the solder strip and the edge of the solder strip reel over time t is shown. Figure 2 As can be seen from the curve, the rate of change of the linear distance S between the edge of the solder strip and the edge of the solder strip reel during the feeding process is divided into segments.

[0047] In the first segment, the rate of change of the straight-line distance V1 between the edge of the solder strip and the edge of the solder strip reel is small and increases slowly. This segment is the curve of the rate of change of the straight-line distance S between the edge of the solder strip and the edge of the solder strip reel during the first stage of feeding process mentioned above.

[0048] In the second segment, the rate of change of the linear distance V2 between the edge of the solder strip and the edge of the solder strip reel is large and increases rapidly. This segment is the curve of the rate of change of the linear distance S between the edge of the solder strip and the edge of the solder strip reel during the second stage of feeding process mentioned above.

[0049] In addition, from Figure 2 As can be seen, at the transition point between the first and second segments, the rate of change of the linear distance between the edge of the solder strip and the edge of the solder strip reel increases sharply. This transition point is the starting point for the last loop of solder strip.

[0050] Based on the above understanding, the technical concept of this application is as follows:

[0051] During the feeding process, the rate of change of the straight-line distance between the edge of the welding strip and the edge of the welding strip reel is monitored to determine whether only the last ring of welding strip remains on the welding strip reel.

[0052] Based on the above technical concept, this application ultimately proposes a method for detecting the amount of solder strip remaining, such as... Figure 3 As shown, it includes the following steps:

[0053] Step 101: Collect images of the welding strip reel during the feeding process at first predetermined time intervals.

[0054] Optionally, a camera can be installed on the side of the solder reel, and the camera can be controlled to take a picture of the solder reel every first predetermined time interval, thereby obtaining an image of the solder reel every first predetermined time interval. The specific value of the first predetermined time interval can be selected according to factors such as the length of one loop of solder and the feeding speed of the solder reel. For example, the first predetermined time interval can be set to 4 seconds.

[0055] Step 102: For each acquired image of a solder strip reel, obtain the straight-line distance between the edge of the solder strip and the edge of the solder strip reel from the image of the solder strip reel.

[0056] Optionally, the camera sends the acquired image of the solder strip reel to a processor equipped with an image processing algorithm, which then calls the algorithm to obtain the straight-line distance between the edge of the solder strip and the edge of the solder strip reel.

[0057] For example, in one possible implementation, the process of obtaining the straight-line distance between the edge of the solder strip and the edge of the solder strip pad includes the following steps:

[0058] Step S11: Extract the solder strip area map and the solder strip area map from the solder strip image.

[0059] Optionally, the specific execution process of step S11 is as follows:

[0060] First, the image of the solder strip reel is cropped to obtain a cropped image that includes only the solder strip reel and the solder strip on it.

[0061] Identifying regions of interest or points of interest from images is a standard technique in the field of image recognition. There are many mature processing strategies available in the prior art. When implementing this application, those skilled in the art can select appropriate cropping strategies as needed to crop a cropped image including the solder reel and the solder strips on it from the solder reel image.

[0062] Next, remove the blank areas at the edges of the cropped image.

[0063] Finally, the solder strip area map and solder strip area map are extracted from the cropped image.

[0064] Since the solder reel is black and the solder ribbon is silver-white, there is a significant difference in their grayscale values ​​in the image. Therefore, existing mature region segmentation algorithms (such as semantic image segmentation algorithms) can be used to quickly and accurately extract the solder reel region map and the solder ribbon region map from the cropped image. After extracting the solder reel region map and the solder ribbon region map, the blank areas at the edges of the solder reel region map and the solder ribbon region map can be further removed.

[0065] Since it is difficult to ensure that the camera maintains a completely consistent perspective in each acquisition of solder reel images, the angle of the solder reel in each image obtained by the camera may deviate. To solve this problem, optionally, before performing step S11 to extract the solder reel area map and solder area map from the solder reel image, this embodiment of the application further includes: normalizing the angle of the solder reel in the cropped image.

[0066] By normalizing the angle of the solder strip reel in the cropped images, the angle of the solder strip reel in each cropped image is made uniform, thus ensuring that the calculated rate of change of the straight-line distance between the edge of the solder strip and the edge of the solder strip reel is objective and true.

[0067] Step S12: Calculate the pixel distance between the edge contour of the solder strip area map and the edge contour of the solder strip tray area map using an edge contour detection algorithm.

[0068] As mentioned earlier, there is a significant difference in the grayscale of pixels in the solder strip area image and the solder strip tray area image. Therefore, the edge contours of the solder strip area image and the solder strip tray area image can be obtained through an edge contour detection algorithm, and finally the pixel distance between the edge contours of the solder strip area image and the edge contours of the solder strip tray area image can be calculated.

[0069] Step S13: Map the pixel distance to the straight-line distance between the edge of the solder ribbon and the edge of the solder ribbon disk.

[0070] As those skilled in the art know, there is a specific correspondence between the pixel distance between two target points in an image and the actual physical distance between the two corresponding real objects.

[0071] Therefore, after obtaining the pixel distance between the edge of the solder ribbon and the edge of the solder pad in the image, it can be mapped to the actual straight-line distance between the edge of the solder ribbon and the edge of the solder pad, i.e. Figure 1 The straight-line distance S in the middle.

[0072] Step 103: Calculate the rate of change of the straight-line distance using the straight-line distances corresponding to the acquired images of two adjacent solder strips.

[0073] Optionally, step 103 may include the following steps:

[0074] Step S21: Subtract the straight-line distance corresponding to the previous solder pad image from the straight-line distance corresponding to the subsequent solder pad image to obtain the straight-line distance difference.

[0075] Step S22: Divide the difference in straight-line distance by the duration corresponding to the first predetermined time interval to obtain the rate of change of the straight-line distance.

[0076] By calculating the rate of change of the straight-line distance after each acquisition of a pad image, it is possible to detect and determine more promptly whether only the last ring of solder remains on the solder pad.

[0077] Step 104: When the calculated rate of change of the straight distance exceeds the predetermined rate of change threshold, determine that only the last ring of solder strip remains on the solder strip reel.

[0078] As can be seen, the solder ribbon remaining quantity detection method in this application embodiment acquires an image of the solder ribbon reel and analyzes the image to obtain the rate of change of the linear distance between the edge of the solder ribbon and the edge of the solder ribbon reel. Finally, the remaining quantity of solder ribbon is detected based on the rate of change to determine whether only the last ring of solder ribbon remains on the solder ribbon reel.

[0079] Optional, such as Figure 3 As shown, after determining that only one ring of solder ribbon remains on the solder ribbon reel, the solder ribbon remaining quantity detection method in this embodiment further includes the following steps:

[0080] Step 105: Obtain the percentage of the last ring of solder strip on the axial direction of the solder strip reel. If the percentage is lower than the target percentage, determine that the solder strip is about to run out and issue an alarm; or, wait for a predetermined time and determine that the solder strip is about to run out and issue an alarm.

[0081] The proportion of the last ring of welding strip in the axial direction of the welding strip reel and the predetermined waiting time can be selected and set according to factors such as the length of one ring of welding strip and the feeding speed of the welding strip reel. When selecting and setting, the following two points should be considered: an alarm should be triggered before the welding strip is used up, and the amount of remaining welding strip should be minimized to reduce waste.

[0082] Optionally, obtaining the percentage of the last ring of solder strip along the axial direction of the solder strip reel includes the following steps:

[0083] S31. Acquire an image of the solder strip reel every second predetermined time interval, and obtain the length of the solder strip region along the axial direction of the solder strip reel from the image of the solder strip reel.

[0084] The specific method for obtaining the solder strip area map can be found in the previous text and will not be repeated here. The specific value of the second predetermined time interval can be set according to the length of one loop of solder strip and the feeding speed of the solder strip reel. The second predetermined time interval can be set to be less than the first predetermined time interval, for example, 4 seconds. It can also be set to be less than the first predetermined time interval, for example, 2 seconds.

[0085] S32. Based on the length of the strip area along the axial direction of the strip reel and the pre-stored strip reel axial length, calculate the proportion of the last strip in the axial direction of the strip reel.

[0086] This application also provides a solder ribbon remaining quantity detection device, which includes a memory and a processor. The memory stores at least one program instruction, and the processor loads and executes at least one program instruction to implement the solder ribbon remaining quantity detection method of any of the above embodiments.

[0087] This application also provides a computer storage medium storing at least one program instruction, which is loaded by a processor and executes the solder ribbon remaining quantity detection method of any of the above embodiments.

[0088] In addition, this application embodiment also provides a string welding machine, which includes a welding ribbon feeding device, a battery cell feeding device, a welding conveying device, a welding device, and the aforementioned welding ribbon remaining quantity detection device, wherein: the welding ribbon remaining quantity detection device is used to detect the remaining welding ribbon on the welding ribbon reel on the welding ribbon feeding device and to provide an alarm when the welding ribbon is used up; the welding ribbon feeding device is used to provide welding ribbon to the welding conveying device, the battery cell feeding device is used to provide battery cells to the welding conveying device, the welding ribbon feeding device and the battery cell feeding device stack the welding ribbon and battery cells on the welding conveying device; the welding conveying device conveys the stacked welding ribbon and battery cells to the welding device, and the welding device welds the welding ribbon and battery cells into a battery string.

[0089] Through the coordination of the ribbon feeding device, the cell feeding device, the welding conveyor device, and the welding device, the stringing machine achieves automatic stringing of cells. In particular, by setting up a ribbon remaining quantity detection device, the remaining amount of ribbon on the ribbon reel on the ribbon feeding device is automatically detected, ensuring that the reel can be replaced in a timely manner when the ribbon is almost used up.

[0090] The foregoing has provided a sufficiently detailed and specific description of this application. Those skilled in the art should understand that the descriptions in the embodiments are merely exemplary, and all changes made without departing from the true spirit and scope of this application should fall within the protection scope of this application. The scope of protection claimed in this application is defined by the claims, and not by the above descriptions in the embodiments.

Claims

1. A method for detecting the amount of solder strip remaining, characterized in that, The detection method includes: Images of the welding strip reel during the feeding process are acquired at first predetermined time intervals; For each acquired image of a solder strip reel, the straight-line distance between the edge of the solder strip and the edge of the solder strip reel is obtained from the image. The rate of change of the straight-line distance is calculated using the straight-line distance between two adjacent solder strip images. When the calculated rate of change of the straight-line distance exceeds the predetermined rate of change threshold, it is determined that only the last ring of solder strip remains on the solder strip reel.

2. The welding strip remaining amount detection method according to claim 1, characterized by, The step of obtaining the straight-line distance between the edge of the solder strip and the edge of the solder strip reel based on the image of the solder strip reel includes: Extract the solder strip reel area map and the solder strip area map from the solder strip reel image; The pixel distance between the edge contour of the solder strip region map and the edge contour of the solder strip tray region map is calculated using an edge contour detection algorithm. The pixel distance is mapped to the straight-line distance between the edge of the solder ribbon and the edge of the solder ribbon reel.

3. The welding strip remaining amount detection method according to claim 2, characterized by, The step of extracting the solder strip reel area map and the solder strip area map from the solder strip reel image includes: The image of the solder strip reel is cropped to obtain a cropped image including the solder strip reel; Remove the blank areas at the edges of the cropped image; The solder strip reel area map and the solder strip area map are extracted from the cropped image.

4. The welding strip remaining amount detection method according to claim 3, characterized by, The step of extracting the solder strip area map and the solder strip area map from the cropped image includes: The cropped image is segmented using a region segmentation algorithm to obtain the solder strip region map and the solder strip region map. Remove the blank areas at the edges of the solder strip area map and the solder strip area map.

5. The welding strip remaining amount detection method according to claim 3, characterized by, Before extracting the solder strip area map and the solder strip area map from the cropped image, the detection method further includes: The angle of the solder strip in the cropped image is normalized.

6. The welding strip remaining amount detection method according to claim 1, characterized by, The step of calculating the rate of change of the straight-line distance using the straight-line distance corresponding to the acquired images of two adjacent solder strip reels includes: Subtract the straight-line distance corresponding to the previous solder pad image from the straight-line distance corresponding to the subsequent solder pad image to obtain the straight-line distance difference; The rate of change of the straight-line distance is obtained by dividing the difference in straight-line distance by the duration corresponding to the first predetermined time interval.

7. The solder strip remaining amount detection method according to claim 1, characterized by, After determining that only one loop of solder remains on the solder strip reel, the detection method further includes: The percentage of the last coil of solder strip along the axial direction of the solder strip reel is obtained. When this percentage is lower than the target percentage, it is determined that the solder strip is about to run out, and an alarm is triggered; or... After waiting for the predetermined time, if it is determined that the solder ribbon is about to run out, an alarm will be triggered.

8. The solder strip remaining amount detection method according to claim 7, characterized by, The step of obtaining the percentage of the last loop of solder strip along the axial direction of the solder strip reel includes: Image of the solder strip reel is acquired at every second predetermined time interval; Obtain the length of the strip region along the axial direction of the strip reel from the strip reel image; The percentage is calculated based on the length and the pre-stored ribbon reel shaft length.

9. A device for detecting the amount of solder strip remaining, characterized in that, The solder ribbon remaining amount detection device includes a memory and a processor. The memory stores at least one program instruction, and the processor loads and executes the at least one program instruction to implement the solder ribbon remaining amount detection method as described in any one of claims 1 to 8.

10. A computer storage medium, characterized in that The computing and storage medium stores at least one program instruction, which is loaded and executed by a processor to implement the solder ribbon remaining quantity detection method as described in any one of claims 1 to 8.

11. A stringer welding machine characterized by, The string welding machine includes a ribbon feeding device, a cell feeding device, a welding conveying device, a welding device, and a ribbon remaining quantity detection device as described in claim 9, wherein: The welding strip remaining quantity detection device is used to detect the remaining quantity of welding strip on the welding strip feeding device and to issue an alarm when the welding strip is used up. The welding strip feeding device is used to provide welding strips to the welding conveying device, and the battery cell feeding device is used to provide battery cells to the welding conveying device. The welding strip feeding device and the battery cell feeding device stack the welding strips and battery cells on the welding conveying device. The welding conveyor transports the stacked welding strips and battery cells to the welding device, which welds the welding strips and battery cells into battery strings.