A control compensation method for a 360-degree indexing mechanism in a CNC machine tool

By obtaining the real-time environmental parameters and indexing angle deviation of the 360-degree indexing mechanism of the CNC machine tool, calculating the compensation amount and performing adaptive control, it solves the problem that fixed control parameters cannot cope with environmental changes, and achieves higher machining accuracy and stability. sex.

CN118625732BActive Publication Date: 2024-10-29DONGGUAN ZHENGHE CHUJI TECH CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202411091000.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-08-09
Publication Date
2024-10-29
Estimated Expiration
2044-08-09

AI Technical Summary

Technical Problem

The existing control compensation method for the 360-degree indexing mechanism of CNC machine tools relies on fixed control parameters, which cannot effectively cope with error changes caused by environmental changes and mechanical wear, affecting machining accuracy.

Method used

By obtaining the indexing model of the indexing mechanism, extracting real-time environmental parameters, calculating the indexing angle deviation, generating the compensation amount, and inputting it into the adaptive control module for motion parameter adjustment, dynamic adjustment of control compensation parameters is achieved.

Benefits of technology

It improves processing accuracy and consistency, reduces scrap rate, and enhances the machine tool's ability to adapt to environmental changes.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118625732B_ABST
    Figure CN118625732B_ABST
Patent Text Reader

Abstract

The present application provides a control compensation method for a 360-degree indexing mechanism in a numerically controlled machine tool, and relates to the field of control compensation technology, including: obtaining an indexing model of the indexing mechanism to obtain a real-time indexing angle set; performing a pre-adjustment analysis of the indexing mechanism to obtain an environmental parameter difference set; calculating the deviation between the real-time indexing angle set and the target indexing angle set to generate an indexing angle deviation set; calculating and obtaining an indexing angle compensation amount set; inputting the environmental parameter difference set and the indexing angle compensation amount set into an adaptive control module, optimizing the motion parameters of the indexing mechanism, and outputting a control indexing angle set; and executing control compensation of the indexing mechanism. The present application can solve the technical problem in the prior art that the control compensation of the indexing mechanism does not fully consider the control error of the indexing mechanism due to the environmental impact, resulting in low machining accuracy, and achieve the technical goal of dynamically adjusting the control compensation parameters based on the environmental impact, thereby achieving the technical effect of improving machining accuracy.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of control compensation technology, and in particular to a control compensation method for a 360-degree indexing mechanism in a CNC machine tool. Background Art

[0002] CNC machine tools play a vital role in modern manufacturing, among which 360-degree indexing mechanisms are used to achieve multi-angle positioning and processing of workpieces. However, with the continuous improvement of processing accuracy requirements, the impact of errors generated by the indexing mechanism during operation on processing quality has become increasingly prominent.

[0003] At present, the existing control compensation methods of indexing mechanisms mainly rely on fixed control parameters and simple error compensation algorithms, which cannot effectively deal with the error changes caused by complex factors such as environmental changes and mechanical wear in the actual production process. For example, during the long-term operation of the indexing mechanism, temperature changes will cause thermal expansion or contraction of mechanical parts, thereby affecting the indexing accuracy. The existing technology lacks an effective temperature compensation mechanism, and it is impossible to monitor and adjust the errors caused by temperature changes in real time, resulting in deviations in the processing process.

[0004] In summary, the prior art has a technical problem that the control compensation of the indexing mechanism mainly relies on fixed control parameters, which leads to insufficient consideration of the environmental impact on the control error of the indexing mechanism, further affecting the machining accuracy. Summary of the invention

[0005] The purpose of this application is to provide a control compensation method for a 360-degree indexing mechanism in a CNC machine tool, so as to solve the technical problem in the prior art that the control compensation of the indexing mechanism mainly relies on fixed control parameters, resulting in insufficient consideration of the environmental impact on the control error of the indexing mechanism, which further affects the machining accuracy.

