Compensation control method, device, equipment, medium and product for machining production line

Through online measurement and dynamic adjustment of compensation values, combined with the adjustment of adaptive control cycle, the problems of error compensation lag and the number of workpieces in the machining production line are solved, and high-precision and high-efficiency machining control are achieved.

CN119247879BActive Publication Date: 2025-03-28GD MIDEA AIR CONDITIONING EQUIP CO LTD +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411776710.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-12-05
Publication Date
2025-03-28
Estimated Expiration
2044-12-05

AI Technical Summary

Technical Problem

During the machining process, there are problems such as lag in error compensation, varying number of workpieces, and inconsistent manual inspections, resulting in reduced accuracy and increased cost.

Method used

A compensation control method for machining production lines is proposed, by measuring the workpiece dimensions online, adjusting the compensation value dynamically, and adjusting the compensation control cycle adaptively to achieve high-precision control.

Benefits of technology

It realizes online measurement and real-time compensation of workpiece size, improves the accuracy and efficiency of the machining production line, and reduces the dependence and cost of manual inspection.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119247879B_ABST
    Figure CN119247879B_ABST
Patent Text Reader

Abstract

The present application and the technical field of machining production lines provide compensation control methods, devices, equipment, media and products for machining production lines, the method comprising: obtaining the current workpiece size of the machining production line in the current control cycle; determining the deviation value from the target workpiece size based on the current workpiece size; determining the compensation value based on the deviation value, the compensation value is used to adjust the machining parameters of the machining production line in the next control cycle; determining the next control cycle of the machining production line based on the deviation value and the compensation value. In the above manner, the present application can measure the size of the workpiece output by the machining production line, and dynamically adjust the compensation value according to the measurement results, so as to realize online measurement and compensation of errors; and the present application can also adaptively adjust the compensation control cycle according to the compensation value, so as to realize high-precision machining production line control.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of machining production lines, and in particular to compensation control methods, devices, equipment, media and products for machining production lines. Background Art

[0002] Machining production lines are generally composed of multiple general and special equipment with different processes connected in series or parallel through conveyor belts or step machines. In order to improve the manufacturing accuracy of workpieces and reduce the recall rate of products, online processing measurement is a reasonable direction. However, the current processing measurement requires manual sampling and compensation to process qualified workpieces; there are problems such as uncertain sampling intervals, missed inspections of defective products, inconsistency in manual inspections, and labor costs; and due to differences in the shutdown frequency and work beat of each equipment point, and the possibility that the workpieces on the conveyor belt between equipment may be waiting for material or full of material, these factors together lead to different numbers of workpieces. When adjusting the workpiece parameters, there will be a time lag between the compensation measures and the actual measurement. This lag may cause the compensation measures to fail to respond to actual changes in a timely manner, and may even cause the compensation trend to reverse. Summary of the invention

[0003] The present application aims to solve at least one of the technical problems existing in the related art. To this end, the present application proposes a compensation control method for a machining production line, which can realize online measurement and compensation of errors and adaptively adjust the compensation control cycle, thereby realizing high-precision machining production line control.

[0004] The present application also proposes a compensation control device, electronic equipment, storage medium and program product for a machining production line.

[0005] According to the compensation control method of the machining production line of the first aspect embodiment of the present application, the method includes: obtaining the current workpiece size of the machining production line in the current control cycle; determining the deviation value from the target workpiece size according to the current workpiece size; determining the compensation value according to the deviation value, and the compensation value is used to adjust the machining parameters of the machining production line in the next control cycle; determining the next control cycle of the machining production line according to the deviation value and the compensation value.

[0006] According to the compensation control method of the machining production line in the embodiment of the present application, the size of the workpiece output by the machining production line can be measured, and the compensation value can be dynamically adjusted according to the measurement result, so as to realize online measurement and compensation of errors; and, the present application can also adaptively adjust the compensation control cycle according to the compensation value, so as to realize high-precision machining production line control.

[0007] According to one embodiment of the present application, the next control cycle of the machining production line is determined based on the deviation value and the compensation value, including: comparing the compensation value with the compensation threshold to obtain a first comparison result; comparing the deviation value with the deviation threshold to obtain a second comparison result; and determining the next control cycle of the machining production line based on the first comparison result and the second comparison result.

[0008] According to one embodiment of the present application, the compensation threshold includes a first compensation threshold, the deviation threshold includes a first deviation threshold, and the next control cycle of the machining production line is determined based on the first comparison result and the second comparison result, including: when the first comparison result is that the compensation value is less than or equal to the first compensation threshold, and the second comparison result is that the deviation value is less than or equal to the first deviation threshold, the duration of the next control cycle is determined as the duration of the current control cycle; when the first comparison result is that the compensation value is less than or equal to the first compensation threshold, and the second comparison result is that the deviation value is greater than the first deviation threshold, the maximum control cycle is used as the next control cycle of the machining production line; when the first comparison result is that the compensation value is greater than the first compensation threshold, the next control cycle of the machining production line is determined based on the difference between the compensation value and the first compensation threshold, and the second comparison result.

[0009] According to one embodiment of the present application, the compensation threshold also includes a second compensation threshold greater than the first compensation threshold. When the first comparison result is that the compensation value is greater than the first compensation threshold, the next control cycle of the machining production line is determined according to the difference between the compensation value and the first compensation threshold, and the second comparison result, including: when the first comparison result is that the compensation value is greater than the first compensation threshold and less than the second compensation threshold, the maximum control cycle is used as the next control cycle of the machining production line; when the first comparison result is that the compensation value is greater than or equal to the second compensation threshold, and the second comparison result is that the deviation value is less than or equal to the first deviation threshold, the next control cycle of the machining production line is determined according to the current number of lagging workpieces; when the first comparison result is that the compensation value is greater than or equal to the second compensation threshold, and the second comparison result is that the deviation value is greater than the first deviation threshold, the maximum control cycle is used as the next control cycle of the machining production line.

[0010] According to an embodiment of the present application, after determining the next control cycle of the machining production line according to the current number of lagging workpieces, it also includes: if the compensated workpiece is not detected in the next control cycle, the next control cycle of the machining production line is updated to the maximum control cycle.

[0011] According to one embodiment of the present application, determining a compensation value based on a deviation value includes: acquiring working parameters of a machining production line; the working parameters include at least one of ambient temperature, production line mode, production line status, position coordinates, compensation results, and external input instructions; determining a compensation value based on the deviation value and the working parameters.

