Active monitoring method and system for electric spindle displacement of CNC machine tools
By arranging sensors on the electric spindle of CNC machine tools and monitoring and optimization with intelligent visual devices, processing errors and faults caused by electric spindle displacement are solved, and the effect of precise displacement control and extended service life is achieved.
Patent Information
- Application Number
- CN202411144267.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-20
- Publication Date
- 2024-11-15
- Estimated Expiration
- 2044-08-20
AI Technical Summary
In the prior art, machining errors and fault problems caused by the displacement of the electric spindle of CNC machine tools affect machining accuracy and service life.
By arranging the first sensor and the second sensor on the electric spindle of the CNC machine tool, the displacement deviation is monitored in real time, and the sensor position information is identified using an intelligent visual device, triggering an alarm mechanism and performing position optimization, ensuring the precise position control of the electric spindle.
Significantly reduce machining errors, extend the service life of CNC machine tools, improve machining accuracy and production efficiency, and reduce failure rate.
Smart Images

Figure CN118664398B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of displacement monitoring technology, and in particular to the field of displacement monitoring of electric spindles of CNC machine tools, and specifically to a method and system for actively monitoring the displacement of electric spindles of CNC machine tools. Background Art
[0002] With the rapid development of the manufacturing industry, the requirements for the machining accuracy and efficiency of CNC machine tools are getting higher and higher. As a key component of CNC machine tools, the displacement control technology of the electric spindle has become a hot topic of research. The electric spindle displacement technology is widely used in various high-precision machining fields. Therefore, the accuracy and stability of the electric spindle displacement technology are crucial. Although the electric spindle displacement technology of CNC machine tools is constantly developing, there are still problems with the accuracy, stability and control performance of the electric spindle.
[0003] In summary, the prior art has a technical problem in which machining errors caused by the displacement of the electric spindle cause machine tool failures. Summary of the invention
[0004] Based on this, it is necessary to provide a method and system for actively monitoring the displacement of the electric spindle of a CNC machine tool to reduce processing errors and extend service life in response to the above technical problems.
[0005] In a first aspect, a method for actively monitoring the displacement of an electric spindle of a numerically controlled machine tool is provided, the method comprising: arranging a first sensor and a second sensor on the electric spindle of a target numerically controlled machine tool, wherein the first sensor is arranged on the machine spindle of the electric spindle of the target numerically controlled machine tool, and the second sensor is arranged on the spindle motor of the machine spindle; monitoring the real-time position deviation of the electric spindle of the target numerically controlled machine tool based on the first sensor and the second sensor, and generating a position deviation data set, wherein the position deviation data set includes first position sensing deviation data and / or second position sensing deviation data; activating an intelligent visual device based on the first position sensing deviation data and / or the second position sensing deviation data, and identifying and outputting first sensor position information and / or second sensor position information through the intelligent visual device; judging whether the first sensor position information and / or the second sensor position information are in a preset position; if not, triggering an alarm mechanism based on the first position sensing deviation data and / or the second position sensing deviation data, and generating a displacement alarm instruction; and optimizing the position of the machine spindle of the electric spindle of the target numerically controlled machine tool and / or the spindle motor of the machine spindle according to the displacement alarm instruction.
[0006] In a second aspect, a system for actively monitoring the displacement of an electric spindle of a CNC machine tool is provided, the system comprising: a sensor deployment module, the sensor deployment module being used to deploy a first sensor and a second sensor on the electric spindle of a target CNC machine tool, wherein the first sensor is deployed on the machine tool spindle of the electric spindle of the target CNC machine tool, and the second sensor is deployed on the spindle motor of the machine tool spindle; a position deviation data set generation module, the position deviation data set generation module being used to monitor the real-time position deviation of the electric spindle of the target CNC machine tool based on the first sensor and the second sensor, and generate a position deviation data set, the position deviation data set comprising first position sensing deviation data and / or second position sensing deviation data; an intelligent visual device activation module, the intelligent visual device activation module being used to activate a position deviation data set based on the first position sensing deviation data and / or the second position sensing deviation data. The first sensor position information and / or the second sensor position information are activated by the intelligent visual device, and the first sensor position information and / or the second sensor position information are identified and outputted by the intelligent visual device; a position information judgment module, the position information judgment module is used to judge whether the first sensor position information and / or the second sensor position information are in a preset position; a displacement alarm instruction module, the displacement alarm instruction module is used to trigger an alarm mechanism based on the first position sensor deviation data and / or the second position sensor deviation data if not, and generate a displacement alarm instruction; a position optimization module, the position optimization module is used to optimize the position of the machine tool spindle of the target CNC machine tool electric spindle and / or the spindle motor of the machine tool spindle according to the displacement alarm instruction.
[0007] According to a third aspect, a computer device is provided, comprising a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps according to the first aspect when executing the computer program.
[0008] According to a fourth aspect, a computer-readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the steps described in the first aspect are implemented.
[0009] The above-mentioned CNC machine tool electric spindle displacement active monitoring method and system adopts this method to solve the technical problem of machine tool failure caused by machining errors due to the displacement of the electric spindle in the prior art. By actively monitoring and adjusting the displacement of the electric spindle, the technical effect of reducing machining errors and extending the service life is achieved.
[0010] The above description is only an overview of the technical solution of the present application. In order to more clearly understand the technical means of the present application, it can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the present application more obvious and easy to understand, the specific implementation methods of the present application are listed below. BRIEF DESCRIPTION OF THE DRAWINGS
[0011] Figure 1 A schematic diagram of a flow chart of a method for actively monitoring the displacement of an electric spindle of a CNC machine tool in one embodiment;
[0012] Figure 2 A schematic diagram of a flow chart of position sensor deviation data judgment of a method for actively monitoring the displacement of an electric spindle of a CNC machine tool in an embodiment;
[0013] Figure 3 A structural block diagram of an active monitoring system for the displacement of an electric spindle of a CNC machine tool in one embodiment;
[0014] Figure 4 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment.
[0015] Explanation of the reference numerals: sensor deployment module 11 , position deviation data set generation module 12 , intelligent visual device activation module 13 , position information determination module 14 , displacement alarm instruction module 15 , position optimization module 16 . DETAILED DESCRIPTION
[0016] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0017] like Figure 1 As shown, the present application provides a method for actively monitoring the displacement of an electric spindle of a CNC machine tool, the method comprising:
[0018] Arrange a first sensor and a second sensor on the target CNC machine tool electric spindle, wherein the first sensor is arranged on the machine tool spindle of the target CNC machine tool electric spindle, and the second sensor is arranged on the spindle motor of the machine tool spindle;
[0019] The electric spindle of a CNC machine tool does contain two core components: the machine tool spindle and the spindle motor. The machine tool spindle is a key component for CNC machine tools to perform cutting processing. It is responsible for supporting the tool and transmitting cutting force. The spindle motor is the power source for driving the spindle to rotate. It uses a high-performance servo motor or a variable frequency motor and realizes high-speed and smooth rotation of the spindle through precise control algorithms. This application provides an active monitoring method for the displacement of the electric spindle of a CNC machine tool. By real-time monitoring and adjustment of the spindle displacement, the error in the machining process can be significantly reduced.
[0020] The first sensor and the second sensor are arranged on the target CNC machine tool electric spindle, which are respectively located on the machine tool spindle and the spindle motor, for real-time acquisition of the working status and performance data of the electric spindle. The first sensor and the second sensor include multiple sensor fusions, for acquiring real-time information of the machine tool spindle and the spindle motor. The first sensor is arranged on the machine tool spindle, and can directly monitor the operating status of the spindle. The second sensor is arranged on the spindle motor, and can monitor the operating status of the motor. Through the arrangement of these two sensors, comprehensive monitoring of the CNC machine tool electric spindle can be achieved. The arrangement of the first sensor and the second sensor on the target CNC machine tool electric spindle can improve the maintenance level and production efficiency of the CNC machine tool.
[0021] Acquire the spindle structure information and machine type information of the electric spindle of the target CNC machine tool;
[0022] Determine a first layout position based on the spindle structure information and the machine tool type information, wherein the first layout position is located at the machine tool spindle;
[0023] Acquire motor structure information and operating environment information of the spindle motor of the machine tool spindle;
[0024] Determine a second layout position based on the motor structure information and the operating environment information, wherein the second layout position is located at the spindle motor;
[0025] The first sensor is installed at the first layout position, and the second sensor is installed at the second layout position.
[0026] Obtain the spindle structure information and machine tool type information of the machine tool spindle, wherein the spindle structure information includes the spindle material, size, accuracy grade, cooling method, etc., and the machine tool type information refers to the purpose, processing range, control system type, etc. of the machine tool, which is obtained by consulting the technical documents and operation manual of the machine tool or by communicating with the machine tool manufacturer; determine the first layout position based on the spindle structure information and the machine tool type information, analyze the spindle structure information, determine the key parts of the spindle that are prone to wear, deformation or failure, consider the machine tool type information, understand the main forces and vibration types that the spindle may be subjected to during the processing of the machine tool, and determine the The best layout position of the first sensor is to select key points that can directly reflect the working status and performance of the spindle, such as the spindle bearing, the spindle end face, or the connection between the spindle and the tool; obtain the motor structure information and operating environment information of the spindle motor. The motor structure information includes the type, power, speed range, cooling method, etc. of the motor. The operating environment information describes the temperature, humidity, vibration, electromagnetic interference and other conditions when the motor is running. Analyze the motor structure information, determine the best layout position of the second sensor, and select key points that can directly reflect the operation of the motor, such as the motor bearing, the motor housing, or the connection between the motor and the spindle. Install the first sensor at the first layout position and the second sensor at the second layout position; ensure that the first sensor and the second sensor are respectively installed at the key positions of the target CNC machine tool electric spindle to achieve real-time monitoring and performance evaluation of the spindle and motor; help improve the maintenance efficiency of CNC machine tools, reduce the failure rate, and improve the overall processing quality and production efficiency.
[0027] Based on the first sensor and the second sensor, the real-time position deviation of the electric spindle of the target CNC machine tool is monitored to generate a position deviation data set, wherein the position deviation data set includes first position sensing deviation data and / or second position sensing deviation data;
[0028] After the first sensor and the second sensor are installed on the machine tool spindle and the spindle motor respectively, real-time monitoring and data collection are performed, the first sensor mainly collects information related to the position of the machine tool spindle, such as displacement, angle, etc.; the second sensor mainly collects information related to the position of the spindle motor, such as motor rotor position, speed, etc.; according to the collected data, the real-time position deviation of the target CNC machine tool electric spindle is calculated, and the position deviation can be obtained by comparing the actual position with the theoretical position or the expected position; the obtained position deviation data is organized into a data set, namely, a position deviation data set; the position deviation data set contains first position sensing deviation data and / or second position sensing deviation data, including the situation where only the first position deviation data exists, only the second position deviation data exists, and both the first position deviation data and the second position deviation data exist; by generating the position deviation data set, data support is provided for subsequent position deviation analysis and reduction of the failure rate of the machine tool.
[0029] Setting a first data sensing cycle of the first sensor based on an operation cycle of the machine tool spindle;
[0030] Setting a second data sensing period of the second sensor based on an operation period of the spindle motor;
[0031] According to the first data sensing cycle, starting the first sensor to perform real-time position monitoring on the machine tool spindle to obtain first position sensing information;
[0032] Traversing the first position sensor information and comparing it with the preset position information of the machine tool spindle, and generating the first position sensor deviation data according to the comparison result;
[0033] According to the second data sensing cycle, starting the second sensor to perform real-time position monitoring on the spindle motor to obtain second position sensing information;
[0034] Traversing and comparing the second position sensor information with the preset position information of the spindle motor, and generating the second position sensor deviation data according to the comparison result;
[0035] The first position sensor deviation data and the second position sensor deviation data are integrated to output the position deviation data set.
[0036] The first data sensing cycle of the first sensor is set based on the operating cycle of the machine tool spindle, and the operating cycle of the machine tool spindle and working characteristics, such as startup, acceleration, stable operation, deceleration, shutdown and other stages are analyzed. According to the operating cycle of the spindle and the required position monitoring accuracy, the data sensing cycle of the first sensor is set. The first data sensing cycle of the first sensor refers to a real-time monitoring cycle of a complete operation of the machine tool spindle; the operating cycle of the spindle motor is analyzed, and the characteristics of the spindle motor during startup, operation, load change, shutdown and other processes are considered. According to the operating cycle of the motor and position monitoring requirements, the data sensing cycle of the second sensor is set. Based on the above method, the data cycle of the second sensor includes obtaining the sensing cycle according to the operating status and monitoring requirements of the motor. According to the set first data sensing cycle, the first sensor is started at a fixed time to monitor the real-time position of the machine tool spindle. The first sensor collects the position information of the machine tool spindle within the sensing cycle, generates first position sensing information, traverses the collected first position sensing information, and compares it with the preset position information of the machine tool spindle. According to the comparison result, the first position sensing deviation data is calculated and generated, which is obtained by calculating the difference between the actual position and the preset position. According to the set second data sensing cycle, the second sensor is started at a fixed time to monitor the real-time position of the spindle motor. The second sensor collects the position information and related operating status data of the spindle motor in each sensing cycle to generate second position sensing information. The collected second position sensing information is traversed and compared with the preset position information of the spindle motor. According to the comparison result, the second position sensing deviation data is calculated and generated, and the generated first position sensing deviation data and the second position sensing deviation data are integrated to form a complete position deviation data set. By setting the data sensing cycle of the sensor according to the operating cycle of the machine tool spindle and the spindle motor, the accuracy and effectiveness of the monitoring data can be ensured. By comparing the real-time position sensing information with the preset position information, the position deviation can be discovered in time, providing an important basis for the maintenance and adjustment of the machine tool.
[0037] activating an intelligent visual device based on the first position sensor deviation data and / or the second position sensor deviation data, and identifying and outputting first sensor position information and / or second sensor position information through the intelligent visual device;
[0038] Based on the first position sensor deviation data and / or the second position sensor deviation data, the intelligent visual device is activated. After receiving the activation signal, the intelligent visual device will perform initialization operations, including turning on the camera, adjusting the focal length, setting the image resolution, etc., to ensure that the target area can be captured and displayed clearly and accurately. The intelligent visual device captures the real-time image of the first sensor and / or the second sensor through its camera, and uses image recognition technology to process and analyze the captured image to identify the specific position of the first sensor and the second sensor, identify the position information of the sensor, and output the first sensor position information and / or the second sensor position information through the intelligent visual device. In the above manner, the position information of the first sensor and the second sensor, as well as the relative position relationship with the machine tool spindle and the spindle motor, can be understood. This helps to discover and solve problems in a timely manner, and can also improve the efficiency and accuracy of maintenance.
[0039] like Figure 2 As shown, determining whether the first position sensor deviation data and / or the second position sensor deviation data is greater than or equal to a preset critical value;
[0040] If the first position sensor deviation data is greater than or equal to the preset critical value, the intelligent visual device is activated to identify the position offset of the machine tool spindle and the first sensor; if the machine tool spindle is not offset, the first sensor position information is output according to the first identification result;
[0041] If the second position sensor deviation data is greater than or equal to the preset critical value, the intelligent visual device is activated to identify the position offset of the spindle motor and the second sensor. If the spindle motor is not offset, the second sensor position information is output according to the second identification result.
[0042] The collected first position sensor deviation data and / or second position sensor deviation data are compared with a preset critical value, which is set by the staff based on the normal operating parameters, historical data and experience values of the machine tool to determine whether the deviation is within an acceptable range. If the first position sensor deviation data is greater than or equal to the preset critical value, it means that the machine tool spindle may have a position offset or other problems, and the system will automatically activate the intelligent visual device to further identify and confirm the position of the machine tool spindle and the first sensor; the intelligent visual device uses its camera and image processing technology to accurately identify the position of the machine tool spindle and the first sensor. This includes identifying whether the machine tool spindle has shifted and the specific position of the first sensor; if it is confirmed that the machine tool spindle has not shifted, it can be inferred that the first sensor itself has a position deviation, and the system will output the position information of the first sensor based on the first recognition result so that the maintenance personnel can quickly locate the problem and handle it; if the second position sensor deviation data is greater than or equal to the preset critical value, this indicates that there may be a position problem with the spindle motor; the intelligent visual device will identify whether the spindle motor has shifted and confirm the position of the second sensor. If the spindle motor has not shifted, there may be a problem with the position or performance of the second sensor. The system will output the position information of the second sensor based on the second recognition result for subsequent processing. In the above manner, it is possible to quickly and accurately identify whether there is a problem with the machine tool spindle, the spindle motor or the sensor itself, and output the corresponding position information. This greatly improves the efficiency and accuracy of fault diagnosis and provides strong support for the maintenance and optimization of machine tools.
[0043] Generate a first position point set based on the initial position, the running position, and the terminal position of the machine tool spindle;
[0044] Generate a second position point set based on the initial position, the running position, and the terminal position of the spindle motor;
[0045] Obtaining the intersection of the first position point set and the second position point set to generate a position intersection point set;
[0046] The intelligent visual device is arranged according to the position intersection set, and the intelligent visual device is a monitoring device capable of monitoring the machine tool spindle and the spindle motor.
[0047] The machine tool spindle position data is collected, including the initial position of the spindle, that is, the position at startup, key position points during operation, such as specific points passed or the position when performing specific tasks, and the terminal position, that is, the position at the end of the operation. According to the collected machine tool spindle position data, a set including these position points can be generated, that is, a first position point set, which reflects the position change of the machine tool spindle during operation; the second position point set of the spindle motor is generated in the same way as the above method; the first position point set and the second position point set are compared to find the intersection between the two. These intersection points are the common position points of the machine tool spindle and the spindle motor during operation. The obtained intersection points are sorted into a new set, namely the position intersection set. According to the operation characteristics and monitoring requirements of the machine tool spindle and the spindle motor, the monitoring range and accuracy requirements of the intelligent visual device are determined. According to the monitoring requirements, a suitable intelligent visual device is selected. The intelligent visual device has functions such as high-definition camera, real-time transmission, and image processing, so as to accurately monitor the position changes of the machine tool spindle and the spindle motor. According to the position intersection set, the layout position of the intelligent visual device is determined to ensure that the device can cover all important intersection positions, so as to comprehensively monitor the operation status of the machine tool spindle and the spindle motor. According to the operation position information of the machine tool spindle and the spindle motor, the intelligent visual device is accurately laid out to realize real-time monitoring and data analysis of key positions. This helps to improve the operation efficiency and stability of the machine tool, reduce the failure rate, and provide strong support for subsequent maintenance and management.
[0048] Determining whether the first sensor position information and / or the second sensor position information is at a preset position;
[0049] The position information of the first sensor and the second sensor is obtained from the activated intelligent visual device, and the preset position data is obtained as a reference. The sensor position information obtained from the intelligent visual device is compared with the preset position data. According to the judgment result, corresponding operations are performed. If the first sensor position information and / or the second sensor position information is in the preset position, the sensor position is correct.
[0050] If not, triggering an alarm mechanism based on the first position sensor deviation data and / or the second position sensor deviation data to generate a displacement alarm instruction;
[0051] If the comparison result shows that the sensor position information is not in the preset position, that is, the sensor position has deviated or shifted, the system will immediately trigger the alarm mechanism. After the alarm mechanism is triggered, the system will generate a displacement alarm instruction based on the collected first position sensor deviation data and / or second position sensor deviation data. This instruction contains specific information about the sensor position offset, such as offset, direction, etc., so that the operator can quickly understand the specific situation of the problem. Through the above method, an alarm is issued in time when the sensor position is offset, helping the operator to find and solve the problem in time, and ensuring the normal operation of the machine tool spindle and spindle motor.
[0052] If the first sensor position information and / or the second sensor position information is not at the preset position, generating abnormal response data;
[0053] Extracting the first sensor position information and / or the second sensor position information that are not at the preset position according to the abnormal response data, wherein the first sensor position information and / or the second sensor position information have a corresponding relationship with the first position sensing deviation data and / or the second position sensing deviation data;
[0054] The first position sensing deviation data and / or the second position sensing deviation data are deleted based on the first sensor position information and / or the second sensor position information that are not at the preset position.
[0055] When the system detects that the first sensor position information and / or the second sensor position information is not in the preset position, it will first generate abnormal response data, which records the abnormal situation of the sensor position information. Based on the abnormal response data, the first sensor position information and / or the second sensor position information that are not in the preset position are extracted. The position information has a corresponding relationship with the first position sensor deviation data and / or the second position sensor deviation data collected previously, so the corresponding sensor deviation data can be found through these position information; after determining the sensor position information that is not in the preset position, the system will delete the first position sensor deviation data and / or the second position sensor deviation data corresponding to these position information, because the sensor deviation data is obtained based on the abnormal sensor position information, so it no longer has reference value and may even be misleading. For example, the first sensor captures displacement data at the first sensor position. When there is a problem with the first sensor position, the corresponding first position sensor deviation data is no longer meaningful. The second sensor position is the same, so it needs to be deleted accordingly. Through the above method, the abnormal situation of sensor position information can be effectively handled, and decisions or operations based on erroneous sensor deviation data can be avoided, thereby improving the stability and reliability of the entire system.
[0056] The position of the machine tool spindle and / or the spindle motor of the machine tool spindle of the target CNC machine tool electric spindle is optimized according to the displacement alarm instruction.
[0057] Receive the displacement alarm instruction generated by the previous step, the displacement alarm instruction contains the specific information of the sensor position offset, indicating that the machine tool spindle or spindle motor may have a position problem; perform a detailed analysis of the data in the displacement alarm instruction. This includes determining the size, direction and possible causes of the offset, and formulating a position optimization plan, the position optimization plan includes adjusting the installation position of the machine tool spindle or spindle motor, calibrating the sensor, optimizing the control algorithm, etc. The goal of the position optimization plan is to return the machine tool spindle and spindle motor to the preset position to ensure machining accuracy and stability. According to the displacement alarm instruction, the position of the machine tool spindle and / or spindle motor of the target CNC machine tool electric spindle is optimized to ensure the normal operation and machining accuracy of the machine tool. This helps to improve the reliability and production efficiency of the machine tool and reduce the failure rate and maintenance cost.
[0058] Extract displacement data based on the displacement alarm instruction for analysis to generate displacement deviation direction information;
[0059] Tracing the source of the force in the direction of the deviation according to the displacement deviation direction information to determine the radial force source information and the axial force source information;
[0060] Calculating deviation information of the machine tool spindle and / or the spindle motor based on the displacement radial force source information and the displacement axial force source information;
[0061] The position of the machine tool spindle and / or the spindle motor is optimized according to the deviation information of the machine tool spindle and / or the spindle motor.
[0062] After receiving the displacement alarm instruction, the displacement data related to the displacement alarm instruction is extracted. The displacement data records the deviation between the actual position of the machine tool spindle or spindle motor and the preset position. The extracted displacement data is analyzed in detail, including the size of the deviation, speed, and change trend, etc. Based on the analysis results of the displacement data, the system generates displacement deviation direction information. This includes determining whether the displacement occurs radially or axially, and the specific direction of the deviation, and tracing the deviation direction force according to the displacement deviation direction information. This means finding out the specific force source that causes the displacement of the machine tool spindle or spindle motor. Through tracing analysis, the system determines the displacement radial force source information and the displacement axial force source information, and obtains which factors cause the position deviation of the machine tool spindle or spindle motor. Based on the displacement radial force source information and the displacement axial force source information, the system calculates the deviation information of the machine tool spindle and / or spindle motor, including the specific value of the deviation, the impact of the deviation on the performance of the machine tool, etc. According to the calculated deviation information, the position of the machine tool spindle and / or spindle motor is optimized. The optimization measures may include adjusting the machine tool structure, replacing the transmission components, etc. Based on the displacement alarm instruction, the position of the machine tool spindle and / or spindle motor is accurately optimized, thereby improving the stability and processing accuracy of the machine tool. The method solves the technical problem of machine tool failure caused by machining error due to the displacement of the electric spindle in the prior art. By actively monitoring and adjusting the displacement of the electric spindle, the technical effect of reducing machining errors and extending the service life is achieved.
[0063] In summary, the beneficial effects of this method include:
[0064] 1. Through active monitoring and real-time adjustment of spindle displacement, the error in the processing process can be significantly reduced and the product quality can be improved;
[0065] 2. By adjusting the electric spindle of CNC machine tools, it helps to reduce the failure rate of machine tools and extend their service life.
[0066] like Figure 3 As shown, the embodiment of the present application includes an active monitoring system for the displacement of an electric spindle of a CNC machine tool, and the system includes:
[0067] A sensor arrangement module 11, wherein the sensor arrangement module 11 is used to arrange a first sensor and a second sensor on the electric spindle of a target CNC machine tool, wherein the first sensor is arranged on the machine tool spindle of the electric spindle of the target CNC machine tool, and the second sensor is arranged on the spindle motor of the machine tool spindle;
[0068] A position deviation data set generating module 12, wherein the position deviation data set generating module 12 is used to monitor the real-time position deviation of the electric spindle of the target CNC machine tool based on the first sensor and the second sensor, and generate a position deviation data set, wherein the position deviation data set includes first position sensing deviation data and / or second position sensing deviation data;
[0069] An intelligent visual device activation module 13, the intelligent visual device activation module 13 is used to activate the intelligent visual device based on the first position sensor deviation data and / or the second position sensor deviation data, and recognize and output the first sensor position information and / or the second sensor position information through the intelligent visual device;
[0070] A position information determination module 14, the position information determination module 14 is used to determine whether the first sensor position information and / or the second sensor position information is at a preset position;
[0071] A displacement alarm instruction module 15, wherein the displacement alarm instruction module 15 is used to trigger an alarm mechanism based on the first position sensor deviation data and / or the second position sensor deviation data to generate a displacement alarm instruction if the position sensor deviation data is not in the state of the displacement alarm instruction;
[0072] The position optimization module 16 is used to optimize the position of the machine tool spindle and / or the spindle motor of the machine tool spindle of the target CNC machine tool electric spindle according to the displacement alarm instruction.
[0073] Furthermore, the embodiment of the present application also includes:
[0074] A machine tool spindle information acquisition module, the machine tool spindle information acquisition module is used to obtain the spindle structure information and machine tool type information of the machine tool spindle of the target CNC machine tool electric spindle;
[0075] A first layout position obtaining module, the first layout position obtaining module is used to determine a first layout position based on the spindle structure information and the machine tool type information, the first layout position is located at the machine tool spindle;
[0076] A spindle motor information module, the spindle motor information module is used to obtain motor structure information and operating environment information of the spindle motor of the machine tool spindle;
[0077] A second layout position obtaining module, the second layout position obtaining module is used to determine a second layout position based on the motor structure information and the operating environment information, the second layout position is located at the spindle motor;
[0078] A sensor installation module, wherein the sensor installation module is used to install the first sensor at the first layout position and to install the second sensor at the second layout position.
[0079] Furthermore, the embodiment of the present application also includes:
[0080] A first data sensing cycle setting module, the first data sensing cycle setting module is used to set a first data sensing cycle of the first sensor based on the operation cycle of the machine tool spindle;
[0081] a second data sensing cycle setting module, the second data sensing cycle setting module being used to set a second data sensing cycle of the second sensor based on an operation cycle of the spindle motor;
[0082] A real-time monitoring module, wherein the real-time monitoring module is used to start the first sensor to perform real-time position monitoring on the machine tool spindle according to the first data sensing cycle, and obtain first position sensing information;
[0083] An information comparison module, the information comparison module is used to traverse the first position sensor information and compare it with the preset position information of the machine tool spindle, and generate the first position sensor deviation data according to the comparison result;
[0084] a sensor information acquisition module, the sensor information acquisition module being used to start the second sensor to perform real-time position monitoring on the spindle motor according to the second data sensing cycle, and to acquire second position sensor information;
[0085] A position sensing deviation data generating module, the position sensing deviation data generating module is used to traverse the second position sensing information and compare it with the preset position information of the spindle motor, and generate the second position sensing deviation data according to the comparison result;
[0086] A position deviation data set output module is used to integrate the first position sensor deviation data and the second position sensor deviation data to output the position deviation data set.
[0087] Furthermore, the embodiment of the present application also includes:
[0088] A position sensor deviation data judgment module, wherein the position sensor deviation data judgment module is capable of judging whether the first position sensor deviation data and / or the second position sensor deviation data is greater than or equal to a preset critical value;
[0089] A position offset identification module, wherein if the first position sensor deviation data is greater than or equal to the preset critical value, the intelligent visual device is activated to identify the position offset of the machine tool spindle and the first sensor, and if the machine tool spindle is not offset, the first sensor position information is output according to the first identification result;
[0090] A sensor position information output module, wherein the sensor position information output module is used to activate the intelligent visual device to identify the position offset of the spindle motor and the second sensor if the second position sensor deviation data is greater than or equal to the preset critical value, and output the second sensor position information according to the second identification result if the spindle motor does not offset.
[0091] Furthermore, the embodiment of the present application also includes:
[0092] A first position point set acquisition module, the first position point set acquisition module is used to generate a first position point set based on the initial position, the running position, and the terminal position of the machine tool spindle;
[0093] A second position point set acquisition module, the second position point set acquisition module is used to generate a second position point set based on the initial position, the running position, and the terminal position of the spindle motor;
[0094] A position intersection point set obtaining module, the position intersection point set obtaining module is used to obtain the intersection of the first position point set and the second position point set to generate a position intersection point set;
[0095] An intelligent visual device layout module, wherein the intelligent visual device layout module is used to layout the intelligent visual device according to the position intersection set, and the intelligent visual device is a monitoring device capable of monitoring the machine tool spindle and the spindle motor.
[0096] Furthermore, the embodiment of the present application also includes:
[0097] an abnormal response data generating module, the abnormal response data generating module being configured to generate abnormal response data if the first sensor position information and / or the second sensor position information is not at the preset position;
[0098] a corresponding relationship obtaining module, the corresponding relationship obtaining module being used to extract the first sensor position information and / or the second sensor position information which are not in the preset position according to the abnormal response data, wherein the first sensor position information and / or the second sensor position information have a corresponding relationship with the first position sensing deviation data and / or the second position sensing deviation data;
[0099] A position sensing deviation data deletion module, wherein the position sensing deviation data deletion module is used to delete the first position sensing deviation data and / or the second position sensing deviation data based on the first sensor position information and / or the second sensor position information that are not at the preset position.
[0100] Furthermore, the embodiment of the present application also includes:
[0101] A displacement deviation direction information generating module, the displacement deviation direction information generating module is used to extract displacement data based on the displacement alarm instruction for analysis, and generate displacement deviation direction information;
[0102] A force source information determination module, the force source information determination module is used to trace the deviation direction force according to the displacement deviation direction information, and determine the displacement radial force source information and the displacement axial force source information;
[0103] A deviation information obtaining module, the deviation information obtaining module is used to calculate the deviation information of the machine tool spindle and / or the spindle motor based on the displacement radial force source information and the displacement axial force source information;
[0104] A position optimization module is used to optimize the position of the machine tool spindle and / or the spindle motor according to deviation information of the machine tool spindle and / or the spindle motor.
[0105] For a specific embodiment of a CNC machine tool electric spindle displacement active monitoring system, please refer to the embodiment of the CNC machine tool electric spindle displacement active monitoring method described above, which will not be repeated here. The above modules can be embedded in or independent of the processor in the computer device in hardware form, or can be stored in the memory of the computer device in software form, so that the processor can call and execute the operations corresponding to the above modules.
[0106] In one embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as follows: Figure 4 As shown. The computer device includes a processor, a memory and a network interface 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 news data and data such as time attenuation factors. 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, a method for actively monitoring the displacement of an electric spindle of a CNC machine tool is implemented.
[0107] Those skilled in the art will understand that Figure 4 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0108] In one embodiment, a computer device is provided, including a memory and a processor. The memory stores a computer program, and the processor implements the steps of a method for actively monitoring the displacement of an electric spindle of a CNC machine tool when executing the computer program.
[0109] 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 steps of the method for actively monitoring the displacement of an electric spindle of a CNC machine tool are implemented.
[0110] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0111] The above-mentioned embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent of the present application shall be subject to the attached claims.
Claims
1. A method for actively monitoring the displacement of an electric spindle of a CNC machine tool, characterized in that: The method comprises: Arrange a first sensor and a second sensor on the target CNC machine tool electric spindle, wherein the first sensor is arranged on the machine tool spindle of the target CNC machine tool electric spindle, and the second sensor is arranged on the spindle motor of the machine tool spindle; Based on the first sensor and the second sensor, the real-time position deviation of the electric spindle of the target CNC machine tool is monitored to generate a position deviation data set, wherein the position deviation data set includes first position sensing deviation data and / or second position sensing deviation data; activating an intelligent visual device based on the first position sensor deviation data and / or the second position sensor deviation data, and identifying and outputting first sensor position information and / or second sensor position information through the intelligent visual device; Determining whether the first sensor position information and / or the second sensor position information is at a preset position; If not, triggering an alarm mechanism based on the first position sensor deviation data and / or the second position sensor deviation data to generate a displacement alarm instruction; Optimizing the position of the machine tool spindle and / or the spindle motor of the machine tool spindle of the target CNC machine tool electric spindle according to the displacement alarm instruction; Wherein, based on the first position sensor deviation data and / or the second position sensor deviation data, an intelligent visual device is activated, and the first sensor position information and / or the second sensor position information are identified and output by the intelligent visual device, and the method includes: Determining whether the first position sensor deviation data and / or the second position sensor deviation data is greater than or equal to a preset critical value; If the first position sensor deviation data is greater than or equal to the preset critical value, the intelligent visual device is activated to identify the position offset of the machine tool spindle and the first sensor; if the machine tool spindle is not offset, the first sensor position information is output according to the first identification result; If the second position sensor deviation data is greater than or equal to the preset critical value, the intelligent visual device is activated to identify the position offset of the spindle motor and the second sensor, and if the spindle motor is not offset, the second sensor position information is output according to the second identification result; Wherein, the method for actively monitoring the displacement of the electric spindle of a CNC machine tool further comprises: Generate a first position point set based on the initial position, the running position, and the terminal position of the machine tool spindle; Generate a second position point set based on the initial position, the running position, and the terminal position of the spindle motor; Obtaining the intersection of the first position point set and the second position point set to generate a position intersection point set; The intelligent visual device is arranged according to the position intersection set, and the intelligent visual device is a monitoring device capable of monitoring the machine tool spindle and the spindle motor.
2. The method according to claim 1, characterized in that Arranging a first sensor and a second sensor on a target CNC machine tool electric spindle, the method comprising: Acquire the spindle structure information and machine type information of the electric spindle of the target CNC machine tool; Determine a first layout position based on the spindle structure information and the machine tool type information, wherein the first layout position is located at the machine tool spindle; Acquire motor structure information and operating environment information of the spindle motor of the machine tool spindle; Determine a second layout position based on the motor structure information and the operating environment information, wherein the second layout position is located at the spindle motor; The first sensor is installed at the first layout position, and the second sensor is installed at the second layout position.
3. The method according to claim 1, characterized in that Based on the first sensor and the second sensor monitoring the real-time position deviation of the electric spindle of the target CNC machine tool, a position deviation data set is generated, and the method includes: Setting a first data sensing cycle of the first sensor based on an operation cycle of the machine tool spindle; Setting a second data sensing period of the second sensor based on an operation period of the spindle motor; According to the first data sensing cycle, starting the first sensor to perform real-time position monitoring on the machine tool spindle to obtain first position sensing information; Traversing and comparing the first position sensor information with the preset position information of the machine tool spindle, and generating the first position sensor deviation data according to the comparison result; According to the second data sensing cycle, starting the second sensor to perform real-time position monitoring on the spindle motor to obtain second position sensing information; Traversing and comparing the second position sensor information with the preset position information of the spindle motor, and generating the second position sensor deviation data according to the comparison result; The first position sensor deviation data and the second position sensor deviation data are integrated to output the position deviation data set.
4. The method according to claim 1, characterized in that The method for actively monitoring the displacement of the electric spindle of a CNC machine tool also includes: If the first sensor position information and / or the second sensor position information is not at the preset position, generating abnormal response data; Extracting the first sensor position information and / or the second sensor position information that are not at the preset position according to the abnormal response data, wherein the first sensor position information and / or the second sensor position information have a corresponding relationship with the first position sensing deviation data and / or the second position sensing deviation data; The first position sensing deviation data and / or the second position sensing deviation data are deleted based on the first sensor position information and / or the second sensor position information that are not at the preset position.
5. The method according to claim 1, characterized in that The position of the machine tool spindle and / or the spindle motor of the machine tool spindle of the target CNC machine tool electric spindle is optimized according to the displacement alarm instruction, and the method includes: Extract displacement data based on the displacement alarm instruction for analysis to generate displacement deviation direction information; Tracing the source of the force in the direction of the deviation according to the displacement deviation direction information to determine the radial force source information and the axial force source information; Calculating deviation information of the machine tool spindle and / or the spindle motor based on the displacement radial force source information and the displacement axial force source information; The position of the machine tool spindle and / or the spindle motor is optimized according to the deviation information of the machine tool spindle and / or the spindle motor.
6. Active monitoring system for displacement of electric spindle of CNC machine tool, characterized in that: For executing the method according to any one of claims 1 to 5, the system comprises: A sensor arrangement module, the sensor arrangement module is used to arrange a first sensor and a second sensor on the electric spindle of a target CNC machine tool, wherein the first sensor is arranged on the machine tool spindle of the electric spindle of the target CNC machine tool, and the second sensor is arranged on the spindle motor of the machine tool spindle; A position deviation data set generation module, the position deviation data set generation module is used to monitor the real-time position deviation of the electric spindle of the target CNC machine tool based on the first sensor and the second sensor, and generate a position deviation data set, the position deviation data set including first position sensing deviation data and / or second position sensing deviation data; an intelligent visual device activation module, the intelligent visual device activation module being used to activate an intelligent visual device based on the first position sensor deviation data and / or the second position sensor deviation data, and to identify and output first sensor position information and / or second sensor position information through the intelligent visual device; A position information determination module, the position information determination module is used to determine whether the first sensor position information and / or the second sensor position information is at a preset position; A displacement alarm instruction module, wherein the displacement alarm instruction module is used for the position information judgment module. If the first sensor position information and / or the second sensor position information are not in a preset position, an alarm mechanism is triggered based on the first position sensor deviation data and / or the second position sensor deviation data to generate a displacement alarm instruction; A position optimization module is used to optimize the position of the machine tool spindle and / or the spindle motor of the machine tool spindle of the target CNC machine tool electric spindle according to the displacement alarm instruction.
7. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 5 are implemented.
8. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 5 are implemented.