[0006] In view of the above problems, the present application provides a control compensation method for a 360-degree indexing mechanism in a CNC machine tool.

[0007] The present application provides a control compensation method for a 360-degree indexing mechanism in a numerically controlled machine tool, which includes: an interactive indexing mechanism, obtaining a indexing model of the indexing mechanism, and obtaining a real-time indexing angle set according to the indexing model, wherein the indexing model includes a position parameter set of the indexing mechanism; extracting a real-time environment parameter set based on the position parameter set of the indexing mechanism, performing a pre-adjustment analysis of the indexing mechanism according to the real-time environment parameter set and a reference environment parameter set to obtain an environment parameter difference set; calculating a deviation between the real-time indexing angle set and a target indexing angle set to generate an indexing angle deviation set; obtaining an indexing angle compensation amount set by calculating a compensation amount calculation formula according to the indexing angle deviation set; inputting the environment parameter difference set and the indexing angle compensation amount set into an adaptive control module, optimizing the motion parameters of the indexing mechanism according to the adaptive control module, and outputting a control indexing angle set; and executing control compensation of the indexing mechanism through the control indexing angle set.

[0008] One or more technical solutions provided in this application have at least the following technical effects or advantages:

[0009] Through the interactive indexing mechanism, a indexing model of the indexing mechanism is obtained, and a real-time indexing angle set is obtained according to the indexing model, wherein the indexing model includes a position parameter set of the indexing mechanism; based on the position parameter set of the indexing mechanism, a real-time environmental parameter set is extracted, and a pre-adjustment analysis of the indexing mechanism is performed according to the real-time environmental parameter set and a reference environmental parameter set to obtain an environmental parameter difference set; the deviation between the real-time indexing angle set and the target indexing angle set is calculated to generate an indexing angle deviation set; according to the indexing angle deviation set, an indexing angle compensation amount set is obtained by calculating through a compensation amount calculation formula; the environmental parameter difference set and the indexing angle compensation amount set are input into an adaptive control module, and the motion parameters of the indexing mechanism are optimized according to the adaptive control module, and a control indexing angle set is output; the control compensation of the indexing mechanism is executed through the control indexing angle set, so as to realize the technical goal of dynamically adjusting the control compensation parameters based on environmental influences, and achieve the technical effect of improving machining accuracy.

[0010] The above description is only an overview of the technical solution of the present application. In order to more clearly understand the technical means of the present application, it can be implemented according to the contents of the specification, and in order to make the above and other purposes, features and advantages of the present application more obvious and easy to understand, the specific implementation methods of the present application are specifically cited below. It should be understood that the content described in this section is not intended to identify the key or important features of the embodiments of the present application, nor is it intended to limit the scope of the present application. Other features of the present application will become easy to understand through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0011] In order to more clearly illustrate the technical solutions in the present application or the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings in the following description are only exemplary, and for ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying any creative work.

[0012] Figure 1 A flow chart of a control compensation method for a 360-degree indexing mechanism in a CNC machine tool according to the present application;

[0013] Figure 2 A schematic flow chart of obtaining an environmental parameter difference set in a control compensation method for a 360-degree indexing mechanism in a CNC machine tool according to the present application. DETAILED DESCRIPTION

[0014] This application provides a control compensation method for a 360-degree indexing mechanism in a CNC machine tool, which solves the technical problem in the prior art that the control compensation of the indexing mechanism mainly relies on fixed control parameters, resulting in insufficient consideration of the environmental impact on the control error of the indexing mechanism, which further affects the machining accuracy. The technical goal of dynamically adjusting the control compensation parameters based on environmental impact is achieved, and the technical effect of improving machining accuracy is achieved.

[0015] Below, the technical solutions in the present application will be clearly and completely described with reference to the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all of the embodiments of the present application. It should be understood that the present application is not limited to the example embodiments described herein. Based on the embodiments of the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present application. It should also be noted that, for the convenience of description, only the parts related to the present application are shown in the accompanying drawings, rather than all of them.