[0012] According to one embodiment of the present application, before obtaining the current workpiece size of the machining production line in the current control cycle, it also includes: determining the machining equipment and conveyor belt of the machining production line; determining the maximum control cycle and the minimum control cycle of the machining production line according to the machining equipment and the conveyor belt; wherein the next control cycle is greater than or equal to the minimum control cycle, and less than or equal to the maximum control cycle.

[0013] According to one embodiment of the present application, obtaining the current workpiece size of the machining production line in the current control cycle includes: obtaining the current workpiece size in the current control cycle according to a full inspection machine; wherein the full inspection machine is arranged at the output end of the machining production line; the full inspection machine is used to detect the height and / or inner and outer diameters of the workpiece.

[0014] According to one embodiment of the present application, it also includes: using a proportional-integral controller to control the machining production line; wherein the proportional-integral controller includes a proportional factor and an integral factor; when the control period of the machining production line is less than or equal to a first preset period, the proportional factor is set to be greater than 1; when the control period of the machining production line is greater than the first preset period, the proportional factor is set to be less than or equal to 1; when the deviation value is greater than the first preset deviation, the integral factor is set to 0; when the deviation value is less than or equal to the second preset deviation, the integral factor is set to 1; when the deviation value is less than or equal to the first preset deviation and greater than the second preset deviation, the integral factor is set to change according to a preset functional relationship.

[0015] According to the compensation control device of the machining production line of the second aspect embodiment of the present application, it includes: an acquisition module, which is used to acquire the current workpiece size of the machining production line in the current control cycle; a deviation value module, which is used to determine the deviation value from the target workpiece size according to the current workpiece size; a compensation value module, which is used to determine the compensation value according to the deviation value, and the compensation value is used to adjust the machining parameters of the machining production line in the next control cycle; a control cycle module, which is used to determine the next control cycle of the machining production line according to the deviation value and the compensation value.

[0016] According to an electronic device of an embodiment of the third aspect of the present application, the electronic device includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the compensation control method for a machining production line such as any one of the above is implemented.

[0017] According to the non-transitory computer-readable storage medium of the fourth aspect embodiment of the present application, a computer program is stored thereon, and when the computer program is executed by a processor, the compensation control method for a machining production line as described above is implemented.

[0018] A computer program product according to an embodiment of the fifth aspect of the present application includes a computer program, which, when executed by a processor, implements any of the compensation control methods for a machining production line as described above.

[0019] The above one or more technical solutions in the embodiments of the present application have at least one of the following technical effects:

[0020] The dimensions of the workpieces output from the machining production line are measured, and the compensation value is dynamically adjusted according to the measurement results, so as to achieve online measurement and compensation of errors; and the compensation control cycle is adaptively adjusted according to the compensation value, so as to achieve high-precision machining production line control;

[0021] Furthermore, a full inspection machine provided at the output end of the machining production line can be used to automatically inspect the size of the workpiece, and the full inspection machine can inspect the height and / or inner and outer diameters of the workpiece;

[0022] Furthermore, the compensation value can be dynamically adjusted according to the working parameters of the machining production line to achieve more precise machining accuracy control;

[0023] Furthermore, under the dynamically set control cycle, a proportional-integral controller is also used to reduce oscillation and improve system stability; at the same time, it has a fast response and can quickly adjust the output when the system changes.

[0024] Additional aspects and advantages of the present application will be given in part in the description below, and in part will become apparent from the description below, or will be learned through the practice of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0025] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the related technologies, the drawings required for use in the embodiments or the related technical descriptions are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0026] Figure 1 It is a flow chart of the compensation control method for a machining production line provided in an embodiment of the present application.

[0027] Figure 2 It is a flow chart of the dynamic control cycle provided in an embodiment of the present application.

[0028] Figure 3 It is one of the structural schematic diagrams of the machining production line provided in the embodiment of the present application.

[0029] Figure 4 It is a structural schematic diagram of the full inspection machine provided in an embodiment of the present application.

[0030] Figure 5 This is the second structural schematic diagram of the machining production line provided in the embodiment of the present application.

[0031] Figure 6It is an interactive schematic diagram of the compensation control method executed in the controller provided in an embodiment of the present application.

[0032] Figure 7 It is a schematic diagram of the structure of the compensation control device of the machining production line provided in an embodiment of the present application.

[0033] Figure 8 It is a schematic diagram of the physical structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0034] The following is a further detailed description of the implementation of the present application in conjunction with the accompanying drawings and examples. The following examples are used to illustrate the present application but cannot be used to limit the scope of the present application.

[0035] In the description of the embodiments of the present application, it should be noted that the terms "center", "longitudinal", "lateral", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside" and the like indicate positions or positional relationships based on the positions or positional relationships shown in the accompanying drawings, which are only for the convenience of describing the embodiments of the present application and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as limiting the embodiments of the present application. In addition, the terms "first", "second", and "third" are used for descriptive purposes only and cannot be understood as indicating or implying relative importance.

[0036] In the description of the embodiments of the present application, it should be noted that, unless otherwise clearly specified and limited, the terms "connected" and "connection" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be directly connected or indirectly connected through an intermediate medium. For ordinary technicians in this field, the specific meanings of the above terms in the embodiments of the present application can be understood according to specific circumstances.

[0037] In the embodiments of the present application, unless otherwise clearly specified and limited, a first feature being "above" or "below" a second feature may mean that the first and second features are in direct contact, or the first and second features are in indirect contact through an intermediate medium. Moreover, a first feature being "above", "above" or "above" a second feature may mean that the first feature is directly above or obliquely above the second feature, or simply means that the first feature is higher in level than the second feature. A first feature being "below", "below" or "below" a second feature may mean that the first feature is directly below or obliquely below the second feature, or simply means that the first feature is lower in level than the second feature.

[0038] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the embodiments of the present application. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, without contradiction.

[0039] In related technologies, machining production lines will perform online machining measurements, but due to the large number of product types and fast cycle requirements, the high-precision contact-based measurement while machining method (such as the Marpass contact measurement system) requires manual adjustment when changing models, and the life of contact-based wearing parts is short; laser and visual non-contact measurement cannot meet the requirements in terms of measurement accuracy and cycle due to the harsh online environment (such as the influence of grinding cutting fluid and dust). Therefore, the common method is to use contact measuring instruments or gas and electricity meters (relative measurement) at the back end of key process equipment for manual spot checks.

