Equipment correction methods, electronic devices, storage media and program products

By integrating sensors into the coil processing equipment to acquire long axis data, calculating the deviation, and using a PID algorithm to adjust the drive compensation amount, the problem of unstable product quality caused by equipment operation deviation was solved, automated correction was achieved, and the correction efficiency and accuracy were improved.

CN122308247APending Publication Date: 2026-06-30GOERTEK INC

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
GOERTEK INC
Filing Date
2026-03-31
Publication Date
2026-06-30

Smart Images

  • Figure CN122308247A_ABST
    Figure CN122308247A_ABST
Patent Text Reader

Abstract

This application discloses an equipment correction method, electronic device, storage medium, and program product, relating to the field of equipment measurement and control technology. The method includes: acquiring a preset number of tension coils and the long axis data of each tension coil, wherein the long axis data is detected by a sensor integrated on the coil processing equipment; determining the tension deviation based on the average of the long axis data of each tension coil and a preset theoretical long axis value; and determining the drive compensation amount of the coil processing equipment based on the tension deviation when the tension deviation is not within a preset deviation range. This application achieves automated correction of the coil processing equipment through real-time data acquisition, average deviation calculation, and threshold-based automated compensation. It can dynamically adapt to tension deviations caused by mechanical wear, signal fluctuations, etc., improving the efficiency and accuracy of the coil processing equipment's correction.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of equipment measurement and control technology, and in particular to equipment correction methods, electronic equipment, storage media and program products. Background Technology

[0002] During the long-term operation of coil processing equipment, due to the combined effects of various factors such as mechanical wear, untimely maintenance, unstable electrical signals, unstable air pressure, and motion inertia, the operating position of the equipment will inevitably deviate slightly. This deviation will further lead to deviations in the coil stretching amount, thereby affecting the quality stability of the product.

[0003] Currently, coil processing equipment mainly relies on manual intervention to handle operational deviations. This involves manually analyzing CCD (Charge-Coupled Device) inspection data along the line trajectory, manually calculating dimensional deviations, and setting deviation compensation values ​​on the equipment; or manually adjusting parameters based on inspection data when dimensional defects are found during CCD inspection along the line trajectory and the yield rate decreases. However, as equipment ages and key components wear out more rapidly, the frequency and amplitude of deviations increase, leading to slow response speed and unstable compensation accuracy in manual correction.

[0004] The above content is only used to help understand the technical solution of this application and does not represent an admission that the above content is prior art. Summary of the Invention

[0005] The main objective of this application is to provide an equipment correction method, electronic device, storage medium, and program product, which aims to solve the technical problem of how to improve the correction efficiency and accuracy of coil processing equipment.

[0006] To achieve the above objectives, this application proposes an equipment correction method, the method comprising: Acquire a preset number of stretching coils and the long axis data of each stretching coil, wherein the long axis data is detected by a sensor integrated on the coil processing equipment; The stretching deviation is determined based on the average of the major axis data of each stretching coil and the preset theoretical value of the major axis. If the tensile deviation is not within the preset deviation range, the drive compensation amount of the coil processing equipment is determined based on the tensile deviation.

[0007] In one embodiment, the major axis data includes at least two major axis values, and the step of determining the stretching deviation based on the average of the major axis data of each stretching coil and a preset theoretical value of the major axis includes: Obtain the first major axis value and the second major axis value from each of the major axis data, wherein the first major axis value and the second major axis value are both values ​​detected by sensors on the upper and lower sides of the coil; Determine a first deviation between the average of each first major axis value and the theoretical value of the major axis; determine a second deviation between the average of each second major axis value and the theoretical value of the major axis. The average of the first deviation and the second deviation is determined as the tensile deviation.

[0008] In one embodiment, the step of determining the drive compensation amount of the coil processing equipment based on the tensile deviation includes: The drive compensation amount of the coil processing equipment is determined by using a PID algorithm based on preset proportional gain, integral gain, derivative gain and the stretching deviation.

[0009] In one embodiment, before the step of determining the drive compensation amount of the coil processing equipment using a PID algorithm based on preset proportional gain, integral gain, derivative gain, and the stretching deviation, the method further includes: The operating parameters of the coil processing equipment are obtained, wherein the operating parameters include at least one of mechanical wear parameters, electrical signal quality parameters, pneumatic parameters, and inertial mass parameters; The health status of the coil processing equipment is determined based on the operating parameters. Based on the health level, the proportional gain, the integral gain, and the derivative gain are adjusted, wherein the proportional gain is reduced when the health level decreases, and the proportional gain and the derivative gain are increased, while the integral gain is reduced when the health level increases.

[0010] In one embodiment, after the step of determining the drive compensation amount of the coil processing equipment, the method further includes: Using the coil processing equipment and the drive compensation amount, a preset number of coils to be stretched are stretched to obtain the stretched coils after correction. Based on the corrected stretching coil, the step of determining the stretching deviation based on the average of the major axis data of each stretching coil and the preset theoretical value of the major axis, as well as subsequent steps, are re-executed.

[0011] In one embodiment, the equipment correction method further includes: When the stretching deviation is within the deviation range, calculate the variance between each of the major axis data and the average of the major axis data; If the variance is greater than a preset variance threshold, the step of determining the drive compensation amount of the coil processing equipment based on the stretching deviation is performed.

[0012] In one embodiment, the step of determining the drive compensation amount of the coil processing equipment based on the tensile deviation includes: When the moving direction of the coil processing equipment is different from the coil stretching direction, the moving compensation amount of the coil processing equipment is determined based on the stretching deviation and the conversion coefficient of the coil processing equipment. The drive compensation amount of the coil processing equipment is determined based on the movement compensation amount.