[0016] For examples, please see the attached Figure 1 The present application provides a control compensation method for a 360-degree indexing mechanism in a CNC machine tool, which specifically includes the following steps:

[0017] Step 1: Interact with the indexing mechanism, obtain a indexing model of the indexing mechanism, and obtain a real-time indexing angle set according to the indexing model, wherein the indexing model includes a position parameter set of the indexing mechanism.

[0018] Specifically, the indexing mechanism is interacted with, and a data model of the indexing mechanism is obtained through a sensor to obtain a indexing model. The indexing mechanism parameter information is obtained through the indexing model, and the real-time position information of the indexing mechanism is obtained as a position parameter set of the indexing mechanism. At the same time, the real-time indexing angle set of the indexing mechanism is obtained through the indexing model. The indexing mechanism includes at least one indexing device.

[0019] Step 2: extracting a real-time environmental parameter set based on the position parameter set of the indexing mechanism, and performing a pre-adjustment analysis of the indexing mechanism according to the real-time environmental parameter set and a reference environmental parameter set to obtain an environmental parameter difference set.

[0020] Specifically, the real-time environmental parameter set is extracted using the position parameter set of the indexing mechanism, including temperature, humidity, vibration, etc., which has a significant impact on the machining accuracy of the machine tool. Among them, the acquisition of the real-time environmental parameter set can be achieved by installing corresponding sensors to monitor and record the changes in environmental parameters during the machining process. The real-time environmental parameter set is compared with the benchmark environmental parameter set. The benchmark environmental parameter set is the environmental parameter value measured under ideal or standard working conditions, which represents the environmental conditions of the machine tool in the best working state. By comparing the real-time environmental parameter set and the benchmark environmental parameter set, the difference between the two is analyzed to obtain the environmental parameter difference set. Among them, the benchmark environmental parameter set can be set in advance.

[0021] Step three: Calculate the deviation between the real-time indexing angle set and the target indexing angle set to generate a indexing angle deviation set.

[0022] Specifically, each angle in the real-time indexing angle set is compared with the corresponding angle in the target indexing angle set. For each corresponding angle pair, the difference, i.e., the difference between the actual indexing angle and the target indexing angle, is calculated to obtain the indexing angle deviation. All calculated indexing angle deviations are aggregated into a set, i.e., the indexing angle deviation set is generated.

[0023] Step 4: According to the indexing angle deviation set, a indexing angle compensation amount set is obtained by calculating the compensation amount calculation formula.

[0024] Specifically, the indexing angle compensation set is calculated based on the indexing angle deviation set. The compensation calculation formula can be determined according to the specific characteristics and requirements of the machine tool. The indexing angle compensation set is used to adjust the motion parameters of the indexing mechanism. The indexing error is detected and compensated in real time during the machining process of the CNC machine tool, thereby improving the machining accuracy and consistency, reducing the scrap rate, and improving production efficiency.

[0025] Step 5: Input the environmental parameter difference set and the indexing angle compensation amount set into an adaptive control module, optimize the motion parameters of the indexing mechanism according to the adaptive control module, and output a control indexing angle set.

[0026] Specifically, due to environmental factors and the limitation of the precision of the indexing mechanism itself, indexing errors will occur, affecting the processing precision. Then, the environmental parameter difference set and the indexing angle compensation set are input into the adaptive control module, and the motion parameters of the indexing mechanism are optimized through the adaptive control module, and the control indexing angle set is output. The adaptive control module is an intelligent control algorithm that automatically adjusts the motion parameters of the indexing mechanism according to the real-time environmental parameters and the indexing angle compensation to achieve the best processing effect. According to the environmental parameter difference set and the indexing angle compensation set in the input information, the motion parameters of the indexing mechanism are adjusted to make the motion of the indexing mechanism more precise, thereby improving the processing precision.

