A CNC tool post control method, system, storage medium, and intelligent terminal
By installing a triaxial vibration sensor on the CNC tool post, vibration information is detected and simulated at the operator's handheld end, solving the problem of operators not checking the tool locking status in a timely manner, improving the timeliness of inspection and production efficiency, and reducing defects and waste.
Patent Information
- Application Number
- CN202310882162.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-07-18
- Publication Date
- 2026-03-06
- Estimated Expiration
- 2043-07-18
AI Technical Summary
In existing CNC tool holder systems, workers do not promptly observe the tool locking status, leading to product defects and material waste, slow inspection speed, and reduced production efficiency.
A triaxial vibration sensor is installed on each tool. By detecting the triaxial vibration signal, a first-level and a second-level warning threshold amplitude are set. When the vibration amplitude exceeds the threshold value, the machine is controlled to stop urgently. Simulated vibration information is displayed on the operator's handheld device to remind them of the tool's loose position. The warning threshold amplitude is adjusted in conjunction with the historical database to improve accuracy and flexibility.
It improves the timeliness of tool loosening inspection, reduces product quality problems and material waste, ensures smooth processing, reduces downtime, and improves production efficiency.
Smart Images

Figure CN116700147B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of CNC tool turrets, and more particularly to a CNC tool turret control method, system, storage medium, and intelligent terminal. Background Technology
[0002] With the booming development of the equipment manufacturing industry, CNC machine tools, as the mother machines of the equipment industry, are also developing rapidly and being used on a large scale. As an important supporting component of CNC lathes, the CNC tool post plays a pivotal role in CNC lathes, and its performance directly determines the relevant performance indicators of CNC lathes.
[0003] The rotary tool turret is a typical tool changer commonly used on CNC lathes. It typically uses a hydraulic or electrical system to automatically change tools. Depending on the machining requirements, it can be designed as a square, hexagonal, or disc-type turret, and can accommodate four, six, or more tools accordingly. The tool change action of the rotary tool turret can be divided into several steps, including turret lifting, turret indexing, and turret locking. Its operation is completed by commands issued by the CNC system.
[0004] The existing technology has the following problems: Since CNC tool holders are now completed by issuing instructions from the CNC system, the staff only observe from one side or even leave the observation area. Therefore, most of the time, the locking status of the tools on the tool holder is not observed. Inspection is only carried out when a problem occurs in the product, but by then it is too late. A large number of products have defects, resulting in material waste. Moreover, the inspection scope is large and the inspection speed is slow. Overall, it delays product production and there is still room for improvement. Summary of the Invention
[0005] To address the issue that most people don't observe the locking status of the tools on the tool holder, and only inspect when a product has a problem, which is often too late, results in numerous defective products, material waste, and slow inspection speed due to the large scope of inspection, this application provides a CNC tool holder control method, system, storage medium, and intelligent terminal.
[0006] In a first aspect, this application provides a CNC tool post control method, which adopts the following technical solution:
[0007] A CNC tool post control method includes:
[0008] After mounting a triaxial vibration sensor on each tool, the tool number and triaxial vibration signal are obtained;
[0009] Continue monitoring when the amplitude corresponding to the three-dimensional vibration signal is less than the preset first-level warning threshold amplitude;
[0010] When the amplitude of the three-dimensional vibration signal exceeds the critical amplitude of the first-level warning, the corresponding simulation area is found from the preset position database according to the tool number;
[0011] The corresponding equivalent vibration information is retrieved from the preset equivalent database based on the triaxial vibration signal;
[0012] The simulated area corresponding to the user's handheld device vibrates according to the equivalent vibration information;
[0013] When the amplitude of the three-dimensional vibration signal exceeds the preset level 2 warning threshold, the machine is controlled to stop urgently and vibrate in the simulated area corresponding to the user's handheld device according to the equivalent vibration information before the stop.
[0014] By adopting the above technical solution, vibration sensors installed on the cutting tool are used to detect vibrations and determine whether there is any looseness. When looseness is detected, the looseness signal is simulated on the handheld end of the operator's hand, thereby reminding the operator of the location of the loose cutting tool. This allows the operator to observe and pay attention in time, or even stop the machine for handling, improving the timeliness of inspection and reducing waste caused by poor product quality due to loose cutting tools.
[0015] Optionally, it also includes methods for setting the threshold range for Level 1 and Level 2 warnings, the methods of which include:
[0016] Obtain the input workpiece and machining programming information;
[0017] The machining scenario is simulated based on the workpiece and machining programming information;
[0018] Match the processing context with all historical processing contexts stored in the preset historical database;
[0019] When the two do not match, the preset standard first-level warning threshold is used as the first-level warning threshold for output, and the preset standard second-level warning threshold is used as the second-level warning threshold for output.
[0020] When the two are successfully matched, the corresponding historical first-level warning threshold is retrieved from the historical database based on the historical processing context of the successful match and output as the first-level warning threshold, and the historical second-level warning threshold is output as the second-level warning threshold.
[0021] When the amplitude corresponding to the three-dimensional vibration signal is greater than the historical first-level warning threshold amplitude, the user's adjustment action is obtained;
[0022] When no user adjustment action is obtained, the sum of the historical first-level warning threshold amplitude and the preset increase threshold amplitude is calculated, and this sum is defined as the increase first-level warning threshold amplitude. The user adjustment action is then obtained when the amplitude corresponding to the three-dimensional vibration signal is greater than the increase first-level warning threshold amplitude.
[0023] When a user's adjustment action is detected, the historical level 1 warning threshold or the threshold for raising the level 1 warning is output as the level 1 warning threshold and used as the historical level 1 warning threshold to update the historical database.
[0024] The user's power-on action is obtained when the amplitude corresponding to the three-dimensional vibration signal is greater than the historical level 2 warning threshold amplitude;
[0025] When there is no user adjustment action but there is a user power-on action, calculate the sum of the historical level 2 warning threshold amplitude and the increase threshold amplitude, define the sum as the level 2 warning threshold amplitude, and continue to obtain user adjustment actions when the amplitude corresponding to the three-dimensional vibration signal is greater than the level 2 warning threshold amplitude.
[0026] When there is a user adjustment action but no user power-on action, the historical level 2 warning threshold or the increased level 2 warning threshold is output as the level 2 warning threshold and used as the historical level 2 warning threshold to update the historical database.
[0027] By adopting the above technical solution and combining the values in the historical database with the feedback from staff, the critical ranges for Level 1 warning and Level 2 warning are reasonably set, thereby improving the accuracy and rationality of vibration alarms.
[0028] Optionally, when the two do not match, the method of outputting the standard level 1 warning threshold as the level 1 warning threshold and the standard level 2 warning threshold as the level 2 warning threshold includes:
[0029] After analyzing the processing context and historical processing context, the identical and different content is identified.
[0030] Different categories are determined based on different content;
[0031] Based on the distinguishing categories, the corresponding degree of influence is retrieved from the preset influence database;
[0032] When the level of impact is the preset level of no impact, the different contents are updated according to the corresponding contents in the historical processing context, and the processing context and historical processing context are re-analyzed.
[0033] When the impact level is the preset full impact level, the standard level 1 warning threshold is used as the level 1 warning threshold for output, and the standard level 2 warning threshold is used as the level 2 warning threshold for output;
[0034] When the degree of impact is the preset graded degree of impact, the actual degree of impact is determined based on different content and graded degree of impact;
[0035] When the actual impact is no, the different contents will be updated according to the corresponding contents in the historical processing context, and the processing context and historical processing context will be re-analyzed.
[0036] When the actual impact level is the full impact level, the standard level 1 warning threshold is used as the level 1 warning threshold for output, and the standard level 2 warning threshold is used as the level 2 warning threshold for output.
[0037] By adopting the above technical solution, when the scenario is not in the historical database and the different parts are irrelevant, while the remaining identical parts are the same as a historical scenario in the historical database, the system can be set according to the corresponding historical processing scenario, thus improving the system's flexibility and adaptability to new processing scenarios.
[0038] Optionally, a method for verifying triaxial vibration signals is also included, which includes:
[0039] The numbered processing time, built-in three-dimensional vibration signal, and other numbered three-dimensional vibration signals are determined based on the processing situation and tool number;
[0040] When the processing time falls within the numbered processing time, a triaxial vibration signal is acquired. The triaxial vibration signal is subtracted from the built-in triaxial vibration signal to obtain the working triaxial vibration signal.
[0041] A triaxial vibration signal is acquired when it does not fall within the numbered processing time. The triaxial vibration signal is subtracted from the corresponding triaxial vibration signals of other numbers to obtain the non-working triaxial vibration signal.
[0042] When there is no working three-dimensional vibration signal, the tool number is defined as the locking tool number;
[0043] When the machining time corresponding to the locking tool number is within the specified time and there is a corresponding non-working triaxial vibration signal for a tool number other than the locking tool number, the non-working triaxial vibration signal will be output as the triaxial vibration signal corresponding to the tool number other than the locking tool number.
[0044] By adopting the above technical solution, the triaxial vibration information is reflected as its own automatic signal rather than vibration generated by the working process, thus improving the accuracy of the triaxial vibration signal.
[0045] Optionally, methods for controlling the machine to stop urgently when the amplitude of the three-dimensional vibration signal corresponding to a tool number other than the locking tool number exceeds the secondary warning critical amplitude include:
[0046] The tool number other than the locking tool number whose amplitude is greater than the second-level warning critical amplitude corresponding to the three-dimensional vibration signal is defined as the loosening tool number, and the processing time corresponding to the loosening tool number is defined as the loosening processing time;
[0047] Get the current time within the processing time specified by the number;
[0048] The time span is calculated based on the loosening processing time and the current time;
[0049] The machine is controlled to stop urgently when the time span is negative;
[0050] When the time span is positive, vibration is performed on the simulated area corresponding to the user's handheld device starting from the current time, based on the equivalent vibration information before shutdown.
[0051] Control the machine to shut down urgently during the time span from the current time.
[0052] By adopting the above technical solution, once it is known which tool is loose, the machine can be stopped before the loose tool is about to be used, so that the previous work can still be carried out. After stopping for maintenance, the previous operation can be quickly resumed without delaying the processing cycle, thus improving the smoothness of the processing work. In addition, a certain amount of maintenance time is reserved for the staff. As long as maintenance is carried out before the working time of the loose tool, the entire work can be carried out without stopping, thus improving the smoothness of the processing work.
[0053] Optionally, methods for initiating vibration in the simulated area corresponding to the user's handheld device starting from the current time include:
[0054] Start timing from the current time to obtain the cumulative elapsed time;
[0055] The degree of closeness is calculated based on the time span and the cumulative elapsed time;
[0056] The alert amplitude is calculated based on the degree of proximity and equivalent vibration information;
[0057] Starting from the current time, the simulated area corresponding to the user's handheld device will vibrate according to the reminder amplitude and obtain feedback information;
[0058] When the feedback information is the preset resolved information, the non-working triaxial vibration signal is reacquired;
[0059] The vibration stops when the newly acquired non-working triaxial vibration signal is 0, and resumes operation over the time span from the current time.
[0060] By adopting the above technical solution, the vibration amplitude is continuously increased as the shutdown time approaches, thereby prompting staff to carry out timely maintenance and increasing their vigilance regarding maintenance work.
[0061] Optionally, methods for vibrating the simulated area corresponding to the user's handheld device according to the alert amplitude starting from the current time include:
[0062] Obtain the actual vibration curves in each direction when vibrating according to the suggested amplitude;
[0063] Determine the peak and trough values based on the actual vibration curve;
[0064] The difference between the absolute values of the peak and trough values is calculated and defined as the habit deviation.
[0065] If the habit deviation is less than the preset allowable threshold, the simulated area corresponding to the user's handheld device will vibrate according to the reminder amplitude starting from the current time;
[0066] When the habit deviation exceeds the allowable threshold, the corresponding light intensity and audio amplitude are retrieved from the preset scheme database based on the reminder amplitude;
[0067] The analog area corresponding to the handheld device will flash according to the light intensity, and an alarm sound corresponding to the audio amplitude will be emitted from the handheld device.
[0068] By adopting the above technical solution, if the user does not go for maintenance after the current time, it is determined whether the staff is still in contact with the handheld device to determine whether the vibration reminder is effective. If the vibration reminder is ineffective, sound and light are used to remind the user, which improves the diversity of maintenance reminders.
[0069] Secondly, this application provides a CNC tool post control system, which adopts the following technical solution:
[0070] A CNC tool post control system, comprising:
[0071] The acquisition module is used to acquire tool number, three-dimensional vibration signal, workpiece being machined, machining programming information, current time and actual vibration curve;
[0072] The memory is used to store the program of the control method for any of the above-mentioned CNC tool post control methods;
[0073] A control method in which the program in the processor and memory can be loaded and executed by the processor to implement any of the above-mentioned CNC tool holder control methods.
[0074] By adopting the above technical solution, vibration sensors installed on the cutting tool are used to detect vibrations and determine whether there is any looseness. When looseness is detected, the looseness signal is simulated on the handheld end of the operator's hand, thereby reminding the operator of the location of the loose cutting tool. This allows the operator to observe and pay attention in time, or even stop the machine for handling, improving the timeliness of inspection and reducing waste caused by poor product quality due to loose cutting tools.
[0075] Thirdly, this application provides a smart terminal, which adopts the following technical solution:
[0076] The intelligent terminal includes a memory and a processor. The memory stores a computer program that can be loaded by the processor and executed by any of the above-mentioned CNC tool holder control methods.
[0077] By adopting the above technical solution, vibration sensors installed on the cutting tool are used to detect vibrations and determine whether there is any looseness. When looseness is detected, the looseness signal is simulated on the handheld end of the operator's hand, thereby reminding the operator of the location of the loose cutting tool. This allows the operator to observe and pay attention in time, or even stop the machine for handling, improving the timeliness of inspection and reducing waste caused by poor product quality due to loose cutting tools.
[0078] Fourthly, this application provides a computer storage medium capable of storing corresponding programs, featuring fast interaction with large amounts of memory.
[0079] Computer-readable storage media adopt the following technical solutions:
[0080] A computer-readable storage medium storing a computer program that can be loaded by a processor and executed by any of the above-described CNC tool post control methods.
[0081] By adopting the above technical solution, vibration sensors installed on the cutting tool are used to detect vibrations and determine whether there is any looseness. When looseness is detected, the looseness signal is simulated on the handheld end of the operator's hand, thereby reminding the operator of the location of the loose cutting tool. This allows the operator to observe and pay attention in time, or even stop the machine for handling, improving the timeliness of inspection and reducing waste caused by poor product quality due to loose cutting tools.
[0082] In summary, this application includes at least the following beneficial technical effects:
[0083] 1. By simulating a loose signal on the handheld end of the worker's hand, the worker is alerted to the location of the loose tool, making it easier for the worker to observe and pay attention in time, or even stop the machine to deal with it. This improves the timeliness of inspection and reduces waste caused by poor product quality due to loose tools.
[0084] 2. By combining historical data with staff feedback, the critical ranges for Level 1 warning and Level 2 warning were set reasonably, improving the accuracy and rationality of vibration alarms;
[0085] 3. Allowing workers sufficient maintenance time allows for the entire operation to continue without interruption, improving the smoothness of the processing. As long as maintenance is performed before the tool loosening time, the entire operation can proceed without stopping. Attached Figure Description
[0086] Figure 1 This is a flowchart of a CNC tool post control method in an embodiment of this application.
[0087] Figure 2 This is a flowchart illustrating the method for setting the first-level warning threshold and the second-level warning threshold in the embodiments of this application.
[0088] Figure 3 This is a flowchart illustrating how, in the embodiments of this application, when the two do not match, the standard first-level warning threshold is used as the first-level warning threshold for output, and the standard second-level warning threshold is used as the second-level warning threshold for output.
[0089] Figure 4 This is a flowchart of the method for verifying the three-dimensional vibration signals in the embodiments of this application.
[0090] Figure 5 This is a flowchart illustrating a method for controlling an emergency machine shutdown when the amplitude of the three-dimensional vibration signal corresponding to a tool number other than the locking tool number exceeds the secondary warning threshold amplitude, according to an embodiment of this application.
[0091] Figure 6 This is a flowchart of a method for vibrating a simulated area corresponding to the user's handheld device starting from the current time, according to an embodiment of this application.
[0092] Figure 7 This is a flowchart of a method in this application embodiment for vibrating the simulated area corresponding to the user's handheld device according to the reminder amplitude, starting from the current time.
[0093] Figure 8 This is a system module diagram of a CNC tool post control method according to an embodiment of this application. Detailed Implementation
[0094] To make the purpose, technical solution, and advantages of this application clearer, the following description is provided in conjunction with the appendix. Figure 1-8 The present application will be further described in detail below with reference to embodiments. It should be understood that the specific embodiments described herein are for illustrative purposes only and are not intended to limit the scope of the application.
[0095] This application discloses a CNC tool post control method. (Refer to...) Figure 1 A CNC tool post control method includes:
[0096] Step 100: After installing a triaxial vibration sensor on each tool, obtain the tool number and triaxial vibration signal.
[0097] The tool number is the tool's serial number, edited by those skilled in the art according to the tool's usage sequence, or it can use a professional CNC tool number. The purpose of setting the number is primarily to identify the tool's position. Generally, the tools are installed clockwise or counter-clockwise according to their usage sequence, so that each use only requires rotating them clockwise or counter-clockwise. The triaxial vibration signal indicates the vibration on the tool corresponding to the tool number. It is acquired by a triaxial vibration sensor.
[0098] Step 101: Continue monitoring when the amplitude corresponding to the three-dimensional vibration signal is less than the preset first-level warning threshold amplitude.
[0099] The first-level warning threshold amplitude is a manually set threshold value. A value less than this indicates no vibration or negligible vibration, while a value greater than this indicates potential tool loosening. This threshold is set by professionals in the field based on their experience. The amplitude corresponding to the three-dimensional vibration signal is the span between the maximum and minimum values during the vibration process.
[0100] When the amplitude of the three-dimensional vibration signal is less than the critical amplitude of the first-level warning, it means that the current vibration has no or little impact on the tool operation, and no other actions need to be taken to continue working.
[0101] Step 102: When the amplitude of the three-dimensional vibration signal is greater than the first-level warning critical amplitude, the corresponding simulation area is found from the preset position database according to the tool number.
[0102] The simulated area is the region where the tool number can be represented by its corresponding tool number on the operator's handheld device. This allows the operator to immediately identify which tool number is malfunctioning when simulated vibration is performed within this area. The database stores the mapping relationship between tool numbers and simulated areas, configured by operators based on actual installation conditions and their experience. When the system receives the corresponding tool number, it automatically retrieves the corresponding simulated area from the location database and outputs it. The handheld device can be the operator's mobile phone, a CNC controller, or any other instrument used to view CNC machine tool data.
[0103] Step 103: Find the corresponding equivalent vibration information from the preset equivalent database based on the triaxial vibration signal.
[0104] Equivalent vibration information refers to vibration information that can express a triaxial vibration signal. The database stores the mapping relationship between triaxial vibration signals and equivalent vibration information, which is set by those skilled in the art based on the force a person can withstand and their own experience. For example, if the vibration amplitude on the machine is 1 cm, the vibration amplitude on the worker's handheld device might be set to 0.5 cm or 0.2 cm. This can also be the vibration frequency; for example, if the machine's vibration amplitude is 1 cm, the vibration frequency on the worker's handheld device might be set to 0.5 times per second. When the system receives a corresponding triaxial vibration signal, it automatically retrieves the corresponding equivalent vibration information from the database and outputs it.
[0105] Step 104: Vibrate the simulated area corresponding to the user's handheld device according to the equivalent vibration information.
[0106] The equivalent vibration information here can be the vibration amplitude as described in step 103, or it can be frequency-based. It doesn't even have to be vibration here; it can be other expressions, such as light intensity.
[0107] Step 105: When the amplitude corresponding to the three-dimensional vibration signal is greater than the preset level 2 warning threshold amplitude, control the machine to stop urgently and vibrate in the simulated area corresponding to the user's handheld terminal according to the equivalent vibration information before the stop.
[0108] The level two warning threshold is a manually set threshold value. Values below this threshold indicate that although vibration is present, work can still proceed with minimal intervention and observation is possible. Values above this threshold indicate that the tool is loose and work is completely impossible; continued operation will damage the workpiece. This threshold is set by professionals in the field based on their experience.
[0109] The vibration here is there to alert staff to the problem.
[0110] Reference Figure 2 It also includes methods for setting the threshold range for Level 1 and Level 2 warnings, which include:
[0111] Step 200: Obtain the input workpiece and machining programming information.
[0112] The workpiece information refers to the part being machined using a CNC tool post, including its shape, size, thickness, and position on the CNC machine tool. The machining programming information includes the tool post's movement and working trajectory, including the tool's position, movement path, movement time, and other tool-related information.
[0113] Step 201: Simulate the machining scenario based on the workpiece and machining programming information.
[0114] The machining scenario refers to the process of the cutting tool moving forward and working on the workpiece. This can be simulated using a finite element method (FEM), which displays the tool's position, the workpiece's position, and its shape at every moment before, during, and after machining.
[0115] Step 202: Match the processing scenario with all the historical processing scenarios stored in the preset historical database.
[0116] The matching method here is to match each corresponding data item, which can divide all content into several categories, such as: tool movement trajectory, changes in the shape of the machined workpiece, etc. The historical database stores historical machining scenarios. After each machining operation is completed, the system stores the machining scenario and related content in the historical database for subsequent use.
[0117] Step 203: When the two do not match, output the preset standard level 1 warning threshold as the level 1 warning threshold, and output the preset standard level 2 warning threshold as the level 2 warning threshold.
[0118] The standard Level 1 warning critical amplitude is a standardized, fixed value applicable to the vast majority of vibrations. It is a value set by professionals in the field based on experience, and is generally a small number to ensure that any tool, regardless of its specifications, will be treated as vibrating if the value exceeds this threshold, without missing any actual vibrations. The standard Level 2 warning critical amplitude is also a standardized, fixed value, and will not be elaborated upon here. If the two values do not match, it indicates that the most recently used critical data cannot be found in the historical database, and the standard value must be used for output.
[0119] Step 204: When the two are successfully matched, the corresponding historical first-level warning threshold is retrieved from the historical database based on the historical processing scenario of the successful match and output as the first-level warning threshold, and the historical second-level warning threshold is output as the second-level warning threshold.
[0120] If a match is successful, it means there is a previous example, so the output can be based on the value of the previous example.
[0121] Step 205: Obtain the user's adjustment action when the amplitude corresponding to the three-dimensional vibration signal is greater than the historical first-level warning threshold amplitude.
[0122] User adjustment actions refer to actions taken by the user to maintain and adjust the machining tool after receiving the equivalent vibration information output from the user's handheld device. This can be done manually by inputting the information into the handheld device; that is, the user inputs a confirmation message after completing the maintenance or adjustment, which is then received by the system.
[0123] Step 206: If no user adjustment action is obtained, calculate the sum of the historical first-level warning critical amplitude and the preset increase critical amplitude, define the sum as the first-level warning increase critical amplitude, and continue to obtain user adjustment action when the amplitude corresponding to the three-dimensional vibration signal is greater than the first-level warning increase critical amplitude.
[0124] The threshold amplitude is a manually set increment. This increment should not be too large, as this would cause the increase to be too rapid. If no vibration is detected, it indicates that although the staff received the simulated vibration, they do not feel the need for adjustment after observation. Therefore, the threshold amplitude for the first-level warning should be increased, and then the system should wait until the three-dimensional vibration signal rises to the threshold amplitude for the first-level warning before reassessing whether the user will make adjustments or continue waiting.
[0125] Step 207: When a user's adjustment action is obtained, output the historical level 1 warning threshold or the threshold for increasing the level 1 warning as the level 1 warning threshold and update the historical database as the historical level 1 warning threshold.
[0126] When the user adjusts the action, it means that the user feels that the vibration has started to affect the workpiece and has taken certain measures. Therefore, it means that the warning line corresponding to the first-level warning critical amplitude has been reached, and this amplitude can be used as the first-level warning critical amplitude for output.
[0127] Step 208: Obtain the user's power-on action when the amplitude corresponding to the three-dimensional vibration signal is greater than the historical level 2 warning threshold amplitude.
[0128] The user's "starting the machine" action is the user's action to restart the machine after an emergency stop. The method of obtaining this information is the same as the user's adjustment action; both are obtained through input by staff.
[0129] Step 209: When there is no user adjustment action but there is a user power-on action, calculate the sum of the historical level 2 warning threshold amplitude and the increase threshold amplitude, define the sum as the level 2 warning threshold amplitude, and continue to obtain the user adjustment action when the amplitude corresponding to the three-dimensional vibration signal is greater than the level 2 warning threshold amplitude.
[0130] When there is no user adjustment action but there is a user power-on action, it means that the user did not perform maintenance but directly powered on the device. This indicates that the user felt that although the amplitude corresponding to the three-way vibration signal was greater than the historical level 2 warning threshold amplitude, it was still insufficient to indicate a situation where processing was not possible. Therefore, the level 2 warning threshold amplitude needs to be increased.
[0131] Step 210: When there is a user adjustment action but no user power-on action, output the historical level 2 warning threshold or the increased level 2 warning threshold as the level 2 warning threshold and update the historical database as the historical level 2 warning threshold.
[0132] When the amplitude corresponding to the three-dimensional vibration signal is greater than the historical level 2 warning critical amplitude, and the user has performed maintenance, it indicates that the vibration has affected the tool's operation. Therefore, the level 2 warning critical amplitude at this time is an accurate amplitude value, and can be output.
[0133] Reference Figure 3 When the two do not match, the method of outputting the standard level one warning threshold as the level one warning threshold and the standard level two warning threshold as the level two warning threshold includes:
[0134] Step 300: After analyzing the processing context and historical processing context, identify the same and different content.
[0135] Content that is identical in both the processing context and the historical processing context is considered identical. Content that is different in both the processing context and the historical processing context is considered different. The analysis here can be based on the textual expression; inconsistencies in textual expression are considered inconsistencies.
[0136] Step 301: Determine the distinct categories based on different content.
[0137] The distinction category is the category to which different content belongs. For example, the distinction category between processing a 10mm diameter hole and processing a 5mm diameter hole is the processing diameter.
[0138] Step 302: Based on the distinguishing categories, find the corresponding degree of influence from the preset influence database.
[0139] The degree of influence refers to the extent to which different categories affect vibration conditions. For example, the degree of influence of machining depth is considered a complete influence, while the degree of influence of machining position varies depending on the machining position. When two positions are different but have the same essential force relationship, it can be considered as having no influence. However, when two positions are different and have different force relationships, it is considered as having a complete influence. The database contains a mapping relationship between different categories and degrees of influence, which is obtained and stored in the database by professionals in the field based on their own experience and experimental measurements. When the system receives a corresponding category, it automatically retrieves the corresponding degree of influence from the database and outputs it.
[0140] Step 303: When the degree of influence is the preset no-influence level, update the different contents according to the corresponding contents in the historical processing context and re-analyze the processing context and historical processing context.
[0141] The "no impact" level is the level of having absolutely no impact, meaning that changes in the content corresponding to the distinction category will not affect the processing context. When the impact level is the preset "no impact" level, it means that the distinction category does not affect the vibration situation, which also means that it can be ignored, and analysis can be performed as if the content were the same. Therefore, the different contents are updated according to the corresponding contents in the historical processing context, and the processing context and historical processing context are re-analyzed.
[0142] Step 304: When the impact level is the preset full impact level, output the standard level 1 warning threshold as the level 1 warning threshold, and output the standard level 2 warning threshold as the level 2 warning threshold.
[0143] When the level of influence is complete, it indicates that the current processing context is completely different from the historical processing context, and therefore cannot be analyzed according to the historical processing context.
[0144] Step 305: When the degree of influence is the preset graded degree of influence, determine the actual degree of influence based on different content and graded degree of influence.
[0145] The graded impact level refers to the degree of influence that varies depending on the circumstances. The actual impact level refers to the actual degree of influence, which is analyzed by searching a database. For example, if the database stores content corresponding to different categories, the actual impact level is the "complete impact" level; if the content corresponding to different categories is other, the actual impact level is the "no impact" level. The database is established by professionals in the field based on experience and analysis of real-world scenarios. When the system receives different content, it automatically retrieves the corresponding actual impact level from the database and outputs it.
[0146] Step 306: When the actual impact level is no impact level, update the different contents according to the corresponding contents in the historical processing context and re-analyze the processing context and historical processing context.
[0147] This is the same as step 303, and will not be repeated here.
[0148] Step 307: When the actual impact level is the full impact level, output the standard level 1 warning threshold as the level 1 warning threshold, and output the standard level 2 warning threshold as the level 2 warning threshold.
[0149] This is the same as step 304, and will not be repeated here. When the actual degree of impact is found based on the distinguishing categories, it indicates that specific analysis is required for each specific situation, hence steps 306 and 307 are set.
[0150] Reference Figure 4 It also includes a method for verifying triaxial vibration signals, which includes:
[0151] Step 400: Determine the numbered processing time, built-in three-dimensional vibration signal, and other numbered three-dimensional vibration signals based on the processing situation and tool number.
[0152] The processing time for each tool number is the time period during which the tool corresponding to that tool number performs processing, including the start and end times. The inherent triaxial vibration signal is the triaxial vibration signal caused by the working process of the tool corresponding to that tool number. That is, even though the tool number is locked, some vibration will still occur due to compression or collision between the two during operation; this vibration is the inherent triaxial vibration signal. Other triaxial vibration signals occur when all tools are locked, but the tool number itself vibrates during operation, and this vibration is transmitted to other tool numbers, causing vibration; therefore, this vibration is the other triaxial vibration signal. Since the vibration signal is expressed by the distance traveled, it can be determined using finite element analysis. Alternatively, the processing scenario can be actually performed, and the vibration signals after all tools are locked can be measured, stored in a database, and then retrieved from the database.
[0153] Step 401: When the processing time falls within the numbered processing time, acquire the triaxial vibration signal, and subtract the triaxial vibration signal from the built-in triaxial vibration signal to obtain the working triaxial vibration signal.
[0154] The working triaxial vibration signal is the vibration signal generated by tool loosening, in addition to the inherent triaxial vibration signal, when the tool corresponding to the tool number is working. This triaxial vibration signal may include not only vibration caused by the working process but also additional vibration caused by tool loosening. Therefore, after removing the vibration caused by the working process, the remaining signal is the additional vibration caused by tool loosening. The correlation between the working amplitude and the tool loosening vibration does not need to be considered here, because the working amplitude is inevitable and must be reached; therefore, the overall vibration amplitude will inevitably be reached, and the tool's own vibration will also be affected by the working amplitude.
[0155] Step 402: Obtain the triaxial vibration signal when it does not fall within the numbered processing time, and subtract the triaxial vibration signal from the corresponding other numbered triaxial vibration signals to obtain the non-working triaxial vibration signal.
[0156] The non-working triaxial vibration signal is the vibration signal generated by the tool corresponding to the selected tool number when another tool number is working, excluding the triaxial vibration signals of other tool numbers, due to tool loosening. The calculation method is to subtract the triaxial vibration signals of other tool numbers from the triaxial vibration signal.
[0157] Step 403: When there is no working three-dimensional vibration signal, the tool number is defined as the locking tool number.
[0158] When there is no working three-dimensional vibration signal, it means that apart from the vibration caused by the work, there is no other vibration. Therefore, there is no vibration caused by tool loosening, so the tool is not loose and is in a locked state.
[0159] Step 404: When the number corresponding to the locking tool number is within the processing time and there is a corresponding non-working triaxial vibration signal for the tool number other than the locking tool number, output the non-working triaxial vibration signal as the triaxial vibration signal corresponding to the tool number other than the locking tool number.
[0160] Reference Figure 5 The methods for controlling the machine to stop urgently when the amplitude of the three-dimensional vibration signal corresponding to a tool number other than the locking tool number exceeds the second-level warning critical amplitude include:
[0161] Step 500: Define the tool number other than the locking tool number whose amplitude is greater than the second-level warning critical amplitude corresponding to the three-dimensional vibration signal as the loosening tool number, and define the number processing time corresponding to the loosening tool number as the loosening processing time.
[0162] Step 501: Obtain the current time within the processing time specified by the number.
[0163] The current time is the time when the tool corresponding to the locking tool number is currently working. The timing starts from this time mainly to find a reference.
[0164] Step 502: Calculate the time span based on the loosening processing time and the current time.
[0165] The time span is the length of time required from the current time to the start of the loosening process.
[0166] Step 503: Control the machine to stop urgently when the time span is negative.
[0167] When the time span is negative, it means that the tool corresponding to the loose tool number has been processed and a defective product has been produced. Therefore, in order to avoid unnecessary actions, the machine can be stopped immediately to reduce futile work.
[0168] Step 504: When the time span is positive, start vibrating from the current time according to the equivalent vibration information before shutdown in the simulated area corresponding to the user's handheld device.
[0169] The purpose of this vibration is to allow staff to observe whether the machine can be repaired in advance so that the entire workflow can continue.
[0170] Step 505: Control the machine to stop urgently during the time span from the current time.
[0171] If the loosening processing time is reached and the workers have not yet carried out repairs, the machine needs to be stopped immediately.
[0172] Reference Figure 6 Methods for initiating vibration in the simulated area corresponding to the user's handheld device starting from the current time include:
[0173] Step 600: Start timing from the current time to obtain the cumulative elapsed time.
[0174] The cumulative elapsed time is the length of time that has accumulated since the current time.
[0175] Step 601: Calculate the degree of closeness based on the time span and the cumulative elapsed time.
[0176] The degree of proximity refers to the degree of proximity to the start of the loosening process. It is calculated by subtracting the cumulative elapsed time from the time span and then dividing by the time span.
[0177] Step 602: Calculate the alert amplitude based on the proximity and equivalent vibration information.
[0178] The alert amplitude is an information indicating the approaching time, based on equivalent vibration information. This alert amplitude gradually increases with time to create a sense of urgency for the staff. The calculation method can be either multiplying the approach level by the value in the equivalent vibration information, or adding a preset 50% to the approach level and then multiplying by the equivalent vibration information value. The latter aims to increase the vibration amplitude and provide an initial vibration for faster alerting of the staff.
[0179] Step 603: Starting from the current time, vibrate the simulated area corresponding to the user's handheld device according to the reminder amplitude and obtain feedback information.
[0180] The feedback information is the information entered by the staff on the handheld device after performing maintenance according to the reminder information.
[0181] Step 604: If the feedback information is the preset resolved information, reacquire the non-working triaxial vibration signal.
[0182] The resolved information indicates that the tool corresponding to the tool number in the simulated area has been repaired and tightened. The purpose of re-acquiring this information is to verify whether the operator's actions truly repaired the tool corresponding to the loose tool number.
[0183] Step 605: Stop vibration when the newly acquired non-working triaxial vibration signal is 0, and continue working for the next time span.
[0184] When the non-working three-dimensional vibration signal is 0 again, it means that the tool corresponding to the loose tool number is really locked, so it can be used when the corresponding working time comes.
[0185] Reference Figure 7 Methods for vibrating the simulated area corresponding to the user's handheld device according to the alert amplitude, starting from the current time, include:
[0186] Step 700: Obtain the actual vibration curves in each direction when vibrating according to the suggested amplitude.
[0187] The actual vibration curve is the vibration curve plotted when the simulated area of the handheld device vibrates according to the specified amplitude. Here, the horizontal axis of the curve represents time, and the vertical axis represents the offset distance in three directions, with the origin at the position before vibration begins. This data is obtained from a three-dimensional vibration sensor installed on the handheld device.
[0188] Step 701: Determine the peak and trough values based on the actual vibration curve.
[0189] The peak value is the maximum value during vibration with a specific direction as the positive direction. The trough value is the minimum value in the same direction as the peak value. These values are determined by comparing the ordinate values of each point on the actual vibration curve to obtain the maximum and minimum values.
[0190] Step 702: Calculate the difference in absolute values between peak and trough values, and define this difference as habit deviation.
[0191] Consistency bias is the deviation between the amplitudes corresponding to peak and trough values. It is calculated by subtracting the absolute value of the trough value from the absolute value of the peak value. When the handheld device is in a free state, the peaks and troughs should be consistent.
[0192] Step 703: If the habit deviation is less than the preset allowable threshold, start vibrating in the simulated area corresponding to the user's handheld device according to the reminder amplitude from the current time.
[0193] The allowable threshold value is the allowable deviation value. This deviation is due to variations in the force applied to the handheld device by individual habits, resulting in different offset distances in the positive and negative directions of the vertical axis. Therefore, this value is set according to the operator's situation. A value less than this indicates that an operator is holding the device, but with insufficient force, leaving the handheld device almost in a free state.
[0194] Step 704: When the habit deviation exceeds the allowable threshold, retrieve the corresponding light intensity and audio amplitude from the preset scheme database based on the reminder amplitude.
[0195] The light intensity refers to the brightness of the light emitted from the screen of the handheld device. The audio amplitude refers to the frequency and amplitude of the sound emitted from the screen of the handheld device. The database stores the mapping relationship between the alert amplitude, light intensity, and audio amplitude, which is set by those skilled in the art based on their experience. For example, the maximum values for light intensity and audio amplitude are first set, and then the proportion of light intensity and audio amplitude within their respective maximum values is determined based on the proportion of the alert amplitude in the equivalent vibration information. When the system receives the corresponding alert amplitude, it automatically retrieves the corresponding light intensity and audio amplitude from the database and outputs them.
[0196] When the habit deviation exceeds the allowable threshold, it indicates that there is an obstruction other than a human hand blocking the vibration of the handheld device. Therefore, it is highly likely that the handheld device is placed on a table or other hard object and is not in the hands of the staff.
[0197] Step 705: Flash the corresponding analog area of the handheld device according to the light intensity and emit an alarm sound corresponding to the audio amplitude from the handheld device.
[0198] When the handheld device is not in the worker's hand, it means that the vibration does not affect the worker, so other methods are used, such as light and sound.
[0199] Based on the same inventive concept, embodiments of the present invention provide a CNC tool post control system.
[0200] Reference Figure 8 A CNC tool post control system, comprising:
[0201] The acquisition module is used to acquire tool number, three-dimensional vibration signal, workpiece being machined, machining programming information, current time and actual vibration curve;
[0202] A memory used to store the program of a control method for a CNC tool post control method;
[0203] A processor is a control method that allows a program in memory to be loaded and executed by the processor to implement a CNC tool holder control method.
[0204] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the above-described division of functional modules is used as an example. In practical applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above. The specific working process of the system, device, and unit described above can be referred to the corresponding process in the foregoing method embodiments, and will not be repeated here.
[0205] This invention provides a computer-readable storage medium storing a computer program that can be loaded by a processor and executed as a CNC tool post control method.
[0206] Computer storage media include, for example, USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, optical disks, and other media that can store program code.
[0207] Based on the same inventive concept, embodiments of the present invention provide a smart terminal, including a memory and a processor, wherein the memory stores a computer program that can be loaded and executed by the processor to provide a CNC tool holder control method.
[0208] The above are all preferred embodiments of this application and are not intended to limit the scope of protection of this application. Any feature disclosed in this specification (including the abstract and drawings) may be replaced by other equivalent or similar features unless specifically stated otherwise. That is, unless specifically stated otherwise, each feature is only one example of a series of equivalent or similar features.
Claims
1. A numerical control tool holder control method, characterized by, The method comprises the following steps: After loading a three-axis vibration sensor on each tool, the tool number and three-axis vibration signals are obtained; When the amplitude corresponding to the three-axis vibration signals is less than a preset first warning critical amplitude, the monitoring is continued; When the amplitude corresponding to the three-axis vibration signals is greater than the first warning critical amplitude, the corresponding simulation area is found from a preset position database according to the tool number; The corresponding equivalent vibration information is found from a preset equivalent database according to the three-axis vibration signals; The simulation area corresponding to the user's hand end is vibrated according to the equivalent vibration information; When the amplitude corresponding to the three-axis vibration signals is greater than a preset second warning critical amplitude, the machine is controlled to stop urgently and the simulation area corresponding to the user's hand end is vibrated according to the equivalent vibration information before the stop; The numerical control tool holder control method further comprises a setting method of the first warning critical amplitude and the second warning critical amplitude, which comprises the following steps: Obtaining input machining workpieces and machining programming information; Simulating a machining situation based on the machining workpieces and the machining programming information; Matching the machining situation with all the historical machining situations stored in a preset historical database; When the two are not matched, outputting the preset standard first warning critical amplitude as the first warning critical amplitude and outputting a preset standard second warning critical amplitude as the second warning critical amplitude; When the two are successfully matched, finding the corresponding historical first warning critical amplitude from the historical database based on the successfully matched historical machining situation and outputting the historical first warning critical amplitude as the first warning critical amplitude, and outputting the historical second warning critical amplitude as the second warning critical amplitude; When the amplitude corresponding to the three-axis vibration signals is greater than the historical first warning critical amplitude, obtaining user adjustment actions; When no user adjustment actions are obtained, calculating the sum of the historical first warning critical amplitude and a preset increase critical amplitude, defining the sum as an adjusted first warning critical amplitude and continuing to obtain user adjustment actions when the amplitude corresponding to the three-axis vibration signals is greater than the adjusted first warning critical amplitude; When user adjustment actions are obtained, outputting the historical first warning critical amplitude or the adjusted first warning critical amplitude as the first warning critical amplitude and updating the historical database with the first warning critical amplitude; When the amplitude corresponding to the three-axis vibration signals is greater than the historical second warning critical amplitude, obtaining user start actions; When there are no user adjustment actions but there are user start actions, calculating the sum of the historical second warning critical amplitude and the increase critical amplitude, defining the sum as an adjusted second warning critical amplitude and continuing to obtain user adjustment actions when the amplitude corresponding to the three-axis vibration signals is greater than the adjusted second warning critical amplitude; When there are user adjustment actions but there are no user start actions, outputting the historical second warning critical amplitude or the adjusted second warning critical amplitude as the second warning critical amplitude and updating the historical database with the second warning critical amplitude.
2. The method of claim 1, wherein, The method of outputting the standard first warning critical amplitude as the first warning critical amplitude and outputting the standard second warning critical amplitude as the second warning critical amplitude when the two are not matched comprises the following steps: Determine same content and different content after analyzing the processing context and the historical processing context; Determine a distinction category based on the different content; Find a corresponding influence degree from a preset influence database based on the distinction category; When the influence degree is a preset no influence degree, update the different content according to the corresponding content in the historical processing context and reanalyze the processing context and the historical processing context; When the influence degree is a preset complete influence degree, output the standard first-level warning critical amplitude as the first-level warning critical amplitude and output the standard second-level warning critical amplitude as the second-level warning critical amplitude; When the influence degree is a preset hierarchical influence degree, determine an actual influence degree based on the different content and the hierarchical influence degree; When the actual influence degree is a no influence degree, update the different content according to the corresponding content in the historical processing context and reanalyze the processing context and the historical processing context; When the actual influence degree is a complete influence degree, output the standard first-level warning critical amplitude as the first-level warning critical amplitude and output the standard second-level warning critical amplitude as the second-level warning critical amplitude.
3. The method of claim 1, wherein, The method also includes a three-way vibration signal checking method, which comprises: Determine the numbered processing time, the self-provided three-way vibration signal and other numbered three-way vibration signals according to the processing context and the tool number; When falling within the numbered processing time, obtain the three-way vibration signal, subtract the three-way vibration signal from the self-provided three-way vibration signal to obtain the working three-way vibration signal; When not falling within the numbered processing time, obtain the three-way vibration signal, subtract the three-way vibration signal from the corresponding other numbered three-way vibration signal to obtain the non-working three-way vibration signal; When there is no working three-way vibration signal, define the tool number as the locked tool number; When there is a non-working three-way vibration signal corresponding to the tool number other than the locked tool number within the numbered processing time corresponding to the locked tool number, output the non-working three-way vibration signal as the three-way vibration signal corresponding to the tool number other than the locked tool number.
4. The method of claim 3, wherein, The method for controlling the machine to stop urgently when the amplitude corresponding to the three-way vibration signal corresponding to the tool number other than the locked tool number is greater than the second-level warning critical amplitude comprises: Define the tool number other than the locked tool number corresponding to the amplitude greater than the second-level warning critical amplitude as the loose tool number, and define the numbered processing time corresponding to the loose tool number as the loose processing time; Obtain the current time falling within the numbered processing time; Calculate the time span according to the loose processing time and the current time; Control the machine to stop urgently when the time span is negative; When the time span is positive, vibrate the simulation area corresponding to the user's handheld end according to the equivalent vibration information before the stop from the current time; Control the machine to stop urgently when the current time goes back by the time span.
5. The method of claim 4, wherein, The method for vibrating the simulation area corresponding to the user's handheld end from the current time comprises: Count from the current time to obtain the cumulative elapsed time; Calculate the closeness according to the time span and the cumulative elapsed time; Calculate the reminding amplitude according to the closeness and the equivalent vibration information; vibrating the analog region corresponding to the handheld end of the user according to the reminding amplitude from the current time and obtaining feedback information; reacquiring the non-working three-way vibration signal when the feedback information is the preset solved information; stopping the vibration when the reacquired non-working three-way vibration signal is 0 and continuing to work at the time span after the current time.
6. The method of claim 5, wherein, The method for vibrating the analog region corresponding to the handheld end of the user according to the reminding amplitude from the current time comprises: obtaining the actual vibration curve in each direction when vibrating according to the reminding amplitude; determining the peak value and the trough value based on the actual vibration curve; calculating the absolute value difference according to the peak value and the trough value, and defining the difference as the habit deviation; vibrating the analog region corresponding to the handheld end of the user according to the reminding amplitude from the current time when the habit deviation is less than the preset allowable critical value; when the habit deviation is greater than the allowable critical value, finding out the corresponding light brightness and audio amplitude from the preset scheme database based on the reminding amplitude; flashing the analog region corresponding to the handheld end according to the light brightness and emitting the warning sound corresponding to the audio amplitude from the handheld end.
7. A CNC tool holder control system, characterized by comprise: an acquisition module for acquiring the tool number, the three-way vibration signal, the workpiece, the machining programming information, the current time and the actual vibration curve; a memory for storing the program of the control method of the control method of any one of claims 1 to 6; a processor, the program in the memory can be loaded and executed by the processor, and the control method of any one of claims 1 to 6 is realized.
8. Intelligent terminal, characterized in that comprise a memory and a processor, the memory has stored the computer program which can be loaded and executed by the processor and realize the control method of any one of claims 1 to 6.
9. A computer readable storage medium, characterized in that, the computer program which can be loaded and executed by the processor and realize the control method of any one of claims 1 to 6 is stored.
Citation Information
Patent Citations
Vibration-based real-time cutter breakage monitoring device and method for numerical control machine tool machining process
CN111168472A