[0013] Furthermore, to achieve the above objectives, this application also proposes an equipment correction device, which includes: An acquisition module is used to acquire a preset number of stretching coils and the long axis data of each stretching coil, wherein the long axis data is detected by a sensor integrated on the coil processing equipment; The deviation determination module is used to determine the stretching deviation based on the average of the major axis data of each stretching coil and the preset theoretical value of the major axis. The compensation determination module is used to determine the drive compensation amount of the coil processing equipment based on the tensile deviation amount when the tensile deviation amount is not within a preset deviation range.

[0014] In addition, to achieve the above objectives, this application also proposes an electronic device, the device comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, the computer program being configured to implement the steps of the equipment correction method as described above.

[0015] In addition, to achieve the above objectives, this application also proposes a storage medium, which is a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, it implements the steps of the equipment correction method described above.

[0016] In addition, to achieve the above objectives, this application also provides a computer program product, which includes a computer program that, when executed by a processor, implements the steps of the equipment correction method described above.

[0017] The one or more technical solutions proposed in this application have at least the following technical effects: First, a preset number of stretching coils are acquired, and the long axis data of each stretching coil is detected by sensors integrated into the coil stretching equipment, realizing online monitoring of key parameters of coil stretching quality without the need for manual visual inspection, thus improving the real-time performance of the detection; Second, the stretching deviation is determined based on the average value of the long axis data of each stretching coil and the preset theoretical value of the long axis, realizing automatic quantification of the deviation, filtering out random errors and accidental fluctuations caused by single stretching or measurement, so that the calculation result of the deviation can accurately reflect the systematic deviation trend of the equipment operation, improving the accuracy of deviation identification; Third, when the stretching deviation is not within the preset deviation range, the drive compensation amount of the coil processing equipment is determined based on the stretching deviation, and unnecessary adjustments caused by minor normal fluctuations are reduced by threshold judgment, while the stretching deviation of the coil processing equipment can be corrected in a timely and effective manner, so that the stretched coils return to the normal range, thereby ensuring the consistency of product quality. This application achieves automated correction of coil processing equipment through real-time data acquisition, average deviation calculation, and threshold-based automated compensation. It can dynamically adapt to the stretching deviation caused by mechanical wear, signal fluctuations, and other reasons, thereby improving the efficiency and accuracy of equipment correction and thus increasing the product yield of coils stretched by the equipment. Attached Figure Description

[0018] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application.

[0019] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, for those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0020] Figure 1 This is a flowchart illustrating the equipment correction method of this application in Embodiment 1. Figure 2 This is a schematic diagram of the coil structure on the coil processing equipment provided in Embodiment 1 of this application; Figure 3 A simplified flowchart illustrating the equipment correction method provided in Embodiment 2 of this application; Figure 4 This is a schematic diagram of the module structure of the correction device in an embodiment of this application; Figure 5 This is a schematic diagram of the hardware operating environment involved in the equipment correction method in the embodiments of this application.

[0021] The purpose, features, and advantages of this application will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. Detailed Implementation

[0022] It should be understood that the specific embodiments described herein are merely illustrative of the technical solutions of this application and are not intended to limit this application.

[0023] It should be noted that in the description of this application and the appended claims, the terms "first," "second," etc., are used only to distinguish descriptions and should not be construed as indicating or implying relative importance.

[0024] To better understand the technical solution of this application, a detailed description will be provided below in conjunction with the accompanying drawings and specific implementation methods.

[0025] Currently, coil processing equipment mainly relies on manual intervention to handle operational deviations. This involves manually analyzing CCD (Charge-Coupled Device) inspection data along the line trajectory, manually calculating dimensional deviations, and setting deviation compensation values ​​on the equipment; or manually adjusting parameters based on inspection data when dimensional defects are found during CCD inspection along the line trajectory and the yield rate decreases. However, as equipment ages and key components wear out more rapidly, the frequency and amplitude of deviations increase, leading to slow response speed and unstable compensation accuracy in manual correction.

[0026] This application provides a solution. First, a preset number of stretching coils are acquired, and the long axis data of each stretching coil is detected by sensors integrated into the coil stretching equipment. This enables online monitoring of key parameters of coil stretching quality, eliminating the need for manual visual inspection and improving the real-time performance of the detection. Next, based on the average of the long axis data of each stretching coil and a preset theoretical long axis value, the stretching deviation is determined. This achieves automatic quantification of the deviation, filtering out random errors and occasional fluctuations caused by single stretching or measurement. The calculated deviation accurately reflects the systematic deviation trend of the equipment operation, improving the accuracy of deviation identification. Furthermore, when the stretching deviation is outside the preset deviation range, the drive compensation amount of the coil processing equipment is determined based on the stretching deviation. Threshold judgment reduces unnecessary adjustments caused by minor normal fluctuations, and can promptly and effectively correct the stretching deviation of the coil processing equipment, bringing the stretched coils back to the normal range, thereby ensuring product quality consistency. This application achieves automated correction of coil processing equipment through real-time data acquisition, average deviation calculation, and threshold-based automated compensation. It can dynamically adapt to the stretching deviation caused by mechanical wear, signal fluctuations, and other reasons, thereby improving the efficiency and accuracy of equipment correction and thus increasing the product yield of coils stretched by the equipment.

[0027] It should be noted that the execution subject of this embodiment can be a coil processing equipment with data processing, network communication and program running functions or an electronic device with a communication connection to the coil processing equipment, such as a tablet computer, personal computer, mobile phone, etc.

[0028] The following uses coil processing equipment as the main execution body to illustrate this embodiment and the following embodiments.

[0029] Based on this, the embodiments of this application provide an equipment correction method, referring to... Figure 1 , Figure 1 This is a flowchart illustrating the first embodiment of the equipment correction method of this application.