[0027] Step six: Execute control compensation of the indexing mechanism through the control indexing angle set.

[0028] Specifically, the control compensation of the indexing mechanism is performed by controlling the indexing angle set. The control indexing angle set includes angle values ​​for adjusting the movement of the indexing mechanism. The process of performing the control compensation includes receiving the control indexing angle set, adjusting the indexing mechanism, implementing compensation, and real-time monitoring. The CNC machine tool automatically adjusts the movement of the indexing mechanism according to the real-time environment and the actual situation of the indexing mechanism to reduce the indexing error and improve the processing accuracy.

[0029] The control compensation method of a 360-degree indexing mechanism in a CNC machine tool can achieve the technical goal of dynamically adjusting control compensation parameters based on environmental influences, thereby achieving the technical effect of improving machining accuracy.

[0030] Further, if Figure 2 As shown, this application also includes:

[0031] The dividing model is interacted, dividing mechanism parameters are extracted to construct an environmental parameter pre-adjustment channel, and an environmental parameter pre-adjustment model is integrated, wherein the dividing mechanism parameters correspond to the environmental parameter pre-adjustment channel one by one; the historical environmental parameter set, the historical benchmark environmental parameter set and the historical environmental parameter difference set are integrated to be divided into a training set and a validation set, the environmental parameter pre-adjustment channel is trained, and if the environmental parameter output accuracy meets the environmental parameter output accuracy threshold, the environmental parameter pre-adjustment channel is extracted; according to the real-time environmental parameter set and the benchmark environmental parameter set, the environmental parameter pre-adjustment channel of the environmental parameter pre-adjustment model is input, and the environmental parameter difference set of the dividing mechanism is output.

[0032] Specifically, by interacting with the indexing model, the indexing mechanism parameters are extracted to construct the environmental parameter pre-adjustment channel and integrated into an environmental parameter pre-adjustment model. Each indexing device in the indexing mechanism corresponds to an environmental parameter pre-adjustment channel, ensuring the accuracy of the parameters and the pertinence of the adjustment.

[0033] Next, the historical environmental parameter set, the historical baseline environmental parameter set and the historical environmental parameter difference set are integrated and divided into a training set and a validation set to train the environmental parameter pre-adjustment channel. If the accuracy of the trained environmental parameter output reaches a preset accuracy threshold, the environmental parameter pre-adjustment channel is extracted.

[0034] Finally, the real-time environmental parameter set and the benchmark environmental parameter set are input into the environmental parameter pre-adjustment model, and the environmental parameter difference set of the dividing mechanism is output through the extracted environmental parameter pre-adjustment channel. This not only improves the machine tool's adaptability to environmental changes, but also ensures the high precision and stability of the machining process.

[0035] Furthermore, the present application also includes:

[0036] When the integral gain coefficient and the differential gain coefficient are 0, the proportional gain coefficient is increased until continuous oscillation occurs, and the critical proportional gain and the oscillation period are determined; according to the critical proportional gain and the oscillation period, the indexing angle compensation amount set is calculated by the compensation amount calculation formula, wherein the compensation amount calculation formula is as follows:

[0037] in, Characterizes the proportional gain coefficient, Characterizes the critical proportional gain, Characterizes the integral gain coefficient, Characterize the oscillation period, Characterizes the differential gain coefficient, Characterizes the indexing angle compensation set, Characterizes the set of indexing angle deviations.

[0038] Specifically, the integral gain coefficient and the differential gain coefficient are set to 0, and then the proportional gain coefficient is gradually increased until the system oscillates continuously. In this process, the critical proportional gain and the oscillation period are recorded. Subsequently, according to the critical proportional gain and the oscillation period, the compensation amount set of the indexing angle is calculated by the compensation amount calculation formula;

[0039] Then, install angle sensors at each indexing position of the indexing mechanism to detect the error between the current indexing angle and the target indexing angle in real time. , that is, the indexing angle deviation set. The error data obtained by the angle sensor provides a basis for subsequent compensation calculations;