[0040] However, this method also requires manual precision sampling and compensation to produce qualified workpieces; there are problems such as uncertain sampling intervals, missed defective products, inconsistency in manual inspections, and labor costs. In addition, due to the different shutdowns and beats of each equipment point, as well as the phenomenon of waiting for material and full material on the conveyor belt between equipment, the number of workpieces varies. There will be a time lag from compensation to measurement. For example, there are 20 to 50 different delayed workpieces or a time delay of 200 seconds to 500 seconds from compensation to measurement, that is, there is a time-varying large lag problem, which leads to a trend of over-compensation in a stable system.

[0041] Based on this, the present application proposes a compensation control method for a machining production line, which can realize online measurement and compensation of errors, and adaptively adjust the compensation control cycle, thereby achieving high-precision machining production line control.

[0042] See also Figure 1 , Figure 1 1 is a flow chart of a compensation control method for a machining production line provided in an embodiment of the present application. In this embodiment, the compensation control method for a machining production line includes steps 110 to 140, and each step is specifically as follows:

[0043] Step 110: Obtain the current workpiece size of the machining production line in the current control cycle.

[0044] In this embodiment, the machining production line refers to a production system that gradually processes raw materials into finished products through a series of automated or semi-automated processes during the manufacturing process. The machining production line may include machining equipment, which may be connected by conveyor belts or steppers, each of which is responsible for different processing tasks, and all processes are integrated through conveyor belts or steppers to ultimately form a continuous production process.

[0045] Machining equipment refers to equipment used for cutting, forming, drilling, grinding and other processing techniques on workpieces, such as surface grinding equipment, deburring machines, etc. The function of a conveyor belt or stepper is to transport materials.

[0046] This embodiment performs size detection on the workpiece outputted by the machining production line at the end, thereby obtaining the current workpiece size in the current control cycle. It should be noted that in a control cycle, the machining parameters of the machining production line are the same, so the workpiece size outputted by the machining production line in the same control cycle should be the same.

[0047] Step 120: Determine the deviation value from the target workpiece size based on the current workpiece size.

[0048] In this step, the current workpiece size is compared with the target workpiece size, and a deviation value is obtained according to the difference between the current workpiece size and the target workpiece size. The deviation value can be expressed as an absolute value.

[0049] Step 130: Determine a compensation value according to the deviation value, and the compensation value is used to adjust the processing parameters of the machining production line in the next control cycle.

[0050] In this step, a compensation value can be determined according to the deviation value. The compensation value can be expressed as an absolute value. The compensation value is used to adjust the machining parameters of the machining production line in the next control cycle so that the workpiece size obtained in the next control cycle can be more in line with the target workpiece size until the target workpiece size requirement is met.

[0051] In some embodiments, the deviation value may be directly used as the compensation value.

[0052] In some embodiments, considering the stability of the system, a maximum compensation value can be set. When the deviation value is greater than the maximum compensation value, the maximum compensation value is used as the processing parameter of the machining production line in the next control cycle. The processing parameters are adjusted through multiple control cycles until the current workpiece size meets the target workpiece size requirements.

[0053] In some embodiments, other influences may also be considered to determine the compensation value, such as changes in ambient temperature in spring, summer, autumn and winter and the accuracy of the device itself.

[0054] Step 140: Determine the next control cycle of the machining production line according to the deviation value and the compensation value.

[0055] In this step, not only can the compensation value be determined based on the deviation value, but the compensation cycle can also be further adaptively adjusted based on the deviation value and the compensation value, where the compensation cycle is used to adjust the duration of the next control cycle, that is, to determine the next control cycle of the machining production line.

[0056] Optionally, the control cycle can be represented by a specific time, or can be indirectly characterized by the number of delayed workpieces.

[0057] In this embodiment, the control cycle is adjusted to ensure the stability and accuracy of the machining process. The control cycle refers to the time interval for the control system to perform a measurement, calculation and execution. Based on the mapping relationship between the deviation value and the compensation value, and the mapping relationship between the compensation value and the control cycle, the deviation can be responded to more quickly and corresponding compensation can be performed, thereby improving the machining accuracy and efficiency.

[0058] If the control cycle is long, for example, the deviation is detected and compensated once every 10 minutes, then during the compensation process, the deviation value may continue to increase, which will lead to a decrease in machining accuracy, because the compensation action cannot respond to the actual deviation in time; if the control cycle is shortened to detect the deviation once a minute and compensate, then the system can detect the deviation more frequently and make corresponding compensation, but a control cycle that is too short will also affect the anti-interference ability of the compensation system. The system may not have enough time to deal with external interference, thereby affecting the stability of the system, and the sampling interval is too short, and the error between the two previous and subsequent samples cannot be reflected, which will also lead to a decrease in the regulation performance of the control algorithm. Therefore, the embodiment of the present application can measure the size of the workpiece output by the machining production line, and dynamically adjust the compensation value according to the measurement results, so as to realize online measurement and compensation of the error; and the present application can also adaptively adjust the compensation control cycle according to the compensation value to avoid the problem of excessive compensation caused by the lag of the compensation instruction, thereby realizing high-precision machining production line control and outputting micron-level precision workpieces.

[0059] Based on any of the above embodiments, the step of determining the next control cycle of the machining production line according to the deviation value and the compensation value may specifically include:

[0060] The compensation value is compared with the compensation threshold to obtain a first comparison result; the deviation value is compared with the deviation threshold to obtain a second comparison result; and the next control cycle of the machining production line is determined based on the first comparison result and the second comparison result.

[0061] In this embodiment, the compensation value can be compared with the compensation threshold to obtain a first comparison result; the deviation value can be compared with the deviation threshold to obtain a second comparison result; finally, the next control cycle of the machining production line can be determined based on the first comparison result and the second comparison result.

[0062] Among them, the compensation threshold and the deviation threshold can be designed according to the actual situation. In different machining production lines, due to differences in external interference, control algorithms, system characteristics, etc., the settings of the compensation threshold and the deviation threshold may also be different.

[0063] For example, the compensation threshold needs to be adjusted according to the possible interference level to ensure that the system can effectively offset these interferences. For another example, the parameters of the control algorithm will affect the steady-state error and dynamic response of the system, thereby affecting the setting of the compensation and deviation thresholds. For another example, the friction and backlash in the machining production line will affect the control accuracy, so the compensation threshold and deviation threshold need to be adjusted according to these nonlinear characteristics to improve the stability and accuracy of the system.

[0064] In addition, the key parameters affecting the machining production line in the embodiment are explained and defined as follows:

