Spindle thermal elongation detection method

By using piezoelectric composite materials for ultrasonic collection and processing on machine tool equipment, the outline image of the spindle is generated, which solves the problem that external laser detection is susceptible to light interference, improves the accuracy of spindle thermal elongation detection and improves the accuracy of five-axis CNC machine tools. Processing quality.

CN118328924BActive Publication Date: 2024-08-23SHANGHAI NOZOLI MACHINE TOOLS TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410757985.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-13
Publication Date
2024-08-23
Estimated Expiration
2044-06-13

AI Technical Summary

Technical Problem

In the existing technology, spindle thermal elongation detection using external lasers is easily interfered by external light, resulting in low accuracy of measurement results.

Method used

Using machine tool equipment with piezoelectric composite materials, the ultrasonic waves generated by the piezoelectric composite materials are used to collect the spindle, perform beam synthesis and envelope processing, generate a profile image of the spindle, and perform thermal elongation detection based on this image.

Benefits of technology

It reduces the influence of external light, improves the accuracy of detection results, and improves the processing accuracy and quality of five-axis CNC machine tools.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118328924B
    Figure CN118328924B
Patent Text Reader

Abstract

The present invention relates to the technical field of machine tools, and discloses a method for detecting thermal elongation of a spindle, the method comprising: obtaining acquisition results; performing beam synthesis on each acquisition result, and performing envelope processing on the synthesis result; generating a contour image of the spindle based on the processing result, and performing thermal elongation detection on the spindle based on the contour image. Since the present invention can set a plurality of piezoelectric composite materials on the periphery of the spindle, collect the spindle through the ultrasonic waves generated by the piezoelectric composite materials, and then perform beam synthesis and envelope processing on each acquisition result to obtain the contour image of the spindle, and finally perform thermal elongation detection based on the contour image. Compared with the existing external laser detection that is easily disturbed by external light, the present invention adopts piezoelectric composite materials, thereby reducing the influence of external light and improving the accuracy of the detection results.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of machine tools, and in particular to a method for detecting thermal elongation of a spindle. Background Art

[0002] At present, in the five-axis CNC machine tool processing process, the spindle motor needs to maintain high speed for a long time, and the spindle will have a slight deformation due to thermal expansion and contraction, which can be called spindle thermal elongation. Due to the thermal elongation of the spindle, the accuracy of the five-axis CNC machine tool will decrease, the quality of the processed workpiece will be reduced, and then the cost will increase or the expected accuracy target will not be achieved.

[0003] Existing thermal elongation detection of the spindle is generally performed through external laser measurement, and the machine tool is allowed to run idle for a long time to monitor the change trend and perform thermal elongation detection. However, this method is easily affected by external light interference, which will lead to low measurement accuracy.

[0004] The above contents are only used to assist in understanding the technical solution of the present invention and do not constitute an admission that the above contents are prior art. Summary of the invention

[0005] The main purpose of the present invention is to provide a spindle thermal elongation detection method, which aims to solve the technical problem in the prior art that the spindle thermal elongation detection using an external laser is easily disturbed by external light, which in turn leads to low accuracy of the measurement results.

[0006] To achieve the above object, the present invention provides a spindle thermal elongation detection method, which is applied to a machine tool device with a plurality of piezoelectric composite materials, each of which is arranged on the periphery of the spindle of the machine tool device, and the method comprises:

[0007] Acquiring a collection result, wherein the collection result is obtained by collecting the main axis through the ultrasonic wave generated by each piezoelectric composite material;

[0008] Performing beam synthesis on each of the acquisition results, and performing envelope processing on the synthesis results;

[0009] A contour image of the spindle is generated based on the processing result, and a thermal elongation detection is performed on the spindle based on the contour image.

[0010] Optionally, the step of performing beam synthesis on each of the acquisition results and performing envelope processing on the synthesis result includes:

[0011] Performing time gain compensation on each of the acquisition results, and performing analog-to-digital conversion on each of the compensated acquisition results;

[0012] Perform beam synthesis on the acquisition results after each analog-to-digital conversion, and demodulate the synthesis results;

[0013] The demodulation result is subjected to envelope processing.

[0014] Optionally, the step of performing beamforming on each acquisition result after analog-to-digital conversion includes:

[0015] Determine a preset focal distance corresponding to each of the piezoelectric composite materials, and determine a time delay difference corresponding to each of the piezoelectric composite materials based on each of the preset focal distances;

[0016] Based on the delay differences, delay adjustment is performed on each acquisition result after analog-to-digital conversion, and beam synthesis is performed on each adjusted acquisition result.

[0017] Optionally, the machine tool equipment further includes: a plurality of temperature sensors and at least three displacement sensors, each of the temperature sensors and each of the displacement sensors are arranged on the spindle, and before the step of obtaining the acquisition result, it also includes:

[0018] Acquire the thermal elongation displacement of the spindle and the real-time temperature at the installation position of each temperature sensor, wherein the thermal elongation displacement is acquired by collecting data from each displacement sensor on the spindle;

[0019] Determining the correlation coefficient between the thermal elongation displacement and each of the real-time temperatures;

[0020] The target installation positions are determined based on the correlation coefficients, so that the piezoelectric composite materials are installed according to the target installation positions.

[0021] Optionally, the step of determining the target installation position based on each of the correlation coefficients includes:

[0022] Sorting the correlation coefficients, and determining the number of installations according to the sorting result and a preset correlation coefficient threshold;

[0023] The installation positions are adjusted based on the installation quantity, and the adjusted installation positions are used as target installation positions.

[0024] Optionally, the step of performing thermal elongation detection on the spindle based on the contour image comprises:

[0025] Performing thermal elongation detection based on the contour image and a preset standard contour image;

[0026] Accordingly, after the step of performing thermal elongation detection on the spindle based on the contour image, the method further includes:

[0027] A compensation amount is determined according to the detection result, and the received processing data is compensated by the compensation amount.

[0028] In addition, to achieve the above-mentioned purpose, the present invention also proposes a spindle thermal elongation detection device, the device comprising:

[0029] A result acquisition module, used to acquire acquisition results, wherein the acquisition results are acquired by acquiring the main axis through ultrasonic waves generated by each piezoelectric composite material;

[0030] A result processing module, used for performing beam synthesis on each of the acquisition results, and performing envelope processing on the synthesis results;

[0031] The thermal elongation detection module is used to generate a contour image of the spindle based on the processing result, and perform thermal elongation detection on the spindle based on the contour image.

[0032] In addition, to achieve the above objectives, the present invention also proposes a storage medium, on which a spindle thermal elongation detection program is stored, and when the spindle thermal elongation detection program is executed by a processor, the steps of the spindle thermal elongation detection method described above are implemented.

[0033] In addition, to achieve the above-mentioned purpose, the present invention also proposes a machine tool device, the machine tool device comprising: a spindle, a plurality of piezoelectric composite materials and a processing module with a memory and a processor, each of the piezoelectric composite materials is arranged on the periphery of the spindle, and each of the piezoelectric composite materials is connected to the processor;

[0034] The piezoelectric composite material is used to collect information about the main shaft by generating ultrasonic waves and transmit the collected information to the processor;

[0035] The processor is used to run a spindle thermal elongation detection program stored in the memory, and the spindle thermal elongation detection program is configured to implement the steps of the spindle thermal elongation detection method as described above.

[0036] In addition, to achieve the above-mentioned purpose, the present application also provides a computer program product, which includes a computer program, and when the computer program is executed by a processor, the steps of the spindle thermal elongation detection method as described above are implemented.

[0037] The present invention provides a spindle thermal elongation detection method, which is applied to a machine tool with a plurality of piezoelectric composite materials, each of which is arranged on the periphery of the spindle of the machine tool, and the method comprises: obtaining a collection result, the collection result is obtained by collecting the spindle through the ultrasonic wave generated by each of the piezoelectric composite materials; performing beam synthesis on each of the collection results, and performing envelope processing on the synthesis result; generating a contour image of the spindle based on the processing result, and performing thermal elongation detection on the spindle based on the contour image. Since the present invention can set a plurality of piezoelectric composite materials on the periphery of the spindle, collect the spindle through the ultrasonic wave generated by the piezoelectric composite materials, and then perform beam synthesis and envelope processing on each of the collection results to obtain the contour image of the spindle, and finally perform thermal elongation detection based on the contour image. Compared with the existing external laser detection which is easily disturbed by external light, the present invention adopts piezoelectric composite materials, thereby reducing the influence of external light and improving the accuracy of the detection result. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.

[0039] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0040] Figure 1 A schematic diagram of the structure of a machine tool device in a hardware operating environment involved in an embodiment of the present invention;

[0041] Figure 2 A structural block diagram of a machine tool device in a hardware operating environment involved in an embodiment of the present invention;

[0042] Figure 3 It is a schematic diagram of the process of the first embodiment of the spindle thermal elongation detection method of the present invention;

[0043] Figure 4 It is a schematic flow chart of a second embodiment of the spindle thermal elongation detection method of the present invention;

[0044] Figure 5 It is a schematic flow chart of a third embodiment of the spindle thermal elongation detection method of the present invention;

[0045] Figure 6 This is a schematic diagram of the third embodiment of the spindle thermal elongation detection method of the present invention before adjustment;

[0046] Figure 7It is a schematic diagram after adjustment in the third embodiment of the spindle thermal elongation detection method of the present invention;

[0047] Figure 8 It is a structural block diagram of the first embodiment of the spindle thermal elongation detection device of the present invention.

[0048] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0049] It should be understood that the specific embodiments described herein are only used to explain the present invention, and are not used to limit the present invention.