[0040] Next, the proportional gain coefficient Determines the system's indexing angle deviation set A higher proportional gain factor will speed up the system response, but if it is too high, it will cause system oscillation and instability. Determine the proportional gain factor through experimental adjustment and system response analysis. The optimal value of to achieve a balance between fast response and system stability. Integral gain coefficient Used to eliminate steady-state errors, integral terms The sum of the accumulated error over time ensures that the system can eliminate the residual error in the long term. By experimentally observing the steady-state response of the system, the integral gain coefficient is adjusted To achieve the best steady-state performance, while avoiding overshoot and oscillation caused by excessive integral gain. Provides error rate of change The predictive ability of the differential gain coefficient is used to prevent system oscillation and overshoot by resisting rapid changes in error. Observe the dynamic response of the system to ensure that the system responds smoothly when the error changes rapidly.

[0041] Then, the indexing angle deviation set is input into the adaptive controller to calculate the indexing angle compensation value set Adjust the motion parameters of the indexing mechanism in real time, including the speed and direction of the drive motor.

[0042] By using proportional, integral and differential control methods to calculate the compensation amount, the indexing accuracy and stability of the 360-degree indexing mechanism in the CNC machine tool can be improved to adapt to complex and changeable processing environments and meet the requirements of high-precision processing.

[0043] Furthermore, the present application also includes:

[0044] The adaptive control module includes an operating parameter optimization channel, in which an operating parameter optimization formula is embedded; the indexing angle compensation set and the environmental parameter difference set are input, and the adjustment operating parameters are calculated by the operating parameter optimization formula, wherein the adjustment operating parameters include an adjustment speed and an adjustment direction; the adjustment operating parameters are optimized, and the control indexing angle set is output.

[0045] Specifically, the adaptive control module includes an operation parameter optimization channel, wherein an operation parameter optimization formula is embedded in the operation parameter optimization channel for optimizing the control parameters of the indexing mechanism.

[0046] Firstly, the indexing angle compensation set and the environmental parameter difference set are input into the adaptive control module, and then the input parameters are processed by the operating parameter optimization formula to calculate the adjustment operating parameters, including the adjustment speed and the adjustment direction.

[0047] Next, the adjustment operating parameters are optimized to ensure that the indexing mechanism can operate in the best state. Finally, the adaptive control module outputs a control indexing angle set, and controls the movement of the indexing mechanism according to the control indexing angle set, thereby achieving high-precision processing, which not only improves the automation level and processing efficiency of the machine tool, but also enhances the machine tool's adaptability to different processing tasks.

[0048] Furthermore, the present application also includes:

[0049] The operating parameter optimization formula is as follows: in, Characterize the adjustment speed, Characterizes the original speed, Characterize the adjustment time, Characterize the adjustment direction, Represents the original direction, Characterize the direction adjustment function, Characterizes the difference set of environmental parameters.

[0050] Specifically, the original speed It is the real-time speed of the indexing mechanism. Adjustment time Used for smooth adjustment process, determines the indexing angle compensation value set Original speed The impact speed, larger adjustment time Make the adjustment process smoother and reduce the adjustment time Make the adjustment faster. According to the calculated indexing angle compensation set and adjust time Calculate the adjustment speed As the target speed of the indexing mechanism to compensate for the indexing deviation caused by errors;

[0051] Then, the direction adjustment function Combined with the indexing error compensation set and environmental parameter difference set The direction adjustment function is used to dynamically calculate the adjustment amount of the direction angle to ensure the precise positioning of the indexing mechanism. Linear or nonlinear relationships may be used. For example, , and To adjust the coefficient, it is optimized and determined through experiments or simulations. and direction adjustment Calculate adjustment direction ;

[0052] By adjusting the speed and direction of the indexing mechanism in real time, the indexing error caused by environmental changes and mechanical errors is compensated, ensuring the high-precision positioning and stability of the indexing mechanism during the processing, thereby improving the processing quality and efficiency.

[0053] Furthermore, the present application also includes:

[0054] Under the environmental control parameter restriction set, the environmental control parameter set of the environmental control system is adjusted until the real-time environmental parameter set meets the baseline environmental parameter set of the dividing mechanism; under the environmental control parameter restriction set, if the baseline environmental parameter set is not met, the working cycle of the dividing mechanism is optimized until the real-time environmental parameter set meets the baseline environmental parameter set.

[0055] Specifically, within the range of the environmental control parameter limit set, the environmental control parameter set of the environmental control system is adjusted so that the real-time environmental parameter set is as close to or as close to the reference environmental parameter set of the indexing mechanism as possible. The environmental control parameter limit set refers to the limit range within which the environment in which the indexing mechanism is located is adjusted to the maximum extent without causing damage to the indexing mechanism. For example, within the limit range of the minimum temperature, the temperature control system is controlled to lower the ambient temperature. By adjusting the environmental control parameter set, the influence of environmental factors on the indexing mechanism can be reduced to a certain extent, ensuring the smooth progress of the processing process.

[0056] However, in some cases, even if the environmental control parameter set is adjusted, the real-time environmental parameter set may still not meet the requirements of the reference environmental parameter set. Then, the working cycle of the indexing mechanism is optimized and the workload of the indexing mechanism is reduced so that the real-time environmental parameter set reaches the reference environmental parameter set, such as achieving the purpose of reducing the ambient temperature of the indexing mechanism, while ensuring the stability of the processing process.

[0057] By making the real-time environmental parameter set meet the reference environmental parameter set of the dividing mechanism as much as possible within the range of the environmental control parameter limit set, the processing accuracy and stability are improved, and the real-time environmental parameter set of the dividing mechanism reaches the reference environmental parameter set as soon as possible, thereby improving work efficiency.

[0058] Furthermore, the present application also includes:

[0059] The adjusted operating parameters are used as the initial population, and the particle swarm optimization formula is used to update the particle speed according to the current position, historical best position and group best position of the particles in the initial population, and the particle position is adjusted according to the updated speed, and the fitness is calculated. The speed and position are iteratively updated until the preset number of iterations is met, and the control indexing angle set is output, wherein the particle swarm optimization formula is as follows: in, represents the velocity of the i-th particle at time t, Characterizes the historical best position of the i-th particle, represents the position of the i-th particle at time t, Characterize the optimal position of the population, Respectively represent the inertia weight, individual learning factor and group learning factor, A random number between ;

[0060] Specifically, a set of particles is initialized, each particle represents a possible control parameter combination, such as the rotation speed and direction Randomly assign the initial position and speed of each particle. In each iteration, update the particle's speed and position according to the particle's current speed, historical best position, and global best position. Calculate the new fitness value of each particle, and update the particle's historical best position and the group's best position. If a particle's current fitness is better than its historical best fitness, update its historical best position to its current position. If a particle's current fitness is better than the group's best fitness, update the group's best position to its current position. Repeat the steps of updating speed, position, and fitness evaluation until the predetermined maximum number of iterations is reached. Input the error signal into the control system for processing, find the optimal parameter combination, and adjust the motion parameters of the indexing mechanism in real time, including the speed. and direction ;

[0061] By optimizing the motion parameters of the indexing mechanism, improving the indexing accuracy and stability of the 360-degree indexing mechanism in the CNC machine tool, and combining real-time monitoring and dynamic adjustment technology, an efficient and reliable indexing angle control solution is provided to adapt to complex and changeable processing environments and meet the requirements of high-precision processing.

[0062] Furthermore, the present application also includes:

[0063] The real-time environmental parameter set is extracted by an environmental parameter sensor installed on the graduation mechanism; an abnormal analysis of a preset environmental parameter set is performed on the real-time environmental parameter set, and if an abnormal analysis result is obtained, an alarm signal is triggered.

[0064] Specifically, in order to ensure the stable operation and processing accuracy of the CNC machine tool, the real-time environmental parameter set is extracted through the environmental parameter sensor installed on the indexing mechanism. Monitor and record environmental parameters such as temperature, humidity, and vibration. After extracting the real-time environmental parameter set, perform abnormal analysis of the preset environmental parameter set. Abnormal analysis compares the real-time environmental parameter set with the preset normal working environmental parameter set to detect whether there are parameter changes beyond the normal range. If the analysis result shows that there is a significant difference between the real-time environmental parameter set and the preset environmental parameter set, that is, an abnormal analysis result is obtained, the system will trigger an alarm signal. The triggering of the alarm signal is to remind the operator or the automatic control system that the current environmental parameters may affect the processing accuracy of the machine tool, and corresponding measures need to be taken to adjust them.

[0065] The early warning mechanism can effectively prevent processing errors caused by environmental factors and improve the reliability and processing quality of machine tools.

[0066] In summary, the control compensation method of a 360-degree indexing mechanism in a CNC machine tool provided by the present application has the following technical effects:

[0067] Through the interactive indexing mechanism, a indexing model of the indexing mechanism is obtained, and a real-time indexing angle set is obtained according to the indexing model, wherein the indexing model includes a position parameter set of the indexing mechanism; based on the position parameter set of the indexing mechanism, a real-time environmental parameter set is extracted, and a pre-adjustment analysis of the indexing mechanism is performed according to the real-time environmental parameter set and a reference environmental parameter set to obtain an environmental parameter difference set; the deviation between the real-time indexing angle set and the target indexing angle set is calculated to generate an indexing angle deviation set; according to the indexing angle deviation set, an indexing angle compensation amount set is obtained by calculating through a compensation amount calculation formula; the environmental parameter difference set and the indexing angle compensation amount set are input into an adaptive control module, and the motion parameters of the indexing mechanism are optimized according to the adaptive control module, and a control indexing angle set is output; the control compensation of the indexing mechanism is executed through the control indexing angle set, so as to realize the technical goal of dynamically adjusting the control compensation parameters based on environmental influences, and achieve the technical effect of improving machining accuracy.

[0068] The above description of the disclosed embodiments enables those skilled in the art to implement or use the present application. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to the embodiments shown herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.

[0069] Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application belong to the scope of the present application and its equivalent technology, the present application is also intended to include these modifications and variations.

Claims

1. A control and compensation method for a 360-degree indexing mechanism in a CNC machine tool. It is characterized in that include: Interactive indexing mechanism, obtaining an indexing model of the indexing mechanism, and obtaining a real-time indexing angle set according to the indexing model, wherein the indexing model includes a position parameter set of the indexing mechanism; Extracting a real-time environmental parameter set based on the indexing mechanism position parameter set, and performing a pre-adjustment analysis of the indexing mechanism according to the real-time environmental parameter set and a reference environmental parameter set to obtain an environmental parameter difference set; Calculating the deviation between the real-time indexing angle set and the target indexing angle set to generate a indexing angle deviation set; According to the indexing angle deviation set, a indexing angle compensation amount set is obtained by calculating the compensation amount calculation formula; Inputting the environmental parameter difference set and the indexing angle compensation amount set into an adaptive control module, optimizing the motion parameters of the indexing mechanism according to the adaptive control module, and outputting a control indexing angle set; Execute control compensation of the indexing mechanism by means of the control indexing angle set; The step of obtaining a set of indexing angle compensation values ​​comprises: When the integral gain coefficient and the differential gain coefficient are 0, increase the proportional gain coefficient until continuous oscillation occurs, and determine the critical proportional gain and oscillation period; According to the critical proportional gain and the oscillation period, the indexing angle compensation amount set is calculated by the compensation amount calculation formula, wherein the compensation amount calculation formula is as follows: ; ; in, Characterizes the proportional gain coefficient, Characterizes the critical proportional gain, Characterizes the integral gain coefficient, Characterize the oscillation period, Characterizes the differential gain coefficient, Characterizes the indexing angle compensation set, Characterize the indexing angle deviation set; The output control indexing angle set includes: The adaptive control module includes an operating parameter optimization channel, and an operating parameter optimization formula is embedded in the operating parameter optimization channel; Input the indexing angle compensation amount set and the environmental parameter difference set, and calculate the adjustment operation parameters through the operation parameter optimization formula, wherein the adjustment operation parameters include the adjustment speed and the adjustment direction; Optimizing the adjustment operating parameters and outputting the control indexing angle set; The operating parameter optimization formula is as follows: ; in, Characterize the adjustment speed, Characterizes the original speed, Characterize the adjustment time, Characterize the adjustment direction, Represents the original direction, Characterize the direction adjustment function, Characterizes the difference set of environmental parameters.

