Method, device, electronic device and storage medium for detecting needle position deviation
Through the combination of the encoder output and the reflected signal, the position deviation of the clamp pin is judged and an alarm is issued, which solves the problem of reduced cell qualification rate caused by the deviation of the clamp pin in lithium battery manufacturing and improves the quality of the product.
Patent Information
- Application Number
- CN202410679535.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-29
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2044-05-29
AI Technical Summary
During the manufacturing process of lithium batteries, the relative positions of the unloading clamp pins are prone to shift, causing deformation of the inner ring pole pieces of the battery core and reducing the product qualification rate. The existing technology lacks effective detection methods.
By obtaining the encoded value output by the motor encoder, combined with the reflected signal of the first clamp pin and the pre-acquired standard encoded value, the position offset of the clamp pin is determined, and the sum of the differences is calculated to determine the degree of offset, and when the offset occurs Send out alarm signals to improve detection accuracy and product qualification rate.
It realizes the timely detection and processing of the position deviation of the clamp pin, significantly reduces the probability of deformation of the inner ring pole piece of the battery core caused by the position deviation of the clamp pin, and improves the qualification rate of the battery core product.
Smart Images

Figure CN118258305B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of battery cell production, and in particular to a method, device, electronic device and storage medium for detecting a clamping needle position offset. Background Art
[0002] The winding process is an important process in the manufacturing process of lithium batteries. The winding process is mainly used to wind the positive and negative electrode materials and the separator to form a battery cell. After the winding process is completed, a tubular battery cell is formed. The blanking clamp is inserted into the inner cavity of the battery cell. The battery cell is removed from the winding needle mechanism through the blanking clamp, and the battery cell is placed on the battery cell pre-pressing platform for pre-pressing and forming, and then the blanking clamp is pulled out. The blanking clamp includes two clamping needles. Controlling the two clamping needles to move in directions away from each other to open the battery cell can make the battery cell initially flattened to facilitate subsequent pre-pressing operations.
[0003] However, in the actual production process, the relative positions of the two clamping needles of the blanking clamp are prone to deviation, which may be caused by deformation of the clamping needles or changes in the position of the clamping needles. In this way, when inserting the blanking clamps into the inner cavity of the battery cell to remove the battery cell from the winding needle mechanism or moving the two clamping needles away from each other to open the battery cell, it is easy to cause the inner ring pole piece of the battery cell to deform, which ultimately causes the obtained battery cell to fail to meet the process requirements and reduce the product qualification rate. The related technology lacks a technical solution for detecting the position deviation of the clamping needles.
[0004] The above statements are only used to provide background information related to the present application and do not necessarily constitute prior art. Summary of the invention
[0005] In view of the problem that the relative positions of the two clamping needles of the blanking clamp in the above-mentioned related technology are prone to deviation, resulting in a decrease in the qualified rate of battery cell products, the present application provides a method, device, electronic device and storage medium for detecting the position deviation of the clamping needle to improve the qualified rate of battery cells.
[0006] According to a first aspect of an embodiment of the present application, a method for detecting a needle clamp position deviation is provided, comprising:
[0007] In response to receiving a reflection signal from the first clamping needle, a first encoding value output by an encoder of the motor is obtained; the reflection signal is generated when light emitted by a first optical sensor is reflected by the first clamping needle, and the first optical sensor corresponds to the first clamping needle; the motor is used to control the movement of the clamping needle; the clamping needle is used to clamp the battery cell in the battery cell winding process; the first clamping needle is any one of the clamping needles;
[0008] Whether a clamping needle position deviation occurs is determined based on a first coding value corresponding to each of the at least one clamping needle and a pre-acquired standard coding value corresponding to each of the clamping needles.
[0009] The method for detecting the position offset of the clamping needle provided in the embodiment of the present application obtains the first code value output by the encoder in response to the reflection signal of the first clamping needle to the light, and judges whether the clamping needle position offset occurs according to the first code value corresponding to each clamping needle in at least one clamping needle and the pre-acquired standard code value corresponding to each clamping needle, thereby being able to timely and accurately detect whether the clamping needle position offset occurs in the battery cell winding process, thereby helping to inform relevant personnel of the clamping needle position offset event in a timely manner in case of the clamping needle position offset so as to take corresponding processing measures in time, greatly reducing the probability of deformation of the inner ring pole piece of the battery cell due to the clamping needle position offset during the battery cell winding process, and improving the product qualification rate of the battery cell.
[0010] In some embodiments of the present application, judging whether a clamping needle position deviation occurs according to a first coding value corresponding to each of the clamping needles in at least one clamping needle and a pre-acquired standard coding value corresponding to each of the clamping needles includes:
[0011] Calculating the difference between the standard coding value corresponding to the first clamping needle and the first coding value corresponding to the first clamping needle;
[0012] Calculating the sum of the difference values corresponding to each of the clamping needles;
[0013] Whether the clamping needle position offset occurs is determined based on the relationship between the absolute value of the sum of the differences and a preset threshold. In this way, the impact of the offset degree of each clamping needle on the clamping needle position offset judgment is comprehensively considered, thereby improving the accuracy of the clamping needle position offset detection results.
[0014] In some embodiments of the present application, judging whether a clamping needle position deviation occurs according to a first coding value corresponding to each of the clamping needles in at least one clamping needle and a pre-acquired standard coding value corresponding to each of the clamping needles includes:
[0015] According to the first coding value corresponding to the first clamping needle and the pre-acquired standard coding value corresponding to the first clamping needle, it is judged whether the parallelism of the two clamping needles of the clamping needle exceeds the preset normal parallelism range, thereby improving the accuracy of the clamping needle position offset detection result.
[0016] In some embodiments of the present application, obtaining the standard coding value includes:
[0017] In the case where the winding process is not performed, for the encoder that has passed the characterization accuracy test, the encoding value of the encoder when the first clamping needle moves to be illuminated by the light emitted by the first optical sensor is obtained to obtain a standard encoding value with high accuracy, so as to be used for subsequent determination of whether the clamping needle position offset occurs;
[0018] The characterization accuracy is the accuracy of characterizing the clamping needle spacing using the encoding value of the encoder.
[0019] In some embodiments of the present application, the characterization accuracy test includes performing at least one characterization accuracy test on the encoder;
[0020] Performing characterization accuracy detection on the encoder includes:
[0021] Acquire a second code value of the encoder, wherein the second code value is obtained in response to at least one of the two clamping needles of the clamping needle being moved;
[0022] Based on the second coding value and the pre-acquired mapping relationship between the coding value and the clamping needle spacing, the spacing between the two clamping needles is acquired to obtain a first spacing;
[0023] Obtaining the distance between the two clamping pins measured by a third-party length measurement tool to obtain a second distance;
[0024] Based on the first spacing and the second spacing, it is determined whether the accuracy of the needle clamping spacing represented by the second coding value meets the preset accuracy requirement.
[0025] By obtaining an encoder that meets the characterization accuracy requirements through characterization accuracy testing, the accuracy of characterizing the clamping needle spacing in the battery cell winding process can be improved, thereby improving the detection accuracy of the clamping needle position offset.
[0026] In some embodiments of the present application, obtaining a mapping relationship between a coding value and a clamping needle spacing includes:
[0027] A linear function model is established with the coding value as an independent variable and the clamping needle spacing as a dependent variable, wherein the slope of the straight line corresponding to the linear function model and the intercept of the straight line on the vertical axis are both unknown numbers;
[0028] Obtaining a third spacing and a fourth spacing measured by a third-party length measurement tool, and obtaining a third coding value corresponding to the third spacing and a fourth coding value corresponding to the fourth spacing; the third spacing and the fourth spacing are both the spacings between the two clamping needles;
[0029] According to the third spacing, the third coding value, the fourth spacing and the fourth coding value, the slope and the intercept are solved, and the linear function model obtained after the solution is used to characterize the mapping relationship between the coding value and the clamping needle spacing. The linear function model obtained after the solution can more accurately characterize the mapping relationship between the coding value of the encoder and the clamping needle spacing, thereby improving the accuracy of using the coding value to characterize the clamping needle spacing in the battery cell winding process, so as to improve the detection accuracy of detecting the clamping needle position offset.
[0030] In some embodiments of the present application, the method further includes:
[0031] Acquire a distance measurement value of the first optical sensor;
[0032] According to the distance measurement value and the preset standard distance measurement value, it is judged whether the horizontality of the clamping needle exceeds the preset normal horizontality range, thereby realizing the horizontality detection of the clamping needle and reducing the probability of a decrease in the qualified rate of battery cell products due to abnormal clamping needle horizontality.
[0033] In some embodiments of the present application, the method further includes:
[0034] In the event of a needle position shift, an alarm signal is issued to remind relevant personnel to take processing measures as soon as possible to reduce the probability of a decrease in the qualified rate of battery products due to the needle position shift.
[0035] According to a second aspect of the embodiment of the present application, there is provided a device for detecting a position deviation of a clamping needle, comprising:
[0036] an acquisition module, configured to acquire a first encoding value output by an encoder of the motor in response to receiving a reflection signal of the first clamping needle; the reflection signal is generated when the light emitted by the first optical sensor is reflected by the first clamping needle, and the first optical sensor corresponds to the first clamping needle; the motor is configured to control the movement of the clamping needle; the clamping needle is configured to clamp the battery cell in the battery cell winding process; the first clamping needle is any one of the clamping needles;
[0037] The judgment module is used to judge whether a clamping needle position deviation occurs according to a first coding value corresponding to each of the clamping needles in at least one clamping needle and a pre-acquired standard coding value corresponding to each of the clamping needles.
[0038] The device for detecting the position deviation of a clamping needle provided in the second aspect of the embodiment of the present application can achieve the same beneficial technical effect as the method for detecting the position deviation of a clamping needle of the first aspect.
[0039] According to a third aspect of an embodiment of the present application, an electronic device is provided, comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the processor executes the computer program to implement the method for detecting the position offset of the clamping needle as described in any embodiment of the present application, and the beneficial technical effect that can be achieved by the method for detecting the position offset of the clamping needle as described in the first aspect can be achieved.
[0040] The fourth aspect of the embodiments of the present application provides a computer-readable storage medium on which a computer program is stored. The computer program is executed by a processor to implement the method for detecting the position offset of the clamping needle as described in any embodiment of the present application, and can achieve the beneficial technical effect that can be achieved by the method for detecting the position offset of the clamping needle as described in the first aspect.
[0041] The above description is only an overview of the technical solution of the embodiment of the present application. In order to more clearly understand the technical means of the embodiment of the present application, it can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the embodiment of the present application more obvious and easy to understand, the specific implementation methods of the present application are listed below. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] By reading the detailed description of the following embodiments, various other advantages and benefits will become clear to those of ordinary skill in the art. The accompanying drawings are only used to illustrate the embodiments of the present application and are not to be considered as limitations of the present application. In addition, the same reference numerals are used to represent the same components throughout the drawings.
[0043] Figure 1 A schematic diagram of an application scenario of a method for detecting a clamping needle position deviation according to one or more embodiments.
[0044] Figure 2 The present invention is a flow chart of a method for detecting a clamping needle position deviation according to one or more embodiments.
[0045] Figure 3 Schematic diagram of a clamping needle and an optical sensor according to one or more embodiments, viewed along a direction opposite to a light irradiation direction.
[0046] Figure 4 is a schematic diagram of two clamping needles and two optical sensors from another perspective according to one or more embodiments.
[0047] Figure 5 The present invention is a structural block diagram of a device for detecting a clamping needle position deviation according to one or more embodiments.
[0048] Figure 6 is a structural block diagram of an electronic device according to one or more embodiments.
[0049] Figure 7FIG. 1 is a schematic diagram of a computer-readable storage medium according to one or more embodiments. DETAILED DESCRIPTION
[0050] The following embodiments of the technical solution of the present application are described in detail in conjunction with the accompanying drawings. The following embodiments are only used to more clearly illustrate the technical solution of the present application, and are therefore only used as examples, and cannot be used to limit the scope of protection of the present application.
[0051] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by technicians in the technical field to which this application belongs; the terms used herein are only for the purpose of describing specific embodiments and are not intended to limit this application; the terms "including" and "having" in the specification and claims of this application and the above-mentioned figure descriptions and any variations thereof are intended to cover non-exclusive inclusions.
[0052] In the description of the embodiments of the present application, the technical terms "first", "second", etc. are only used to distinguish different objects, and cannot be understood as indicating or implying relative importance or implicitly indicating the number, specific order or primary and secondary relationship of the indicated technical features. In the description of the embodiments of the present application, the meaning of "multiple" is more than two (including two), unless otherwise clearly and specifically defined.
[0053] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.
[0054] With the development of new energy technologies, lithium-ion batteries and other batteries have been widely used in technical fields such as electric vehicles. The battery cell is one of the core components of the battery, and the performance of the battery cell directly affects the performance of the battery. The battery cell winding process is a key process in manufacturing the battery cell. The winding process in the lithium battery manufacturing process is mainly the process of winding the positive and negative electrode materials and the diaphragm to form a battery cell. After the winding process, a tubular battery cell can be formed, and the clamping needle is controlled to be inserted into the inner cavity of the battery cell. The battery cell is removed from the winding needle mechanism through the clamping needle. The two clamping needles of the clamping needle are controlled to move in directions away from each other to open the battery cell, so that the battery cell can be initially flattened to facilitate the subsequent pre-pressing operation. After placing the battery cell on the battery cell pre-pressing platform for pre-pressing, the clamping needle is removed from the battery cell.
[0055] In the actual production process, the relative positions of the two clamping pins of the clamping pin pair are prone to deviation, which may be caused by deformation of the clamping pins or changes in the clamping pin positions. In this way, when inserting the clamping pins into the inner cavity of the battery cell to remove the battery cell from the winding needle mechanism or by moving the two clamping pins away from each other to open the battery cell, it is easy to cause the inner ring electrode of the battery cell to deform, which ultimately causes the obtained battery cell to fail to meet the process requirements and reduce the product qualification rate.
[0056] In response to the problems existing in the related art, an embodiment of the present application provides a method for detecting a clamping needle position offset. In a battery cell winding process, in response to receiving a reflection signal of the light emitted by the first clamping needle to the first optical sensor, a first coding value output by the encoder is obtained, wherein the first clamping needle is any clamping needle among the clamping needles used to clamp the battery cell, and the first optical sensor is configured to be located at a preset position corresponding to the first clamping needle, and an optical sensor is provided at the preset position corresponding to each clamping needle. Then, whether a clamping needle position offset occurs is determined based on the first coding value corresponding to each clamping needle in at least one clamping needle and the pre-acquired standard coding value corresponding to each clamping needle, so that whether a clamping needle position offset occurs in the battery cell winding process can be detected in a timely and accurate manner, thereby helping relevant personnel to be informed of the clamping needle position offset event in a timely manner in the event of a clamping needle position offset so as to take corresponding processing measures in a timely manner, greatly reducing the probability of deformation of the inner ring pole piece of the battery cell due to the clamping needle position offset during the battery cell winding process, and improving the product qualification rate of the battery cell.
[0057] refer to Figure 1 As shown, Figure 1 The application scenario of the method for detecting the position deviation of the clamping needle of the embodiment of the present application is shown, and the clamping needle pair includes a clamping needle A and a clamping needle B. The preset position corresponding to the clamping needle A is provided with an optical sensor C, and the preset position corresponding to the clamping needle B is provided with an optical sensor D. The clamping needle pair is a component of the battery cell winding equipment. The battery cell winding equipment is one of the key equipment for manufacturing lithium-ion battery cells, which is mainly used to wind the electrode sheets and diaphragms into a battery cell structure. The executor of the detection method of the embodiment of the present application may be a control device, which is respectively connected to the aforementioned motor and each optical sensor. The control device includes but is not limited to a programmable logic controller (PLC).
[0058] refer to Figure 2 As shown, a method for detecting a clamping needle position deviation provided by an embodiment of the present application may include:
[0059] S10. In response to receiving a reflection signal from the first clamping needle, obtaining a first encoding value output by an encoder of the motor.
[0060] The reflection signal is generated when the light emitted by the first optical sensor is reflected by the first clamping needle. The first optical sensor corresponds to the first clamping needle. The motor is used to control the movement of the clamping needle. The clamping needle is used to clamp the battery cell in the battery cell winding process. The clamping needle pair includes two clamping needles. The first clamping needle is any one of the clamping needles. The first optical sensor is configured to be located at a preset position corresponding to the first clamping needle. An optical sensor is provided at the preset position corresponding to each clamping needle. When the first clamping needle moves to the corresponding shading position, the light emitted by the first optical sensor will be blocked by the first clamping needle. The shading position of the first clamping needle is the position where the first clamping needle is irradiated by the light emitted by the optical sensor. Optical sensors include but are not limited to laser sensors, for example, laser ranging sensors. The light generated by the laser sensor is laser.
[0061] refer to Figure 1 As shown, the clamping needle pair includes clamping needle A and clamping needle B, the optical sensor C is configured to be located at a preset position corresponding to clamping needle A, and the optical sensor D is configured to be located at a preset position corresponding to clamping needle B. Under normal conditions, a plane formed by a line connecting two points at the same height on the first clamping needle moving along the moving direction of the clamping needle is set as the first plane, wherein the extending direction of the line connecting the two points is not parallel to the moving direction, and the first clamping needle is clamping needle A or clamping needle B. The light irradiation direction of the optical sensor C and the light irradiation direction of the optical sensor D are both perpendicular to the first plane.
[0062] Under normal conditions, the distances from the light emitting ports of the two optical sensors to the first plane are equal. Clamping needle A can be moved to a position to block the light emitted by optical sensor C, and clamping needle B can be moved to a position to block the light emitted by optical sensor D. The shapes of the two clamping needles can be the same, including but not limited to "L" shape.
[0063] The motor encoder is a sensor installed on the motor to measure the rotational position and speed of the motor. It is usually installed on the motor shaft and generates corresponding electrical signals or digital signals by detecting the rotational motion to provide feedback information on the rotational position and speed of the motor. In this embodiment, the motor corresponding to the encoder is configured to control the movement of each clamping needle in the clamping needle. The first optical sensor, the encoder and the motor are respectively connected to the control device. The encoder may include but is not limited to an absolute encoder. When an absolute encoder is used, each position of each clamping needle corresponds to a unique encoding value, and the control device can directly read the encoding value output by the encoder.
[0064] The code value of the encoder is a digital signal output by the encoder, which is used to characterize the feedback information of the rotation position and speed of the motor. When the first clamping needle moves to a position where it can be illuminated by the light emitted by the first optical sensor, the light is irradiated on the first clamping needle and reflected. The first optical sensor receives the reflection signal and sends the reflection signal to the control device. In response to receiving the reflection signal, the control device obtains the first code value output by the encoder, and the first code value corresponds to the current position of the first clamping needle.
[0065] S20. Determine whether a clamping needle position offset occurs based on a first coding value corresponding to each clamping needle in at least one clamping needle and a pre-acquired standard coding value corresponding to each clamping needle.
[0066] In an optional implementation, it is possible to determine whether a clamping needle position offset has occurred based on the first coding value corresponding to each clamping needle and the pre-acquired standard coding value corresponding to each clamping needle. Specifically, the difference between the standard coding value corresponding to the first clamping needle and the first coding value corresponding to the first clamping needle is calculated, and the sum of the differences corresponding to each clamping needle is calculated. Then, based on the relationship between the absolute value of the sum of the differences and a preset threshold, it is determined whether a clamping needle position offset has occurred; when the absolute value of the sum of the differences is greater than the preset threshold, it is determined that a clamping needle position offset has occurred, and when the absolute value of the sum of the differences is not greater than the preset threshold, it is determined that no clamping needle position offset has occurred. In this way, the influence of the degree of offset of each clamping needle on the judgment of the clamping needle position offset is comprehensively considered, thereby improving the accuracy of the clamping needle position offset detection result.
[0067] In some optional embodiments, it is possible to determine whether a clamping needle position offset occurs based on the first coding value corresponding to the first clamping needle and the pre-acquired standard coding value corresponding to the first clamping needle. Specifically, it is determined whether the parallelism of the two clamping needles of the clamping needle pair exceeds the preset normal parallelism range based on the first coding value corresponding to the first clamping needle and the pre-acquired standard coding value corresponding to the first clamping needle, thereby improving the accuracy of the clamping needle position offset detection result.
[0068] The parallelism of the clamping needle can be characterized by the angle between the length direction of clamping needle A and the length direction of clamping needle B. The value range of the angle is [0,90°]. The smaller the angle is, the better the parallelism of the clamping needle is. If the angle between the length direction of clamping needle A and the length direction of clamping needle B does not exceed the preset angle threshold, it means that the parallelism of the clamping needle is normal. If the angle between the length direction of clamping needle A and the length direction of clamping needle B exceeds the preset angle threshold, it means that the parallelism of the clamping needle is abnormal.
[0069] In a specific example, before performing the parallelism detection of the clamping needles in the battery cell winding process, the first reference value of the clamping needle A and the second reference value of the clamping needle B are first obtained, and the first reference value and the second reference value are used for the parallelism detection of the clamping needles. Specifically, the two clamping needles are translated in the first plane, and when the clamping needle A moves to the light-shielding position (the light-shielding position of the clamping needle A, i.e., the position where the clamping needle A is irradiated by the light emitted by the optical sensor C), the encoding value of the servo encoder is recorded as the first reference value; when the clamping needle B moves to the light-shielding position (the light-shielding position of the clamping needle B, i.e., the position where the clamping needle B is irradiated by the light emitted by the optical sensor D), the encoding value of the servo encoder is recorded as the second reference value. A timed verification operation can be performed during the battery cell production process, and it is determined whether the clamping needle position offset occurs according to the encoding value corresponding to the clamping needle moving to the corresponding light-shielding position (the light-shielding position of any clamping needle, i.e., the position where the clamping needle is irradiated by the light emitted by the optical sensor) each time the clamping needle is moved. If, in the cell winding process, the difference between the coding value of clamping needle A when it moves to the light-shielding position and the first reference value exceeds the preset coding value difference threshold, or the difference between the coding value of clamping needle B when it moves to the light-shielding position and the second reference value exceeds the preset coding value difference threshold, it is determined that the parallelism of the clamping needle is abnormal, that is, it is determined that the clamping needle position offset has occurred. The parallelism of the clamping needle is abnormal, which is one of the situations in which the clamping needle position offset occurs.
[0070] refer to Figure 3 As shown, Figure 3 1 shows a view from a viewing angle in a direction opposite to the direction of light emitted by the optical sensor, wherein arrow e represents the moving direction of clamping needle B, and arrow f represents the moving direction of clamping needle A. Figure 3 The parallelism of the clamping needles A and B represented by the solid line and the parallelism of the clamping needles A and B represented by the dotted line are both abnormal. Under normal conditions, the angle between the middle axis of the upper surface of the clamping needle A along the length direction and the middle axis of the upper surface of the clamping needle B along the length direction is less than the preset angle threshold.
[0071] The process of the two clamping needles moving is the process of performing the opening and closing action. When the servo encoder moves to the detection position, the clamping needle moves to the corresponding light-shielding position, and the light spot of the optical sensor changes from an empty state to a state blocked by the corresponding clamping needle. When the clamping needle blocks the light spot emitted by the optical sensor, the digital signal emitted by the optical sensor changes from 0 to 1, and the detection result is automatically saved at this time, that is, the detection result is recorded when the state of the digital signal emitted by the optical sensor changes.
[0072] The detection position of the encoder is a pre-set servo position. The code value is a digital signal output by the encoder, usually expressed in the form of pulses, and the code value is used to characterize the servo position. The servo position refers to the feedback position information in the control system, which is used to monitor and control the position of the actuator (such as the clamp needle in this embodiment) in real time.
[0073] In the battery cell winding process, the clamping needle pair performs opening and closing actions periodically, and each clamping needle periodically passes through its corresponding shading position, and the shading position of the clamping needle corresponds to the detection position of the encoder.
[0074] Exemplarily, the detection position of the encoder is a pre-set servo position. The servo position corresponding to the detection position can be set on a touch screen connected to a programmable logic controller (PLC), and the set parameters are transmitted to the PLC through the touch screen, and the PLC transmits them to the servo driver for position control. When the servo motor moves to the pre-set servo position, a real-time position is fed back, and the encoder reads and records the current servo position.
[0075] When the clamping needle moves to the light shielding position corresponding to the detection position, the light spot of the optical sensor will change from an empty state to a state blocked by the clamping needle. When the light is blocked by the clamping needle, the horizontality, parallelism, and / or the distance between the two clamping needles can be detected to determine whether the clamping needle position offset occurs. For example, the detection result can be subtracted from the pre-calibrated result, and the difference can be compared with the tolerance to determine whether the difference exceeds the tolerance, so as to determine whether the clamping needle position offset occurs. The situations of clamping needle position offset include but are not limited to abnormal horizontality of the clamping needle, abnormal parallelism of the clamping needle, and abnormal distance between the clamping needles.
[0076] In some embodiments of the present application, a standard coding value is obtained, including: without performing a winding process, for an encoder that has passed the characterization accuracy test, obtaining the coding value of the encoder when the first clamping needle moves to be illuminated by light emitted by the first optical sensor, and obtaining a standard coding value with higher accuracy, so as to facilitate subsequent use in determining whether a clamping needle position offset occurs; the characterization accuracy is the accuracy of characterizing the clamping needle spacing using the coding value of the encoder.
[0077] In some embodiments of the present application, the characterization accuracy test includes performing at least one characterization accuracy test on the encoder. Performing a characterization accuracy test on the encoder may include: obtaining a second encoding value of the encoder, the second encoding value being obtained in response to at least one of the two clamping pins being moved; obtaining the spacing between the two clamping pins based on the second encoding value and a pre-acquired mapping relationship between the encoding value and the clamping pin spacing to obtain a first spacing; obtaining the spacing between the two clamping pins measured by a third-party length measurement tool to obtain a second spacing; and judging whether the accuracy of the clamping pin spacing represented by the second encoding value meets the preset accuracy requirements based on the first spacing and the second spacing.
[0078] By obtaining an encoder that meets the characterization accuracy requirements through characterization accuracy testing, the accuracy of characterizing the clamping needle spacing in the battery cell winding process can be improved, thereby improving the detection accuracy of the clamping needle position offset.
[0079] In some embodiments of the present application, obtaining a mapping relationship between a coding value and a clamping needle spacing includes:
[0080] A linear function model is established with the coding value as the independent variable and the clamping needle spacing as the dependent variable, wherein the slope of the straight line corresponding to the linear function model and the intercept of the straight line on the vertical axis are both unknowns;
[0081] Obtain a third spacing and a fourth spacing measured by a third-party length measurement tool, and obtain a third coding value corresponding to the third spacing and a fourth coding value corresponding to the fourth spacing; the third spacing and the fourth spacing are both the spacings between the two clamping needles; the third spacing can be the maximum spacing or the minimum spacing that can be achieved between the two clamping needles, or it can be any spacing between the maximum spacing and the minimum spacing, the fourth spacing can be the maximum spacing or the minimum spacing that can be achieved between the two clamping needles, or it can be any spacing between the maximum spacing and the minimum spacing, and the third spacing is not equal to the fourth spacing.
[0082] According to the third spacing, the third coding value, the fourth spacing and the fourth coding value, the slope and the intercept are solved, and the linear function model obtained after the solution is used to characterize the mapping relationship between the coding value and the clamping needle spacing. The linear function model obtained after the solution can more accurately characterize the mapping relationship between the coding value of the encoder and the clamping needle spacing, thereby improving the accuracy of using the coding value to characterize the clamping needle spacing in the battery cell winding process, so as to improve the detection accuracy of detecting the clamping needle position offset.
[0083] In a specific example, when obtaining the mapping relationship between the encoding value and the clamping needle spacing, the pulse equivalent calculation model of the clamping needle spacing is first established: Δ=kx+b, where Δ represents the distance between clamping needle A and clamping needle B, x represents the encoding value of the encoder, and the slope coefficient k and the intercept coefficient b are both coefficients to be determined of the model.
[0084] Move the clamping needle A to the first position, move the clamping needle B to the second position, obtain the coding value x1, and use a third-party length measurement tool to measure the clamping needle spacing Δ1 between the clamping needle A and the clamping needle B;
[0085] Move the clamping needle A to the third position, move the clamping needle B to the fourth position, obtain the coding value x2, and use a third-party length measurement tool to measure the clamping needle spacing Δ2 between the clamping needle A and the clamping needle B;
[0086] According to Δ1=kx1+b, Δ2=kx2+b, we can conclude that: k=(Δ1-Δ2) / (x1-x2), b=Δ1-x1[(Δ1-Δ2) / (x1-x2)]; the values of k and b are calculated to complete the construction of the pulse equivalent calculation model of the clamping needle spacing.
[0087] The above-mentioned third-party length measurement tools include but are not limited to measuring tools such as vernier calipers and tape measures.
[0088] Specifically, for the convenience of measurement, Δ1 can be taken as the maximum distance that can be achieved between clamping needle A and clamping needle B, and Δ2 can be taken as the minimum distance that can be achieved between clamping needle A and clamping needle B.
[0089] The position point corresponding to the maximum spacing Δ1 and the position point corresponding to the minimum spacing Δ2. The actual values of the maximum spacing Δ1 and the minimum spacing Δ2 of the two clamping needles are obtained through a third-party length measurement tool, and the coding value x1 corresponding to the maximum spacing Δ1 and the coding value x2 corresponding to the minimum spacing Δ2 are recorded, that is, Δ1 corresponds to x1, and Δ2 corresponds to x2.
[0090] The clamping needle spacing refers to the spacing between two clamping needles. When determining the pulse equivalent calculation model of the clamping needle spacing, the clamping needle spacing measured by a third-party length measurement tool can also be any value between the maximum spacing and the minimum spacing.
[0091] Exemplarily, the clamping needle spacing can be calculated based on the encoding value and the encoder resolution. The encoder resolution refers to the minimum movement or position change that the encoder can detect, usually expressed in unit distance (for example, how many millimeters or inches each pulse represents), that is, the displacement corresponding to each pulse. The pulse equivalent represents the number of pulses corresponding to each unit displacement. The unit of unit displacement can be, for example, millimeters.
[0092] For example, assuming that the resolution of an encoder is 0.1 mm per pulse, when the encoder output value is 10, it means that 10 pulses have been detected, that is, the position has changed by 10*0.1=1 mm, that is, the displacement is 1 mm. Then, by recording the number of pulses output by the encoder, that is, the encoding value, the change in position, that is, the displacement, can be calculated. For example, if the resolution of the encoder is 1 mm per pulse, and 1000 pulses are recorded, then the total distance of the position change, that is, the displacement, is 1000 mm. The opening and closing between clamping needle A and clamping needle B is controlled by a servo motor. To cope with the position requirements during production, there are multiple position setting options on the touch screen. The insertion and winding needle position corresponds to the minimum spacing between the two clamping needles Δ2, and the battery cell stretching position corresponds to the maximum spacing between the two clamping needles Δ1.
[0093] In some feasible implementations, according to Δ1=kx1+b, Δ2=kx2+b, it is calculated that: k=(Δ1-Δ2) / (x1-x2), b=Δ1-x1[(Δ1-Δ2) / (x1-x2)];
[0094] According to the relationship of linear offset value = number of pulses / pulse equivalent, the actual pulse equivalent value corresponding to the distance between clamping needle A and clamping needle B is calculated.
[0095] The distance between clamping needle A and clamping needle B can be calculated based on the actual pulse equivalent value and the encoder resolution.
[0096] During the movement of the clamping needle, the deviation between the PLC display value Y of the clamping needle spacing at any time and the clamping needle spacing measured by a third-party length measurement tool does not exceed a preset threshold (the preset threshold can be set to 0.1 mm, for example).
[0097] A third-party length measurement tool is used to measure the needle spacing between needle A and needle B to obtain a first needle spacing; then the needle spacing is obtained according to a preset pulse equivalent calculation model of the needle spacing to obtain a second needle spacing; it is determined whether the difference between the first needle spacing and the second needle spacing exceeds a preset threshold value, if so, it is determined that a needle position offset has occurred; if not, it is determined that no needle position offset has occurred.
[0098] In some embodiments of the present application, the detection method may further include: obtaining the ranging value of the first optical sensor; judging whether the levelness of the clamping needle exceeds the preset normal levelness range based on the preset standard ranging value and the ranging value obtained by each optical sensor, thereby realizing the levelness detection of the clamping needle and reducing the probability of a decrease in the qualified rate of battery cell products due to abnormal clamping needle levelness.
[0099] The horizontality of the clamping needle can be characterized by the angle between the plane where the upper surface of the clamping needle is located and the horizontal plane, and the absolute value of the angle is proportional to the horizontality of the clamping needle. The upper surface of the clamping needle is a side surface irradiated by light in the opposite direction to the light emission direction of the optical sensor. Figure 4 As shown, M is the upper surface of the clamping needle A, N is the upper surface of the clamping needle B, and the upper surface of the clamping needle is a plane.
[0100] Under normal conditions, the difference between the distance measurement value obtained by any optical sensor and the preset standard distance measurement value belongs to the preset difference interval. When the difference between the distance measurement value obtained by at least one optical sensor and the preset standard distance measurement value does not belong to the preset difference interval, it is determined that the clamping needle level exceeds the preset normal level range. The clamping needle level exceeding the preset normal level range is one of the situations where the clamping needle position is offset. Reference Figure 4 As shown, the distance measurement value obtained by optical sensor C is d1, and the distance measurement value obtained by optical sensor D is d2. The difference between d1 and the preset standard distance measurement value belongs to the preset difference interval, so the levelness of clamping needle A is normal. The difference between d2 and the preset standard distance measurement value does not belong to the preset difference interval, so the levelness of clamping needle B is abnormal. It can be determined that the levelness of the clamping needle exceeds the preset normal levelness range, that is, it is determined that the clamping needle position offset has occurred.
[0101] In a specific example, the clamping needle is moved to the shading position corresponding to the detection position, the test value of the optical sensor at this time is preset to the standard distance measurement value, the clamping needle horizontality detection is performed regularly during the battery cell winding process, and the clamping needle horizontality is judged based on the detection result whether it exceeds the preset normal horizontality range.
[0102] In some embodiments of the present application, the method may further include: in the event of a needle clamp position deviation, issuing an alarm signal to remind relevant personnel to take processing measures as soon as possible to reduce the probability of a decrease in the qualified rate of battery cell products due to the needle clamp position deviation.
[0103] The warning signal includes but is not limited to an audio and visual signal, for example, it may include an audio signal emitted by a buzzer and an optical signal emitted by an LED flash lamp. The warning signal may be, for example, a message sent to a user terminal, such as a text message.
[0104] The above description of various embodiments tends to emphasize the differences between the various embodiments. The same or similar aspects can be referenced to each other, and for the sake of brevity, they will not be repeated herein.
[0105] In a specific example, a linear function model Δ=kx+b is established with the encoding value x as the independent variable and the clamping needle spacing Δ as the dependent variable. The clamping needle spacing Δ represents the distance between clamping needles A and B, x represents the encoding value of the encoder, and the slope coefficient k and the intercept coefficient b are both unknown coefficients of the model, wherein the slope coefficient k and the intercept coefficient b of the linear function model are both unknowns.
[0106] Move clamping pin A to the first position, move clamping pin B to the second position, obtain the coding value x1, and use a third-party length measuring tool to measure the clamping pin spacing Δ1 between clamping pin A and clamping pin B; move clamping pin A to the third position, move clamping pin B to the fourth position, obtain the coding value x2, and use a third-party length measuring tool to measure the clamping pin spacing Δ2 between clamping pin A and clamping pin B.
[0107] According to Δ1=kx1+b, Δ2=kx2+b, we can conclude that: k=(Δ1-Δ2) / (x1-x2), b=Δ1-x1[(Δ1-Δ2) / (x1-x2)]; the values of k and b are calculated, and the linear function model Δ=kx+b obtained after solution is used to represent the mapping relationship between the coding value x and the clamping needle spacing Δ.
[0108] Perform one or more characterization accuracy tests on the encoder. If the characterization accuracy test fails, notify the relevant personnel to adjust the clamping needles and continue to perform the characterization accuracy test after the adjustment is completed until the encoder passes the characterization accuracy test. When performing the characterization accuracy test on the encoder, obtain the second encoding value of the encoder, wherein the second encoding value is obtained in response to at least one of the two clamping needles being moved. Then, based on the second encoding value and the pre-acquired mapping relationship between the encoding value and the clamping needle spacing, obtain the spacing between the two clamping needles, that is, the first spacing, and obtain the spacing between the two clamping needles measured by the vernier caliper, that is, the second spacing; based on the first spacing and the second spacing, determine whether the accuracy of the clamping needle spacing represented by the second encoding value meets the preset accuracy requirements.
[0109] Before the cell winding process is carried out, for the encoder that has passed the characterization accuracy test, the code value of the encoder is obtained when the first clamping needle moves to be irradiated by the laser emitted by the first laser sensor to obtain a standard code value; the characterization accuracy is the accuracy of characterizing the clamping needle spacing using the code value of the encoder.
[0110] During the battery cell winding process, in response to receiving the reflection signal of the laser emitted by the laser sensor C from the clamp needle A, the first coding value X1' output by the encoder at this time is obtained, and in response to receiving the reflection signal of the laser emitted by the laser sensor D from the clamp needle B, the first coding value X2' output by the motor encoder is obtained.
[0111] Calculate the difference Δ1=X1-X1' between the standard coding value X1 corresponding to clamping needle A and the first coding value X1' corresponding to clamping needle A, and calculate the difference Δ2=X2-X2' between the standard coding value X2 corresponding to clamping needle B and the first coding value X2' corresponding to clamping needle B, and then calculate the sum Δ1+Δ2 of the difference Δ1 corresponding to clamping needle A and the difference Δ2 corresponding to clamping needle B, and determine whether the clamping needle position deviation occurs based on the relationship between the absolute value of the sum of the differences |Δ1+Δ2| and the preset threshold.
[0112] Obtain the distance measurement value of the first laser sensor; determine whether the clamping needle level exceeds the preset normal level range according to the preset standard distance measurement value and the distance measurement value of each laser sensor. In the case where the difference between the distance measurement value obtained by one or two laser sensors and the preset standard distance measurement value does not belong to the preset difference interval, it is determined that the clamping needle level exceeds the preset normal level range. The clamping needle level exceeding the preset normal level range is one of the situations where the clamping needle position is offset.
[0113] In the event of needle position deviation, an alarm signal is issued.
[0114] The method of this example can timely and accurately detect whether the clamping needle position deviation occurs in the battery cell winding process, thereby helping relevant personnel to promptly be informed of the clamping needle position deviation event in the event of clamping needle position deviation so as to take corresponding processing measures in time, greatly reducing the probability of deformation of the inner ring electrode of the battery cell due to clamping needle position deviation during the battery cell winding process, and improving the product qualification rate of the battery cell.
[0115] The above description of various embodiments tends to emphasize the differences between the various embodiments. The same or similar aspects can be referenced to each other, and for the sake of brevity, they will not be repeated herein.
[0116] refer to Figure 5 As shown, another embodiment of the present application provides a device for detecting a clamping needle position deviation, which may include:
[0117] an acquisition module, configured to acquire a first encoding value output by an encoder of the motor in response to receiving a reflection signal of the first clamping needle; the reflection signal is generated when the light emitted by the first optical sensor is reflected by the first clamping needle, and the first optical sensor corresponds to the first clamping needle; the motor is configured to control the movement of the clamping needle; the clamping needle is configured to clamp the battery cell in the battery cell winding process; the first clamping needle is any one of the clamping needles;
[0118] The judgment module is used to judge whether a clamping needle position deviation occurs according to a first coding value corresponding to each clamping needle in at least one clamping needle and a pre-acquired standard coding value corresponding to each clamping needle.
[0119] Exemplarily, the judgment module may be further specifically used for:
[0120] Calculating the difference between the standard coding value corresponding to the first clamping needle and the first coding value corresponding to the first clamping needle;
[0121] Calculating the sum of the difference values corresponding to each of the clamping needles;
[0122] Whether the needle clamping position deviation occurs is determined based on the relationship between the absolute value of the sum of the differences and a preset threshold.
[0123] Exemplarily, the judgment module can be further specifically used to judge whether the parallelism of the two clamping needles of the clamping needle pair exceeds a preset normal parallelism range based on the first coding value corresponding to the first clamping needle and the pre-acquired standard coding value corresponding to the first clamping needle.
[0124] Exemplarily, the acquisition module can be further specifically used to obtain the code value of the encoder that has passed the characterization accuracy test when the first clamping needle moves to be illuminated by the light emitted by the first optical sensor, and obtain a standard code value without performing a winding process; the characterization accuracy is the accuracy of characterizing the clamping needle spacing using the code value of the encoder.
[0125] Exemplarily, the detection device further includes a characterization accuracy verification module, and the characterization accuracy verification module is used to perform at least one characterization accuracy detection on the encoder.
[0126] The characterization accuracy test module is further specifically used for:
[0127] Acquire a second code value of the encoder, wherein the second code value is obtained in response to at least one of the two clamping needles being moved;
[0128] Based on the second coding value and the pre-acquired mapping relationship between the coding value and the clamping needle spacing, the spacing between the two clamping needles is acquired to obtain a first spacing;
[0129] Obtaining the distance between the two clamping pins measured by a third-party length measurement tool to obtain a second distance;
[0130] Based on the first spacing and the second spacing, it is determined whether the accuracy of the clamping needle spacing represented by the second coding value meets the preset accuracy requirement.
[0131] Exemplarily, the calibration device may further include a mapping relationship acquisition module, which is used to acquire a mapping relationship between the coding value and the clamping needle spacing.
[0132] Exemplarily, the mapping relationship acquisition module is further specifically used to: establish a linear function model with the coding value as the independent variable and the clamping needle spacing as the dependent variable, wherein the slope of the straight line corresponding to the linear function model and the intercept of the straight line on the vertical axis are both unknowns; obtain the third spacing and the fourth spacing measured by a third-party length measurement tool, and obtain the third coding value corresponding to the third spacing and the fourth coding value corresponding to the fourth spacing; solve the slope and the intercept according to the third spacing, the third coding value, the fourth spacing and the fourth coding value, and characterize the mapping relationship between the coding value and the clamping needle spacing with the linear function model obtained after the solution. The third spacing and the fourth spacing are both the spacings between the two clamping needles.
[0133] Exemplarily, the detection device may further include:
[0134] A distance measurement module, used to obtain a distance measurement value of the first optical sensor;
[0135] The levelness judgment module is used to judge whether the levelness of the clamping needle exceeds the preset normal levelness range according to the preset standard distance measurement value and the distance measurement value of each optical sensor.
[0136] Exemplarily, the detection device may further include an alarm module, and the alarm module is used to send an alarm signal when the clamping needle position is offset.
[0137] The detection device for clamping needle position deviation in the embodiment of the present application can timely and accurately detect whether clamping needle position deviation occurs in the battery cell winding process, thereby helping relevant personnel to promptly be informed of the clamping needle position deviation event in the event of clamping needle position deviation so as to take corresponding processing measures in time, greatly reducing the probability of deformation of the inner ring pole piece of the battery cell due to clamping needle position deviation during the battery cell winding process, and improving the product qualification rate of the battery cell.
[0138] The above description of various embodiments tends to emphasize the differences between the various embodiments. The same or similar aspects can be referenced to each other, and for the sake of brevity, they will not be repeated herein.
[0139] Another embodiment of the present application provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement a method of any of the above embodiments.
[0140] refer to Figure 6As shown, the electronic device 10 may include: a processor 100, a memory 101, a bus 102 and a communication interface 103, and the processor 100, the communication interface 103 and the memory 101 are connected via the bus 102; the memory 101 stores a computer program that can be run on the processor 100, and when the processor 100 runs the computer program, it executes the method provided in any of the aforementioned embodiments of the present application.
[0141] The memory 101 may include a high-speed random access memory (RAM), and may also include a non-volatile memory, such as at least one disk storage. The communication connection between the device network element and at least one other network element is realized through at least one communication interface 103 (which may be wired or wireless), and the Internet, wide area network, local area network, metropolitan area network, etc. may be used.
[0142] The bus 102 may be an ISA bus, a PCI bus, or an EISA bus, etc. The bus may be divided into an address bus, a data bus, a control bus, etc. The memory 101 is used to store a program, and the processor 100 executes the program after receiving an execution instruction. The method disclosed in any implementation of the aforementioned embodiment of the present application may be applied to the processor 100, or implemented by the processor 100.
[0143] The processor 100 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by an integrated logic circuit of hardware in the processor 100 or an instruction in the form of software. The above processor 100 may be a general-purpose processor, which may include a central processing unit (CPU), a network processor (NP), etc.; it may also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The methods, steps and logic block diagrams disclosed in the embodiments of the present application can be implemented or executed. The general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc. The steps of the method disclosed in the embodiments of the present application can be directly embodied as a hardware decoding processor for execution, or a combination of hardware and software modules in the decoding processor for execution. The software module may be located in a mature storage medium in the field such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory 101, and the processor 100 reads the information in the memory 101 and completes the steps of the above method in combination with its hardware.
[0144] The electronic device provided in the embodiment of the present application and the method provided in the embodiment of the present application are based on the same inventive concept and have the same beneficial effects as the method adopted, operated or implemented by them.
[0145] The above description of various embodiments tends to emphasize the differences between the various embodiments. The same or similar aspects can be referenced to each other, and for the sake of brevity, they will not be repeated herein.
[0146] Another embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored, and the computer program is executed by a processor to implement the method of any of the above embodiments. Figure 7 As shown, the computer-readable storage medium shown is a CD 20 on which a computer program (ie, a program product) is stored. When the computer program is run by a processor, the method provided by any of the aforementioned embodiments will be executed.
[0147] It should be noted that examples of computer-readable storage media may also include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other optical or magnetic storage media, which are not listed here one by one.
[0148] The computer-readable storage medium provided in the above-mentioned embodiments of the present application and the method provided in the embodiments of the present application are based on the same inventive concept and have the same beneficial effects as the method adopted, run or implemented by the application program stored therein.
[0149] The above description of various embodiments tends to emphasize the differences between the various embodiments. The same or similar aspects can be referenced to each other, and for the sake of brevity, they will not be repeated herein.
[0150] It should be noted that:
[0151] The term "module" is not intended to be limited to a specific physical form. Depending on the specific application, a module can be implemented as hardware, firmware, software, and / or a combination thereof. In addition, different modules can share common components or even be implemented by the same components. There may or may not be clear boundaries between different modules.
[0152] The algorithm and display provided herein are not inherently related to any specific computer, virtual device or other equipment. Various general devices can also be used together with examples based on this. According to the above description, it is obvious to construct the structure required for this type of device. In addition, the application is not directed to any specific programming language yet. It should be understood that various programming languages can be utilized to realize the content of the application described herein, and the description made to specific languages above is for the purpose of disclosing the best mode of implementation of the application.
[0153] It should be understood that, although the steps in the flowchart of the accompanying drawings are displayed in sequence as indicated by the arrows, these steps are not necessarily executed in sequence in the order indicated by the arrows. Unless otherwise specified herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least a part of the steps in the flowchart of the accompanying drawings may include multiple sub-steps or multiple stages, and these sub-steps or stages are not necessarily executed at the same time, but can be executed at different times, and their execution order is not necessarily sequential, but can be executed in turn or alternately with other steps or at least a part of the sub-steps or stages of other steps.
[0154] The above embodiments only express the implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several modifications and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. A method for detecting a needle clamp position deviation, characterized in that: include: In response to receiving a reflection signal of the first clamping needle, obtaining a first encoding value output by an encoder of the motor; The reflection signal is generated by the light emitted by the first optical sensor being reflected by the first clamping needle, and the first optical sensor corresponds to the first clamping needle; the motor is used to control the movement of the clamping needle; the clamping needle is used to clamp the battery cell in the battery cell winding process; the first clamping needle is any clamping needle among the clamping needles; Determining whether a clamping needle position deviation occurs according to a first coding value corresponding to each of the clamping needles in at least one clamping needle and a pre-acquired standard coding value corresponding to each of the clamping needles; Obtaining the standard encoding value includes: In the case where the winding process is not performed, for the encoder that has passed the characterization accuracy test, obtaining the encoding value of the encoder when the first clamping needle moves to be illuminated by the light emitted by the first optical sensor, and obtaining a standard encoding value; The characterization accuracy is the accuracy of characterizing the clamping needle spacing using the encoding value of the encoder; The characterization accuracy test includes performing at least one characterization accuracy test on the encoder; Performing characterization accuracy detection on the encoder includes: Acquire a second code value of the encoder, wherein the second code value is obtained in response to at least one of the two clamping needles of the clamping needle being moved; Based on the second coding value and the pre-acquired mapping relationship between the coding value and the clamping needle spacing, the spacing between the two clamping needles is acquired to obtain a first spacing; Obtaining the distance between the two clamping pins measured by a third-party length measurement tool to obtain a second distance; Based on the first spacing and the second spacing, it is determined whether the accuracy of the needle clamping spacing represented by the second coding value meets the preset accuracy requirement.
2. The method according to claim 1, characterized in that The step of judging whether a clamping needle position deviation occurs according to a first coding value corresponding to each clamping needle in at least one clamping needle and a pre-acquired standard coding value corresponding to each clamping needle comprises: Calculating the difference between the standard coding value corresponding to the first clamping needle and the first coding value corresponding to the first clamping needle; Calculating the sum of the difference values corresponding to each of the clamping needles; Whether the needle clamping position deviation occurs is determined based on the relationship between the absolute value of the sum of the differences and a preset threshold.
3. The method according to claim 1, characterized in that The step of judging whether a clamping needle position deviation occurs according to a first coding value corresponding to each clamping needle in at least one clamping needle and a pre-acquired standard coding value corresponding to each clamping needle comprises: According to the first coding value corresponding to the first clamping needle and the pre-acquired standard coding value corresponding to the first clamping needle, it is determined whether the parallelism of the two clamping needles of the clamping needle pair exceeds a preset normal parallelism range.
4. The method according to claim 1, characterized in that Get the mapping relationship between the encoding value and the clamping pin spacing, including: A linear function model is established with the coding value as an independent variable and the clamping needle spacing as a dependent variable, wherein the slope of the straight line corresponding to the linear function model and the intercept of the straight line on the vertical axis are both unknown numbers; Obtaining a third spacing and a fourth spacing measured by a third-party length measurement tool, and obtaining a third coding value corresponding to the third spacing and a fourth coding value corresponding to the fourth spacing; the third spacing and the fourth spacing are both the spacings between the two clamping needles; The slope and the intercept are solved according to the third spacing, the third coding value, the fourth spacing and the fourth coding value, and the linear function model obtained after the solution is used to characterize the mapping relationship between the coding value and the clamping needle spacing.
5. The method according to any one of claims 1 to 3, characterized in that The method further comprises: Acquire a distance measurement value of the first optical sensor; According to the preset standard distance measurement value and the distance measurement value of each optical sensor, it is judged whether the horizontality of the clamping needle exceeds the preset normal horizontality range.
6. The method according to any one of claims 1 to 3, characterized in that The method further comprises: In the event of needle position deviation, an alarm signal is issued.
7. A device for detecting the position deviation of a clamping needle, characterized in that: include: An acquisition module, configured to acquire a first encoding value output by an encoder of the motor in response to receiving a reflection signal of the first clamping needle; The reflection signal is generated by the light emitted by the first optical sensor being reflected by the first clamping needle, and the first optical sensor corresponds to the first clamping needle; the motor is used to control the movement of the clamping needle; the clamping needle is used to clamp the battery cell in the battery cell winding process; the first clamping needle is any clamping needle among the clamping needles; A judgment module, used for judging whether a clamping needle position deviation occurs according to a first coding value corresponding to each of the clamping needles in at least one clamping needle and a pre-acquired standard coding value corresponding to each of the clamping needles; The acquisition module is further used to acquire, for the encoder that has passed the characterization accuracy test, the encoding value of the encoder when the first clamping needle moves to be illuminated by the light emitted by the first optical sensor, to obtain a standard encoding value without performing the winding process; The characterization accuracy is the accuracy of characterizing the clamping needle spacing using the encoding value of the encoder; The characterization accuracy test module is used to perform at least one characterization accuracy test on the encoder, and is further used to: Acquire a second code value of the encoder, wherein the second code value is obtained in response to at least one of the two clamping needles being moved; Based on the second coding value and the pre-acquired mapping relationship between the coding value and the clamping needle spacing, the spacing between the two clamping needles is acquired to obtain a first spacing; Obtaining the distance between the two clamping pins measured by a third-party length measurement tool to obtain a second distance; Based on the first spacing and the second spacing, it is determined whether the accuracy of the needle clamping spacing represented by the second coding value meets the preset accuracy requirement.
8. An electronic device, characterized in that: It comprises a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement a method for detecting a needle clamp position deviation as described in any one of claims 1 to 6.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that: The computer program is executed by a processor to implement the method for detecting the position deviation of a clamping needle as described in any one of claims 1 to 6.
Citation Information
Patent Citations
Discharging pre-pressing device and battery cell winding machine
CN112736295A
Calibration data generation method and device and calibration data generation system
CN113670201A
Battery cell blanking equipment and method
CN115799592A
Method and device for detecting position of clamping needle, clamping needle equipment of battery cell and coiling system
CN115921330A
Displacement detection method, system and device, electronic device and storage medium
CN116222396A