[0065] The maximum control cycle refers to the longest control cycle time that can be tolerated under the premise of the performance of the machining production line, which can be determined by the dynamic characteristics and stability requirements of the machining production line. If the control cycle exceeds the maximum control cycle, the machining production line may not be able to respond to changes in time, resulting in performance degradation or instability.

[0066] The minimum control cycle refers to the shortest control cycle time that a machining production line can achieve, which is limited by hardware performance (such as processor speed, sensor response time) and software processing capabilities.

[0067] The compensation threshold refers to the minimum deviation value that needs to be compensated when the machining production line detects a deviation. Only when the deviation exceeds this threshold will the control system take compensation measures.

[0068] The deviation threshold refers to the maximum deviation value allowed by the machining production line when a deviation is detected. If the deviation exceeds this threshold, the machining production line may take more radical compensation measures or trigger an alarm. The setting of the deviation threshold and compensation threshold needs to consider the safety and reliability of the machining production line, as well as the impact on the processing quality.

[0069] By setting the above parameters reasonably and adjusting them according to the needs and conditions of the actual application, the performance of the machining production line can be optimized, precise control cycles can be obtained, machining accuracy and efficiency can be improved, and the stability and reliability of the system can be ensured.

[0070] The compensation threshold may include a first compensation threshold, and the deviation threshold may include a first deviation threshold. According to the first comparison result and the second comparison result, determining the next control cycle of the machining production line includes:

[0071] When the first comparison result is that the compensation value is less than or equal to the first compensation threshold, and the second comparison result is that the deviation value is less than or equal to the first deviation threshold, the duration of the next control cycle is determined as the duration of the current control cycle; when the first comparison result is that the compensation value is less than or equal to the first compensation threshold, and the second comparison result is that the deviation value is greater than the first deviation threshold, the maximum control cycle is used as the next control cycle of the machining production line; when the first comparison result is that the compensation value is greater than the first compensation threshold, the next control cycle of the machining production line is determined based on the difference between the compensation value and the first compensation threshold, and the second comparison result.

[0072] Furthermore, the compensation threshold may also include a second compensation threshold that is greater than the first compensation threshold. When the first comparison result is that the compensation value is greater than the first compensation threshold, the next control cycle of the machining production line is determined according to the difference between the compensation value and the first compensation threshold and the second comparison result, including:

[0073] When the first comparison result is that the compensation value is greater than the first compensation threshold and less than the second compensation threshold, the maximum control cycle is used as the next control cycle of the machining production line; when the first comparison result is that the compensation value is greater than or equal to the second compensation threshold, and the second comparison result is that the deviation value is less than or equal to the first deviation threshold, the next control cycle of the machining production line is determined according to the current number of lagging workpieces; when the first comparison result is that the compensation value is greater than or equal to the second compensation threshold, and the second comparison result is that the deviation value is greater than the first deviation threshold, the maximum control cycle is used as the next control cycle of the machining production line.

[0074] Therefore, the step of determining the next control cycle of the machining production line according to the first comparison result and the second comparison result may specifically include at least one of the following situations:

[0075] When the compensation value is less than or equal to the first compensation threshold, and the deviation value is less than or equal to the first deviation threshold, the current control cycle is used as the next control cycle of the machining production line.

[0076] When the compensation value is less than or equal to the first compensation threshold, and the deviation value is greater than the first deviation threshold, the maximum control cycle is used as the next control cycle of the machining production line.

[0077] When the compensation value is greater than the first compensation threshold and less than the second compensation threshold, the maximum control cycle is used as the next control cycle of the machining production line.

[0078] When the compensation value is greater than or equal to the second compensation threshold, and the deviation value is less than or equal to the first deviation threshold, the next control cycle of the machining production line is determined according to the current number of lagging workpieces.

[0079] When the compensation value is greater than or equal to the second compensation threshold, and the deviation value is greater than the first deviation threshold, the maximum control cycle is used as the next control cycle of the machining production line.

[0080] Specifically, the compensation threshold may include a first compensation threshold U1 and a second compensation threshold U2, wherein the first compensation threshold U1 is smaller than the second compensation threshold U2. The deviation threshold may include a first deviation threshold L1.

[0081] Those skilled in the art can design the first compensation threshold U1, the second compensation threshold U2 and the first deviation threshold L1 according to actual conditions, and no limitation is made here.

[0082] According to the first comparison result and the second comparison result, the maximum control cycle can generally be used as the next control cycle of the machining production line. However, there are several situations that need special explanation:

[0083] ① When the compensation value is less than or equal to the first compensation threshold U1, and the deviation value is less than or equal to the first deviation threshold L1, it means that the process is relatively stable and the control cycle is reasonable. Therefore, the compensation cycle can be kept unchanged and the current control cycle can be used as the next control cycle.

[0084] ② When the compensation value is greater than or equal to the second compensation threshold U2, it means that the process is unstable and the processing parameters need to be adjusted significantly. Therefore, when the compensation value is greater than or equal to the second compensation threshold U2, the deviation value is further judged: when the deviation value is less than or equal to the first deviation threshold L1, it means that the compensated workpiece size is about to meet the target workpiece size, so the next control cycle of the machining production line can be determined based on the current number of lagging workpieces; when the deviation value is greater than the first deviation threshold L1, it means that the compensated workpiece size is still far from the target workpiece size, so the maximum control cycle can still be used as the next control cycle of the machining production line.

[0085] It should also be noted that the steps after determining the next control cycle of the machining production line according to the current number of delayed workpieces may also include:

[0086] If the compensated workpiece is not detected in the next control cycle, the next control cycle of the machining production line is updated to the maximum control cycle.

[0087] Since the compensated workpiece is not detected as expected in the control cycle determined according to the current number of lagging workpieces, the next control cycle can be determined as the maximum control cycle to ensure that the compensated workpiece can be detected in the subsequent control cycle, thereby obtaining feedback data of the compensation value.

[0088] It should also be noted that if the compensated workpiece is still not detected within the next control cycle of the machining production line as the maximum control cycle, it can be considered that the machining production line is suspected of having a fault and an alarm message needs to be issued for investigation and verification.

[0089] See also Figure 2 , Figure 2 It is a flow chart of the dynamic control cycle provided in an embodiment of the present application.

[0090] In this embodiment, the first compensation threshold U1 is set to 0.5 μm, the second compensation threshold U2 is set to 1 μm, and the first deviation threshold L1 is set to 0.5 μm. M represents the number of lagging workpieces, Indicates the current control cycle, Indicates the next control cycle, Indicates the maximum control period.