2. A control and compensation method for a 360-degree indexing mechanism in a CNC machine tool as claimed in claim 1, It is characterized in that The step of obtaining the environmental parameter difference set comprises: Interacting the graduation model, extracting graduation mechanism parameters to construct an environmental parameter pre-adjustment channel, and integrating the environmental parameter pre-adjustment model, wherein the graduation mechanism parameters correspond to the environmental parameter pre-adjustment channel in a one-to-one manner; Integrate the historical environmental parameter set, the historical benchmark environmental parameter set and the historical environmental parameter difference set into a training set and a validation set, train the environmental parameter pre-adjustment channel, and extract the environmental parameter pre-adjustment channel if the environmental parameter output accuracy meets the environmental parameter output accuracy threshold; According to the real-time environmental parameter set and the reference environmental parameter set, an environmental parameter pre-adjustment channel of the environmental parameter pre-adjustment model is input, and an environmental parameter difference set of the dividing mechanism is output.

3. A control and compensation method for a 360-degree indexing mechanism in a CNC machine tool as claimed in claim 1, It is characterized in that The optimizing of the adjustment operation parameters comprises: Under the environmental control parameter restriction set, adjusting the environmental control parameter set of the environmental control system until the real-time environmental parameter set meets the reference environmental parameter set of the indexing mechanism; Under the environmental control parameter restriction set, if the reference environmental parameter set is not satisfied, the working cycle of the indexing mechanism is optimized until the real-time environmental parameter set satisfies the reference environmental parameter set.

4. A control and compensation method for a 360-degree indexing mechanism in a CNC machine tool as claimed in claim 3, It is characterized in that The optimizing the adjustment operating parameters includes: The adjusted operating parameters are used as the initial population, and the particle swarm optimization formula is used to update the particle speed according to the current position, historical best position and group best position of the particles in the initial population, and the particle position is adjusted according to the updated speed, and the fitness is calculated. The speed and position are iteratively updated until the preset number of iterations is met, and the control indexing angle set is output, wherein the particle swarm optimization formula is as follows: ; ; in, represents the velocity of the i-th particle at time t, Characterizes the historical best position of the i-th particle, represents the position of the i-th particle at time t, Characterize the optimal position of the population, Respectively represent the inertia weight, individual learning factor and group learning factor, and Characterization A random number between .

5. A control and compensation method for a 360-degree indexing mechanism in a CNC machine tool as claimed in claim 3, It is characterized in that Also includes: Extracting the real-time environmental parameter set by an environmental parameter sensor installed on the indexing mechanism; The real-time environmental parameter set is subjected to an abnormal analysis of a preset environmental parameter set, and if an abnormal analysis result is obtained, an alarm signal is triggered.

Citation Information

Patent Citations

  • Right-angle head indexing automatic compensation method, equipment, medium and product

    CN115562160A

  • Method, device and equipment for collecting mechanical angle of motor and storage medium

    CN117232464A

  • KR20220072073A