[0030] In this embodiment, the equipment correction method includes steps S10 to S30: Step S10: Obtain a preset number of stretching coils and the long axis data of each stretching coil, wherein the long axis data is obtained by a sensor integrated on the coil processing equipment; A stretched coil refers to a coil that has undergone a stretching process and typically has specific dimensional parameters, whose dimensions must conform to preset process standards. The major axis data of a stretched coil refers to the set of dimensional information about the coil's inner diameter along its major axis, including the major axis length values ​​detected at different points on the stretched coil.

[0031] A sensor is a detection element deployed at a specific location on a coil processing equipment, such as a laser rangefinder, a vision camera, or an inductive sensor, used to convert the physical dimensions of a coil into electrical signals or digital data.

[0032] For example, after the coil processing equipment stretches the original coil according to preset process parameters to obtain a stretched coil, the physical quantities related to the long axis of the stretched coil can be detected in real time by the sensors deployed on the equipment to obtain the long axis data; then, after the number of stretched coils processed by the coil processing equipment reaches a preset number, the long axis data of each stretched coil can be analyzed for deviation to determine whether the processing equipment needs to be corrected.

[0033] For example, for each stretching coil, multiple major axis values ​​can be detected depending on the deployment location of the sensor, such as the major axis value of the upper edge, the major axis value of the center, and the major axis value of the lower edge, and the multiple major axis values ​​of the stretching coil are collectively referred to as the major axis data of the stretching coil.

[0034] Understandably, by integrating sensors into the coil processing equipment, the need for manual data recording or visual inspection is reduced, enabling real-time monitoring of coil stretching quality and improving the timeliness of equipment correction.

[0035] Step S20: Determine the stretching deviation based on the average value of the major axis data of each stretching coil and the preset theoretical value of the major axis. The average value of the long axis data is the arithmetic mean of the measured values ​​of the long axis of all stretched coils. The difference between this value and the preset theoretical value of the long axis is the stretching deviation. This deviation is a signed real number that directly reflects the overall offset trend of the current coil processing equipment during coil stretching. It is a key indicator for determining whether the equipment needs to be corrected.

[0036] The theoretical value of the long axis refers to the ideal long axis dimension value that is preset and stored in the coil processing equipment according to the process standards / product specifications.

[0037] For example, the arithmetic mean of the major axis data of all the tensioned coils (which may include all major axis values ​​or take the major axis values ​​detected at a specific location, such as the center major axis value) can be obtained to obtain the average value; then, the difference between the average value and the preset theoretical value of the major axis is determined as the current tension deviation of the coil processing equipment.

[0038] In one feasible implementation, the major axis data includes at least two major axis values, and step S20 includes: Step S21: Obtain the first major axis value and the second major axis value from each major axis data, wherein the first major axis value and the second major axis value are both values ​​detected by the sensors on the upper and lower sides of the coil; The major axis value refers to the measurement result of the major axis dimension of the tension coil detected by the sensor at a specific location. The first major axis value represents the measurement value of the major axis detected by the sensor located above the center of the major axis of the coil, and the second major axis value represents the measurement value of the major axis detected by the sensor located below the center of the major axis of the coil.

[0039] The sensors on the top and bottom sides of the coil refer to the sensors located on both sides of the long axis of the coil's center, or the sensors corresponding to the long axis of the coil's edge.

[0040] For example, please refer to Figure 2 , Figure 2 A schematic diagram of a coil structure on a coil processing equipment is provided. The red part represents the coil, and S0~S2 represent the long axis values ​​detected by sensors at the upper, middle and lower positions, respectively. S0 is the first long axis value of the coil, and S2 is the second long axis value of the coil.

[0041] Step S22: Determine the first deviation between the average value of each first major axis and the theoretical value of the major axis, and determine the second deviation between the average value of each second major axis and the theoretical value of the major axis. The first deviation and the second deviation refer to two independent intermediate deviation results obtained after applying the aforementioned averaging calculation and comparison with theoretical values ​​to the "first major axis value" and "second major axis value" of each tension coil, respectively. That is: the first deviation ΔS0 = the average of the first major axis values ​​of each tension coil. -L (theoretical value of the major axis); Second deviation ΔS2 = average value of the second major axis of each tension coil. -L.

[0042] Step S23: The average of the first deviation and the second deviation is determined as the tensile deviation.

[0043] For example, the tensile deviation is obtained by arithmetically averaging the first deviation and the second deviation, and subsequent equipment correction judgment and compensation calculation are performed based on this tensile deviation; wherein, the mathematical expression of the tensile deviation is: .

[0044] In this embodiment, by obtaining the major axis values ​​of the upper and lower sides of the coil center and calculating the deviation, on the one hand, the change of the inner diameter on the upper and lower sides can more accurately reflect the degree of coil stretching, thus more comprehensively and accurately reflecting the actual state of the coil during the stretching process; on the other hand, it avoids the random errors that may be caused by a single detection point, thereby improving the accuracy of detection.

[0045] Optionally, before step S30, the variance / standard deviation of the first deviation and the second deviation can be determined as the shaping deviation; if the shaping deviation is not within the preset shaping deviation range, it is determined that there is abnormal deformation in the coil processing equipment and an alarm message is output; if the shaping deviation is within the shaping deviation range, S30 is executed.

[0046] Understandably, this shaping deviation is used to quantify the degree of asymmetry of the coil on both sides in the long axis direction, reflecting the stretching uniformity of the coil processing equipment in the long axis direction. By performing variance analysis on the long axis deviations on the upper and lower sides, the dispersion of the upper and lower sides of the central long axis can be analyzed to identify possible structural abnormalities such as mold misalignment, guide mechanism wear, transmission component loosening, or uneven force application on the left and right sides, so as to accurately identify the abnormalities of the coil processing equipment itself.

[0047] Step S30: If the tensile deviation is not within the preset deviation range, determine the drive compensation amount of the coil processing equipment based on the tensile deviation.

