A control optimization method for spindle synchronization

By connecting the controller, driver and spindle motor in a CNC lathe, performing performance parameters reading and debugging, automatic adjustment and real-time compensation of the spindle at the same time is achieved, and the problems affected by different spindle characteristics are solved, and processing effect and efficiency are improved.

CN116149261BActive Publication Date: 2025-04-04SUZHOU SYNTEC EQUIP CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310065953.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-01-16
Publication Date
2025-04-04
Estimated Expiration
2043-01-16

AI Technical Summary

Technical Problem

During the process of the spindle of CNC lathe, the characteristics between different spindles affect each other, resulting in the inability to automatically adjust the performance parameters, resulting in problems such as excessive phase difference and workpiece distortion, and a single control method cannot take into account both phase and acceleration and deceleration performance.

Method used

By connecting the controller, driver and spindle motor, the performance parameters in the control state are read and debugged, the performance parameters of the spindle motor in different states are collected, the performance parameters of the spindle motor in different states are performed, the compensation command is fitted, and the spindle is kept synchronized through real-time compensation, and the operating mode is finally switched according to the same stage.

Benefits of technology

It realizes automatic adjustment of performance parameters, improves processing effect, avoids processing problems arising from the same period, takes into account acceleration and deceleration performance and phase effect, improves efficiency during the same period, saves time and energy-saving and efficiency-enhancing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116149261B_ABST
    Figure CN116149261B_ABST
Patent Text Reader

Abstract

The present invention discloses a control optimization method for spindle synchronization. The method includes the following steps: 1) connecting various devices and setting them up; 2) reading the performance parameters of the spindle motor; 3) the system issues a debugging command; 4) fitting the corresponding compensation command; 5) obtaining new performance parameters; 6) diagnosing the synchronous variables and errors of each spindle motor and optimizing them; 7) entering the best compensation command; 8) the system keeps each spindle in the optimal synchronous state through real-time compensation; 9) the system controls the switching of the operation mode according to the synchronous stage. A control optimization method for spindle synchronization in the present invention can not only automatically adjust the relevant performance parameters of the machine during the synchronization process to make the processing effect better; it can also combine the advantages of the speed mode and the position mode through its control method, taking into account the excellent acceleration and deceleration performance and phase synchronization performance, so as to seek a better synchronous processing state, save processing time, and optimize the synchronization effect.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the field of numerical control machining, and in particular to a control optimization method for spindle synchronization. Background Art

[0002] With the continuous development of industrialization, the application of CNC lathes in mechanical processing and manufacturing is becoming more and more popular. As the types of processed products continue to increase, more and more long and complex workpieces need to be processed, and simultaneous cutting and material splicing are often required. At the same time, the requirements for processing technology are also constantly increasing, and the process flow is constantly being simplified. Products that originally required multiple clamping and processing can now often be formed in one processing.

[0003] The progress of the market has also led to more related businesses and products, making it possible for different types of spindles to be used on the same machine tool, which requires synchronization. However, the characteristics of different spindles often affect each other, and automatic adjustment cannot be achieved during the synchronization process (including but not limited to gain, integral constant, resonance frequency, synchronization error, etc.). For example, when there is servo lag and untimely acceleration and deceleration between two different spindles, it will cause a large phase difference, which will cause problems such as workpiece distortion during the synchronization process. For this problem, it is often necessary to debug each product separately, which is time-consuming and labor-intensive. In addition, when the spindle is synchronized, it is often controlled in a single control mode (such as speed mode or position mode). In speed mode, the phase cannot be taken into account, so the processing effect cannot be achieved at the best. In position mode, the excellent acceleration and deceleration performance cannot be taken into account, and the processing time cannot be saved at the lowest level. Summary of the invention

[0004] In order to solve the above problems, the present invention provides a control optimization method for spindle synchronization.

[0005] According to one aspect of the present invention, a control optimization method for spindle synchronization is provided, comprising the following steps:

[0006] 1) Connect the controller, driver, two spindle motors, two different spindles, install the workpiece and tool, and set up;

[0007] 2) Enter the machine adjustment state, and the system reads the performance parameters of the spindle motor through the driver;

[0008] 3) The system issues a debugging command to control the synchronous spindle through the spindle motor to perform acceleration and deceleration and mode state switching, and controls the driver to intermittently issue different current commands to collect the performance parameters of the spindle motor in different states;

[0009] 4) The system reads back the performance parameters of different groups, performs comparative modeling calculations, and fits the corresponding compensation commands;

[0010] 5) The system controls the driver again to intermittently issue different current commands for verification, and at the same time performs command compensation under different conditions to obtain new performance parameters;

[0011] 6) By comparing and optimizing the primary and secondary weakening magnetic intervals, the time of the acceleration phase and phase synchronization phase of the spindle motor is reduced. During the synchronization process, the synchronization variables and errors of each spindle motor are diagnosed and optimized to achieve the best synchronization effect.

[0012] 7) After multiple comparisons, the best compensation command is finally entered;

[0013] 8) The system reads the performance parameters of each spindle motor in real time and keeps each spindle in the optimal synchronization state through real-time compensation;

[0014] 9) The system controls the switching of the operating mode according to the synchronous stage, wherein the control switches to the speed mode in the synchronous acceleration and deceleration stage, and switches to the position mode in the synchronous phase synchronization stage.

[0015] In some implementations, in step 1), the controller is connected to the driver via a communication line, the driver is connected to two spindle motors respectively, and the two spindle motors control two spindles respectively. The benefit lies in that the connection method of each device is described.

[0016] In some implementations, in step 1), the spindle drive servo station number of each spindle is set. The benefit is that the specific content of the setting is described.

[0017] In some implementations, in step 2), when entering the machine adjustment state, each spindle motor is switched to a disabled state. The benefit of this is that it further describes the specific situation when entering the machine adjustment state.

[0018] In some embodiments, in step 3), the different current commands include a current-speed command and a current-position command. It is beneficial in that the types of current commands are described.

[0019] In some embodiments, in step 3), the collected parameters include spindle speed command and speed feedback, spindle position command and position feedback, diagnostic synchronization error, maximum synchronization error and synchronization flag. The benefit is that,

[0020] In some embodiments, in step 4), when reading back different sets of performance parameters, the system calculates the primary field weakening speed and acceleration and the secondary field weakening speed and acceleration respectively.

[0021] In some embodiments, in step 7), after the optimal compensation command is entered, a stop debugging instruction is issued. This is beneficial in that debugging is stopped and completed in this step, and the subsequent step is the actual processing operation.

[0022] A control optimization method for spindle synchronization in the present invention can achieve the following beneficial effects during the synchronization process:

[0023] 1. Automatically adjust performance parameters to effectively improve processing results;

[0024] 2. Automatically adjust the gain, integral constant and resonance frequency, etc., to effectively avoid processing problems caused by the same period;

[0025] 3. Combining the advantages of speed / position mode control, it can take into account excellent acceleration and deceleration performance and phase synchronization effect;

[0026] 4. Improve the efficiency of the same period, save the time of the same period, and achieve the effect of energy saving and efficiency improvement. BRIEF DESCRIPTION OF THE DRAWINGS

[0027] Figure 1 A schematic diagram of equipment connection for a spindle synchronization control optimization method according to an implementation mode of the present invention.

[0028] In the figure: controller 1, driver 2, spindle 3, spindle motor 4, workpiece 5, tool 6, power line 7, encoder line 8, communication line 9. DETAILED DESCRIPTION

[0029] The present invention will be further described in detail below in conjunction with the accompanying drawings.

[0030] Figure 1 The schematic diagram shows a device connection mode of a spindle synchronization control optimization mode according to an embodiment of the present invention. Figure 1 As shown, the operating equipment of this mode mainly includes a controller 1 with a system, a driver 2 and a CNC machine tool structure, wherein the CNC machine tool structure includes two different spindles 3, two spindle motors 4 respectively controlling the two spindles 3, and a workpiece 5 to be processed and a tool 6 for processing the workpiece 5 are installed on the CNC machine tool structure.

[0031] Both spindle motors 4 are connected to the driver 2, and the spindle 3 drive servo station number of each spindle 3 needs to be set. Each spindle motor 4 is connected to the driver 2 through a power line 7 and an encoder line 8. The controller 1 and the driver 2 are also connected through a communication line 9, and the two ends of the communication line 9 are respectively connected to the M3 port of the controller 1 and the communication port of the driver 2 to ensure that the controller 1 and the driver 2 can communicate normally.

[0032] In real-time control optimization, the synchronous control optimization function self-learning debugging is first required. It is mainly divided into several steps, which are described as follows.

[0033] The first step is to enter the machine adjustment state, each spindle motor 4 is switched to be disabled, and the system reads the performance parameters of the spindle motor 4 through the driver 2.

[0034] In the second step, the system issues a debugging command to control the synchronous spindle 3 to accelerate and decelerate and switch the mode state through the spindle motor 4, and controls the driver 2 to intermittently issue different current commands, so as to collect the performance parameters of the spindle motor 4 in different states. Among them, the different current commands mainly include current-speed commands and current-position commands.

[0035] The third step is to calculate the primary field weakening speed and acceleration as well as the secondary field weakening speed and acceleration. The system reads back different groups of performance parameters for comparative modeling and calculation, and fits the corresponding compensation commands.

[0036] In the fourth step, the system controls the driver 2 again to intermittently issue different current commands for verification, and performs command compensation under different states to obtain new performance parameter data.

[0037] The fifth step is to reduce the time of the acceleration phase and the phase synchronization phase of the spindle motor 4 by comparing and optimizing the primary and secondary weakening magnetic intervals, and diagnose the synchronization variables and errors of each spindle motor 4 during the synchronization process, and optimize them so that the synchronization can achieve the best effect;

[0038] In the sixth step, after multiple comparisons, the best compensation command is finally entered, and then the system issues a stop debugging command, and the self-learning debugging is completed.

[0039] After the self-learning debugging of the synchronous control optimization function is completed, the spindle synchronous control optimization function can be turned on in the actual processing operation to perform spindle synchronous actions. The system will automatically optimize the processing, as described below.

[0040] First, the system will read the performance parameters of each spindle motor 4 in real time, and through real-time compensation, keep each spindle 3 in the optimal synchronous state, so as to ensure operation with the best and most matched acceleration and deceleration performance. Then, the system will control the switching of the operation mode according to the synchronous stage. Among them, the synchronous stage includes the synchronous acceleration and deceleration stage and the synchronous phase synchronization stage, and the specific control method of switching the operation mode is: in the synchronous acceleration and deceleration stage, the system controls the switching to the speed mode, and in the synchronous phase synchronization stage, the system controls the switching to the position mode. In this way, more accurate position commands and feedback can be given, making it faster and more stable.

[0041] The above are only some embodiments of the present invention. For those skilled in the art, several modifications and improvements can be made without departing from the creative concept of the present invention, which all belong to the protection scope of the present invention.

Claims

1. A control optimization method for spindle synchronization, characterized in that: The following steps are included 1) Connect the controller, driver, two spindle motors, two different spindles, install the workpiece and tool, and set up; 2) Enter the machine adjustment state, and the system reads the performance parameters of the spindle motor through the driver; 3) The system issues a debugging command to control the synchronous spindle through the spindle motor to perform acceleration and deceleration and mode state switching, and controls the driver to intermittently issue different current commands to collect the performance parameters of the spindle motor in different states. Among them, different current commands include current-speed commands and current-position commands. The collected parameters include spindle speed command and speed feedback, spindle position command and position feedback, diagnostic synchronization error, maximum synchronization error and synchronization flag; 4) The system reads back different groups of performance parameters, performs comparative modeling calculations, and fits corresponding compensation commands. When reading back different groups of performance parameters, the system calculates the primary field weakening speed and acceleration and the secondary field weakening speed and acceleration respectively; 5) The system controls the driver again to intermittently issue different current commands for verification, and at the same time performs command compensation under different conditions to obtain new performance parameters; 6) By comparing and optimizing the primary and secondary weakening magnetic intervals, the time of the acceleration phase and phase synchronization phase of the spindle motor is reduced. During the synchronization process, the synchronization variables and errors of each spindle motor are diagnosed and optimized to achieve the best synchronization effect. 7) After multiple comparisons, the best compensation command is finally entered; 8) The system reads the performance parameters of each spindle motor in real time and keeps each spindle in the optimal synchronous state through real-time compensation; 9) The system controls the switching of the operating mode according to the synchronous stage, wherein the control switches to the speed mode in the synchronous acceleration and deceleration stage, and switches to the position mode in the synchronous phase synchronization stage.

2. A control optimization method for spindle synchronization according to claim 1, characterized in that: In step 1), the controller is connected to the driver via a communication line, the driver is connected to two spindle motors respectively, and the two spindle motors control two spindles respectively.

3. The control optimization method for spindle synchronization according to claim 1 is characterized in that: In step 1), the spindle drive servo station number of each spindle is set.

4. The control optimization method for spindle synchronization according to claim 1 is characterized in that: In step 2), when entering the machine adjustment state, each spindle motor is switched to be disabled.

5. The control optimization method for spindle synchronization according to claim 1 is characterized in that: In step 7), after the optimal compensation command is entered, a stop debugging instruction is issued.

6. The control optimization method for spindle synchronization according to claim 1 is characterized in that: The synchronous stage includes the synchronous acceleration and deceleration stage and the synchronous phase synchronization stage.

7. A control optimization method for spindle synchronization according to claim 6, characterized in that: In the synchronous acceleration and deceleration stage, the system control switches to the speed mode, and in the synchronous phase synchronization stage, the system control switches to the position mode.

Citation Information

Patent Citations

  • Numerical control processing parameter optimizing method

    CN102331749A

  • Rotor phase / velocity estimation device for alternating-current motor

    CN102844979A