CN111369509B - Product detection compensation method and device, product monitoring system and storage medium - Google Patents

Product detection compensation method and device, product monitoring system and storage medium Download PDF

Info

Publication number
CN111369509B
CN111369509B CN202010127189.6A CN202010127189A CN111369509B CN 111369509 B CN111369509 B CN 111369509B CN 202010127189 A CN202010127189 A CN 202010127189A CN 111369509 B CN111369509 B CN 111369509B
Authority
CN
China
Prior art keywords
product
target product
data
current layer
detection
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010127189.6A
Other languages
Chinese (zh)
Other versions
CN111369509A (en
Inventor
周俊杰
谢盛珍
杜兵
冯英俊
杜义贤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Lyric Robot Automation Co Ltd
Original Assignee
Guangdong Lyric Robot Automation Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Lyric Robot Automation Co Ltd filed Critical Guangdong Lyric Robot Automation Co Ltd
Priority to CN202010127189.6A priority Critical patent/CN111369509B/en
Publication of CN111369509A publication Critical patent/CN111369509A/en
Application granted granted Critical
Publication of CN111369509B publication Critical patent/CN111369509B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/0002Inspection of images, e.g. flaw detection
    • G06T7/0004Industrial image inspection
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/80Analysis of captured images to determine intrinsic or extrinsic camera parameters, i.e. camera calibration
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/30Subject of image; Context of image processing
    • G06T2207/30108Industrial image inspection
    • G06T2207/30164Workpiece; Machine component

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Length Measuring Devices By Optical Means (AREA)

Abstract

The application provides a product detection compensation method, a product detection compensation device, a product monitoring system and a storage medium, wherein the product detection compensation method comprises the following steps: in the product winding process, acquiring a first acquisition image obtained by acquiring an image of a target product by a visual detection device under a fixed visual field; obtaining a distance parameter of the target product according to the first collected image, wherein the distance parameter is used as detection data of the target product for the winding material under the current layer, and the distance parameter is used for representing a gap between the winding material of each layer and the selected reference position; determining compensation data of the target product on the current layer according to the current layer number of the target product corresponding to the first collected image; and calibrating the detection data of the winding material corresponding to the target product on the current layer according to the compensation data of the target product on the current layer to obtain the detection result of the target product on the current layer. Therefore, the problem of low product detection precision in the prior art can be solved.

Description

Product detection compensation method and device, product monitoring system and storage medium
Technical Field
The application relates to the technical field of processing detection, in particular to a product detection compensation method and device, a product monitoring system and a storage medium.
Background
For the product formed by winding, in order to improve the processing quality of the product, some product parameters in the winding process are generally detected so as to facilitate processing adjustment.
However, in the method of acquiring images by means of a fixed view field to realize detection, the problem of unclear focusing is easy to occur along with the advance of the product winding process, so that the detection precision of the product is influenced.
Disclosure of Invention
An object of the embodiments of the present application is to provide a method and an apparatus for detecting and compensating a product, a product monitoring system, and a storage medium, so as to solve the problem of low product detection accuracy in the prior art.
In a first aspect, an embodiment provides a method for detecting and compensating a product, where the method includes:
in the product winding process, acquiring a first acquisition image obtained by acquiring an image of a target product by a visual detection device under a fixed visual field;
obtaining a distance parameter of the target product according to the first collected image, wherein the distance parameter is used as detection data of the target product for the winding material under the current layer, and the distance parameter is used for representing a gap between the winding material of each layer and a selected reference position;
determining compensation data of the target product on the current layer according to the current layer number of the target product corresponding to the first collected image;
and calibrating the detection data of the winding material corresponding to the target product on the current layer according to the compensation data of the target product on the current layer to obtain the detection result of the target product on the current layer.
In the method, each layer of the product is subjected to image acquisition in a fixed view field in the winding process of the product, so that preliminary detection data of the target product in each layer are obtained according to the acquired first acquired image, and then the detection data of the target product in each layer state about the winding material is calibrated according to the number of layers corresponding to each detection data of the target product, so that a detection result with high detection precision is obtained. Therefore, even if the winding material surrounding the outer surface of the reel is more and more along with the advance of the winding process, the thickness of the target product is changed along with the increase of the winding material, the phenomenon of unclear focusing is caused, the detection data can be effectively compensated according to the number of layers of the target product, the influence on the measurement precision caused by the focusing problem is reduced, and the overall detection accuracy is improved.
In an optional embodiment, the determining compensation data of the target product at the current layer includes:
and determining the compensation data of the target product on the current layer according to the pre-calculated compensation expression and the current layer number of the target product.
Through the implementation mode, the measurement deviation amount of each layer can be determined in the real-time winding detection process of the product, so that the detection data of each layer are compensated and corrected, and the final detection precision is improved.
In an optional embodiment, before the determining, by using the pre-calculated compensation expression and the current layer number of the target product, the compensation data of the target product at the current layer, the method further includes:
acquiring a plurality of groups of measurement deviation data of a winding test product, wherein each group of data in the plurality of groups of measurement deviation data comprises a deviation amount and a product layer number corresponding to the deviation amount;
and fitting and calculating to obtain the compensation expression based on each deviation amount in the multiple groups of measured deviation data and the number of product layers corresponding to each deviation amount.
Through above-mentioned implementation, can obtain the measurement deviation rule that brings because of product thickness variation, then carry out effective compensation to the detected data that the product coiling in-process obtained based on the deviation rule that determines to promote and detect the precision.
In an alternative embodiment, the acquiring multiple sets of measured deviation data of the coiled test product includes:
determining a fixed field of view of the visual inspection device while a focal plane of the visual inspection device is focused at a designated layer location of the coiled test product;
acquiring checkerboard images collected by the visual detection equipment in the fixed view during the layer number adjusting process of the winding test product, and acquiring checkerboard images respectively corresponding to the winding test product under each layer thickness;
and determining deviation amounts respectively corresponding to the winding test product under each layer thickness based on the number of pixels corresponding to the specified number of checkerboards in the checkerboard image obtained under each layer thickness and the theoretical image precision of the visual detection equipment under the fixed visual field, so as to obtain multiple groups of measurement deviation data of the winding test product.
Through the implementation mode, the measurement deviation caused by the fact that the surface of the product deviates from the imaging focusing clear plane of the visual detection equipment due to the thickness change of the product can be obtained, and the compensation data with high reliability can be obtained.
In an alternative embodiment, the method further comprises:
and calculating the theoretical image precision of the visual detection equipment under the fixed vision field before image acquisition.
Through the implementation mode, data support is provided for the calculation process of the compensation data.
In a second aspect, an embodiment provides a detection compensation apparatus for a product, the apparatus including:
the image acquisition module is used for acquiring a first acquisition image obtained by acquiring an image of a target product under a fixed view by visual detection equipment in the product winding process;
the detection module is used for obtaining a distance parameter of the target product according to the first collected image, the distance parameter is used as detection data of the target product for the winding material under the current layer, and the distance parameter is used for representing a gap between the winding material of each layer and a selected reference position;
the determining module is used for determining compensation data of the target product on the current layer according to the current layer number of the target product corresponding to the first collected image;
and the compensation module is used for calibrating the detection data of the winding material corresponding to the target product on the current layer according to the compensation data of the target product on the current layer to obtain the detection result of the target product on the current layer.
The method provided by the first aspect can be executed by the device, and the product detection accuracy can be improved.
In an alternative embodiment, the determining module is further configured to:
and determining the compensation data of the target product on the current layer according to the pre-calculated compensation expression and the current layer number of the target product.
In an alternative embodiment, the apparatus further comprises a computing module configured to:
acquiring a plurality of groups of measurement deviation data of a winding test product, wherein each group of data in the plurality of groups of measurement deviation data comprises a deviation amount and a product layer number corresponding to the deviation amount;
and fitting and calculating to obtain the compensation expression based on each deviation amount in the multiple groups of measured deviation data and the number of product layers corresponding to each deviation amount.
In a third aspect, an embodiment provides a product monitoring system, including a visual detection device and a control device connected to the visual detection device;
the visual detection equipment is used for acquiring images of the wound product in a fixed view during the winding process of the product;
the control device comprises a memory and a processor;
the memory has stored therein a computer program executable by the processor, which computer program, when executed by the processor, performs the method provided by the aforementioned first aspect.
In a fourth aspect, an embodiment provides a storage medium, on which a computer program is stored, and the computer program, when executed by a processor, performs the method provided in the foregoing first aspect.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required to be used in the embodiments of the present application will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and that those skilled in the art can also obtain other related drawings based on the drawings without inventive efforts.
Fig. 1 is a flowchart of a method for detecting and compensating a product according to an embodiment of the present disclosure.
Fig. 2 is a schematic view of a wound cell in an example provided by the embodiment of the present application at a first viewing angle.
Fig. 3 is a schematic position diagram between a visual inspection apparatus and a winding cell in an example provided by the embodiment of the present application.
Fig. 4 is a winding diagram of a wound cell in an example provided by the embodiment of the present application at a second viewing angle.
Fig. 5 is a schematic diagram of an image capturing area in an example provided by an embodiment of the present application.
Fig. 6 is a schematic view of focus adjustment of a visual inspection apparatus in an example provided by an embodiment of the present application.
Fig. 7 is a functional block diagram of a detection compensation apparatus for a product according to an embodiment of the present disclosure.
Fig. 8 is a block diagram of a product monitoring system according to an embodiment of the present disclosure.
Fig. 9 is a block diagram of a control device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described below with reference to the drawings in the embodiments of the present application.
The inventor finds that in the prior art, the thickness of the product changes along with the advance of the product winding process, so that the product winding surface deviates from a fixed imaging clear surface of a visual detection device, the focusing of the product winding surface is not clear, and the measurement accuracy of the product winding surface is finally influenced.
In view of this, the inventor proposes the following embodiments to improve the measurement accuracy problem caused by the deviation of the detection surface of the product from the fixed imaging clear plane of the visual detection device due to the thickness variation of the product, and in each embodiment provided by the inventor, the image acquisition is still performed on the winding process of the product with a fixed view field, but each detection data obtained in the winding process can be effectively compensated, so that the measurement accuracy is improved, the detection accuracy of the whole system is improved, and the data reference is favorably provided for the subsequent processing adjustment, thereby improving the product quality.
Referring to fig. 1, fig. 1 is a flowchart illustrating a method for detecting and compensating a product according to an embodiment of the present disclosure. The scheme provided by the embodiment of the present application will be described in detail with reference to fig. 1.
In the product winding process of the embodiment of the application, the winding material can be wound around the reel, so that a layer of wrapping surface is formed around the reel, and the layer of wrapping surface is the image acquisition object of the embodiment of the application.
As shown in FIG. 1, the method for detecting and compensating the product includes steps S11-S14. The method can be applied to a control device which is connected with a visual detection device for image acquisition and can also be connected with an actuating mechanism for controlling the rotation of the scroll.
S11: in the product winding process, a first collected image obtained by collecting an image of a target product by a visual detection device under a fixed visual field is obtained.
The visual detection device can be a camera, and a clear focus plane (a clear rectangular focus plane) can be formed when the camera is imaged by adjusting a lens focusing ring of the camera. During the whole product winding process of the embodiment of the application, the visual field of the visual detection device is fixed, for example, the shooting angle and the shooting distance can be fixed.
As an implementation of maintaining a fixed field of view, the position of the visual detection device may be fixed, and the focal plane of the visual detection device is not altered when the position of the focal plane of the visual detection device is determined.
It can be understood that there may be one or more visual inspection devices for image acquisition of the target product, and a plurality of visual inspection devices may be used for image acquisition of different regions of interest of the target product, so as to obtain more inspection data.
As an image acquisition mode, the control device can know the current number of layers of the target product according to the winding parameters of the product, for example, the winding shaft can be regarded as one layer when rotating 360 degrees, the current number of layers of the target product can be obtained through the rotation angle of the winding shaft, the visual detection device performs image acquisition once when winding one layer, a group of first acquired images are obtained, and the first acquired images are sent to the control device, so that the control device performs image recognition on the first acquired images. According to the principle, each layer of the target product can be detected.
For each resulting first acquired image, S12 may be performed.
S12: and obtaining a distance parameter of the target product according to the first collected image, wherein the distance parameter is used as detection data of the target product for the winding material under the current layer, and the distance parameter is used for representing a gap between the winding material of each layer and the selected reference position.
In S12, for each acquired first captured image, the control device may perform image recognition on the first captured image, so as to obtain a distance parameter of the target product reflected in the image according to the first captured image. The number of the spacing parameters is related to the type of the winding material, the area collected by the visual detection equipment and other factors.
Alternatively, the wound material of each layer may be one or more layers, i.e., each layer of material wound to form the target product may be a composite material. Each spacing parameter may represent a gap between one of the wound materials and a selected one of the virtual reference lines.
And determining whether each winding material deviates in the winding process or not through the size of the distance parameter so as to cause the phenomenon that the winding does not reach the standard. It will be appreciated that the pitch parameter may also be used to indicate the gap between the individual materials in the combined material of each layer, i.e. the pitch parameter may also be used to determine whether the individual wound materials are aligned.
It should be noted that, since the thickness of the target product is changed during the product winding process, while the field of view of the same vision-capturing device is fixed and the focal plane is fixed, part of the first captured image is obtained based on the clear focal plane, and another part of the first captured image is obtained when the surface of the target product is far from the focal plane, the result obtained by the image recognition of S12 only may have some results with higher accuracy and some results with lower accuracy.
Therefore, S13 and S14 need to be performed after each acquisition of the detection data to perform detection compensation on the detection data, thereby improving the accuracy of each layer of detection.
S13: and determining compensation data of the target product on the current layer according to the current layer number of the target product corresponding to the first collected image.
As an implementation manner, it may be determined that the target product has been wound to the second layer when the first collected image is obtained by collection according to the collection time of the first collected image, so as to determine the current layer number of the target product corresponding to the first collected image. Based on the determined current layer number of the target product, the compensation data of the target product on the current layer can be inquired or calculated.
S14: and calibrating the detection data of the winding material corresponding to the target product on the current layer according to the compensation data of the target product on the current layer to obtain the detection result of the target product on the current layer.
According to the compensation data determined in the step S13, the detection data of the target product corresponding to the winding material under the current layer can be calibrated, so that the detection result of the target product on the current layer is obtained, the surface detection of each layer of the target product in the winding process is realized, and the detection accuracy is high.
In the method, each layer of the product is subjected to image acquisition in a fixed view field in the product winding process, so that preliminary detection data of the target product on each layer are obtained according to the acquired first acquired image, and then the detection data of the target product on the winding material in each layer state is calibrated according to the number of layers corresponding to each detection data of the target product, so that a detection result with high detection precision is obtained, and the detection accuracy is improved. By the method, even if more and more winding materials surround the outer surface of the reel along with the advance of the winding process and the thickness of the target product is changed along with the advance of the winding process, the phenomenon of unclear focusing is caused, the detection data can be effectively compensated according to the number of layers of the target product, so that the influence on the measurement precision caused by the focusing problem is reduced, and the overall detection accuracy is improved.
In one example, the target product is a wound cell, which may be referred to as a cell for short.
Fig. 2 shows a schematic view of a wound cell in one example at a first viewing angle as a side view of the cell during winding. As shown in fig. 2, the wound cell includes a cell winding needle D (i.e., a winding shaft), the winding material wound around the cell winding needle D includes an anode sheet T1, a cathode sheet T2 and a separator T3, each layer of the material for forming the wound cell is a composite material (an anode sheet T1, a cathode sheet T2 and a separator T3), wherein the separator T3 is used for realizing a separation function between the cathode sheet T2 and the anode sheet T1.
Before the winding needle D of the cell starts to rotate, the anode sheet T1, the separator T3 and the cathode sheet T2 may be disposed in the middle slit of the winding needle D (rectangular area in the center of fig. 2) according to the layout of fig. 2, thereby fixing the winding material. Then, the winding needle D clamps the anode sheet T1, the separator T3, and the cathode sheet T2 and rotates, thereby forming the surfaces of the layers of the battery cell and increasing the thickness of the wound battery cell.
In the winding process of the cell shown in fig. 2, "a", "B", and "C" in fig. 2 respectively indicate positions of the wound cell at different numbers of layers, and for convenience of description, "a" indicates an inner side surface of the wound cell, "B" indicates an outer side surface of the wound cell, and "C" indicates an intermediate surface of the wound cell.
When the cell shown in fig. 2 is detected, a schematic position diagram between the visual detection device and the winding cell is shown in fig. 3. "P" in fig. 3 may indicate a lens position of the vision inspection apparatus, and a dotted rectangular area corresponding to the vision inspection apparatus indicates a fixed visual field area of the vision inspection apparatus in fig. 3.
Fig. 4 is a schematic diagram of a battery cell obtained from a second viewing angle during a winding process of the battery cell. Wherein the second viewing angle is a direction indicated by an arrow "E" in fig. 2, and the direction of the second viewing angle is perpendicular to the direction of the first viewing angle (not shown).
Based on the position layout of the visual inspection apparatus shown in fig. 3, the visual inspection apparatus may be controlled to capture images of regions of interest such as "CCD 1", "CCD 2" and the like in fig. 4, so as to obtain first captured images corresponding to the regions of "CCD 1" and "CCD 2", respectively. By analyzing and identifying the first captured image corresponding to the area of "CCD 2", the pitch parameters d1, d2 shown in fig. 5 can be obtained. D1 represents the distance between the diaphragm T3 and a reference line K when the cell is wound to the lth layer, and d1 represents the distance between one side of the cathode sheet T2 and a reference line K when the cell is wound to the lth layer.
When the regions of fig. 4 and 5 corresponding to "CCD 1" and "CCD 2" are detected by the above-mentioned methods of S11-S14, the pitch parameter identified by the image is adjusted according to the compensation data corresponding to the L-th layer, thereby improving the detection accuracy. For example, when the position of the winding material such as the cathode sheet T2, the separator T3, and the anode sheet T1 is blurred in the first captured image due to the original unclear focusing problem, d1 and d2 identified in the blurred first captured image may be deviated (larger or smaller) compared with the actual situation, and after the compensation is performed through the above-mentioned S13 to S14, d1 and d2 are adjusted to d1 'and d 2' with higher accuracy, so that the winding material of the battery cell (the cathode sheet T1, the separator T3, and the anode sheet T1) can be accurately wound, and the quality of the product is improved.
The determination of the compensation data will be described below.
In this embodiment of the application, in order to determine the compensation data of the target product at the current layer, the above S13 may include step S131.
S131: and determining the compensation data of the target product on the current layer according to the pre-calculated compensation expression and the current layer number of the target product.
The pre-calculated compensation expression can be a linear compensation expression obtained through fitting, and when the current layer number of the target product is determined, the compensation data of the target product on the current layer can be calculated by substituting the current layer number of the target product into the compensation expression.
The compensation expression may be:
Figure BDA0002394075570000121
wherein,
Figure BDA0002394075570000122
the compensation data is represented by a representation of,
Figure BDA0002394075570000123
is a linear compensation parameter and x represents the number of layers of the product.
Through the implementation mode, the measurement deviation amount of each layer can be determined in the real-time winding detection process of the product, so that the detection data of each layer are compensated and corrected, and the final detection precision is improved.
In order to obtain reliable compensation data, a compensation expression may be obtained through steps S101-S102 before performing S131.
S101: and acquiring multiple groups of measurement deviation data of the winding test product, wherein each group of data in the multiple groups of measurement deviation data comprises deviation amount and the number of product layers corresponding to the deviation amount.
Wherein the winding test product is tested to obtain multiple sets of measured deviation data of the winding test product before actual winding production is performed to obtain the target product (i.e., before S11). The winding test product is the same type of product as the target product, for example, the winding test product and the target product may be the same type of winding cells.
As an implementation of S101, S101 includes sub-steps S1011-S1013.
S1011: the fixed field of view of the visual inspection device is determined while the focal plane of the visual inspection device is focused at the location of the designated layer of the wound test product.
S1012: in the layer number adjusting process of the winding test product, chessboard pattern images collected by the visual detection equipment in a fixed visual field are obtained, and chessboard pattern images respectively corresponding to the winding test product under each layer thickness are obtained.
S1013: and determining deviation amounts respectively corresponding to the winding test product under each layer thickness based on the pixel number corresponding to the specified number of chequers in the chequer images obtained under each layer thickness and the theoretical image precision of the visual detection equipment under the fixed visual field, so as to obtain a plurality of groups of measurement deviation data of the winding test product.
Since the test is not performed formally when S1011 is executed, according to the depth of field characteristic of the lens, in combination with the pinhole imaging principle, focus adjustment may be performed by a lens focus ring of the visual inspection apparatus, so that the visual inspection apparatus focuses on a focus clear plane Q2 (P in fig. 6 represents a lens position of the visual inspection apparatus) shown in fig. 6, and the focus clear plane Q2 may correspond to a specified layer position of the electric core product, for example, the specified layer position may be on an inner side surface of a wound electric core, or on an intermediate surface of the wound electric core, or on an outer side surface of the wound electric core. If the focusing clear plane Q2 is focused on the middle plane of the winding battery core, the thickness of the inner side and the outer side with the focusing plane as the reference can be compatible, so that more images are clear in the subsequent testing process.
When determining the fixed field of view, the theoretical image accuracy of the visual inspection apparatus in the fixed field of view may also be calculated prior to image acquisition.
As an implementation manner, the view parameter of the visual inspection apparatus and the number of chip pixels of the visual inspection apparatus may be obtained first, and then the theoretical image accuracy of the visual inspection apparatus is calculated according to the view parameter and the number of chip pixels, and is used as the theoretical image accuracy of the visual inspection apparatus in the fixed view.
Wherein, every visual detection equipment all has the chip that is used for the formation of image, and the long limit ratio of chip physical dimension long limit and pixel physical dimension is the pixel number in chip long limit direction, and the broadside ratio of chip physical dimension broadside and pixel physical dimension is the pixel number in chip broadside direction. Based on this principle, if the size of the fixed field of view is adjusted to H × W in mm, the field of view parameters of the visual inspection apparatus are obtained. The acquired number of pixels of the camera chip is M × N, the unit is pixel, and as the number of the pixels of the chip of the visual detection equipment, the theoretical calculation accuracy of the image of the visual detection equipment in the length direction and the width direction can be calculated to be eta 1 and eta 2 respectively through the following accuracy calculation expression, so that the theoretical image accuracy of the visual detection equipment in the fixed view field is obtained. The calculated theoretical image accuracy can be used to participate in the calculation of S1013, thereby obtaining compensation data.
The precision calculation expression includes:
η1=H/M(mm/pixel);
η2=W/N(mm/pixel)。
regarding S1012-S1013, after the focus plane of the visual inspection apparatus is determined to obtain a fixed field of view, layer number adjustment is performed on the wound test product. In the layer number adjusting process, controlling the visual detection equipment to photograph the chessboard pattern calibration plates in the fixed visual field range at the selected layer number (placing the chessboard pattern calibration plates again and photographing each layer) to obtain the chessboard pattern image corresponding to each layer. And based on each group of images of the checkerboard calibration plate in the fixed view range, obtaining the number of pixels corresponding to the checkerboard with the specified number in each group of images.
Assuming that the focusing clear plane Q2 corresponds to the 5 th layer of the coiled test product, the checkerboard calibration plate placed at the 5 th layer is photographed by the visual inspection device to obtain a checkerboard image once, and at this time, the number of pixels corresponding to the checkerboard with the specified number is obtained (the measured value at this time can be regarded as the true value).
For example, a standard 1mm by 1mm checkerboard calibration plate may be placed in a fixed field of view within a field of view corresponding to the focal plane of the visual inspection device, 10 checkerboards in the transverse direction, i.e., 101 mm by 1mm checkerboards, may be taken, and the pixel count M0 of the 10 checkerboards may be measured using a software measurement tool that matches the checkerboard calibration plate (e.g., a conradson software measurement tool that matches the conradson checkerboard calibration plate).
In combination with the previously obtained theoretical image accuracy η 1 of the visual inspection apparatus in the fixed field of view H × W, assuming that the coiled test product (cell) has n layers, and the clear focal plane Q2 is focused on n/2 layers (e.g. 5 th layer) corresponding to the middle plane, then 10 actual measured values of 1mm × 1mm checkerboard under the visual inspection apparatus can be obtained as follows: s (n/2) ═ M0 × η 1, unit: mm.
According to the same principle of calculating S (n/2), it is possible to take checkerboard photographs of the selected layers (1 st, 2 nd, 3 … … n-1 st, n th layers) respectively during the adjustment of the number of layers of the wound test product, and to calculate the measured values S1, S2, S3 … … Sn-1 st, Sn corresponding to the selected layers respectively, the measured values being in mm.
When the number of layers is increased or decreased, for example, the product is thicker as it is rolled, and the winding is increased to the 7 th layer (which may correspond to the position of Q1 in fig. 6), since the surface of the product is deviated from the focal plane Q2, the number of pixels corresponding to 10 checkerboard calibration plates in the checkerboard image obtained at the 7 th layer may not be M0, and the measured value is no longer S (n/2). Similarly, when the number of layers is decreased, the surface of the product may be at position Q3 in fig. 6, and since the surface deviated from the product is deviated from the focusing plane Q2, the number of pixels corresponding to 10 checkerboard calibration plates in the resulting checkerboard image may not be M0, and the measured value is no longer S (n/2).
When the number of pixels corresponding to 10 checkerboards in a fixed view of H x W is measured for each layer from the inner side surface of the battery core to the outer side surface of the battery core according to the principle, and measured values S1, S2, S3 … … Sn-1 and Sn of each layer are calculated respectively, the measured values are compared with a value S (n/2) measured under a focusing clear plane, and the deviation amount of the measured values S1, S2, S3 … … Sn-1 and Sn of each layer from S (n/2) is obtained according to an expression of delta Sn-S (n/2): and obtaining multiple groups of measurement deviation data of the winding test product as corresponding deviation amounts of the winding test product in S1013 under each layer thickness in the steps of delta S1, delta S2, delta S3 … … delta Sn-1 and delta Sn.
Based on these deviations Δ S1, Δ S2, Δ S3 … … Δ Sn-1, Δ Sn and the number of product layers corresponding to each deviation: 1, 2, 3 … … n-1, n can establish a compensation coordinate system, and obtain a plurality of groups of measured deviation data (1, delta S1), (2, delta S2) … … (n-1, delta Sn-1), (n, delta Sn) of the winding test product.
The implementation of the foregoing S1011-S1013 is described by referring to one dimension of the fixed field of view (only the precision η 1 is used), it can be understood that, according to the foregoing principle, the deviation of another dimension can also be calculated, and when calculating the deviation of another dimension, only the placement direction of the checkerboard calibration board needs to be changed, and the precision η 1 is replaced by η 2, and the deviation of the another dimension can be used to compensate the distance parameter of the other measurement direction.
Through the implementation mode, the implementation mode of S1011-S1013 can obtain the measurement deviation caused by the deviation of the surface of the product from the imaging focusing clear plane of the visual detection equipment due to the thickness change of the product, and is favorable for obtaining compensation data with high reliability.
S102: and fitting and calculating to obtain a compensation expression based on each deviation amount in the multiple groups of measured deviation data and the product layer number corresponding to each deviation amount.
In S102, the plurality of sets of measured deviation data (1, Δ S1), (2, Δ S2) … … (n-1, Δ Sn-1), (n, Δ Sn) obtained in the foregoing embodiment are calculated based on the respective Δ S1, Δ S2, Δ S3 … … Δ Sn-1, Δ Sn and the number of product layers corresponding to each deviation amount: 1, 2, 3 … … n-1, n, the aforementioned compensation expression is calculated by fitting.
The fitting calculation process may include:
Figure BDA0002394075570000161
Figure BDA0002394075570000162
Figure BDA0002394075570000163
Figure BDA0002394075570000164
wherein,
Figure BDA0002394075570000165
respectively representing the average value of the number of layers and the average value of the compensation data, wherein n represents the number of product layers, and deltaSn represents the deviation amount of the nth layer;
Figure BDA0002394075570000166
representing the linear compensation parameter. Substituting the multiple groups of measured deviation data into the fitting calculation process to calculate a linear regression equation
Figure BDA0002394075570000171
The compensation expression is used for obtaining the deviation rule corresponding to the thickness change of the product in the actual measurement process of the visual detection equipment.
According to the rule corresponding to the compensation expression, in the actual winding production process of S11-S14, the compensation data corresponding to each layer is determined according to the number of layers of the product wound in the actual production process, so that the detection data obtained by the first collected image is compensated by the compensation data, the detection data corresponding to the first collected image of each layer is added with the deviation amount of the visual detection device in the corresponding layer, so as to obtain the actual detection result, that is,
Figure BDA0002394075570000172
wherein Sx represents the final detection result in the step S14, represents the pitch parameter obtained in the step S12,
Figure BDA0002394075570000173
the compensation data determined in the aforementioned step S13 is shown.
In the actual winding process of S11-S14, if the electric core is wound to the first layer, a value of a measurement item (which may be d1 or d2 in fig. 5) is measured to be Sx0 according to the collected first collected image, since the position of the focus clear plane is not in the first layer in the foregoing embodiment, Sx0 measured by the first collected image is not a true value, and if the true value of the first layer is to be obtained, the deviation determined according to the compensation expression needs to be superimposed on the base of Sx0
Figure BDA0002394075570000174
To achieve a detection compensation effect.
It is understood that in other embodiments, the surfaces corresponding to other layers may be used as the fixed focusing planes in the process of determining the compensation data, but it is required to ensure that the image acquisition conditions of S11-S14 are the same as the acquisition conditions in determining the compensation data, as long as the deviation rule of the product surface from the focusing planes can be obtained under the fixed view field.
Based on the same inventive concept, please refer to fig. 7, an embodiment of the present application further provides a product detection and compensation apparatus 700, which can be used for executing the product detection and compensation method described above, so as to improve the detection precision of the product in the actual winding production process, improve the surface detection accuracy of the wound product, and facilitate subsequent deviation correction.
As shown in fig. 7, the apparatus includes: the device comprises an image acquisition module 701, a detection module 702, a determination module 703 and a compensation module 704.
The image acquisition module 701 is used for acquiring a first acquired image obtained by acquiring an image of a target product by a visual detection device in a fixed view during the product winding process;
a detection module 702, configured to obtain a distance parameter of the target product according to the first collected image, as detection data of the target product for a winding material under a current layer, where the distance parameter is used to indicate a gap between the winding material of each layer and a selected reference position;
a determining module 703, configured to determine, according to the current layer number of the target product corresponding to the first acquired image, compensation data of the target product on the current layer;
and the compensation module 704 is configured to calibrate the detection data of the winding material corresponding to the target product on the current layer according to the compensation data of the target product on the current layer, so as to obtain a detection result of the target product on the current layer.
Optionally, the determining module 703 is further configured to: and determining the compensation data of the target product on the current layer according to the pre-calculated compensation expression and the current layer number of the target product.
Optionally, the apparatus may further include a computing module, the computing module being configured to: acquiring a plurality of groups of measurement deviation data of a winding test product, wherein each group of data in the plurality of groups of measurement deviation data comprises a deviation amount and a product layer number corresponding to the deviation amount; and fitting and calculating to obtain a compensation expression based on each deviation amount in the multiple groups of measured deviation data and the product layer number corresponding to each deviation amount.
Optionally, the computing module may further comprise an initialization module for determining a fixed field of view of the visual inspection device when a focal plane of the visual inspection device is focused at a specified layer location of the rolled test product; the image acquisition module 701 may be further configured to acquire a checkerboard image acquired by the visual inspection device in the fixed field of view during the layer number adjustment process of the winding test product, so as to obtain checkerboard images corresponding to the winding test product at each layer thickness; the initialization module can also be used for determining deviation amounts respectively corresponding to the winding test product under each layer thickness based on the number of pixels corresponding to the specified number of checkerboards in the checkerboard image obtained under each layer thickness and the theoretical image precision of the visual detection equipment under the fixed visual field, so as to obtain multiple groups of measurement deviation data of the winding test product.
Optionally, the initialization module may be further configured to calculate a theoretical image accuracy of the visual inspection device in the fixed field of view.
For other details of the detection and compensation apparatus 700, please refer to the above description related to the detection and compensation method of the product, which is not repeated herein.
In addition to the above embodiments, referring to fig. 8, the present embodiment further provides a product monitoring system, which includes a visual inspection device 110 and a control device 120 connected to the visual inspection device 110.
The visual inspection device 110 is used to capture images of the wound product in a fixed field of view during the winding of the product.
The visual inspection device 110 may include a camera body, an industrial lens, an industrial light source, and other structures required for image acquisition, the camera body and the industrial lens are installed in a matching manner, and according to the pinhole imaging principle, when a photographed object is not changed, the distance between the lens and the photographed object may be adjusted to obtain different views, but in the embodiment of the present application, image acquisition is performed under a fixed view condition.
The control device 120 has an arithmetic processing capability, and may be built in the visual inspection device 110 or may be an external device to the visual inspection device 110. For example, the control device 120 may be an industrial personal computer communicatively connected to the visual detection device 110, and may acquire an image acquired by the visual detection device 110, analyze and recognize the image according to existing visual processing software, and control the visual detection device 110 to acquire the image.
As shown in fig. 9, the control device 120 includes a memory 121, a processor 122, and a communication unit 123, and the memory 121, the processor 122, and the communication unit 123 are directly or indirectly connected to implement data interaction.
The memory 121 is a storage medium, and may be a high-speed RAM memory or a non-volatile memory (non-volatile memory), such as at least one magnetic disk memory. The memory 121 may be used to store various functional modules and corresponding computer programs in the detection compensation apparatus 700 of the aforementioned products. The processor 122 may execute the software functional modules stored in the memory 121 to thereby perform the aforementioned methods.
The Processor 122 has an arithmetic Processing capability, and may be a general-purpose Processor such as a Central Processing Unit (CPU) or a Network Processor (NP); but may also be a dedicated processor or a processor built from other programmable logic devices. Processor 122 may implement the methods, steps, and logic blocks provided by embodiments of the present application. The memory 121 stores a computer program executable by the processor 122, and when the computer program is executed by the processor 122, the method for detecting and compensating the product is performed.
The communication unit 123 may include a communication bus, a communication card, a communication chip, and other media for implementing wired or wireless communication, and the control device 120 may perform data interaction with the visual inspection device 110 through the communication unit 123, and may also perform data interaction with an execution mechanism for controlling the winding product to be wound through the communication unit 123.
The structure shown in fig. 9 is only an illustration, and there may be more components or other configurations different from those shown in fig. 9 in specific applications. For example, the control device 120 may further have a display unit for displaying data such as an image obtained during the detection process, a measurement value obtained from the image, and a final detection result.
In addition to the above embodiments, the present application further provides a storage medium, on which a computer program is stored, and the computer program is executed by the processor 122 to perform the detection compensation method of the product. The storage medium may be any available medium that can be accessed by the processor 122, and may be a magnetic medium (e.g., floppy disks, hard disks, tapes), an optical medium (e.g., DVDs), or a semiconductor medium (e.g., Solid State Disks (SSDs)), among others.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, a division of a unit is merely a division of one logic function, and there may be other divisions when actually implemented, and for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the connections discussed above may be indirect couplings or communication connections between devices or units through some communication interfaces, and may be electrical, mechanical or other forms.
Furthermore, the functional modules in the embodiments of the present application may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.
In this document, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions.
The above embodiments are merely examples of the present application and are not intended to limit the scope of the present application, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims (9)

1. A method for detection compensation of a product, the method comprising:
in the product winding process, acquiring a first acquisition image obtained by acquiring an image of a target product by a visual detection device under a fixed visual field;
obtaining a distance parameter of the target product according to the first collected image, wherein the distance parameter is used as detection data of the target product for the winding material under the current layer, and the distance parameter is used for representing a gap between the winding material of each layer and a selected reference position;
determining compensation data of the target product on the current layer according to the current layer number of the target product corresponding to the first collected image;
calibrating the detection data of the winding material corresponding to the target product on the current layer according to the compensation data of the target product on the current layer to obtain the detection result of the target product on the current layer;
and calculating the theoretical image precision of the visual detection equipment under the fixed vision field before image acquisition.
2. The method of claim 1, wherein determining compensation data for the target product at a current layer comprises:
and determining the compensation data of the target product on the current layer according to the pre-calculated compensation expression and the current layer number of the target product.
3. The method of claim 2, wherein before the determining the compensation data of the target product at the current layer according to the pre-calculated compensation expression and the current layer number of the target product, the method further comprises:
acquiring a plurality of groups of measurement deviation data of a winding test product, wherein each group of data in the plurality of groups of measurement deviation data comprises a deviation amount and a product layer number corresponding to the deviation amount;
and fitting and calculating to obtain the compensation expression based on each deviation amount in the multiple groups of measured deviation data and the number of product layers corresponding to each deviation amount.
4. The method of claim 3, wherein said obtaining a plurality of sets of measured deviation data for a coiled test product comprises:
determining a fixed field of view of the visual inspection device while a focal plane of the visual inspection device is focused at a designated layer location of the coiled test product;
acquiring checkerboard images collected by the visual detection equipment in the fixed view during the layer number adjusting process of the winding test product, and acquiring checkerboard images respectively corresponding to the winding test product under each layer thickness;
and determining deviation amounts respectively corresponding to the winding test product under each layer thickness based on the number of pixels corresponding to the specified number of checkerboards in the checkerboard image obtained under each layer thickness and the theoretical image precision of the visual detection equipment under the fixed visual field, so as to obtain multiple groups of measurement deviation data of the winding test product.
5. An apparatus for compensating for the detection of a product, the apparatus comprising:
the image acquisition module is used for acquiring a first acquisition image obtained by acquiring an image of a target product under a fixed view by visual detection equipment in the product winding process;
the detection module is used for obtaining a distance parameter of the target product according to the first collected image, the distance parameter is used as detection data of the target product for the winding material under the current layer, and the distance parameter is used for representing a gap between the winding material of each layer and a selected reference position;
the determining module is used for determining compensation data of the target product on the current layer according to the current layer number of the target product corresponding to the first collected image;
the compensation module is used for calibrating the detection data of the winding material corresponding to the target product on the current layer according to the compensation data of the target product on the current layer to obtain the detection result of the target product on the current layer;
the detection compensation device of the product is also used for calculating the theoretical image precision of the visual detection equipment under the fixed visual field before image acquisition.
6. The apparatus of claim 5, wherein the determining module is further configured to:
and determining the compensation data of the target product on the current layer according to the pre-calculated compensation expression and the current layer number of the target product.
7. The apparatus of claim 6, further comprising a computing module to:
acquiring a plurality of groups of measurement deviation data of a winding test product, wherein each group of data in the plurality of groups of measurement deviation data comprises a deviation amount and a product layer number corresponding to the deviation amount;
and fitting and calculating to obtain the compensation expression based on each deviation amount in the multiple groups of measured deviation data and the number of product layers corresponding to each deviation amount.
8. A product monitoring system is characterized by comprising a visual detection device and a control device connected with the visual detection device;
the visual detection equipment is used for acquiring images of the wound product in a fixed view during the winding process of the product;
the control device comprises a memory and a processor;
the memory has stored therein a computer program executable by the processor, the computer program, when executed by the processor, performing the method of any of claims 1-4.
9. A storage medium, characterized in that the storage medium has stored thereon a computer program which, when being executed by a processor, performs the method of any one of claims 1-4.
CN202010127189.6A 2020-02-27 2020-02-27 Product detection compensation method and device, product monitoring system and storage medium Active CN111369509B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010127189.6A CN111369509B (en) 2020-02-27 2020-02-27 Product detection compensation method and device, product monitoring system and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010127189.6A CN111369509B (en) 2020-02-27 2020-02-27 Product detection compensation method and device, product monitoring system and storage medium

Publications (2)

Publication Number Publication Date
CN111369509A CN111369509A (en) 2020-07-03
CN111369509B true CN111369509B (en) 2021-05-07

Family

ID=71210135

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010127189.6A Active CN111369509B (en) 2020-02-27 2020-02-27 Product detection compensation method and device, product monitoring system and storage medium

Country Status (1)

Country Link
CN (1) CN111369509B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN118758183A (en) * 2024-09-04 2024-10-11 宁德时代新能源科技股份有限公司 Evaluation method and system for image acquisition system of winding machine and calibration plate

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102386372A (en) * 2010-09-03 2012-03-21 三星Sdi株式会社 Spiral winding device, miss-winding inspection system and miss-winding inspection method
CN109786853A (en) * 2018-12-28 2019-05-21 惠州锂威新能源科技有限公司 A kind of automatic correcting method of lithium battery coiling winding layer boundary displacement

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2420803A1 (en) * 2010-08-13 2012-02-22 BALLUFF GmbH Device for recording the torsion angle of a shaft and/or the torque of a shaft and method for operating the device
TWI483055B (en) * 2010-12-06 2015-05-01 Hon Hai Prec Ind Co Ltd Camera module
CN206067181U (en) * 2016-08-22 2017-04-05 杭州瓶窑彩色印刷有限公司 A kind of winding paper leaflet visual quality detecting system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102386372A (en) * 2010-09-03 2012-03-21 三星Sdi株式会社 Spiral winding device, miss-winding inspection system and miss-winding inspection method
CN109786853A (en) * 2018-12-28 2019-05-21 惠州锂威新能源科技有限公司 A kind of automatic correcting method of lithium battery coiling winding layer boundary displacement

Also Published As

Publication number Publication date
CN111369509A (en) 2020-07-03

Similar Documents

Publication Publication Date Title
KR101016864B1 (en) Disc wafer inspecting device and inspecting method
JP5344699B2 (en) Semiconductor wafer edge inspection apparatus and edge inspection method
CN105953741B (en) System and method for measuring local geometric deformation of steel structure
CN111369509B (en) Product detection compensation method and device, product monitoring system and storage medium
CN112985265B (en) Linear array camera, precision compensation method thereof and storage medium
JP2013170831A (en) Strain measuring device and strain measuring method
US20220398778A1 (en) Lens calibration method for digital imaging apparatus
CN105423942B (en) The modification method of biprism defect error in BSL 3D DIC systems
KR102630749B1 (en) System And Method for Calibration of Electrode During Manufacturing Secondary Battery Cell
CN116634134A (en) Imaging system calibration method and device, storage medium and electronic equipment
CN115839957A (en) Method, device and equipment for detecting interlayer defect of display module and storage medium
JP6155924B2 (en) Dimension measuring apparatus and dimension measuring method
CN115631099A (en) Radial distortion parameter measuring method and device and electronic equipment
CN114299049A (en) Detection method and device, electronic equipment and storage medium
JP5001815B2 (en) Film inspection equipment
JP3652014B2 (en) Distance measuring device
JP4650259B2 (en) Device piece inspection device and its use
JP2003148912A (en) Optical dimension measuring met
US12085512B2 (en) Processing method and processing device
CN117522784B (en) Gear part image detection method and system based on tooth distance segmentation compensation
CN115808130B (en) Battery cell winding calibration method and device
JP2018200268A (en) Image recognition device
JP5183146B2 (en) Disc-shaped substrate inspection equipment
JP4882574B2 (en) Round bar imaging device and round bar measuring device
JP7285902B2 (en) Image analysis method and image analysis system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant