Gearbox spindle thermal extension compensation system and method of numerical control machine tool
By implementing a thermal extension compensation system on the gearbox spindle of a CNC machine tool, the temperature extension correlation analysis and extension compensation algorithm are used to adjust the spindle position in real time, solving the cutting accuracy problem caused by the gearbox due to thermal expansion and contraction, and significantly improving the cutting accuracy.
Patent Information
- Application Number
- CN202510534193.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-25
- Publication Date
- 2025-06-13
AI Technical Summary
In CNC machine tools, the gear box changes in the spindle position due to the thermal expansion and contraction effect, which affects the cutting accuracy.
A gearbox spindle thermal extension compensation system is designed. The spindle temperature and position information is collected through the machine tool controller, and the tool position coordinates are calculated using the temperature extension correlation analysis module and the extension compensation algorithm, and the spindle control adjustment command is generated to adjust the spindle position in real time to maintain cutting accuracy.
It effectively improves the cutting accuracy of the gearbox transmission machine tool and reduces position errors caused by thermal expansion and contraction.
Smart Images

Figure CN120134060A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of thermal expansion compensation, and in particular, to a thermal extension compensation system and method for a gearbox spindle of a numerically controlled machine tool. Background Art
[0002] The gearbox has the advantages of high transmission efficiency, high and accurate transmission ratio, and is used as a transmission component by many numerically controlled machine tools to obtain a large cutting force and achieve a relatively accurate cutting speed control. However, in order to reduce the friction between gears and improve the transmission efficiency, the gear set is usually accommodated inside the gearbox, making the heat generated by the gear set accumulate in the gearbox and difficult to dissipate. Moreover, the metal shaft body deforms due to the thermal expansion and contraction effect after heating, which affects the cutting accuracy during fine machining. Summary of the Invention
[0003] In order to improve the cutting accuracy of the gearbox-driven machine tool, the present application provides a thermal extension compensation system and method for a gearbox spindle of a numerically controlled machine tool.
[0004] The first invention object of the present application is achieved by adopting the following technical solution:
[0005] A thermal extension compensation system for a gearbox spindle of a numerically controlled machine tool, comprising a machine tool body and a machine tool controller. The machine tool body is connected with a transmission gearbox, a spindle displacement component, and a dimension detection component. The transmission gearbox is provided with a target spindle and a temperature sensor for detecting the temperature of the target spindle. The machine tool controller is electrically connected to the spindle displacement component, the dimension detection component, and the temperature sensor, and includes:
[0006] A temperature extension correlation analysis module, configured to obtain temperature extension correlation information corresponding to the target spindle and input the temperature extension correlation information into a preset extension compensation algorithm;
[0007] A tool position evaluation module, configured to obtain the spindle temperature and spindle control parameters based on a preset correction period and input them into the extension compensation algorithm to calculate the tool position coordinates;
[0008] A spindle position correction module, configured to receive a cutting instruction to obtain tool cutting coordinate data, and generate a spindle control adjustment instruction based on the tool cutting coordinate data, the tool position coordinates, the spindle temperature, and the extension compensation algorithm, and send the instruction to the spindle displacement component;
[0009] A cutting process execution module, configured to generate a cutting process execution instruction when the tool position coordinates match the tool cutting coordinate data;
[0010] The spindle control parameter refers to a parameter used to control the spindle displacement component to determine the position of the target spindle.
[0011] By adopting the above technical solution, the machine tool body is used to install the machine tool controller, the transmission gearbox, the spindle displacement assembly, and the dimension detection assembly, and supply energy for the normal operation of these components and parts. The machine tool controller is used to collect the status information of the connected components and sensors, process the status information, and send control signals to the relevant components and sensors. The target spindle is used to install the cutting tool and conduct the power provided by the power source in the machine tool body to the cutting tool through the transmission gearbox. The spindle displacement assembly is used to control the position of the target spindle, and the dimension detection assembly is used to detect the dimensions of the target workpiece. The machine tool controller includes a temperature extension correlation analysis module, a tool position evaluation module, a spindle position correction module, and a cutting processing execution module to detect the temperature of the target spindle, calculate the tool position coordinates by combining the temperature extension correlation information, the extension compensation algorithm, and the spindle control parameters, and further generate a spindle control adjustment instruction according to the relationship between the cutting coordinate data of the tool and the tool position coordinates to control the spindle displacement assembly to move the target spindle so that the tool position meets the cutting dimension requirements of the target workpiece, thereby improving the cutting accuracy of the gearbox-driven machine tool.
[0012] In a preferred example of the present application: the temperature sensor is a thermal resistance sensor, and the detection end of the temperature sensor is arranged inside the transmission gearbox.
[0013] By adopting the above technical solution, the thermal resistance sensor has the advantages of high detection accuracy, high sensitivity, high linearity, and fast transmission of temperature detection signals. The detection end of the temperature sensor is arranged inside the transmission gearbox to indirectly measure the temperature of the target spindle, reducing the influence of temperature detection on the running stability of the target spindle.
[0014] In a preferred example of the present application: the temperature extension correlation analysis module includes:
[0015] The temperature sensor calibration sub-module is used to calibrate the temperature sensor, obtain the temperature-electric parameter correlation information of the temperature sensor, and input it into a preset temperature detection algorithm;
[0016] The trial cutting sub-module is used to deactivate the temperature compensation function, generate a trial cutting instruction, and obtain the spindle temperature in real time and determine the corresponding cutting area;
[0017] The temperature extension correlation information generation sub-module is used to generate a dimension detection instruction and send it to the dimension detection assembly when the spindle temperature reaches the temperature stable period, detect the cutting depth of the cutting area corresponding to each spindle temperature range, and generate temperature extension correlation information according to the corresponding relationship between the cutting depth corresponding tool position coordinates and the spindle temperature range;
[0018] The trial cutting instruction refers to an instruction used to control a numerical control machine tool to cut a target workpiece blank; the spindle temperature is associated with a corresponding detection time; the temperature stable period refers to the period during which the spindle temperature change does not exceed a preset stable amplitude within a preset stable duration.
[0019] The second inventive object of the present application is achieved by the following technical solutions:
[0020] A method for compensating thermal elongation of a gearbox spindle of a numerical control machine tool, which is applied to the thermal elongation compensation system of the gearbox spindle of any one of the above-mentioned numerical control machine tools, includes:
[0021] Obtain the temperature elongation correlation information corresponding to the target spindle, and input the temperature elongation correlation information into a preset elongation compensation algorithm;
[0022] Obtain the spindle temperature and spindle control parameters based on a preset correction period and input them into the elongation compensation algorithm to calculate the tool position coordinates;
[0023] Receive a cutting instruction to obtain tool cutting coordinate data, and generate a spindle control adjustment instruction based on the tool cutting coordinate data, tool position coordinates, spindle temperature and elongation compensation algorithm, and send it to the spindle displacement component;
[0024] When the tool position coordinates match the tool cutting coordinate data, generate a cutting processing execution instruction;
[0025] The temperature elongation correlation information records the correlation between the output end elongation length of the target spindle and the spindle temperature; the spindle control parameter refers to a parameter used to control the spindle displacement component to determine the position of the target spindle.
[0026] By adopting the above technical solution, the corresponding temperature extension correlation information is matched according to the target spindle model to obtain the correlation between the extension length at the output end of the target spindle and the spindle temperature, and the temperature extension correlation information is input into the extension compensation algorithm for subsequent calculation of the actual cutting position of the tool; the spindle temperature and the spindle control parameters are obtained based on the correction period and input into the extension compensation algorithm, so that after the extension compensation algorithm processing is performed on the tool position determined by the spindle control parameters according to the temperature value, the actual position of the current tool is calculated, and the tool position coordinates are determined; the cutting instruction is received to obtain the tool cutting coordinate data required for machining the target workpiece, and according to the tool position coordinates, the spindle temperature and the extension compensation algorithm, the adjustment required for the target spindle position to make the tool position coordinates conform to the tool cutting coordinate data is quantitatively calculated, so as to generate a spindle control adjustment instruction and send it to the spindle displacement component, so that the spindle displacement component adjusts the position of the target spindle to make the tool position coordinates adjust towards the tool cutting coordinate data; when the tool position coordinates conform to the tool cutting coordinate data, a cutting processing execution instruction is generated to control the numerical control machine tool to start executing the cutting task, thereby improving the cutting accuracy of the gearbox drive machine tool.
[0027] In a preferred example of the present application: before obtaining the temperature extension correlation information corresponding to the target spindle, it includes:
[0028] Calibrate the temperature sensor, obtain the temperature electrical parameter correlation information of the temperature sensor and input it into the preset temperature detection algorithm;
[0029] Disable the temperature compensation function, generate a trial cutting instruction, and obtain the spindle temperature in real time and determine the corresponding cutting area;
[0030] When the spindle temperature reaches the temperature stable period, generate a dimension detection instruction and send it to the dimension detection component to detect the cutting depth of the cutting area corresponding to each spindle temperature range, so as to generate temperature extension correlation information according to the corresponding relationship between the cutting depth and the tool position coordinates in the spindle temperature range;
[0031] The trial cutting instruction refers to an instruction for controlling the numerical control machine tool to cut the target workpiece blank; the spindle temperature is associated with the corresponding detection time; the temperature stable period refers to the period when the spindle temperature does not exceed the preset stable amplitude within the preset stable duration.
[0032] By adopting the above technical solution, calibrate the temperature sensor to reduce the detection error caused by sensor aging or other factors, obtain the correlation information between the temperature and electrical parameters of the temperature sensor to know the relationship between the spindle temperature measured by the temperature sensor and the corresponding electrical parameters, and input it into the temperature detection algorithm, so as to determine the corresponding spindle temperature according to the electrical parameters of the temperature sensor subsequently; deactivate the temperature compensation function to re-evaluate the temperature extension correlation information of the current target spindle, specifically including generating a trial cutting instruction to cut the target workpiece blank, obtaining the spindle temperature in real time and determining the corresponding cutting area, so as to establish the connection between the spindle temperature values and the corresponding cutting areas; when the spindle temperature reaches the stable stage, generate a dimension detection instruction and send it to the dimension detection component to detect the cutting depth of the cutting area corresponding to each spindle temperature range, determine the corresponding tool position coordinates according to the cutting depth, associate the tool position coordinates corresponding to each cutting area with the spindle temperature range, and generate temperature extension correlation information according to the associated corresponding relationship, so as to compensate the actual tool position coordinates according to the spindle temperature subsequently.
[0033] In a preferred example of the present application: after detecting the cutting depth of the cutting area corresponding to each spindle temperature range, it further includes:
[0034] Based on the cutting depth measured in the trial cutting stage, correct the back engagement of the cutting edge, calculate the material removal rate parameters of each unit time period in combination with the cutting parameters, and set the idle rotation suppression algebra for the unit time period in the idle rotation state of the tool to generate a material removal parameter time form;
[0035] Based on the detection data of the spindle temperature, generate a temperature time form to calculate the measured value of the temperature rise and substitute it into the preset thermal analysis calculation formula, calculate the value of the idle rotation suppression algebra based on the known material removal rate parameters and set it as the idle rotation suppression parameter to update the material removal parameter time form;
[0036] Based on the material removal parameter time form, the temperature time form and the thermal analysis calculation formula, calculate the temperature rise evaluation value of each unit time period. If the deviation rate of the measured temperature rise value relative to the temperature rise evaluation value is greater than the preset deviation threshold, generate a sensor correction signal;
[0037] The detection data of the cutting depth is associated with the corresponding detection time; the idle rotation suppression parameter refers to the material removal rate parameter used to simulate the idle rotation state of the tool; the idle rotation suppression algebra refers to the undetermined parameter when the idle rotation suppression parameter is not determined;
[0038] ΔT i0 =T M -T i-1
[0039] The thermal analysis calculation formula is:
[0040]
[0041] wherein, i is the time identifier of the unit time period, T M is the target main shaft temperature of the current unit time period, T i-1 is the target main shaft temperature of the previous unit time period, ΔT i0 is the measured value of the temperature rise in the current unit time period, ΔT i1 is the evaluated value of the temperature rise in the current unit time period, k V is the heat generation coefficient of material removal, V i is the material removal rate parameter, T 室i is the room temperature value of the current unit time period, C is the heat capacity value of the target main shaft, F(T i-1 , T 室i ) is based on T 室i The calculation formula for the heat dissipation of the target main shaft with the independent variable.
[0042] By adopting the above technical solution, since the main heat source for the temperature rise phenomenon of the target main shaft comes from cutting heat, and the generation of cutting heat is roughly proportional to the material removal amount of the target workpiece. When using the indirect measurement method to obtain the temperature of the target main shaft, such as obtaining the temperature of the target main shaft by detecting the temperature of the lubricating oil or the temperature inside the gearbox, its detection accuracy may be affected by the continuous operation of the CNC machine tool. Therefore, after detecting the cutting depth of the cutting area corresponding to each main shaft temperature range in the trial cutting stage, the back engagement amount is corrected based on the cutting depth, and the material removal rate parameter corresponding to each unit time period is calculated in combination with the cutting parameters. When the tool is in the idle state, the friction between the tool and the air will still generate heat, but it cannot be measured according to the material removal rate. Therefore, an idle suppression algebra is set for the unit time period when the tool is in the idle state, so as to calculate the heat generation rate during the idle period of the tool subsequently, and thus generate a material removal parameter time form; based on the detection data of the main shaft temperature of each unit time period, a temperature time form is generated, and the unit time period capable of obtaining the known material removal rate parameter is extracted to calculate the measured value of the temperature rise, and the measured value of the temperature rise is substituted into the heat analysis calculation formula to calculate the value of the idle suppression algebra according to the known material removal rate parameter and set it as the idle suppression parameter, and update the corresponding data in the material removal parameter time form according to the idle suppression parameter; based on the material removal parameter time form, the temperature time form and the heat analysis calculation formula, calculate the evaluated value of the temperature rise in each unit time period, compare the measured value of the temperature rise with the evaluated value of the temperature rise, and when the deviation rate of the measured value of the temperature rise relative to the evaluated value of the temperature rise is greater than the deviation threshold, generate a sensor correction signal for the staff to correct the temperature sensor.
[0043] In a preferred example of the present application: The obtaining of the main shaft temperature and the main shaft control parameters based on a preset correction period and inputting them into the extended compensation algorithm to calculate the tool position coordinates includes:
[0044] Obtain the spindle temperature based on the correction period and input it into the extension compensation algorithm, and match the corresponding spindle extension amount from the temperature extension correlation information based on the spindle temperature;
[0045] Obtain the spindle control parameters based on the correction period and input them into the extension compensation algorithm, and calculate the tool position coordinates based on the spindle extension amount and the control value of the depth of cut, in combination with several vertical dimension control values;
[0046] The extension compensation algorithm is associated with temperature extension correlation information; the spindle control parameters include the control value of the depth of cut and several vertical dimension control values, and the vertical dimension control value refers to the data used to control the position of the tool perpendicular to the dimension of the control value of the depth of cut.
[0047] By adopting the above technical solution, obtain the spindle temperature based on the correction period and input it into the extension compensation algorithm to match the corresponding spindle extension amount from the temperature extension correlation information, so as to facilitate knowing the influence of the current target spindle on the tool position due to temperature; synchronously obtain the current spindle control parameters according to the spindle temperature and input them into the extension compensation algorithm, compensate the control value of the depth of cut recorded in the spindle control parameters based on the spindle extension amount, and combine several vertical dimension control values to calculate the current tool position coordinates.
[0048] In a preferred example of this application: receive the cutting instruction to obtain the tool cutting coordinate data, and generate a spindle control adjustment instruction based on the tool cutting coordinate data, the tool position coordinates, the spindle temperature and the extension compensation algorithm, including:
[0049] When receiving the cutting instruction, obtain the tool cutting coordinate data, and judge whether the coordinate value in the depth of cut direction in the tool position coordinates conforms to the tool cutting coordinate data;
[0050] When the tool position coordinates do not conform to the tool cutting coordinate data, determine the tool target coordinates based on the tool cutting coordinate data, and calculate the displacement distance and displacement direction of the target spindle in the depth of cut direction for the tool position coordinates to move to the tool target coordinates based on the tool position coordinates, the spindle temperature and the extension compensation algorithm, so as to generate a spindle control instruction;
[0051] The cutting instruction is associated with corresponding tool cutting coordinate data; the tool cutting coordinate data records the value range of the tool position coordinates in the depth of cut direction determined based on the machining accuracy requirements of the target workpiece; the tool target coordinates are taken from the range of the tool cutting coordinate data.
[0052] By adopting the above technical solution, when it is necessary to perform a cutting task on a target workpiece, a cutting instruction is received and the target tool is controlled to move to the cutting preparation position. The tool cutting coordinate data associated with the cutting instruction is obtained, and it is determined whether the coordinate in the direction of the depth of cut in the tool position coordinates conforms to the value range in the direction of the depth of cut in the tool cutting coordinate data. If it conforms, the subsequent cutting process execution stage can be entered; if the coordinate in the direction of the depth of cut in the tool position coordinates does not conform to the value range in the direction of the depth of cut in the tool cutting coordinate data, the target coordinate of the tool is determined based on the value range in the direction of the depth of cut recorded in the tool cutting coordinate data. Based on the tool position coordinates, the spindle temperature, and the extension compensation algorithm, the displacement distance and displacement direction of the target spindle in the direction of the depth of cut are calculated to move the tool position coordinates to the tool target coordinate, thereby generating a spindle control instruction and sending it to the machine tool controller to control the spindle displacement component to move the target spindle to the corresponding position.
[0053] The third inventive object of the present application is achieved by adopting the following technical solution:
[0054] A computer 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 steps of the above gearbox spindle thermal extension compensation method for a numerically controlled machine tool are implemented.
[0055] The fourth inventive object of the present application is achieved by adopting the following technical solution:
[0056] A computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the above gearbox spindle thermal extension compensation method for a numerically controlled machine tool are implemented.
[0057] In summary, the present application includes at least one of the following beneficial technical effects:
[0058] 1. The machine tool body is used to install the machine tool controller, transmission gearbox, spindle displacement component, and dimension detection component, and supply energy for the normal operation of these components and parts. The machine tool controller is used to collect the status information of the connected components and sensors, process the status information, and send control signals to the relevant components and sensors. The target spindle is used to install the tool and conduct the power provided by the power source in the machine tool body to the tool through the transmission gearbox. The spindle displacement component is used to control the position of the target spindle, and the dimension detection component is used to detect the dimensions of the target workpiece. The machine tool controller includes a temperature extension correlation analysis module, a tool position evaluation module, a spindle position correction module, and a cutting process execution module to detect the temperature of the target spindle, calculate the tool position coordinates by combining the temperature extension correlation information, extension compensation algorithm, and spindle control parameters, and further generate a spindle control adjustment instruction according to the relationship between the tool cutting coordinate data and the tool position coordinates to control the spindle displacement component to move the target spindle so that the tool position meets the cutting dimension requirements of the target workpiece, thereby improving the cutting accuracy of the gearbox-driven machine tool.
[0059] 2. Match the corresponding temperature extension correlation information according to the target spindle model to obtain the correlation between the extension length at the output end of the target spindle and the spindle temperature, and input the temperature extension correlation information into the extension compensation algorithm for subsequent calculation of the actual cutting position of the tool. Obtain the spindle temperature and spindle control parameters based on the correction period and input them into the extension compensation algorithm. After processing the extension compensation algorithm according to the temperature value for the tool position determined by the spindle control parameters, calculate the actual position of the current tool and determine the tool position coordinates. Receive the cutting instruction to obtain the tool cutting coordinate data required for machining the target workpiece. According to the tool position coordinates, spindle temperature, and extension compensation algorithm, quantitatively calculate the adjustment required for the target spindle position to make the tool position coordinates conform to the tool cutting coordinate data, thereby generating a spindle control adjustment instruction and sending it to the spindle displacement component to adjust the position of the target spindle so that the tool position coordinates are adjusted towards the tool cutting coordinate data. When the tool position coordinates conform to the tool cutting coordinate data, generate a cutting process execution instruction to control the numerical control machine tool to start executing the cutting task, thereby improving the cutting accuracy of the gearbox-driven machine tool.
[0060] 3. Since the main heat source for the temperature increase phenomenon of the target main shaft comes from the cutting heat, and the generation of cutting heat is roughly proportional to the material removal amount of the target workpiece. When using the indirect measurement method to obtain the temperature of the target main shaft, such as by detecting the lubricating oil temperature or the internal temperature of the gearbox, the detection accuracy may be affected by the continuous operation of the CNC machine tool. Therefore, after detecting the cutting depth corresponding to the cutting area in each main shaft temperature range during the trial cutting stage, the back engagement depth is corrected based on the cutting depth, and the material removal rate parameter corresponding to each unit time period is calculated in combination with the cutting parameters. When the tool is in the idle state, the friction between the tool and the air will still generate heat, but it cannot be measured according to the material removal rate. Therefore, an idle suppression algebra is set for the unit time period when the tool is in the idle state, so as to calculate the heat generation rate during the idle period of the tool subsequently, and thus generate a material removal parameter time sheet; based on the detection data of the main shaft temperature in each unit time period, a temperature time sheet is generated, and the unit time period capable of obtaining the known material removal rate parameter is extracted to calculate the measured temperature rise value, and the measured temperature rise value is substituted into the thermal analysis calculation formula to calculate the value of the idle suppression algebra according to the known material removal rate parameter and set it as the idle suppression parameter, and update the corresponding data in the material removal parameter time sheet according to the idle suppression parameter; based on the material removal parameter time sheet, the temperature time sheet and the thermal analysis calculation formula, the temperature rise evaluation value of each unit time period is calculated, and the measured temperature rise value is compared with the temperature rise evaluation value. When the deviation rate of the measured temperature rise value relative to the temperature rise evaluation value is greater than the deviation threshold, a sensor correction signal is generated for the staff to correct the temperature sensor. Brief Description of the Drawings
[0061] Figure 1 is a schematic block diagram of the machine tool controller in Embodiment 1 of the present application.
[0062] Figure 2 is a flowchart of the gearbox main shaft thermal extension compensation method of the CNC machine tool in Embodiment 2 of the present application.
[0063] Figure 3 is a schematic diagram of the equipment in Embodiment 3 of the present application. Detailed Description of the Embodiments
[0064] The following is a further detailed description of the present application in conjunction with the attached Figures 1 to 3 drawings.
[0065] Embodiment 1
[0066] Refer to Figure 1, this application discloses a thermal extension compensation system for the gearbox spindle of a numerically controlled machine tool, which includes a machine tool body and a machine tool controller. The machine tool body is connected with a transmission gearbox, a spindle displacement component, and a dimension detection component, and is used to install the machine tool controller, the transmission gearbox, the spindle displacement component, and the dimension detection component, and supply energy for the normal operation of these components and parts. The transmission gearbox is provided with a target spindle and a temperature sensor for detecting the temperature of the target spindle. The temperature sensor is a thermal resistance sensor. Preferably, the temperature sensor is a PT100 platinum thermal resistance sensor. The detection end of the temperature sensor is arranged inside the transmission gearbox, which has the advantages of high detection accuracy, high sensitivity, high linearity, and fast transmission of temperature detection signals. By arranging the detection end of the temperature sensor inside the transmission gearbox, the indirect temperature measurement of the target spindle is carried out, reducing the impact of temperature detection on the running stability of the target spindle. The target spindle refers to the output shaft of the transmission gearbox that is used to install a cutting tool to conduct the power provided by the power source in the machine tool body to the tool through the transmission gearbox and drive the tool to rotate for cutting the target workpiece. The target workpiece refers to the workpiece selected as the cutting object, and specific parameter such as specifications and materials can be changed according to the actual cutting task. The spindle displacement component refers to the component used to drive and adjust the position of the target spindle to achieve thermal extension compensation of the target spindle. Specifically, the spindle displacement component can be a component used to directly adjust the position of the target spindle, or a component used to adjust the position of the transmission gearbox, thereby indirectly adjusting the position of the target spindle. The dimension detection component refers to the component used to detect the dimensions of the target workpiece to detect the cutting depth of the target workpiece, so as to judge the degree of thermal extension of the target spindle, facilitating subsequent thermal extension compensation.
[0067] The machine tool controller is electrically connected to the spindle displacement component, the dimension detection component, and the temperature sensor, and is used to collect the status information of the connected components and sensors, and send control signals to the relevant components and sensors after processing the status information.
[0068] As Figure 1 shown, the machine tool controller includes a temperature extension correlation analysis module, a tool position evaluation module, a spindle position correction module, and a cutting processing execution module. The detailed descriptions of each functional module are as follows:
[0069] The temperature extension correlation analysis module is used to obtain the temperature extension correlation information corresponding to the target spindle and input the temperature extension correlation information into a preset extension compensation algorithm;
[0070] The tool position evaluation module is used to obtain the spindle temperature and spindle control parameters based on a preset correction period and input them into the extension compensation algorithm to calculate the tool position coordinates;
[0071] The spindle position correction module is used to receive cutting instructions to obtain tool cutting coordinate data, and based on the tool cutting coordinate data, tool position coordinates, spindle temperature, and extension compensation algorithm, generate spindle control adjustment instructions and send them to the spindle displacement component;
[0072] The cutting processing execution module is used to generate cutting processing execution instructions when the tool position coordinates match the tool cutting coordinate data.
[0073] The machine tool controller includes a temperature extension correlation analysis module, a tool position evaluation module, a spindle position correction module, and a cutting processing execution module to detect the temperature of the target spindle, calculate the tool position coordinates by combining the temperature extension correlation information, extension compensation algorithm, and spindle control parameters, and further generate spindle control adjustment instructions according to the relationship between the tool cutting coordinate data and the tool position coordinates to control the spindle displacement component to move the target spindle so that the tool position meets the cutting size requirements of the target workpiece, thereby improving the cutting accuracy of the gearbox drive machine tool.
[0074] Among them, the temperature extension correlation analysis module includes:
[0075] The temperature sensor calibration sub-module is used to calibrate the temperature sensor, obtain the temperature electrical parameter correlation information of the temperature sensor, and input it into a preset temperature detection algorithm;
[0076] The trial cutting sub-module is used to deactivate the temperature compensation function, generate trial cutting instructions, and obtain the spindle temperature in real time and determine the corresponding cutting area;
[0077] The temperature extension correlation information generation sub-module is used to generate size detection instructions and send them to the size detection component when the spindle temperature reaches the temperature stable period, detect the cutting depth of the cutting area corresponding to each spindle temperature range, and generate temperature extension correlation information according to the corresponding relationship between the cutting depth corresponding tool position coordinates and the spindle temperature range.
[0078] The temperature extension correlation analysis module also includes:
[0079] The idle rotation suppression algebra setting sub-module is used to correct the back engagement of cut based on the cutting depth measured in the trial cutting stage, calculate the material removal rate parameters for each unit time period in combination with cutting parameters, and set the idle rotation suppression algebra for the unit time period of the tool idle rotation state to generate a material removal parameter time schedule form;
[0080] The idle rotation suppression parameter acquisition sub-module is used to generate a temperature time schedule form based on the detected data of the spindle temperature, calculate the actual measured temperature rise value and substitute it into a preset thermal analysis calculation formula, calculate the value of the idle rotation suppression algebra based on the known material removal rate parameters, and set it as the idle rotation suppression parameter to update the material removal parameter time schedule form;
[0081] The sensor calibration signal generation sub-module is used to calculate the temperature rise evaluation value for each unit time period based on the material removal parameter time form, the temperature time form, and the thermal analysis calculation formula. When the deviation rate of the measured temperature rise value relative to the temperature rise evaluation value is greater than the preset deviation threshold, a sensor calibration signal is generated.
[0082] Among them, the tool position evaluation module further includes:
[0083] The spindle extension amount matching sub-module is used to obtain the spindle temperature based on the correction period and input it into the extension compensation algorithm, and match the corresponding spindle extension amount from the temperature-extension correlation information based on the spindle temperature;
[0084] The tool position coordinate calculation sub-module is used to obtain the spindle control parameters based on the correction period and input them into the extension compensation algorithm, and calculate the tool position coordinates based on the spindle extension amount, the depth of cut control value, and in combination with several vertical dimension control values.
[0085] Among them, the spindle position correction module further includes:
[0086] The cutting instruction receiving sub-module is used to obtain the tool cutting coordinate data when receiving a cutting instruction, and determine whether the coordinate value in the depth of cut direction in the tool position coordinates conforms to the tool cutting coordinate data;
[0087] The spindle control instruction generation sub-module is used to, when the tool position coordinates do not conform to the tool cutting coordinate data, determine the tool target coordinates based on the tool cutting coordinate data, and calculate the displacement distance and displacement direction of the target spindle in the depth of cut direction to move the tool position coordinates to the tool target coordinates based on the tool position coordinates, the spindle temperature, and the extension compensation algorithm, so as to generate a spindle control instruction.
[0088] For the specific limitation of the machine tool controller, reference can be made to the limitation of the gearbox spindle thermal extension compensation method for a numerically controlled machine tool in the following text, which will not be elaborated here; each module in the above machine tool controller can be implemented in whole or in part through software, hardware, and their combination; the above-mentioned modules can be embedded in the processor of the computer device in hardware form or be independent of it, or can be stored in the memory of the computer device in software form, so as to facilitate the processor to call and execute the operations corresponding to the above-mentioned modules.
[0089] Embodiment 2
[0090] Refer to Figure 2 , this application discloses a gearbox spindle thermal extension compensation method for a numerically controlled machine tool, which is applied to the gearbox spindle thermal extension compensation system of any numerically controlled machine tool in the above embodiments, and specifically includes the following steps:
[0091] S10: Obtain the temperature extension correlation information corresponding to the target main shaft, and input the temperature extension correlation information into a preset extension compensation algorithm.
[0092] In this embodiment, the temperature extension correlation information records the correlation between the extension length of the output end of the target main shaft and the main shaft temperature; the extension compensation algorithm refers to an algorithm for quantitatively calculating the coordinate change value generated by the influence of the change value of the tool coordinate on the target main shaft with the change of the target main shaft temperature.
[0093] Specifically, match the corresponding temperature extension correlation information according to the target main shaft model to obtain the correlation between the extension length of the target main shaft at the output end and the main shaft temperature, and input the temperature extension correlation information into the extension compensation algorithm for subsequent calculation of the actual cutting position of the tool.
[0094] Among them, before the step of S10: obtaining the temperature extension correlation information corresponding to the target main shaft, it further includes:
[0095] S11: Calibrate the temperature sensor, obtain the temperature-electrical parameter correlation information of the temperature sensor and input it into a preset temperature detection algorithm.
[0096] In this embodiment, the temperature-electrical parameter correlation information refers to the information on the correlation between the temperature value detected by the temperature sensor and the output electrical parameter. For example, when the temperature sensor is a platinum resistance temperature sensor, the temperature-electrical parameter correlation information refers to the data set of different temperatures and the corresponding resistance values.
[0097] Specifically, calibrate the temperature sensor to reduce the detection error caused by sensor aging or other factors, obtain the temperature-electrical parameter correlation information of the temperature sensor to know the relationship between the main shaft temperature measured by the temperature sensor and the corresponding electrical parameter, and input it into the temperature detection algorithm for subsequent determination of the corresponding main shaft temperature according to the electrical parameter of the temperature sensor.
[0098] S12: Disable the temperature compensation function, generate a trial cutting instruction, and obtain the main shaft temperature in real time and determine the corresponding cutting area.
[0099] In this embodiment, the temperature compensation function refers to a computer compensation function used to compensate the position of the cutting tool to eliminate the thermal deformation caused by the temperature change of the target spindle; the trial cutting instruction refers to an instruction used to control the numerical control machine tool to cut the target workpiece blank. After events that may change the heat capacity and heat conduction performance of the transmission gearbox, such as initially using the machine tool, replacing and maintaining the gearbox each time, and replacing / adding lubricant each time, it is necessary to perform trial cutting again to recalibrate the temperature compensation function. It is also possible to perform trial cutting regularly according to actual needs to recalibrate the temperature compensation function; the spindle temperature is associated with a corresponding detection time; the spindle temperature refers to the temperature of the target spindle. The gearbox spindle thermal extension compensation system of the numerical control machine tool in this embodiment uses a technical solution for indirectly measuring the temperature of the target spindle. Those skilled in the art can adjust the detection method of the spindle temperature according to actual needs, such as direct measurement.
[0100] Specifically, deactivate the temperature compensation function to re-evaluate the temperature extension correlation information of the current target spindle, including specifically generating a trial cutting instruction to cut the target workpiece blank, and obtaining the spindle temperature in real time and determining the corresponding cutting area, so as to establish the connection between each spindle temperature value and the corresponding cutting area.
[0101] S13: When the spindle temperature reaches the temperature stable period, generate a dimension detection instruction and send it to the dimension detection component to detect the cutting depth of the cutting area corresponding to each spindle temperature range, so as to generate temperature extension correlation information according to the corresponding relationship between the tool position coordinates corresponding to the cutting depth and the spindle temperature range.
[0102] In this embodiment, the temperature stable period refers to the period during which the spindle temperature does not exceed the preset stable amplitude within the preset stable duration.
[0103] Specifically, when the spindle temperature reaches the stable stage, generate a dimension detection instruction and send it to the dimension detection component to detect the cutting depth of the cutting area corresponding to each spindle temperature range, determine the corresponding tool position coordinates according to the cutting depth, associate the tool position coordinates corresponding to each cutting area with the spindle temperature range, and generate temperature extension correlation information according to the associated corresponding relationship, so as to compensate the actual tool position coordinates according to the spindle temperature subsequently.
[0104] Among them, after the step of S13: detecting the cutting depth of the cutting area corresponding to each spindle temperature range, it includes:
[0105] S14: Based on the cutting depth measured in the trial cutting stage, correct the depth of cut, calculate the material removal rate parameters for each unit time period in combination with the cutting parameters, and set the idle suppression algebra for the unit time period in the idle state of the tool to generate a material removal parameter time schedule form.
[0106] In this embodiment, the cutting parameters include the side cutting depth, cutting speed, and feed rate. When the tool is in the cutting state, the material removal rate parameter is the product of the back cutting depth, side cutting depth, cutting speed, and feed rate, which is the volume of the target workpiece material removed per unit time. The detection data of the cutting depth is associated with the corresponding detection time.
[0107] Specifically, since the main heat source for the temperature increase phenomenon of the target spindle comes from cutting heat, and the generation of cutting heat is approximately proportional to the material removal amount of the target workpiece. When using an indirect measurement method to obtain the temperature of the target spindle, such as detecting the lubricating oil temperature or the temperature inside the gearbox to obtain the temperature of the target spindle, its detection accuracy may be affected by the continuous operation of the CNC machine tool. Therefore, after detecting the cutting depth of the cutting area corresponding to each spindle temperature range in the trial cutting stage, the back cutting depth is corrected based on the cutting depth, and the material removal rate parameter corresponding to each unit time period is calculated in combination with the cutting parameters. When the tool is in the idle state, the friction between the tool and the air will still generate heat, but it cannot be measured according to the material removal rate. Therefore, an idle simulation algebra is set for the unit time period when the tool is in the idle state, so as to calculate the heat generation rate during the idle period of the tool subsequently, and thus generate a material removal parameter time form.
[0108] Furthermore, when the machine tool to which the gearbox spindle thermal extension compensation method of the CNC machine tool of the present application is applied has a state where the tool stops rotating during the cutting process, the stop rotation simulation algebra can also be set for the unit time period of the tool stop rotation state according to actual needs, and the stop rotation simulation parameters are calculated with reference to this embodiment subsequently.
[0109] S15: Generate a temperature time form based on the detection data of the spindle temperature to calculate the measured temperature rise value and substitute it into the preset thermal analysis calculation formula, calculate the value of the idle simulation algebra based on the known material removal rate parameter and set it as the idle simulation parameter to update the material removal parameter time form.
[0110] In this embodiment, the idle simulation parameter refers to the material removal rate parameter simulated for the tool in the idle state; the idle simulation algebra refers to the undetermined parameter when the idle simulation parameter is not determined.
[0111] Specifically, based on the detection data of the spindle temperature of each unit time period, a temperature time form is generated, and the unit time periods capable of obtaining the known material removal rate parameter are extracted to calculate the measured temperature rise value. Among them, the extraction method and the extraction quantity can be set according to actual needs. Preferably, several unit time periods with known material removal rate parameters are extracted, the corresponding measured temperature rise values are calculated respectively, and the average value of each measured temperature rise value is used for subsequent calculations. Substitute the measured temperature rise value into the thermal analysis calculation formula to calculate the value of the idle simulation algebra based on the known material removal rate parameter and set it as the idle simulation parameter, and update the corresponding data in the material removal parameter time form according to the idle simulation parameter.
[0112] S16: Calculate the temperature rise evaluation values for each unit time period based on the material removal parameter time sheet, the temperature time sheet, and the thermal analysis calculation formula. If the deviation rate of the measured temperature rise value relative to the temperature rise evaluation value is greater than the preset deviation threshold, generate a sensor correction signal.
[0113] In this embodiment, ΔT i0 = T M - T i-1
[0114] The thermal analysis calculation formula is:
[0115]
[0116] Among them, i is the time identifier of the unit time period, T M is the target spindle temperature of the current unit time period, T i-1 is the target spindle temperature of the previous unit time period, ΔT i0 is the measured temperature rise value of the current unit time period, ΔT i1 is the temperature rise evaluation value of the current unit time period, k V is the heat generation coefficient of material removal, V i is the material removal rate parameter, T 室i is the room temperature value of the current unit time period, C is the heat capacity value of the target spindle, F(T i-1 , T 室i ) is the calculation formula for the heat dissipation of the target spindle with T 室i as the independent variable; among them, the value of k V is an empirical coefficient obtained through experiments, and the value of this coefficient will vary according to the specific numerical ranges of the depth of cut, the side cutting depth, the cutting speed, and the feed rate; F(T i-1 , T 室i ) is an empirical formula for the heat dissipation of the target spindle varying with the target spindle temperature and the room temperature determined through experiments.
[0117] Specifically, based on the material removal parameter time sheet, the temperature time sheet, and the thermal analysis calculation formula, calculate the temperature rise evaluation values for each unit time period, compare the measured temperature rise value with the temperature rise evaluation value. When the deviation rate of the measured temperature rise value relative to the temperature rise evaluation value is greater than the deviation threshold, generate a sensor correction signal so that the staff can correct the temperature sensor.
[0118] S20: Obtain the spindle temperature and the spindle control parameters based on the preset correction period and input them into the extended compensation algorithm to calculate the tool position coordinates.
[0119] In this embodiment, the correction period refers to the period for obtaining the spindle temperature and spindle control parameters. Preferably, one correction period is 5S; the spindle control parameters refer to the parameters for controlling the spindle displacement component to determine the target spindle position.
[0120] Specifically, based on the correction period, the spindle temperature and spindle control parameters are obtained and input into the extension compensation algorithm. After the tool position determined by the spindle control parameters is processed by the extension compensation algorithm according to the temperature value, the actual position of the current tool is calculated, and the tool position coordinates are determined.
[0121] Among them, in step S20, it includes:
[0122] S21: Obtain the spindle temperature based on the correction period and input it into the extension compensation algorithm, and match the corresponding spindle extension amount from the temperature extension correlation information based on the spindle temperature.
[0123] Specifically, obtain the spindle temperature based on the correction period and input it into the extension compensation algorithm to match the corresponding spindle extension amount from the temperature extension correlation information, so as to know the influence of the current target spindle on the tool position due to the temperature effect.
[0124] S22: Obtain the spindle control parameters based on the correction period and input them into the extension compensation algorithm, and calculate the tool position coordinates based on the spindle extension amount, the depth of cut control value, and in combination with several vertical dimension control values.
[0125] In this embodiment, the extension compensation algorithm is associated with temperature extension correlation information; the spindle control parameters include the depth of cut control value and several vertical dimension control values. The vertical dimension control value refers to the data for controlling the tool position perpendicular to the dimension of the depth of cut control value. For example, when the gearbox spindle thermal extension compensation method of the numerical control machine tool in this embodiment is used for a vertical milling machine, since the control direction of the depth of cut is the vertical direction, assuming it is the Z axis, the depth of cut control value is the set value of the Z-axis coordinate, and the corresponding vertical dimension control values can be the set values of the X-axis and Y-axis coordinates.
[0126] Specifically, synchronously obtain the current spindle control parameters according to the spindle temperature and input them into the extension compensation algorithm, compensate the depth of cut control value recorded in the spindle control parameters based on the spindle extension amount, and in combination with several vertical dimension control values, to calculate the current tool position coordinates.
[0127] S30: Receive the cutting instruction to obtain the tool cutting coordinate data, and generate a spindle control adjustment instruction based on the tool cutting coordinate data, the tool position coordinates, the spindle temperature, and the extension compensation algorithm, and send it to the spindle displacement component.
[0128] In this embodiment, the spindle control adjustment instruction refers to an instruction for controlling the spindle displacement component to adjust the target spindle position and for controlling the change of the tool position coordinates.
[0129] Specifically, a cutting instruction is received to obtain the tool cutting coordinate data required for machining the target workpiece. According to the tool position coordinates, spindle temperature, and extension compensation algorithm, the adjustment required for the target spindle position to make the tool position coordinates conform to the tool cutting coordinate data is quantitatively calculated, thereby generating a spindle control adjustment instruction and sending it to the spindle displacement component, so that the spindle displacement component adjusts the position of the target spindle and makes the tool position coordinates adjust towards the tool cutting coordinate data.
[0130] Among them, in step S30, it includes:
[0131] S31: When receiving the cutting instruction, obtain the tool cutting coordinate data, and judge whether the coordinate value in the depth of cut direction in the tool position coordinates conforms to the tool cutting coordinate data.
[0132] In this embodiment, the cutting instruction is associated with corresponding tool cutting coordinate data; the tool cutting coordinate data refers to the tool cutting coordinate requirements required to complete the cutting task corresponding to the current cutting instruction, and records the value range of the tool position coordinates in the depth of cut direction determined based on the size and machining accuracy requirements of the target workpiece; the cutting preparation position refers to a position outside the cutting path of the target workpiece. For example, when the starting point coordinates of the cutting path are (0, 0, 0), the coordinates of the cutting preparation position can be (-10, -10, 0).
[0133] Specifically, when it is necessary to perform a cutting task on the target workpiece, receive the cutting instruction and control the target tool to move to the cutting preparation position, obtain the tool cutting coordinate data associated with the cutting instruction, and judge whether the coordinate in the depth of cut direction in the tool position coordinates conforms to the value range in the depth of cut direction in the tool cutting coordinate data. If it conforms, the subsequent cutting processing execution stage can be entered.
[0134] S32: When the tool position coordinates do not conform to the tool cutting coordinate data, determine the tool target coordinates based on the tool cutting coordinate data, and calculate the displacement distance and displacement direction of the target spindle in the depth of cut direction to move the tool position coordinates to the tool target coordinates, so as to generate a spindle control instruction.
[0135] In this embodiment, the tool target coordinates are taken from the range of the tool cutting coordinate data. Preferably, the tool target coordinates can be the middle value of the range of the tool cutting coordinate data.
[0136] Specifically, if the coordinate of the tool position in the direction of the depth of cut does not conform to the value range in the direction of the depth of cut in the tool cutting coordinate data, the target coordinate of the tool is determined based on the value range in the direction of the depth of cut recorded in the tool cutting coordinate data. Based on the tool position coordinate, the spindle temperature, and the extension compensation algorithm, the displacement distance and displacement direction of the target spindle in the direction of the depth of cut when moving the tool position coordinate to the tool target coordinate are calculated, so as to generate a spindle control instruction and send it to the machine tool controller for controlling the spindle displacement component to move the target spindle to the corresponding position.
[0137] S40: When the tool position coordinate conforms to the tool cutting coordinate data, a cutting process execution instruction is generated.
[0138] Specifically, when the tool position coordinate conforms to the tool cutting coordinate data, a cutting process execution instruction is generated to control the numerical control machine tool to start executing the cutting task, thereby improving the cutting accuracy of the gearbox driving machine tool.
[0139] Furthermore, after the cutting task starts to be executed, it is still necessary to obtain the spindle temperature according to a preset correction period and correct the position of the tool.
[0140] It should be understood that the sequence numbers of the steps in the above embodiments do not mean the order of execution. The execution order of each process should be determined according to its function and internal logic, and should not constitute any limitation to the implementation process of the embodiments of the present application.
[0141] Embodiment III
[0142] A computer device, which can be a server, and its internal structure diagram can be as Figure 3 shown. The computer device includes a processor, a memory, a network interface, and a database connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store data such as temperature extension association information, extension compensation algorithm, spindle temperature, spindle control parameters, tool position coordinates, cutting instructions, tool cutting coordinate data, spindle control adjustment instructions, and cutting process execution instructions. The network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, it realizes the method for compensating the thermal extension of the gearbox spindle of a numerical control machine tool.
[0143] In one embodiment, a computer device is provided, including 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 following steps are implemented:
[0144] S10: Obtain the temperature extension correlation information corresponding to the target main shaft, and input the temperature extension correlation information into a preset extension compensation algorithm;
[0145] S20: Obtain the main shaft temperature and the main shaft control parameters based on a preset correction period and input them into the extension compensation algorithm to calculate the tool position coordinates;
[0146] S30: Receive a cutting instruction to obtain the tool cutting coordinate data, and generate a main shaft control adjustment instruction based on the tool cutting coordinate data, the tool position coordinates, the main shaft temperature, and the extension compensation algorithm, and send the instruction to the main shaft displacement component;
[0147] S40: Generate a cutting processing execution instruction when the tool position coordinates match the tool cutting coordinate data.
[0148] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the following steps are implemented:
[0149] S10: Obtain the temperature extension correlation information corresponding to the target main shaft, and input the temperature extension correlation information into a preset extension compensation algorithm;
[0150] S20: Obtain the main shaft temperature and the main shaft control parameters based on a preset correction period and input them into the extension compensation algorithm to calculate the tool position coordinates;
[0151] S30: Receive a cutting instruction to obtain the tool cutting coordinate data, and generate a main shaft control adjustment instruction based on the tool cutting coordinate data, the tool position coordinates, the main shaft temperature, and the extension compensation algorithm, and send the instruction to the main shaft displacement component;
[0152] S40: Generate a cutting processing execution instruction when the tool position coordinates match the tool cutting coordinate data.
[0153] Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be completed by instructing relevant hardware through a computer program. The computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above methods. Among them, any reference to a memory, storage, database, or other medium used in the embodiments provided in the present application can include non-volatile and / or volatile memories. Non-volatile memories can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memories can include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink), DRAM (SLDRAM), Rambus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and Rambus dynamic RAM (RDRAM), etc.
[0154] Those skilled in the art can clearly understand that, for the convenience and brevity of description, only the above division of each functional unit and module is used as an example. In actual applications, the above functions can be allocated to different functional units and modules according to needs, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above.
[0155] The above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them; although the present application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that they can still modify the technical solutions recorded in the foregoing embodiments, or perform equivalent replacements on some of the features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.
Claims
1. A gearbox spindle thermal expansion compensation system for a CNC machine tool, characterized in that: include: A machine tool body and a machine tool controller, wherein the machine tool body is connected with a transmission gear box, a spindle displacement component, and a dimension detection component, the transmission gear box is provided with a target spindle and a temperature sensor for detecting the temperature of the target spindle, and the machine tool controller is electrically connected to the spindle displacement component, the dimension detection component, and the temperature sensor, and comprises: A temperature-extension correlation analysis module is used to obtain temperature-extension correlation information corresponding to the target spindle, and input the temperature-extension correlation information into a preset extension compensation algorithm; A tool position evaluation module, for obtaining spindle temperature and spindle control parameters based on a preset correction cycle and inputting them into an extension compensation algorithm to calculate tool position coordinates; A spindle position correction module is used for receiving a cutting instruction to obtain tool cutting coordinate data, and based on the tool cutting coordinate data, tool position coordinates, spindle temperature and extension compensation algorithm, generates a spindle control adjustment instruction and sends it to the spindle displacement component; A cutting processing execution module is used to generate a cutting processing execution instruction when the tool position coordinates meet the tool cutting coordinate data; The spindle control parameters refer to parameters used to control the spindle displacement component to determine the target spindle position.
2. The gearbox spindle thermal expansion compensation system for a CNC machine tool according to claim 1, characterized in that: The temperature sensor is a thermal resistance sensor, and the detection end of the temperature sensor is arranged in the transmission gear box.
3. The gearbox spindle thermal expansion compensation system for a CNC machine tool according to claim 1, characterized in that: The temperature extension correlation analysis module comprises: The temperature sensor calibration submodule is used to calibrate the temperature sensor, obtain the temperature and electrical parameter correlation information of the temperature sensor and input a preset temperature detection algorithm; The trial cutting submodule is used to disable the temperature compensation function, generate trial cutting instructions, obtain the spindle temperature in real time and determine the corresponding cutting area; The temperature extension associated information generating submodule is used to generate a dimension detection instruction and send it to the dimension detection component when the spindle temperature reaches the temperature stable period, detect the cutting depth of the cutting area corresponding to each spindle temperature interval, and generate the temperature extension associated information according to the corresponding relationship between the tool position coordinates corresponding to the cutting depth and the spindle temperature interval; The trial cutting instruction refers to an instruction used to control a CNC machine tool to cut a target workpiece blank; the spindle temperature is associated with a corresponding detection time; the temperature stabilization period refers to the temperature change of the spindle temperature within a preset stabilization time period not exceeding a preset stabilization amplitude.
4. A method for compensating thermal expansion of a gearbox spindle of a CNC machine tool, characterized in that: The gearbox spindle thermal extension compensation system applied to the CNC machine tool according to any one of claims 1 to 3 comprises: Acquire temperature-extension correlation information corresponding to the target spindle, and input the temperature-extension correlation information into a preset extension compensation algorithm; The spindle temperature and spindle control parameters are acquired based on a preset correction cycle and input into an extension compensation algorithm to calculate the tool position coordinates; Receiving a cutting instruction to obtain tool cutting coordinate data, and generating a spindle control adjustment instruction based on the tool cutting coordinate data, tool position coordinates, spindle temperature and extension compensation algorithm, and sending the instruction to the spindle displacement component; When the tool position coordinates meet the tool cutting coordinate data, a cutting processing execution instruction is generated; The temperature extension association information records the association between the output end extension length of the target spindle and the spindle temperature; the spindle control parameter refers to a parameter used to control the spindle displacement component to determine the target spindle position.
5. The method for compensating the thermal expansion of a gearbox spindle of a CNC machine tool according to claim 4, characterized in that: Before acquiring the temperature extension associated information corresponding to the target spindle, the method includes: Calibrate the temperature sensor, obtain the temperature electrical parameter correlation information of the temperature sensor and input the preset temperature detection algorithm; Disable the temperature compensation function, generate a trial cutting instruction, obtain the spindle temperature in real time and determine the corresponding cutting area; When the spindle temperature reaches the temperature stable period, a dimension detection instruction is generated and sent to the dimension detection component to detect the cutting depth of the cutting area corresponding to each spindle temperature interval, so as to generate temperature extension association information according to the corresponding relationship between the tool position coordinates corresponding to the cutting depth and the spindle temperature interval; The trial cutting instruction refers to an instruction used to control a CNC machine tool to cut a target workpiece blank; the spindle temperature is associated with a corresponding detection time; the temperature stabilization period refers to the temperature change of the spindle temperature within a preset stabilization time period not exceeding a preset stabilization amplitude.
6. The method for compensating thermal expansion of a gearbox spindle of a CNC machine tool according to claim 5, characterized in that: After detecting the cutting depth of the cutting area corresponding to each spindle temperature interval, the method further includes: Based on the cutting depth measured in the trial cutting stage, the back cutting amount is corrected, and the material removal rate parameters of each unit time period are calculated in combination with the cutting parameters. The idle pseudo-algebra is set for the unit time period of the tool idle state to generate a material removal parameter time table; Generate a temperature time table based on the spindle temperature detection data to calculate the actual temperature rise value and substitute it into the preset thermal analysis calculation formula; calculate the value of the idle run pseudo-algebra based on the known material removal rate parameter and set it as the idle run pseudo-parameter to update the material removal parameter time table; Based on the material removal parameter time table, temperature time table and thermal analysis calculation formula, the temperature rise evaluation value of each unit time period is calculated. If the deviation rate of the measured temperature rise value relative to the temperature rise evaluation value is greater than the preset deviation threshold, a sensor correction signal is generated; The detection data of the cutting depth is associated with the corresponding detection time; the idle-running simulated parameter refers to the material removal rate parameter simulated for the tool in the idle state; the idle-running simulated algebra refers to the undetermined parameter when the idle-running simulated parameter is not determined; ΔT i0 =T M -T i-1 The thermal analysis calculation formula is: Where i is the time identifier of the unit period, T M is the target spindle temperature of the current unit period, T i-1 is the target spindle temperature of the previous unit period, ΔT i0 is the measured value of temperature rise in the current unit period, ΔT i1 is the temperature rise evaluation value of the current unit period, k V is the heat generation coefficient of material removal, V i is the material removal rate parameter, T 室i is the room temperature value of the current unit period, C is the heat capacity value of the target spindle, F(T i-1 , T 室i ) T 室i The target spindle heat dissipation calculation formula is the independent variable.
7. The method for compensating thermal expansion of a gearbox spindle of a CNC machine tool according to claim 4, characterized in that: The method of acquiring the spindle temperature and the spindle control parameters based on a preset correction cycle and inputting them into the extension compensation algorithm to calculate the tool position coordinates includes: The spindle temperature is acquired based on the correction period and input into the extension compensation algorithm, and the corresponding spindle extension amount is matched from the temperature extension correlation information based on the spindle temperature; The spindle control parameters are obtained based on the correction cycle and input into the extension compensation algorithm, and the tool position coordinates are calculated based on the spindle extension amount and the back cutting amount control values, combined with several vertical dimension control values; The extension compensation algorithm is associated with temperature extension associated information; the spindle control parameters include a back-cutting amount control value and a plurality of vertical dimension control values, and the vertical dimension control value refers to data used to control the position of the tool perpendicular to the back-cutting amount control value dimension.
8. The method for compensating thermal expansion of a gearbox spindle of a CNC machine tool according to claim 4, characterized in that: The receiving of the cutting instruction to obtain the tool cutting coordinate data, and generating the spindle control adjustment instruction based on the tool cutting coordinate data, the tool position coordinates, the spindle temperature and the extension compensation algorithm, comprises: When receiving the cutting instruction, the tool cutting coordinate data is obtained, and it is determined whether the coordinate value of the back cutting amount direction in the tool position coordinates conforms to the tool cutting coordinate data; When the tool position coordinates do not conform to the tool cutting coordinate data, the tool target coordinates are determined based on the tool cutting coordinate data, and the displacement distance and displacement direction of the target spindle in the back cutting amount direction are calculated to move the tool position coordinates to the tool target coordinates based on the tool position coordinates, spindle temperature and extension compensation algorithm, so as to generate a spindle control instruction; The cutting instruction is associated with corresponding tool cutting coordinate data; the tool cutting coordinate data records the value range of the tool position coordinates in the back-cutting direction determined based on the target workpiece processing accuracy requirements; the tool target coordinates are taken from the tool cutting coordinate data range.
9. A computer 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 steps of the gearbox spindle thermal expansion compensation method for a CNC machine tool as claimed in any one of claims 4 to 8 are implemented.
10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the steps of the gearbox spindle thermal expansion compensation method for a CNC machine tool as claimed in any one of claims 4 to 8 are implemented.
Citation Information
Patent Citations
Intelligent thermal error compensation method for numerical control machine tool
CN113219901A
Cut-in type cylindrical grinding removal rate model correction method based on grinding thermal deformation analysis
CN115795702A
TF-IGLSTM thermal error prediction model and intelligent processing and error control system
CN115859500A
Compensation method and system for butt joint precision and cold and hot machine of double-spindle numerical control lathe
CN116442008A
Main shaft thermal offset measuring method and system for vertical machining center
CN118417944A