[0091] During initialization, the size deviation value of the workpiece is monitored at the full inspection machine set at the output end of the machining production line, and M is set to 0. After that, the value of M is increased by one each time the full inspection machine detects a workpiece. It is determined whether the compensation value in the current control cycle is less than or equal to the first compensation threshold value U1. If so, it is further determined whether the deviation value in the current control cycle is less than or equal to the first deviation threshold value L1.

[0092] If the deviation value in the current control cycle is less than or equal to the first deviation threshold L1, it is further determined whether the number of delayed workpieces is greater than or equal to the current control cycle. If so, it is considered that the full inspection machine has detected the compensated workpieces in the current cycle, and the process is relatively stable and the control cycle is reasonable. Therefore, the current control cycle is taken as the next control cycle, that is, If the number of delayed workpieces is less than the current control cycle, it is considered that the full inspection machine has not detected the workpiece to be compensated in the current cycle, so it returns to the previous step and the full inspection machine continues to monitor the size deviation value of the workpiece.

[0093] If the deviation value in the current control cycle is greater than the first deviation threshold L1, the maximum control cycle is set to the next control cycle, that is, .

[0094] If the compensation value in the current control cycle is greater than the first compensation threshold U1, it is further determined that the compensation value in the current control cycle is greater than or equal to the second compensation threshold U2. If not, the maximum control cycle is set to the next control cycle, that is, .

[0095] If the compensation value in the current control cycle is less than the second compensation threshold U2, it is further determined whether the deviation value in the current control cycle is less than or equal to the first deviation threshold L1. If not, it is further determined whether the number of delayed workpieces is greater than or equal to the current control cycle. If so, it is considered that the full inspection machine has detected the workpieces compensated in the current cycle, but the process is unstable, so the maximum control cycle is set to the next control cycle, that is, If the number of delayed workpieces is less than the current control cycle, it is considered that the full inspection machine has not detected the workpiece to be compensated in the current cycle, so it returns to the previous step and the full inspection machine continues to monitor the size deviation value of the workpiece.

[0096] If the compensation value in the current control cycle is greater than or equal to the second compensation threshold value U2, it is detected that the deviation value is less than the first deviation threshold value L1. At this time, the next control cycle of the machining production line can be determined according to the current number of lagging workpieces, where the next control cycle needs to be greater than or equal to the current number of lagging workpieces. In this embodiment, the current number of lagging workpieces plus four is set as the next control cycle, that is, .

[0097] Through the above process, this embodiment can monitor the number of lagging workpieces in real time and adapt the dynamic control cycle: ① When the compensation value and the deviation value are not greater than the threshold value, it means that the process is relatively stable, the control cycle is reasonable, and the compensation cycle is kept unchanged; ② When the compensation value is large, it means that the process is unstable. If the compensation cycle is measured at the full inspection machine and the deviation value becomes smaller than the threshold range, the current number of lagging workpieces is marked, and the designed compensation cycle is greater than the number of lagging workpieces; ③ For other situations, the designed compensation cycle is the maximum control cycle.

[0098] Based on any of the above embodiments, the step of determining the compensation value according to the deviation value may specifically include:

[0099] Obtain working parameters of the machining production line; the working parameters include at least one of ambient temperature, production line mode, production line status, position coordinates, compensation results and external input instructions; determine the compensation value based on the deviation value and the working parameters.

[0100] In this embodiment, the working parameters of the machining production line can be further obtained, and the compensation value can be determined according to the deviation value and the working parameters, so as to further improve the machining accuracy of the machining production line.

[0101] It should be noted that, without considering the stability of the system, the deviation value is generally directly used as the compensation value, that is, the deviation value should be equal to the compensation value in theory. However, considering that there is an error between the actual processing results and the design requirements, this error may be caused by equipment accuracy, workpiece material, fixture positioning, environmental factors, processing parameters, measurement and calibration, etc., so these influences can also be comprehensively considered in this embodiment.

[0102] In this embodiment, the working parameters include at least one of ambient temperature, production line mode, production line status, position coordinates, compensation results and external input instructions; by further optimizing the compensation value through the working parameters, the deviation can be effectively reduced and the processing accuracy and product quality can be improved through continuous quality control and process improvement.

[0103] Based on any of the above embodiments, the steps before obtaining the current workpiece size of the machining production line in the current control cycle may further include:

[0104] Determine the machining equipment and conveyor belt of the machining production line; determine the maximum control cycle and the minimum control cycle of the machining production line according to the machining equipment and the conveyor belt; wherein the next control cycle is greater than or equal to the minimum control cycle, and less than or equal to the maximum control cycle.

[0105] In this embodiment, the number of machining equipment and conveyor belts that need to pass through the machining production line and the corresponding number of delayed workpieces can be counted, so as to summarize the number of delayed workpieces to obtain a control cycle value range represented by the number of delayed workpieces.

[0106] See also Figure 3 , Figure 3 It is one of the structural schematic diagrams of the machining production line provided in the embodiment of the present application.

[0107] exist Figure 3 The machining equipment of the machining production line includes a surface grinder and a deburring machine. A full inspection machine is provided at the end of the machining production line. The surface grinder and the deburring machine are connected by conveyor belt #1, and the deburring machine and the full inspection machine are connected by conveyor belt #2.

[0108] The previous process transports the parts to the surface grinding position through the loading mechanism. The surface grinding upper axis servo system receives the processing movement command and compensation command, accurately moves the upper axis displacement to complete the grinding of the part height; the workpiece is transported to the burr machine loading mechanism through conveyor belt #1, and the number of delayed workpieces is recorded as ; The number of delayed workpieces during the burr machine loading, deburring process, and unloading is recorded as ; When the material is discharged from the deburring machine, passes through the conveyor belt or stepper #2, and arrives at the full inspection machine, the number of delayed workpieces is recorded as After the whole inspection machine is finished, it is divided into groups and assembled into frames. In this way, the number of delayed workpieces from the time when the system compensation takes effect to the time when the measurement is delayed is: ; The maximum control cycle That is, the limit of the number of workpieces placed sequentially on the conveyor belt: =50+4+4=58 pieces; minimum control cycle That is, the minimum number of workpieces required for the conveyor belt to be unobstructed and without full material links.

[0109] For example, The value range of is about 20 to 50 pieces; =50+4+4=58 pieces; =18+2+2=22 pieces.

[0110] Based on any of the above embodiments, the step of obtaining the current workpiece size of the machining production line in the current control cycle may specifically include:

[0111] The current workpiece size in the current control cycle is obtained according to the full inspection machine; wherein the full inspection machine is arranged at the output end of the machining production line; the full inspection machine is used to detect the height and / or inner and outer diameters of the workpiece.

[0112] In this embodiment, the workpiece size is obtained by detection by a full inspection machine arranged at the output end of the machining production line. The full inspection machine can be used to detect the height and / or inner and outer diameters of the input workpiece.

[0113] Full inspection machine, that is, fully automatic inspection machine, uses a series of sensors, cameras, laser scanning and other technologies to perform real-time and accurate measurement and analysis of various key parameters of the workpiece to ensure that every workpiece produced meets the predetermined target workpiece size.

[0114] In this embodiment, the full inspection machine mainly detects whether the size of the workpiece meets the design requirements through high-precision sensors and measuring equipment.

[0115] In some embodiments, the full inspection machine can also perform appearance inspection, using high-resolution cameras and image processing technology to detect whether there are flaws, scratches, stains and other problems on the surface of the workpiece.

[0116] In some embodiments, the full inspection machine can also perform defect detection and identify various defects in the workpiece, such as cracks, deformations, impurities, etc.

[0117] In some embodiments, the full inspection machine can also automatically record inspection data and generate inspection reports for easy traceability and management.

[0118] See also Figure 4 , Figure 4 It is a structural schematic diagram of the full inspection machine provided in an embodiment of the present application.

[0119] At the end of the machining line, that is, after the last process of the production line, a full inspection machine is set up. The full inspection machine includes a loading mechanism, three series-connected gas and electricity meters, and a group sorting mechanism. The three gas and electricity meters are used to measure the height, inner diameter, and outer diameter of the workpiece. The group sorting mechanism can group and frame the workpiece according to the measurement results of the gas and electricity meters.

[0120] See also Figure 5-Figure 6 , Figure 5 This is the second structural schematic diagram of the machining production line provided in the embodiment of the present application. Figure 6 It is an interactive schematic diagram of the compensation control method executed in the controller provided in an embodiment of the present application.

[0121] like Figure 5 As shown, this embodiment provides a precision compensation control method and system for a time-varying large lag machining production line, and a full inspection machine is set at the end of the machining production line for online measurement. Figure 3 On this basis, a proportional-integral controller is added to the surface grinding shaft servo system to form an automatic compensation control system with time-varying large lag.

[0122] like Figure 6 As shown, the compensation system computer collects information such as the grinder mode, status, current coordinates, and compensation results from the surface grinder controller, collects information such as the grinding chamber and ambient temperature, and grinding wheel vibration through the temperature and vibration sensors on the grinder, and obtains the workpiece size deviation in real time through statistics from the full inspection machine / post-measurement controller, monitors the number of delayed workpieces from the time the surface grinder compensation takes effect to the measurement of the full inspection machine, and adaptively adjusts the production line surface grinder compensation instructions according to the compensation mode (automatic / manual) and group input (L / K group) instructions of the system console, and sends the compensation instructions to the controller, thereby outputting micron-level precision workpieces.

[0123] In addition, various compensation information can be displayed through the system console.

[0124] Based on any of the above embodiments, the compensation control of the machining production line may further include the following steps:

[0125] A proportional-integral controller is used to control the machining production line; the proportional-integral controller includes a proportional factor and an integral factor;

[0126] When the control cycle of the machining production line is less than or equal to the first preset cycle, the proportional factor is set to be greater than 1; when the control cycle of the machining production line is greater than the first preset cycle, the proportional factor is set to be less than or equal to 1;

[0127] When the deviation value is greater than the first preset deviation, the integral factor is set to 0; when the deviation value is less than or equal to the second preset deviation, the integral factor is set to 1; when the deviation value is less than or equal to the first preset deviation and greater than the second preset deviation, the integral factor is set to change according to a preset functional relationship.

[0128] In this embodiment, the controller can also perform compensation control of the adaptive control cycle. Among them, the proportional factor is proportional to the size of the current error and is used to quickly respond to changes in the error. The role of the proportional controller is to determine the size of the control action by the size of the current error. The integral factor is used to eliminate the steady-state error of the system. Even if the error of the system is small or zero in the steady state, the integral factor will accumulate these errors and eliminate them by adjusting the control output.

[0129] Specifically, when dynamically setting the control cycle Under this premise, the control adopts the proportional integral PI controller. When the control cycle is short (for example 30), set the scale factor Greater than >1; long control cycle (e.g. >30), set the scale factor Less than or equal to 1.

[0130] Integrating Factor Also changes: when the deviation value 1.0μm, =0; when the deviation value 0.5μm, =1; when 1.0μm Deviation value 0.5μm, = varies from 0 to 1 according to a certain functional relationship, which can be linear or nonlinear according to the specific application; in this embodiment, a linear function is used, for example: .

[0131] An embodiment of the present application also provides a compensation control device for a machining production line. The compensation control device for the machining production line provided by the present application is described below. The compensation control device for the machining production line described below and the compensation control method for the machining production line described above can be referenced to each other.

[0132] See also Figure 7 , Figure 7 7 is a schematic diagram of the structure of the compensation control device for a machining production line provided in an embodiment of the present application. In this embodiment, the compensation control device for a machining production line may include an acquisition module 710 , a deviation value module 720 , a compensation value module 730 and a control cycle module 740 .

[0133] The acquisition module 710 is used to acquire the current workpiece size of the machining production line in the current control cycle.

[0134] The deviation value module 720 is used to determine the deviation value between the current workpiece size and the target workpiece size according to the current workpiece size.

[0135] The compensation value module 730 is used to determine the compensation value according to the deviation value, and the compensation value is used to adjust the processing parameters of the machining production line in the next control cycle.

[0136] The control cycle module 740 is used to determine the next control cycle of the machining production line according to the deviation value and the compensation value.

[0137] Based on any of the above embodiments, the control period module 740 may be specifically used for:

[0138] The compensation value is compared with the compensation threshold to obtain a first comparison result; the deviation value is compared with the deviation threshold to obtain a second comparison result; and the next control cycle of the machining production line is determined based on the first comparison result and the second comparison result.

[0139] Based on any of the above embodiments, the compensation threshold includes a first compensation threshold, the deviation threshold includes a first deviation threshold, and the control period module 740 can be specifically used for:

[0140] When the first comparison result is that the compensation value is less than or equal to the first compensation threshold, and the second comparison result is that the deviation value is less than or equal to the first deviation threshold, the duration of the next control cycle of the machining production line is determined as the duration of the current control cycle; when the first comparison result is that the compensation value is less than or equal to the first compensation threshold, and the second comparison result is that the deviation value is greater than the first deviation threshold, the maximum control cycle is used as the next control cycle of the machining production line; when the first comparison result is that the compensation value is greater than the first compensation threshold, the next control cycle of the machining production line is determined based on the difference between the compensation value and the first compensation threshold, and the second comparison result.

[0141] Based on any of the above embodiments, the compensation threshold further includes a second compensation threshold greater than the first compensation threshold, and the control period module 740 can be specifically used for:

[0142] When the first comparison result is that the compensation value is greater than the first compensation threshold and less than the second compensation threshold, the maximum control cycle is used as the next control cycle of the machining production line; when the first comparison result is that the compensation value is greater than or equal to the second compensation threshold, and the second comparison result is that the deviation value is less than or equal to the first deviation threshold, the next control cycle of the machining production line is determined according to the current number of lagging workpieces; when the first comparison result is that the compensation value is greater than or equal to the second compensation threshold, and the second comparison result is that the deviation value is greater than the first deviation threshold, the maximum control cycle is used as the next control cycle of the machining production line.

[0143] Based on any of the above embodiments, the control cycle module 740 can also be used for: when the compensation value is greater than or equal to the second compensation threshold, and the deviation value is less than or equal to the first deviation threshold, after determining the next control cycle of the machining production line according to the current number of lagging workpieces, if the compensated workpiece is not detected in the next control cycle, the next control cycle of the machining production line is updated to the maximum control cycle.

[0144] Based on any of the above embodiments, the compensation value module 730 may be specifically used for:

[0145] Obtain working parameters of the machining production line; the working parameters include at least one of ambient temperature, production line mode, production line status, position coordinates, compensation results and external input instructions; determine the compensation value based on the deviation value and the working parameters.

[0146] Based on any of the above embodiments, the acquisition module 710 may also be specifically used for:

[0147] Determine the machining equipment and conveyor belt of the machining production line; determine the maximum control cycle and the minimum control cycle of the machining production line according to the machining equipment and the conveyor belt; wherein the next control cycle is greater than or equal to the minimum control cycle, and less than or equal to the maximum control cycle.

[0148] Based on any of the above embodiments, the acquisition module 710 may be specifically used for:

[0149] The current workpiece size in the current control cycle is obtained according to the full inspection machine; wherein the full inspection machine is arranged at the output end of the machining production line; the full inspection machine is used to detect the height and / or inner and outer diameters of the workpiece.

[0150] Based on any of the above embodiments, the compensation control device further includes a control module, and the control module can be specifically used for:

[0151] A proportional-integral controller is used to control the machining production line; wherein the proportional-integral controller includes a proportional factor and an integral factor; when the control period of the machining production line is less than or equal to a first preset period, the proportional factor is set to be greater than 1; when the control period of the machining production line is greater than the first preset period, the proportional factor is set to be less than or equal to 1; when the deviation value is greater than the first preset deviation, the integral factor is set to 0; when the deviation value is less than or equal to the second preset deviation, the integral factor is set to 1; when the deviation value is less than or equal to the first preset deviation and greater than the second preset deviation, the integral factor is set to change according to a preset functional relationship.

[0152] In summary, the embodiment of the present application provides a compensation control device for a machining production line, including: an acquisition module for acquiring the current workpiece size of the machining production line in the current control cycle; a deviation value module for determining the deviation value from the target workpiece size according to the current workpiece size; a compensation value module for determining the compensation value according to the deviation value, and the compensation value is used to adjust the machining parameters of the machining production line in the next control cycle; a control cycle module for determining the next control cycle of the machining production line according to the deviation value and the compensation value. Through the above method, the present application can measure the size of the workpiece output by the machining production line, and dynamically adjust the compensation value according to the measurement result, so as to realize online measurement and compensation of errors; and the present application can also adaptively adjust the compensation control cycle according to the compensation value, so as to realize high-precision machining production line control.

[0153] In another aspect, the present application also provides an electronic device. Figure 8 , Figure 8 8 is a schematic diagram of the physical structure of an electronic device provided in an embodiment of the present application, and the electronic device may include: a processor 810, a communication interface 820, a memory 830, and a communication bus 840, wherein the processor 810, the communication interface 820, and the memory 830 communicate with each other through the communication bus 840. The processor 810 may call the logic instructions in the memory 830 to execute the following method:

[0154] Obtain the current workpiece size of the machining production line in the current control cycle; determine the deviation value from the target workpiece size based on the current workpiece size; determine the compensation value based on the deviation value, and the compensation value is used to adjust the machining parameters of the machining production line in the next control cycle; determine the next control cycle of the machining production line based on the deviation value and the compensation value.

[0155] In addition, the logic instructions in the above-mentioned memory 830 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on this understanding, the technical solution of the present application can be essentially or partly embodied in the form of a software product that contributes to the relevant technology. The computer software product is stored in a storage medium, including several instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc. Various media that can store program codes.

[0156] In another aspect, an embodiment of the present application discloses a computer program product, wherein the computer program product includes a computer program stored on a non-transitory computer-readable storage medium, wherein the computer program includes program instructions. When the computer program instructions are executed by a computer, the computer can perform the methods provided by the above-mentioned method embodiments, for example, including:

[0157] Obtain the current workpiece size of the machining production line in the current control cycle; determine the deviation value from the target workpiece size based on the current workpiece size; determine the compensation value based on the deviation value, and the compensation value is used to adjust the machining parameters of the machining production line in the next control cycle; determine the next control cycle of the machining production line based on the deviation value and the compensation value.

[0158] In another aspect, an embodiment of the present application further provides a non-transitory computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the method provided in each of the above embodiments is implemented, for example, including:

[0159] Obtain the current workpiece size of the machining production line in the current control cycle; determine the deviation value from the target workpiece size based on the current workpiece size; determine the compensation value based on the deviation value, and the compensation value is used to adjust the machining parameters of the machining production line in the next control cycle; determine the next control cycle of the machining production line based on the deviation value and the compensation value.

[0160] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.

[0161] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the relevant technology can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiment.

[0162] Finally, it should be noted that the above implementation modes are only used to illustrate the present application, rather than to limit the present application. Although the present application is described in detail with reference to the embodiments, a person skilled in the art should understand that various combinations, modifications or equivalent substitutions of the technical solutions of the present application do not depart from the spirit and scope of the technical solutions of the present application, and should be included in the scope of the claims of the present application.

Claims

1. A compensation control method for a machining production line, characterized in that: include: Get the current workpiece size of the machining production line in the current control cycle; Determining a deviation value from a target workpiece size according to the current workpiece size; Determine a compensation value according to the deviation value, wherein the compensation value is used to adjust the machining parameters of the machining production line in the next control cycle; Determining a next control cycle of the machining production line according to the deviation value and the compensation value; The step of determining the next control cycle of the machining production line according to the deviation value and the compensation value comprises: Comparing the compensation value with a compensation threshold to obtain a first comparison result; Comparing the deviation value with a deviation threshold to obtain a second comparison result; Determining a next control cycle of the machining production line according to the first comparison result and the second comparison result; The compensation threshold includes a first compensation threshold, the deviation threshold includes a first deviation threshold, and determining the next control cycle of the machining production line according to the first comparison result and the second comparison result includes: When the first comparison result is that the compensation value is less than or equal to the first compensation threshold, and the second comparison result is that the deviation value is less than or equal to the first deviation threshold, determining the duration of the next control cycle as the duration of the current control cycle; When the first comparison result is that the compensation value is less than or equal to the first compensation threshold, and the second comparison result is that the deviation value is greater than the first deviation threshold, taking the maximum control cycle as the next control cycle of the machining production line; When the first comparison result is that the compensation value is greater than a first compensation threshold, the next control cycle of the machining line is determined according to the difference between the compensation value and the first compensation threshold and the second comparison result.

2. The compensation control method for a machining production line according to claim 1, characterized in that: The compensation threshold further includes a second compensation threshold greater than the first compensation threshold, and when the first comparison result is that the compensation value is greater than the first compensation threshold, determining the next control cycle of the machining production line according to the difference between the compensation value and the first compensation threshold and the second comparison result, including: When the first comparison result is that the compensation value is greater than a first compensation threshold and less than a second compensation threshold, the maximum control cycle is used as the next control cycle of the machining production line; When the first comparison result is that the compensation value is greater than or equal to the second compensation threshold, and the second comparison result is that the deviation value is less than or equal to the first deviation threshold, determining the next control cycle of the machining production line according to the current number of lagging workpieces; When the first comparison result is that the compensation value is greater than or equal to the second compensation threshold, and the second comparison result is that the deviation value is greater than the first deviation threshold, the maximum control cycle is used as the next control cycle of the machining line.

3. The compensation control method for a machining production line according to claim 2, characterized in that: After determining the next control cycle of the machining production line according to the current number of delayed workpieces, the method further includes: If the compensated workpiece is not detected in the next control cycle, the next control cycle of the machining line is updated to the maximum control cycle.

4. The compensation control method for a machining production line according to claim 1, characterized in that: The determining of the compensation value according to the deviation value comprises: Acquire working parameters of the machining production line; the working parameters include at least one of ambient temperature, production line mode, production line status, position coordinates, compensation results and external input instructions; The compensation value is determined according to the deviation value and the operating parameter.

5. The compensation control method for a machining production line according to claim 1, characterized in that: The obtaining of the current workpiece size of the machining production line in the current control cycle includes: Acquire the current workpiece size within the current control cycle according to the full inspection machine; Wherein, the full inspection machine is arranged at the output end of the machining production line; the full inspection machine is used to detect the height and / or inner and outer diameters of the workpiece.

6. The compensation control method for a machining production line according to any one of claims 1 to 5, characterized in that: Before obtaining the current workpiece size of the machining production line in the current control cycle, the method further includes: Determine the machining equipment and conveyor belt of the machining production line; Determine the maximum control cycle and the minimum control cycle of the machining production line according to the machining equipment and the conveyor belt; The next control period is greater than or equal to the minimum control period, and less than or equal to the maximum control period.

7. The compensation control method for a machining production line according to any one of claims 1 to 5, characterized in that: Also includes: A proportional-integral controller is used to control the machining production line; Wherein the proportional-integral controller comprises a proportional factor and an integral factor; When the control period of the machining production line is less than or equal to the first preset period, the proportional factor is set to be greater than 1; when the control period of the machining production line is greater than the first preset period, the proportional factor is set to be less than or equal to 1; When the deviation value is greater than a first preset deviation, setting the integral factor to 0; When the deviation value is less than or equal to a second preset deviation, setting the integral factor to 1; When the deviation value is less than or equal to the first preset deviation and greater than the second preset deviation, the integral factor is set to change according to a preset functional relationship.

8. A compensation control device for a machining production line, characterized in that: include: The acquisition module is used to obtain the current workpiece size of the machining production line in the current control cycle; A deviation value module, used to determine a deviation value from a target workpiece size according to the current workpiece size; A compensation value module, used to determine a compensation value according to the deviation value, wherein the compensation value is used to adjust the machining parameters of the machining production line in the next control cycle; A control cycle module, used to determine the next control cycle of the machining production line according to the deviation value and the compensation value; The control cycle module is specifically used for: Compare the compensation value with the compensation threshold to obtain a first comparison result; compare the deviation value with the deviation threshold to obtain a second comparison result; determine the next control cycle of the machining production line according to the first comparison result and the second comparison result; The compensation threshold includes a first compensation threshold, the deviation threshold includes a first deviation threshold, and the control period module is specifically used for: When the first comparison result is that the compensation value is less than or equal to the first compensation threshold, and the second comparison result is that the deviation value is less than or equal to the first deviation threshold, determining the duration of the next control cycle as the duration of the current control cycle; When the first comparison result is that the compensation value is less than or equal to the first compensation threshold, and the second comparison result is that the deviation value is greater than the first deviation threshold, taking the maximum control cycle as the next control cycle of the machining production line; When the first comparison result is that the compensation value is greater than a first compensation threshold, the next control cycle of the machining line is determined according to the difference between the compensation value and the first compensation threshold and the second comparison result.

9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the compensation control method for a machining production line as claimed in any one of claims 1 to 7 is implemented.

10. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the compensation control method for a machining production line according to any one of claims 1 to 7 is implemented.

11. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the compensation control method for a machining production line according to any one of claims 1 to 7 is implemented.

Citation Information

Patent Citations

  • Contour error compensation method in numerical control processing

    CN110262394A

  • Contour error compensation method and device and computer readable storage medium

    CN114326587A