[0050] Reference Figure 1 and Figure 2 , Figure 1 The schematic diagram of the structure of the machine tool equipment in the hardware operating environment involved in the embodiment of the present invention is as follows: Figure 2 This is a structural block diagram of a machine tool device in the hardware operating environment involved in the embodiment of the present invention.

[0051] like Figure 1 and Figure 2 As shown, the machine tool equipment may include: a spindle, a plurality of piezoelectric composite materials, and a processing module with a memory 1005 and a processor 1001 ( Figure 1 (not shown), each of the piezoelectric composite materials is arranged on the periphery of the spindle, and each of the piezoelectric composite materials is connected to the processor; wherein the above-mentioned processing module can be arranged inside the above-mentioned machine tool equipment.

[0052] The piezoelectric composite material is used to collect the main axis through the generated ultrasonic wave and transmit the collected result to the processor 1001;

[0053] The processor 1001 is used to run a spindle thermal elongation detection program stored in the memory 1005 , and the spindle thermal elongation detection program is configured to implement the steps of a spindle thermal elongation detection method.

[0054] Processor 1001, such as a central processing unit (CPU), communication bus 1002, user interface 1003, network interface 1004, memory 1005. Among them, the communication bus 1002 is used to realize the connection and communication between these components. The user interface 1003 may include a display screen (Display), an input unit such as a keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface and a wireless interface. The network interface 1004 may optionally include a standard wired interface and a wireless interface (such as a wireless fidelity (Wireless-Fidelity, Wi-Fi) interface). The memory 1005 may be a high-speed random access memory (Random Access Memory, RAM) or a stable non-volatile memory (Non-Volatile Memory, NVM), such as a disk storage. The memory 1005 may also be a storage device independent of the aforementioned processor 1001.

[0055] Those skilled in the art will understand that Figure 2 The structure shown in the figure does not constitute a limitation on the machine tool equipment, and may include more or less components than shown in the figure, or combine certain components, or arrange the components differently.

[0056] like Figure 2 As shown, the memory 1005 as a storage medium may include an operating system, a network communication module, a user interface module, and a spindle thermal elongation detection program.

[0057] exist Figure 2 In the machine tool equipment shown, the network interface 1004 is mainly used for data communication with the network server; the user interface 1003 is mainly used for data interaction with the user; the processor 1001 and the memory 1005 in the machine tool equipment of the present invention can be set in the machine tool equipment, and the machine tool equipment calls the spindle thermal elongation detection program stored in the memory 1005 through the processor 1001, and executes the spindle thermal elongation detection method provided by the embodiment of the present invention.

[0058] It should be noted that, at present, during the five-axis CNC machine tool processing, the spindle motor needs to maintain a high speed for a long time, and the spindle will have a slight deformation due to thermal expansion and contraction, which can be called spindle thermal elongation. Due to the thermal elongation of the spindle, the accuracy of the five-axis CNC machine tool will decrease, the quality of the processed workpiece will be reduced, and the cost will increase or the expected accuracy target will not be achieved.

[0059] Existing thermal elongation detection of the spindle is generally performed through external laser measurement, and the machine tool is allowed to run idle for a long time to monitor the change trend and perform thermal elongation detection. However, this method is easily affected by external light interference, which will lead to low measurement accuracy.

[0060] Therefore, in order to solve the above defects, this embodiment provides a spindle thermal elongation detection method, which is applied to machine tool equipment with a plurality of piezoelectric composite materials, each of which is arranged on the periphery of the spindle of the machine tool equipment. Since this embodiment can set a plurality of piezoelectric composite materials on the periphery of the spindle, the spindle is collected by ultrasonic waves generated by the piezoelectric composite materials, and then the collected results are subjected to beam synthesis and envelope processing to obtain the contour image of the spindle, and finally thermal elongation detection is performed based on the contour image. Compared with the existing external laser detection that is easily disturbed by external light, this embodiment uses piezoelectric composite materials, thereby reducing the influence of external light and improving the accuracy of the detection results.

[0061] For ease of understanding, the following combination Figures 3 to 8 The spindle thermal elongation detection method provided in the embodiment of the present application is specifically introduced.

[0062] The embodiment of the present invention provides a spindle thermal elongation detection method, referring to Figure 3 , Figure 3 It is a schematic flow chart of the first embodiment of the spindle thermal elongation detection method of the present invention.

[0063] In this embodiment, the spindle thermal elongation detection method includes the following steps:

[0064] Step S10: acquiring a collection result, wherein the collection result is obtained by collecting the ultrasonic wave generated by each piezoelectric composite material on the main axis.

[0065] It should be understood that the method of this embodiment can be executed by a machine tool device, and specifically can be executed by a processor 1001 in the machine tool device. Figure 1 Of course, it can be in other forms, which are not limited in this embodiment. Figure 1 As shown, a number of piezoelectric composite materials can be evenly arranged on the periphery of the main shaft of the machine tool equipment, and the specific number of piezoelectric composite materials can be set according to actual conditions.

[0066] It should be noted that the piezoelectric composite material can be in the form of a piezoelectric sensor, and of course other forms can be used, which is not limited in this embodiment. When the spindle is processed, the machine tool equipment can apply an alternating voltage to the piezoelectric composite material, and the piezoelectric composite material begins to expand due to the thickness direction, and then an ultrasonic wave of a certain frequency can be generated. In order to make the frequency of the ultrasonic wave available for detecting the spindle, this embodiment can set the frequency of the alternating voltage to be the same as the frequency of the ultrasonic wave, and then the spindle can also generate an ultrasonic wave of the same frequency.

[0067] When the ultrasonic wave reaches the main shaft, part of it is reflected and part of it continues to penetrate. When the ultrasonic wave returns to the piezoelectric composite material, the piezoelectric composite material is hit by the ultrasonic wave and begins to shrink, and generates a voltage that matches the intensity of the reflected ultrasonic wave, which is transmitted to the processor as the above-mentioned collection result. Then the processor can perform subsequent thermal elongation detection based on the collection result fed back by the piezoelectric composite material.

[0068] Since the frequency of ultrasound is large and the wavelength is short, the present embodiment can set up a number of piezoelectric composite materials to comprehensively detect the thermal expansion of the main shaft. The piezoelectric composite materials can be evenly arranged on the outer peripheral part of the main shaft. Of course, they can also be arranged according to the detection requirements, and the present embodiment does not limit this.

[0069] Step S20: performing beam synthesis on each of the acquisition results, and performing envelope processing on the synthesis results.

[0070] It is understandable that, since the present embodiment uses multiple piezoelectric composite materials for acquisition, the above-mentioned processor can first perform beam synthesis on the acquisition results fed back by each piezoelectric composite material. During beam synthesis, in order to improve the accuracy of synthesis, the present embodiment can first determine the projection position of each piezoelectric composite material on the main axis based on the setting position, and set the beam diagram with the main axis as the base map according to each projection position combined with the acquisition results, that is, draw the beam diagram of each piezoelectric composite material with the main axis as the base map respectively;

[0071] Then, because the main axis will have ultrasonic reflections from different piezoelectric composite materials at the same position, the processor can first integrate the beam patterns to determine the beam pattern of the entire main axis, and then divide the beam pattern into grids, where the number of networks is positively correlated with the number of piezoelectric composite materials. The more piezoelectric composite materials there are, the more grids there are. For example, 3 piezoelectric composite materials can be divided into 30 grids, with every 10 grids corresponding to one piezoelectric composite material, and 5 piezoelectric composite materials can be divided into 50 grids, etc.

[0072] The beam patterns in each network are weighted averaged, and the beam pattern in the network after weighted average is used as the final beam pattern. Finally, the beam patterns in all grids are spliced ​​to obtain the final beam pattern of the main axis to complete the beam synthesis operation.

[0073] After the beam synthesis operation is completed, the processor may perform envelope processing on the synthesis result according to a preset threshold, that is, extract the envelope for the portion above the preset threshold and remove the portion below the preset threshold, thereby obtaining a contour image about the main axis. The specific preset threshold may be set according to actual conditions, and this embodiment does not limit this.

[0074] Step S30: generating a contour image of the spindle based on the processing result, and performing thermal elongation detection on the spindle based on the contour image.

[0075] It should be understood that after obtaining the contour image of the main shaft, the deformation of the main shaft can be determined based on the contour image, and the deformation can be used as the thermal elongation test result.

[0076] Further, in order to facilitate subsequent compensation, in this embodiment, the above step S30 includes:

[0077] Step S31: performing thermal elongation detection based on the contour image and a preset standard contour image.

[0078] It should be noted that the preset standard contour image may be a contour image corresponding to the spindle when no thermal elongation occurs. In actual use, the processor may compare the obtained contour image with the preset standard contour image, determine the difference therebetween, and use the difference as the thermal elongation detection result.

[0079] Accordingly, after the above step S30, the following steps are further included:

[0080] Step S32: determining a compensation amount according to the detection result, and compensating the received processing data by using the compensation amount.

[0081] It is understandable that the compensation amount may be the amount of data for compensating for the effect of thermal elongation during processing. The processing data may be data for controlling spindle processing, such as tool path, workpiece position, etc. This embodiment does not limit this.

[0082] In a specific implementation, after receiving the processing data, the processor may compensate the processing data such as the tool path or the workpiece position according to the determined compensation amount, so that the workpiece obtained by processing according to the compensated processing data meets the expected requirements.

[0083] In this embodiment, a plurality of piezoelectric composite materials can be arranged on the periphery of the main shaft, and the main shaft is collected by ultrasonic waves generated by the piezoelectric composite materials, and then the collected results are subjected to beam synthesis and envelope processing to obtain the contour image of the main shaft, and finally the thermal elongation test is performed based on the contour image. Compared with the existing external laser detection which is easily disturbed by external light, this embodiment uses piezoelectric composite materials, thereby reducing the influence of external light and improving the accuracy of the test results.

[0084] At the same time, due to the existing need to perform thermal expansion detection when the host equipment is running idle, the material of the workpiece itself, the material of the tool, etc. in the actual processing process will affect the spindle expansion and contraction amount. This embodiment can detect the thermal expansion of the spindle in real time, thereby reducing errors, improving the accuracy of detection, and thus improving the processing quality.

[0085] refer to Figure 4 , Figure 4 It is a schematic flow chart of the second embodiment of the spindle thermal elongation detection method of the present invention.

[0086] Considering that there are scattering and other losses in the transmission and reception paths of ultrasonic waves, the intensity of the received ultrasonic waves decreases as the reception time increases. In order to reduce the impact of this phenomenon, Figure 4 As shown, in this embodiment, the above step S20 includes:

[0087] Step S21: performing time gain compensation on each of the acquisition results, and performing analog-to-digital conversion on each compensated acquisition result.

[0088] It should be noted that when performing time gain compensation, a time gain curve can be set in advance according to the attenuation characteristics of the ultrasound in the main axis. The time gain curve can reflect the gain compensation values ​​corresponding to the ultrasound at different times, and then the time gain compensation can be performed on each acquisition result through the time gain curve.

[0089] Furthermore, in order to improve the signal-to-noise ratio, in this embodiment, when performing time gain compensation, the processor may first convert each sampling result into a matrix form, wherein the rows in the matrix may represent different piezoelectric composite materials, and the columns may represent different time samples, to obtain a signal matrix; then singular value decomposition is performed on the signal matrix to obtain a left singular vector matrix, a right singular vector matrix, and a singular value diagonal matrix; then, the noise in the singular value diagonal matrix is ​​removed according to a preset threshold, and singular values ​​higher than the preset threshold are retained; and the signal matrix is ​​reconstructed according to the retained singular value diagonal matrix, the left singular vector matrix, and the right singular vector matrix;

[0090] After obtaining the reconstructed signal matrix, it can be subjected to wavelet transformation according to the preset wavelet cardinality function, and the noise part after wavelet transformation can be removed, wherein the removal method can be to set a noise threshold, and then perform inverse wavelet transformation on the removed result, and finally compensate according to the time gain curve through the inverse wavelet transformation result, thereby improving the accuracy of the result.

[0091] After time gain compensation, since what is processed is an analog signal, the processor may perform analog-to-digital conversion on the compensated acquisition result, which may be achieved by an analog-to-digital converter, etc., and this embodiment does not impose any limitation on this.

[0092] Step S22: performing beam synthesis on each acquisition result after analog-to-digital conversion, and demodulating the synthesis result;

[0093] Step S23: performing envelope processing on the demodulation result.

[0094] It can be understood that after the analog-to-digital conversion, the acquisition results can be beamformed, and the carrier can be removed through in-phase and quadrature (IQ) demodulation to extract the information about the spindle structure, and then filtered to remove noise to obtain baseband data; the baseband data is then enveloped to obtain the contour image of the spindle.

[0095] When generating a contour image based on the envelope processing result, the baseband data can be amplitude demodulated to obtain signal strength, and then the dynamic range of the signal strength is determined. Each signal strength is logarithmically compressed according to the dynamic range to adapt to the perception characteristics of the human eye; then the compressed intensity is mapped to the grayscale level to obtain the corresponding contour image.

[0096] Furthermore, since the piezoelectric composite materials are arranged at different positions in this embodiment, in order to make the acquisition results consistent, in this embodiment, the step of performing beam synthesis on the acquisition results after each analog-to-digital conversion includes:

[0097] Step S221: determining a preset focal distance corresponding to each of the piezoelectric composite materials, and determining a time delay difference corresponding to each of the piezoelectric composite materials based on each of the preset focal distances.

[0098] It should be emphasized that the above-mentioned specific process may be that before drawing the beam diagram of each piezoelectric composite material with the main axis as the base map, the above-mentioned processor may first determine the preset focal distance of each piezoelectric composite material; wherein the preset focal distance may be the distance between the piezoelectric composite material and the corresponding detection position, which may be directly obtained according to the installation position of the piezoelectric composite material and the position of the main axis.

[0099] After obtaining the preset focal distance of each piezoelectric composite material, the processor can obtain the time delay corresponding to each piezoelectric composite material as the time delay difference according to each preset focal distance and the speed at which the ultrasonic wave is transmitted therebetween.

[0100] Step S222: performing delay adjustment on each acquisition result after analog-to-digital conversion based on each of the delay differences, and performing beamforming on each adjusted acquisition result.

[0101] After obtaining the delay difference of each piezoelectric composite material, the corresponding acquisition results can be aligned in time according to the delay difference, and then the beam diagram of each piezoelectric composite material with the main axis as the base map is drawn according to the adjusted acquisition results, and finally beam synthesis is realized.

[0102] This embodiment can perform time gain compensation on each acquisition result, and perform analog-to-digital conversion on each compensated acquisition result, then determine the preset focal distance of each piezoelectric composite material, and determine the corresponding time delay difference based on the preset focal distance for time alignment, thereby making the acquired acquisition results more accurate and improving the accuracy of the results.

[0103] refer to Figure 5 , Figure 5 It is a schematic flow chart of the third embodiment of the spindle thermal elongation detection method of the present invention.

[0104] Since the temperature generated at different positions of the spindle may be different, which leads to different thermal expansion at different positions, in this embodiment, in order to set the position of the piezoelectric composite material more appropriately, a number of temperature sensors can be evenly installed on the periphery of the spindle before actual use, and at least three displacement sensors can be installed on the spindle, where the temperature sensor is used to detect the real-time temperature of the spindle, and the displacement sensor can be used to detect the thermal expansion of the spindle in the X direction, the thermal expansion in the Y direction, and the thermal expansion in the Z direction, respectively. The specific number of temperature sensors and displacement sensors is not limited in this embodiment. The specific process is as follows Figure 5 As shown, before the above step of obtaining the collection result, it also includes:

[0105] Step S01: obtaining the thermal elongation displacement of the spindle and the real-time temperature at the installation position of each temperature sensor, wherein the thermal elongation displacement is obtained by collecting data from each displacement sensor on the spindle.

[0106] It should be noted that the installation position of the above temperature sensor can be Figure 1The projection position of the setting position of the medium-pressure electric composite material on the main shaft. In a specific implementation, the above processor can first control the main shaft to rotate at a certain speed, and obtain the real-time temperature at each installation position through a temperature sensor, and obtain the thermal expansion in each direction through a displacement sensor, and then obtain the thermal expansion displacement of the main shaft as a whole according to the thermal expansion.

[0107] Step S02: determining the correlation coefficient between the thermal elongation displacement and each of the real-time temperatures;

[0108] Step S03: determining a target installation position based on each of the correlation coefficients, so that each of the piezoelectric composite materials is installed according to each of the target installation positions.

[0109] It is understandable that the above correlation coefficient may be a Pearson correlation coefficient, and of course may also be other coefficients used to reflect the degree of correlation. This embodiment uses the Pearson correlation coefficient for illustration.

[0110] In actual use, the above-mentioned processor can calculate the Pearson correlation coefficient of each group of temperature sensors according to the real-time temperature and thermal expansion displacement at each installation position, and then construct a correlation coefficient matrix based on each Pearson correlation coefficient. According to the correlation coefficient matrix, the target installation position can be determined, so that the piezoelectric composite material can be installed at the target installation position when the piezoelectric composite material is installed subsequently.

[0111] It should be emphasized that, since the position of the temperature sensor is fixed during one acquisition, the present embodiment can move each temperature sensor to the left or right by a certain step length during each acquisition, so that each position can obtain a corresponding Pearson correlation coefficient.

[0112] Furthermore, considering that the number of piezoelectric composite materials may be inconsistent with the number of temperature sensors, in order to more accurately determine the target installation position, in this embodiment, the step of determining the target installation position based on each of the correlation coefficients includes:

[0113] Step S031: sorting the correlation coefficients, and determining the installation quantity according to the sorting result and a preset correlation coefficient threshold;

[0114] Step S032: adjusting each of the installation positions based on the installation quantity, and using each adjusted installation position as a target installation position.

[0115] It should be understood that in this embodiment, after obtaining the various correlation coefficients, the processor may first sort the correlation coefficients, and then determine the number of correlation coefficients greater than a preset correlation coefficient threshold value according to the sorting result as the installation quantity.

[0116] For easier understanding, please refer to Figure 6 as well as Figure 7 To explain, Figure 6 This is a schematic diagram of the third embodiment of the spindle thermal elongation detection method of the present invention before adjustment. Figure 7 FIG. 1 is a schematic diagram of the third embodiment of the spindle thermal elongation detection method of the present invention after adjustment. Figure 6 As shown, if there are 8 installation positions, they are Figure 6 Among A1 to A8, you can first install a temperature sensor at each of these 8 installation positions, and after obtaining the corresponding correlation coefficients, sort them. If the sorting result is A8>A7>A5>A1>A3>A2>A6>A4, then if only A4 is not greater than the preset correlation coefficient threshold, then the A4 installation position will be eliminated, and the number of installations obtained will be 7.

[0117] Then, since A4 does not meet the requirements, after removing the position of A4, the remaining installation positions can be adjusted closer to A4, so that the installation distances between adjacent adjusted installation positions are the same, that is, Figure 7 A1', A2', A3', A5', A6' and A7' are selected, and the adjusted installation position is used as the target installation position, so that the piezoelectric composite material is installed at the target installation position. When the number of temperature sensors and piezoelectric composite materials is inconsistent, a more suitable installation position can be selected to install the piezoelectric composite material, thereby improving the accuracy of detection.

[0118] As another implementation method, the above-mentioned installation quantity can also be directly determined according to the number of piezoelectric composite materials that the user needs to install, that is, after sorting from large to small, the installation positions that need to be retained can be directly determined according to the installation quantity that needs to be installed, and after adjustment, they can be used as the above-mentioned target installation positions.

[0119] In addition, an embodiment of the present invention further proposes a storage medium, on which a spindle thermal elongation detection program is stored. When the spindle thermal elongation detection program is executed by a processor, the steps of the spindle thermal elongation detection method described above are implemented.

[0120] In addition, the present application also provides a computer program product, including a computer program, which implements the steps of the spindle thermal elongation detection method as described above when executed by a processor.

[0121] Since the beneficial effects of the computer program product provided in the present application are the same as the beneficial effects of the spindle thermal elongation detection method provided in the above-mentioned embodiment, they will not be described in detail here.

[0122] Reference Figure 8 , Figure 8 It is a structural block diagram of the first embodiment of the spindle thermal elongation detection device of the present invention.

[0123] like Figure 8As shown, the spindle thermal elongation detection device provided in the embodiment of the present invention includes:

[0124] The result acquisition module 801 is used to acquire the acquisition result, and the acquisition result is acquired by acquiring the main axis through the ultrasonic wave generated by each piezoelectric composite material;

[0125] A result processing module 802 is used to perform beam synthesis on each of the acquisition results and perform envelope processing on the synthesis results;

[0126] The thermal elongation detection module 803 is used to generate a contour image of the spindle based on the processing result, and perform thermal elongation detection on the spindle based on the contour image.

[0127] It should be noted that the above spindle thermal elongation detection device may also include a plurality of piezoelectric composite materials, wherein each piezoelectric composite material is arranged on the periphery of the spindle of the device.

[0128] In this embodiment, a plurality of piezoelectric composite materials can be arranged on the periphery of the main shaft, and the main shaft is collected by ultrasonic waves generated by the piezoelectric composite materials, and then the collected results are subjected to beam synthesis and envelope processing to obtain the contour image of the main shaft, and finally the thermal elongation test is performed based on the contour image. Compared with the existing external laser detection which is easily disturbed by external light, this embodiment uses piezoelectric composite materials, thereby reducing the influence of external light and improving the accuracy of the test results.

[0129] As an implementation manner, the thermal elongation detection module 803 is also used to perform thermal elongation detection based on the contour image and a preset standard contour image; determine a compensation amount according to the detection result, and compensate the received processing data by using the compensation amount.

[0130] Based on the first embodiment of the spindle thermal elongation detection device of the present invention, a second embodiment of the spindle thermal elongation detection device of the present invention is proposed.

[0131] In this embodiment, the result processing module 802 is also used to perform time gain compensation on each of the acquisition results, and perform analog-to-digital conversion on each compensated acquisition result; perform beam synthesis on each acquisition result after analog-to-digital conversion, and demodulate the synthesis result; and perform envelope processing on the demodulated result.

[0132] As an embodiment, the result processing module 802 is also used to determine the preset focal distance corresponding to each of the piezoelectric composite materials, and determine the delay difference corresponding to each of the piezoelectric composite materials based on the preset focal distances; based on the delay differences, delay adjustment is performed on each acquisition result after analog-to-digital conversion, and beam synthesis is performed on each adjusted acquisition result.

[0133] Based on the above-mentioned embodiments of the spindle thermal elongation detection device of the present invention, a third embodiment of the spindle thermal elongation detection device of the present invention is proposed.

[0134] In this embodiment, the result acquisition module 801 is also used to obtain the thermal elongation displacement of the main shaft and the real-time temperature at the installation position of each temperature sensor, the thermal elongation displacement is obtained by collecting the main shaft through each displacement sensor; determine the correlation coefficient between the thermal elongation displacement and each real-time temperature; determine the target installation position based on each correlation coefficient, so that each piezoelectric composite material is installed according to each target installation position.

[0135] It should be noted that the above spindle thermal elongation detection device may also include a plurality of temperature sensors and at least three displacement sensors, wherein each of the temperature sensors and each of the displacement sensors are arranged on the spindle.

[0136] As an implementation mode, the result acquisition module 801 is also used to sort the correlation coefficients and determine the installation quantity according to the sorting result and a preset correlation coefficient threshold; adjust the installation positions based on the installation quantity and use the adjusted installation positions as target installation positions.

[0137] Other embodiments or specific implementations of the spindle thermal elongation detection device of the present invention can refer to the above-mentioned method embodiments, which will not be described in detail here.

[0138] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or system including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or system. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or system including the element.

[0139] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.

[0140] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as a read-only memory / random access memory, a magnetic disk, or an optical disk), and includes a number of instructions for enabling a terminal device (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present invention.

[0141] The above are only preferred embodiments of the present invention, and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.

Claims

1. A spindle thermal elongation detection method, characterized in that: The method is applied to a machine tool with a plurality of piezoelectric composite materials, each of which is arranged on the periphery of a main shaft of the machine tool, and the method comprises: Acquiring a collection result, wherein the collection result is obtained by collecting the main axis through the ultrasonic wave generated by each piezoelectric composite material; Performing beam synthesis on each of the acquisition results, and performing envelope processing on the synthesis results; generating a contour image of the spindle based on the processing result, and performing a thermal elongation test on the spindle based on the contour image; The machine tool equipment further includes: a plurality of temperature sensors and at least three displacement sensors, each of the temperature sensors and each of the displacement sensors are arranged on the spindle, and before the step of obtaining the acquisition result, it also includes: Acquire the thermal elongation displacement of the spindle and the real-time temperature at the installation position of each temperature sensor, wherein the thermal elongation displacement is acquired by collecting data from each displacement sensor on the spindle; Determining the correlation coefficient between the thermal elongation displacement and each of the real-time temperatures; The target installation positions are determined based on the correlation coefficients, so that the piezoelectric composite materials are installed according to the target installation positions.

2. The method according to claim 1, characterized in that The step of performing beam synthesis on each of the acquisition results and performing envelope processing on the synthesis results comprises: Performing time gain compensation on each of the acquisition results, and performing analog-to-digital conversion on each of the compensated acquisition results; Perform beam synthesis on the acquisition results after each analog-to-digital conversion, and demodulate the synthesis results; The demodulation result is subjected to envelope processing.

3. The method according to claim 2, characterized in that The step of performing beam synthesis on each acquisition result after analog-to-digital conversion comprises: Determine a preset focal distance corresponding to each of the piezoelectric composite materials, and determine a time delay difference corresponding to each of the piezoelectric composite materials based on each of the preset focal distances; Based on the delay differences, delay adjustment is performed on each acquisition result after analog-to-digital conversion, and beam synthesis is performed on each adjusted acquisition result.

4. The method according to claim 1, characterized in that The step of determining the target installation position based on each of the correlation coefficients comprises: Sorting the correlation coefficients, and determining the number of installations according to the sorting result and a preset correlation coefficient threshold; The installation positions are adjusted based on the installation quantity, and the adjusted installation positions are used as target installation positions.

5. The method according to any one of claims 1 to 4, characterized in that The step of performing thermal elongation detection on the spindle based on the contour image comprises: Performing thermal elongation detection based on the contour image and a preset standard contour image; Accordingly, after the step of performing thermal elongation detection on the spindle based on the contour image, the method further includes: A compensation amount is determined according to the detection result, and the received processing data is compensated by the compensation amount.

6. A spindle thermal elongation detection device, characterized in that: The device comprises: A result acquisition module, used to acquire acquisition results, wherein the acquisition results are acquired by acquiring the main axis through ultrasonic waves generated by each piezoelectric composite material; A result processing module, used for performing beam synthesis on each of the acquisition results, and performing envelope processing on the synthesis results; a thermal elongation detection module, used for generating a contour image of the spindle based on the processing result, and performing thermal elongation detection on the spindle based on the contour image; The result acquisition module is also used to obtain the thermal elongation displacement of the main shaft and the real-time temperature at the installation position of each temperature sensor, the thermal elongation displacement is obtained by collecting the data of the main shaft by each displacement sensor; determine the correlation coefficient between the thermal elongation displacement and each real-time temperature; determine the target installation position based on each correlation coefficient, so that each piezoelectric composite material is installed according to each target installation position.

7. A storage medium, characterized in that: The storage medium stores a spindle thermal elongation detection program, and when the spindle thermal elongation detection program is executed by the processor, the spindle thermal elongation detection method according to any one of claims 1 to 5 is implemented.

8. A machine tool device, characterized in that: The machine tool equipment comprises: a spindle, a plurality of piezoelectric composite materials and a processing module with a memory and a processor, each of the piezoelectric composite materials is arranged on the periphery of the spindle, and each of the piezoelectric composite materials is connected to the processor; The piezoelectric composite material is used to collect information about the main shaft by generating ultrasonic waves and transmit the collected information to the processor; The processor is used to run a spindle thermal elongation detection program stored in the memory, wherein the spindle thermal elongation detection program is configured to implement the steps of the spindle thermal elongation detection method according to any one of claims 1 to 5.

9. A computer program product, characterized in that The computer program product comprises a computer program, and the computer program is executed by a processor to implement the steps of the spindle thermal elongation detection method according to any one of claims 1 to 5.