[0048] Deviation range refers to the threshold interval used to determine whether the amount of stretching deviation needs to trigger a corrective action; it is usually represented as a closed interval [L]. min , L max ] or symmetrical interval [ [δ,+δ]; If the tensile deviation of the coil processing equipment falls within this range, it can be determined that the equipment is operating normally and no compensation action is triggered; if it exceeds this range, the coil processing equipment is determined to be in an abnormal state and the correction procedure needs to be started.

[0049] Drive compensation refers to the additional drive amount that needs to be added or reduced to restore the coil processing equipment to the ideal processing state. This value is usually a digital quantity (such as pulse count, analog voltage value, displacement increment, speed correction, or duty cycle, etc.), and its magnitude and direction (positive or negative) are mapped from the stretching deviation amount through a specific algorithm (such as proportional control). This value is usually superimposed on the basic drive amount of the current coil processing equipment to form a new drive command.

[0050] Optionally, the mapping method from the tensile deviation to the drive compensation of the coil processing equipment includes, but is not limited to: neural network model, linear proportional relationship, PID (Proportional-Integral-Derivative) algorithm, fuzzy rule-based mapping, etc.

[0051] For example, when the tensile deviation of the coil processing equipment is not within the preset deviation range, the tensile deviation can be input into a pre-trained neural network model, which performs internal calculations and outputs a drive compensation amount. The neural network model is trained using historical equipment data, which includes historical tensile deviations and manually labeled drive compensation amounts.

[0052] For example, if the tensile deviation of the coil processing equipment is within the deviation range, the correction action is not triggered, the current drive quantity of the coil processing equipment remains unchanged, and the next measurement cycle begins.

[0053] In one feasible implementation, step S30 includes: Step S31: Using a PID algorithm, determine the drive compensation amount of the coil processing equipment based on preset proportional gain, integral gain, derivative gain, and stretching deviation.

[0054] The PID algorithm is a control algorithm based on error feedback. It performs proportional, integral, and derivative operations on the system error (in this embodiment, the stretching deviation) to synthesize a control quantity, which is used to adjust the system output (in this embodiment, the drive compensation quantity of the coil processing equipment) to make the system output as close as possible to the setpoint or to achieve the expected effect. The proportional gain, integral gain, and derivative gain are the weighting coefficients of the proportional, integral, and derivative terms in the PID algorithm, respectively. The proportional gain amplifies the current deviation signal and determines the direct influence of the system error on the control quantity; the integral gain acts on the time integral of the deviation to eliminate static errors; and the derivative gain acts on the derivative of the deviation (instantaneous rate of change) to suppress overshoot and oscillation.

[0055] For example, according to the PID algorithm, the stretching deviation is multiplied by a preset proportional gain to generate a proportional control component; the stretching deviation is integrated over time, and the integral result is multiplied by a preset integral gain to generate an integral control component; the first-order rate of change of the stretching deviation with respect to time is calculated, and the first-order rate of change is multiplied by a preset derivative gain to generate a derivative control component; the drive compensation amount is determined based on the proportional control component, integral control component, and derivative control component.

[0056] For example, the formula for calculating the drive compensation amount based on the PID algorithm is as follows: ; Where U(t) represents the driving compensation amount at time t; e(t) = ΔL, representing the deviation between the actual tension of the equipment and the expected value (theoretical value), i.e., the tension deviation; K p K i and K d These represent the proportional gain, integral gain, and differential gain, respectively; ∫e(t)dt represents the integral of the deviation from time 0 to time t; de(t) / dt represents the derivative of the deviation.

[0057] In this embodiment, the coordinated operation of proportional gain, integral gain and derivative gain in the PID algorithm enables the compensation for the stretching deviation of the coil processing equipment to be both rapid and smooth, thereby effectively addressing the coil stretching deviation caused by factors such as equipment inertia and equipment aging, and improving the product yield of stretched coils.

[0058] In one possible implementation, prior to step S31, the method further includes: Step S301: Obtain the operating parameters of the coil processing equipment, wherein the operating parameters include at least one of mechanical wear parameters, electrical signal quality parameters, pneumatic parameters, and inertial mass parameters; The operating parameters of coil processing equipment refer to the data used to reflect the various working states and performance indicators of the coil processing equipment during operation. They include a series of quantitative data reflecting the physical state, electrical stability, air pressure stability, etc. of the equipment.

[0059] Mechanical wear parameters refer to indicators used to measure the degree of wear of mechanical components in coil processing equipment due to factors such as friction and collision during operation, including lead screw backlash, gear meshing backlash, and bearing vibration intensity.

[0060] Electrical signal quality parameters refer to indicators used to reflect the quality problems of electrical signals generated and transmitted by the electrical system in coil processing equipment, such as stability problems and noise problems.

[0061] Pneumatic parameters refer to parameters related to the pneumatic system in coil processing equipment, including pneumatic stability and air flow rate.

[0062] Inertial mass parameters refer to parameters related to the inertia of moving parts in coil processing equipment, such as moment of inertia and mass distribution.

[0063] For example, the above-mentioned operating parameters can be automatically and in real time measured by various sensors deployed on the coil processing equipment. For instance, the vibration intensity of the bearing can be measured in real time by acquiring vibration signals through an acceleration sensor installed on the bearing housing; the time-domain fluctuation characteristics of the drive current of the coil processing equipment can be monitored in real time by a current sensor, and the electrical stability of the equipment can be determined by analyzing these characteristics; and the air pressure value can be monitored in real time by a pressure transmitter, and its standard deviation over a period of time can be calculated as a pneumatic stability parameter.

[0064] Step S302: Determine the health status of the coil processing equipment based on the operating parameters; Health status refers to a comprehensive evaluation index of the overall operating status and performance of coil processing equipment. It is a quantitative representation of the health level of the equipment by comprehensively considering multiple factors such as operating parameters. Generally, the higher the health status, the better the operating status of the coil processing equipment and the smaller the tensile deviation of the equipment.

[0065] For example, the operating parameters of the coil processing equipment, such as mechanical wear parameters, electrical signal quality parameters, aerodynamic parameters, and inertial mass parameters, can be evaluated to determine the mechanical health score, electrical signal health score, aerodynamic health score, and inertial health score. Then, according to the weights corresponding to each operating parameter, the evaluated mechanical health score, electrical signal health score, aerodynamic health score, and inertial health score are weighted and summed to obtain the health status of the coil processing equipment.

[0066] For example, the operating parameters of the coil processing equipment, such as mechanical wear parameters, electrical signal quality parameters, aerodynamic parameters, and inertial mass parameters, can also be directly input into a pre-trained machine learning model to output the health status of the coil processing equipment.

[0067] Step S303: Adjust the proportional gain, integral gain, and derivative gain according to the health status. Specifically, decrease the proportional gain when the health status decreases, and increase the proportional gain and derivative gain while decreasing the integral gain when the health status increases.

[0068] For example, after calculating the current health status of the coil processing equipment, it is compared with the previously stored health status to determine the change in health status. Based on the change in health status, the proportional gain, derivative gain, and integral gain in the PID algorithm are adjusted. When the health status decreases, the proportional gain is reduced so that the output drive compensation quantity responds more gently to the stretching deviation, i.e., the compensation amplitude of each compensation by the coil processing equipment is reduced, avoiding oscillations when the equipment with low health status (such as aging / quality-prone coil processing equipment) performs control quantity compensation. When the health status increases, the proportional gain and derivative gain can be appropriately increased to achieve a rapid response to changes in the current coil processing equipment, while the integral gain is appropriately reduced to avoid unnecessary overshoot due to the subsequent decrease in stretching deviation.

[0069] In this embodiment, the gain parameters are dynamically adjusted according to the health status, which can better adapt to the characteristics of the coil processing equipment under different states. It does not require frequent manual intervention, so that the coil processing equipment can maintain a good correction effect under different working conditions and improve the accuracy of equipment correction.

[0070] This embodiment provides a method for correcting equipment deviation. First, sensors integrated into the coil processing equipment collect long-axis data of the stretched coil, enabling online automatic monitoring of product quality. This replaces traditional manual sampling and improves the real-time nature and objectivity of the data. Then, by averaging multiple sets of data and comparing them with theoretical values, the stretching deviation is determined, effectively filtering out random errors and instantaneous interference. This makes the deviation calculation more reflective of the systematic deviation trend of the coil processing equipment, improving the accuracy of deviation identification. Furthermore, by triggering a compensation mechanism when the deviation exceeds the limit and calculating the driving compensation amount based on a PID algorithm, a closed-loop control loop of "detection-decision-execution" is constructed, enabling the equipment to autonomously correct deviations and maintain long-term stable operation without manual intervention. In addition, by collecting multi-dimensional operating parameters such as mechanical wear, electrical signal quality, aerodynamic parameters, and inertial mass, and assessing the equipment's health, a data foundation is provided for adaptive control of the PID gain parameters. This allows the control strategy to automatically optimize with the aging state of the equipment. When health decreases, conservative stabilization is maintained to suppress oscillation risks; when health increases, aggressive and efficient measures are taken to fully utilize the repaired performance, ensuring the quality of the corrected product. This application achieves automated correction of coil processing equipment through real-time data acquisition, average deviation calculation, and threshold-based automated compensation. It can dynamically adapt to the stretching deviation caused by mechanical wear, signal fluctuations, and other reasons, thereby improving the efficiency and accuracy of equipment correction and thus increasing the product yield of coils stretched by the equipment.

[0071] Based on the first embodiment of this application, in the second embodiment of this application, the content that is the same as or similar to that in the first embodiment described above can be referred to the above description and will not be repeated hereafter. In addition, after step S30, the following is also included: Step S40: Using coil processing equipment and drive compensation, a preset number of coils to be stretched are stretched to obtain the stretched coils after correction. A coil to be stretched refers to a raw coil that has not yet undergone stretching processing.

[0072] The stretched coil after correction refers to the stretched coil obtained after being stretched by a coil processing equipment that has undergone correction by drive compensation.

[0073] For example, the coil processing equipment adjusts its operating parameters (such as motor speed) according to the drive compensation amount, and stretches a preset number of coils to be stretched based on the adjusted operating parameters to obtain a preset number of corrected stretched coils; during the stretching process, the long axis data of each corrected stretched coil can also be collected in real time by the sensor integrated on the coil processing equipment.

[0074] Step S50: Based on the corrected stretching coils, re-execute the step of determining the stretching deviation based on the average amount of the long axis data of each stretching coil and the preset theoretical value of the long axis, as well as subsequent steps.

[0075] For example, after obtaining a preset number of corrected stretching coils and their long axis data, steps S20 to S30 can be re-executed based on the corrected stretching coils in order to calculate the stretching deviation of the corrected coil processing equipment and determine whether further correction is needed, thus forming a closed loop for the correction of the coil processing equipment.

[0076] For example, after obtaining a preset number of corrected stretching coils and their long axis data, the stretching deviation can be determined based on the average amount of the long axis data of the corrected stretching coils and the preset theoretical value of the long axis. If the stretching deviation is not within the preset deviation range, the drive compensation amount of the coil processing equipment can be re-determined based on the stretching deviation, thereby achieving further correction of the coil processing equipment.

[0077] For example, please refer to Figure 3 , Figure 3 A simplified flowchart of an equipment correction method is provided. First, sensors integrated on the coil processing equipment collect real-time data on the long axis of the stretched coil to monitor its inner diameter. If the average long axis data of each stretched coil deviates from the theoretical long axis value within a preset deviation range, an inner diameter anomaly is identified. Next, compensation is calculated based on this deviation, specifically using a PID algorithm and the deviation to determine the drive compensation amount for the coil processing equipment. Then, the coil processing equipment is controlled and compensated based on this drive compensation amount, and the coil is stretched using the compensated equipment to obtain a corrected stretched coil. The long axis data of this coil is collected in real-time. This process of inner diameter monitoring, compensation calculation, and coil stretching is repeated, achieving a complete closed loop from deviation detection to deviation correction. This enables automated correction, allowing for timely detection and correction of deviations during the coil processing equipment stretching process, improving correction efficiency and accuracy.

[0078] In this embodiment, by continuously redetermining the stretching deviation based on the corrected stretching coil and adjusting the drive compensation amount, the stretching of the coil can more accurately reach the preset theoretical value of the long axis, thereby improving the overall quality of the product. At the same time, by continuously monitoring the coil processing equipment, deviations in the stretching process can be detected and corrected in a timely manner, improving the efficiency of equipment correction.

[0079] In one feasible implementation, the equipment correction method further includes: Step A40: When the stretching deviation is within the deviation range, calculate the variance between each major axis data and the average of the major axis data. Variance is a measure of the dispersion of a set of data from its arithmetic mean. The mathematical expression for calculating variance is: Where s is the variance, n is the preset number of stretching coils, and x i This represents the major axis data of the i-th coil. This represents the average value of the data along the major axis.

[0080] For example, the method of calculating the variance between each major axis data and the average of the major axis data may further include: determining a first variance between the first major axis value of each tension coil and its average and a second variance between the second major axis value of each tension coil and its average, and determining the average of the first variance and the second variance as the major axis variance of each tension coil.

[0081] Step A50: If the variance is greater than a preset variance threshold, perform the step of determining the drive compensation amount of the coil processing equipment based on the stretching deviation.

[0082] The variance threshold is a preset upper limit of variance used to determine whether the discrete length of the stretched coil is acceptable. If the variance exceeds the upper limit of the threshold, it indicates that the deviation of the stretching operation of the current coil processing equipment fluctuates greatly, resulting in the stretching coils with different lengths.

[0083] For example, during the process of monitoring the inner diameter of the long axis data of the stretched coil, its average value can be compared with the preset theoretical value of the long axis to calculate the stretching deviation. At the same time, the variance between each long axis data and its average value is calculated. If the stretching deviation is not within the deviation range or the variance is greater than the variance threshold, the step S30 is executed to determine the drive compensation amount of the coil processing equipment based on the stretching deviation. That is, the coil processing equipment is corrected based on the stretching deviation to keep the stretching process of the coil processing equipment in a relatively stable state and reduce the occurrence of defective products.

[0084] In this embodiment, by introducing a variance index, deviations in the coil stretching process can be detected more accurately. When the variance is too large, the drive compensation amount can be determined and adjusted in time, which can effectively reduce processing errors, make the coil size more in line with design requirements, and thus improve product quality.

[0085] In one feasible implementation, step S30 includes: Step A31: When the moving direction of the coil processing equipment is different from the coil stretching direction, determine the moving compensation amount of the coil processing equipment based on the stretching deviation and the conversion coefficient of the coil processing equipment. The direction of movement of coil processing equipment refers to the direction of the physical axis used to control the sliding of its actuators (such as tension sliders and pressure roller slides). The coil tension direction, on the other hand, refers to the direction of the spatial vector that must be applied to both ends of the coil to cause plastic elongation.

[0086] The conversion factor is a proportional parameter used to convert tensile deviation into movement compensation. It reflects the quantitative relationship between tensile deviation and movement compensation and is usually related to factors such as the mechanical structure and transmission method of the coil processing equipment.

[0087] The movement compensation amount refers to the distance that the coil processing equipment needs to move in its moving direction. It is used to adjust the stretching distance of the coil processing equipment to correct the stretching deviation.

[0088] For example, a spatial coordinate system can be established with the coil processing equipment as the origin, and the movement direction vector and stretching direction vector of the coil processing equipment can be determined; then, the conversion coefficient can be determined according to the tangent angle between the movement direction vector and the stretching direction vector, and the movement compensation amount of the coil processing equipment can be determined based on the conversion coefficient and the stretching deviation.

[0089] Step A32: Determine the drive compensation amount of the coil processing equipment based on the movement compensation amount.

[0090] For example, the drive compensation amount of the coil processing equipment can be determined using a PID algorithm based on preset proportional gain, integral gain, derivative gain, and the movement compensation amount. The specific calculation process is the same as that in step S31, except that the tensile deviation amount in step S31 is modified to the movement compensation amount; therefore, the calculation process will not be described in detail here.

[0091] In this embodiment, by switching between the stretching direction and the moving direction of the coil processing equipment, the automation level of the coil processing equipment's correction is improved. Even when facing coil processing equipment that uses indirect transmission mechanisms such as wedges, connecting rods, and cams, automatic correction and automatic compensation can still be achieved, thereby improving correction efficiency and accuracy.

[0092] It should be noted that the above examples are only for understanding this application and do not constitute a limitation on the equipment correction method of this application. Any simple modifications based on this technical concept are within the protection scope of this application.

[0093] This application also provides an equipment correction device, please refer to... Figure 4 The equipment includes a correction device: The acquisition module 10 is used to acquire a preset number of stretching coils and the long axis data of each stretching coil, wherein the long axis data is detected by a sensor integrated on the coil processing equipment; The deviation determination module 20 is used to determine the stretching deviation based on the average amount of the long axis data of each stretching coil and the preset theoretical value of the long axis. The compensation determination module 30 is used to determine the drive compensation amount of the coil processing equipment based on the tensile deviation amount when the tensile deviation amount is not within a preset deviation range.

[0094] Optionally, the deviation determination module 20 is also used for: Obtain the first major axis value and the second major axis value from each of the major axis data, wherein the first major axis value and the second major axis value are both values ​​detected by sensors on the upper and lower sides of the coil; Determine a first deviation between the average of each first major axis value and the theoretical value of the major axis; determine a second deviation between the average of each second major axis value and the theoretical value of the major axis. The average of the first deviation and the second deviation is determined as the tensile deviation.

[0095] Optionally, the compensation determination module 30 is also used for: The drive compensation amount of the coil processing equipment is determined by using a PID algorithm based on preset proportional gain, integral gain, derivative gain and the stretching deviation.

[0096] Optionally, the compensation determination module 30 is also used for: The operating parameters of the coil processing equipment are obtained, wherein the operating parameters include at least one of mechanical wear parameters, electrical signal quality parameters, pneumatic parameters, and inertial mass parameters; The health status of the coil processing equipment is determined based on the operating parameters. Based on the health level, the proportional gain, the integral gain, and the derivative gain are adjusted, wherein the proportional gain is reduced when the health level decreases, and the proportional gain and the derivative gain are increased, while the integral gain is reduced when the health level increases.

[0097] Optionally, the compensation determination module 30 is also used for: Using the coil processing equipment and the drive compensation amount, a preset number of coils to be stretched are stretched to obtain the stretched coils after correction. Based on the corrected stretching coil, the step of determining the stretching deviation based on the average of the major axis data of each stretching coil and the preset theoretical value of the major axis, as well as subsequent steps, are re-executed.

[0098] Optionally, the compensation determination module 30 is also used for: When the stretching deviation is within the deviation range, calculate the variance between each of the major axis data and the average of the major axis data; If the variance is greater than a preset variance threshold, the step of determining the drive compensation amount of the coil processing equipment based on the stretching deviation is performed.

[0099] Optionally, the compensation determination module 30 is also used for: When the moving direction of the coil processing equipment is different from the coil stretching direction, the moving compensation amount of the coil processing equipment is determined based on the stretching deviation and the conversion coefficient of the coil processing equipment. The drive compensation amount of the coil processing equipment is determined based on the movement compensation amount.

[0100] The equipment correction device provided in this application, employing the equipment correction method described in the above embodiments, can solve the technical problem of how to improve the correction efficiency and accuracy of coil processing equipment. Compared with the prior art, the beneficial effects of the equipment correction device provided in this application are the same as those of the equipment correction method provided in the above embodiments, and other technical features in the equipment correction device are the same as those disclosed in the methods of the above embodiments, and will not be repeated here.

[0101] This application provides an electronic device, which includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, which are executed by the at least one processor to enable the at least one processor to perform the equipment correction method in Embodiment 1 above.

[0102] The following is for reference. Figure 5 The diagram illustrates a structural schematic of an electronic device suitable for implementing embodiments of this application. The electronic devices in these embodiments may include, but are not limited to, mobile terminals such as mobile phones, laptops, digital broadcast receivers, PDAs (Personal Digital Assistants), PADs (Portable Application Descriptions), PMPs (Portable Media Players), in-vehicle terminals (e.g., in-vehicle navigation terminals), and fixed terminals such as digital TVs and desktop computers. Figure 5 The electronic device shown is merely an example and should not impose any limitation on the functionality and scope of use of the embodiments of this application.

[0103] like Figure 5As shown, the electronic device may include a processing unit 1001 (e.g., a central processing unit, a graphics processing unit, etc.), which can perform various appropriate actions and processes according to a program stored in a read-only memory 1002 or a program loaded from a storage device 1003 into a random access memory 1004. The random access memory 1004 also stores various programs and data required for the operation of the electronic device. The processing unit 1001, the read-only memory 1002, and the random access memory 1004 are interconnected via a bus 1005. An input / output interface 1006 is also connected to the bus. Typically, the following systems can be connected to the input / output interface 1006: input devices 1007 including, for example, touchscreens, touchpads, keyboards, mice, image sensors, microphones, accelerometers, gyroscopes, etc.; output devices 1008 including, for example, liquid crystal displays (LCDs), speakers, vibrators, etc.; storage devices 1003 including, for example, magnetic tapes, hard disks, etc.; and communication devices 1009. The communication device 1009 allows the electronic device to communicate wirelessly or wiredly with other devices to exchange data. Although the diagrams show electronic devices with various systems, it should be understood that it is not required to implement or have all of the systems shown. More or fewer systems may be implemented alternatively.

[0104] Specifically, according to the embodiments disclosed in this application, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments disclosed in this application include a computer program product comprising a computer program carried on a computer-readable medium, the computer program containing program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via a communication device, or installed from storage device 1003, or installed from read-only memory 1002. When the computer program is executed by processing device 1001, it performs the functions defined in the methods of the embodiments disclosed in this application.

[0105] The electronic device provided in this application, employing the equipment correction method described in the above embodiments, can solve the technical problem of how to improve the correction efficiency and accuracy of coil processing equipment. Compared with the prior art, the beneficial effects of the electronic device provided in this application are the same as those of the equipment correction method provided in the above embodiments, and other technical features of this electronic device are the same as those disclosed in the previous embodiment method, and will not be repeated here.

[0106] It should be understood that the various parts disclosed in this application can be implemented using hardware, software, firmware, or a combination thereof. In the description of the above embodiments, specific features, structures, materials, or characteristics can be combined in any suitable manner in one or more embodiments or examples.

[0107] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.

[0108] This application provides a computer-readable storage medium having computer-readable program instructions (i.e., a computer program) stored thereon, which are used to execute the equipment correction method in the above embodiments.

[0109] The computer-readable storage medium provided in this application embodiment may be, for example, a USB flash drive, but is not limited to, electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems or devices, or any combination thereof. More specific examples of computer-readable storage media may include, but are not limited to: electrical connections having one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fibers, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof. In this embodiment, the computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system or device. The program code contained on the computer-readable storage medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (Radio Frequency), etc., or any suitable combination thereof.

[0110] The aforementioned computer-readable storage medium may be included in an electronic device or may exist independently without being assembled into an electronic device.

[0111] The aforementioned computer-readable storage medium carries one or more programs that, when executed by an electronic device, cause the electronic device to: acquire a preset number of stretching coils and the long axis data of each stretching coil, wherein the long axis data is detected by a sensor integrated on the coil processing equipment; determine the stretching deviation based on the average amount of the long axis data of each stretching coil and a preset theoretical value of the long axis; and, if the stretching deviation is not within a preset deviation range, determine the drive compensation amount of the coil processing equipment based on the stretching deviation.

[0112] Computer program code for performing the operations of this application can be written in one or more programming languages ​​or a combination thereof, including object-oriented programming languages ​​such as Java, Smalltalk, and C++, and conventional procedural programming languages ​​such as the "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving remote computers, the remote computer can be connected to the user's computer via any type of network—including a Local Area Network (LAN) or a Wide Area Network (WAN)—or can be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0113] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this application. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, can be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.

[0114] The modules described in the embodiments of this application can be implemented in software or hardware. The names of the modules do not necessarily limit the functionality of the unit itself.

[0115] The readable storage medium provided in this application is a computer-readable storage medium, which stores computer-readable program instructions (i.e., computer programs) for executing the above-described equipment correction method, and can solve the technical problem of how to improve the correction efficiency and accuracy of coil processing equipment. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided in this application are the same as the beneficial effects of the equipment correction method provided in the above embodiments, and will not be repeated here.

[0116] This application also provides a computer program product, including a computer program that, when executed by a processor, implements the steps of the equipment correction method described above.

[0117] The computer program product provided in this application can solve the technical problem of how to improve the correction efficiency and accuracy of coil processing equipment. Compared with the prior art, the beneficial effects of the computer program product provided in this application are the same as the beneficial effects of the equipment correction method provided in the above embodiments, and will not be repeated here.

[0118] The above description is only a part of the embodiments of this application and does not limit the patent scope of this application. All equivalent structural transformations made under the technical concept of this application and using the contents of the specification and drawings of this application, or direct / indirect applications in other related technical fields, are included in the patent protection scope of this application.

Claims

1. An apparatus and method for correcting deviation, characterized by comprising: The equipment correction method is applied to coil processing equipment, and the method includes: Acquire a preset number of stretching coils and the long axis data of each stretching coil, wherein the long axis data is detected by a sensor integrated on the coil processing equipment; The stretching deviation is determined based on the average of the major axis data of each stretching coil and the preset theoretical value of the major axis. If the tensile deviation is not within the preset deviation range, the drive compensation amount of the coil processing equipment is determined based on the tensile deviation.

2. The method of correcting deviation of the equipment according to claim 1, wherein, The major axis data includes at least two major axis values, and the step of determining the stretching deviation based on the average of the major axis data of each stretching coil and a preset theoretical value of the major axis includes: Obtain the first major axis value and the second major axis value from each of the major axis data, wherein the first major axis value and the second major axis value are both values ​​detected by sensors on the upper and lower sides of the coil; Determine a first deviation between the average of each first major axis value and the theoretical value of the major axis; determine a second deviation between the average of each second major axis value and the theoretical value of the major axis. The average of the first deviation and the second deviation is determined as the tensile deviation.

3. The method of claim 1, wherein, The step of determining the drive compensation amount of the coil processing equipment based on the tensile deviation includes: The drive compensation amount of the coil processing equipment is determined by using a PID algorithm based on preset proportional gain, integral gain, derivative gain and the stretching deviation.

4. The method of correcting deviation of the equipment according to claim 3, wherein, Before the step of determining the drive compensation amount of the coil processing equipment using a PID algorithm based on preset proportional gain, integral gain, derivative gain, and the stretching deviation, the method further includes: The operating parameters of the coil processing equipment are obtained, wherein the operating parameters include at least one of mechanical wear parameters, electrical signal quality parameters, pneumatic parameters, and inertial mass parameters; The health status of the coil processing equipment is determined based on the operating parameters. Based on the health level, the proportional gain, the integral gain, and the derivative gain are adjusted, wherein the proportional gain is reduced when the health level decreases, and the proportional gain and the derivative gain are increased, while the integral gain is reduced when the health level increases.

5. The method of correcting deviation of the equipment according to claim 1, wherein, After the step of determining the drive compensation amount of the coil processing equipment, the method further includes: Using the coil processing equipment and the drive compensation amount, a preset number of coils to be stretched are stretched to obtain the stretched coils after correction. Based on the corrected stretching coil, the step of determining the stretching deviation based on the average of the major axis data of each stretching coil and the preset theoretical value of the major axis, as well as subsequent steps, are re-executed.

6. The method of correcting misalignment of equipment as claimed in claim 1, wherein, The equipment correction method also includes: When the stretching deviation is within the deviation range, calculate the variance between each of the major axis data and the average of the major axis data; If the variance is greater than a preset variance threshold, the step of determining the drive compensation amount of the coil processing equipment based on the stretching deviation is performed.

7. The method of correcting misalignment of equipment as claimed in claim 1 wherein, The step of determining the drive compensation amount of the coil processing equipment based on the tensile deviation includes: When the moving direction of the coil processing equipment is different from the coil stretching direction, the moving compensation amount of the coil processing equipment is determined based on the stretching deviation and the conversion coefficient of the coil processing equipment. The drive compensation amount of the coil processing equipment is determined based on the movement compensation amount.

8. An electronic device, comprising: The device includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, the computer program being configured to implement the steps of the equipment correction method as described in any one of claims 1 to 7.

9. A storage medium, characterized by The storage medium is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by a processor, it implements the steps of the equipment correction method as described in any one of claims 1 to 7.

10. A computer program product, characterised in that, The computer program product includes a computer program that, when executed by a processor, implements the steps of the equipment correction method as described in any one of claims 1 to 7.