Method for adjusting fast moving speed according to load size and related device
By setting the sensor on the CNC machine tool to obtain the workpiece weight feedback data and dynamically adjust the line and rail movement speed, the problem of the rapid movement speed of the CNC machine tool cannot be adjusted, improving processing efficiency and reducing equipment failures.
Patent Information
- Application Number
- CN202510412929.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-03
- Publication Date
- 2025-05-02
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The rapid movement speed of existing CNC machine tools cannot be adjusted according to the load size, resulting in low machining efficiency and easy to cause abnormal vibration and failure of the equipment.
By setting a sensor between the workbench and the slider of the CNC machine tool, the weight feedback data of the workpiece to be processed is obtained, and the movement speed of the line rail is adjusted according to the data to achieve dynamic speed matching.
This method can automatically adjust the movement speed of the CNC machine tool according to the weight of the workpiece, improve processing efficiency, and reduce abnormal equipment failures.
Smart Images

Figure CN119916852A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of mechanical equipment, and in particular to a method and a related device for adjusting a rapid moving speed according to a load size. Background Art
[0002] With the rapid development of my country's manufacturing industry, the demand for high-precision machining is growing. At present, the fast moving speed of CNC machine tools is set in advance before leaving the factory and cannot be changed. Therefore, when processing workpieces, the efficiency is often low, and it is easy to cause abnormal vibration of machine tools and equipment, leading to damage. In view of this, how to improve the processing efficiency of equipment and reduce abnormal equipment failures has become an urgent problem to be solved. Summary of the invention
[0003] The main technical problem solved by the present application is to provide a method and related device for adjusting the rapid moving speed according to the load size, which can improve the processing efficiency of the equipment and reduce abnormal failures of the equipment.
[0004] To solve the above-mentioned technical problems, the first aspect of the present application provides a method for adjusting the rapid movement speed according to the load size, which is applied to a CNC machine tool. The CNC machine tool includes a linear rail, a slider slidably set on the linear rail, and a workbench fixed on the slider. A sensor is arranged between the workbench and the slider. The method includes: in response to a workpiece to be processed being placed on the workbench, obtaining feedback data collected by the sensor; wherein the feedback data is related to the weight of the workpiece to be processed; based on the feedback data, determining a speed matching value corresponding to the linear rail, and using the speed matching value to adjust the moving speed of the linear rail.
[0005] To solve the above technical problem, the second aspect of the present application provides an electronic device, comprising a memory and a processor coupled to each other, wherein the memory stores program instructions, and the processor is used to execute the program instructions to implement the method described in the first aspect.
[0006] In order to solve the above technical problem, the third aspect of the present application provides a computer-readable storage medium, which stores program instructions that can be executed by a processor, and the program instructions are used to implement the method described in the first aspect above.
[0007] In the above scheme, when the workpiece to be processed is placed on the workbench, feedback data related to the weight of the workpiece to be processed is collected by the sensor arranged between the workbench and the slider, and the speed matching value corresponding to the linear rail is determined based on the obtained feedback data. The moving speed of the linear rail is adjusted according to the speed matching value. By detecting the change of the load-bearing weight of the workbench, the moving speed of the linear rail is automatically adjusted. On the one hand, it can meet the needs of rapid processing of light-weight workpieces, and on the other hand, it can meet the needs of stable processing of heavy-weight workpieces, thereby improving the processing efficiency of the equipment and reducing abnormal failures of the equipment. BRIEF DESCRIPTION OF THE DRAWINGS
[0008] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work. Among them: Figure 1 It is a flow chart of an implementation method of adjusting the rapid moving speed according to the load size of the present application; Figure 2 yes Figure 1 Step S102 corresponds to a flowchart of an implementation method; Figure 3 It is a structural schematic diagram of an embodiment of the electronic device of the present application; Figure 4 It is a structural schematic diagram of an implementation method of a computer-readable storage medium of the present application. DETAILED DESCRIPTION
[0009] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments, and different implementation methods can be adaptively combined. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0010] The terms "system" and "network" are often used interchangeably in this article. The term "and / or" in this article is only a description of the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship. In addition, "many" in this article means two or more than two.
[0011] See also Figure 1 , Figure 1 The present invention is a flow chart of a method for adjusting the rapid moving speed according to the load size in accordance with an embodiment of the present invention. The method is applied to a CNC machine tool, which includes a linear rail, a slider slidably arranged on the linear rail, and a workbench fixed on the slider, wherein a sensor is arranged between the workbench and the slider. The method includes: S101: In response to a workpiece to be processed being placed on a workbench, feedback data collected by a sensor is obtained; wherein the feedback data is related to the weight of the workpiece to be processed.
[0012] Specifically, when a workpiece to be processed is placed on a workbench, feedback data related to the weight of the workpiece to be processed collected by a sensor disposed between the workbench and the slider is obtained.
[0013] In one application, when a workpiece to be processed is placed on a workbench, a sensor arranged between the workbench and the slider collects feedback data related to the weight of the workpiece to be processed, and the CNC machine tool sends a data acquisition instruction to the sensor, and the sensor sends the feedback data to the CNC machine tool according to the data acquisition instruction.
[0014] In another application mode, when a workpiece to be processed is placed on a workbench, a sensor arranged between the workbench and the slider collects feedback data related to the weight of the workpiece to be processed, and sends the feedback data to a data box, and a CNC machine tool obtains the feedback data after analysis and processing by the data box.
[0015] In one application scenario, the sensor is a resistance strain gauge. In other application scenarios, the sensor is a semiconductor strain gauge or other device that can sense external pressure and change its own resistance. This application does not make specific restrictions here.
[0016] Optionally, the present application does not impose any specific limitation on the number of workpieces to be processed.
[0017] S102: Based on the feedback data, determine the speed matching value corresponding to the linear track, and use the speed matching value to adjust the moving speed of the linear track.
[0018] Specifically, a speed matching value corresponding to the linear track is determined based on the acquired feedback data, and the moving speed of the linear track is adjusted according to the speed matching value.
[0019] In one application, the weight of the workpiece to be processed is determined based on the obtained feedback data, multiple matching reference speed values are obtained based on the workpiece weight, the median of the multiple reference speed values is taken as the speed matching value corresponding to the linear rail, and the moving speed of the linear rail is adjusted according to the speed matching value.
[0020] In another application method, the weight of the workpiece to be processed is determined based on the obtained feedback data, and the corresponding reference weight interval is determined based on the workpiece weight, wherein each reference weight interval corresponds to a speed matching value corresponding to a linear rail, and the moving speed of the linear rail is adjusted according to the speed matching value.
[0021] In some application scenarios, a CNC machine tool has a corresponding speed lookup table, and the speed lookup table stores the relationship between the working weight and the reference speed value.
[0022] In the above scheme, when the workpiece to be processed is placed on the workbench, feedback data related to the weight of the workpiece to be processed is collected by the sensor arranged between the workbench and the slider, and the speed matching value corresponding to the linear rail is determined based on the obtained feedback data. The moving speed of the linear rail is adjusted according to the speed matching value. By detecting the change of the load-bearing weight of the workbench, the moving speed of the linear rail is automatically adjusted. On the one hand, it can meet the needs of rapid processing of light-weight workpieces, and on the other hand, it can meet the needs of stable processing of heavy-weight workpieces, thereby improving the processing efficiency of the equipment and reducing abnormal failures of the equipment.
[0023] In one embodiment, the sensor includes a resistance strain gauge. In step S101, in response to the workpiece to be processed being placed on the workbench, obtaining feedback data collected by the sensor specifically includes: in response to the workpiece to be processed being placed on the workbench, obtaining the resistance change of the resistance strain gauge, and determining the resistance change as feedback data.
[0024] Specifically, when the workpiece to be processed is placed on the workbench, the resistance strain gauge installed between the workbench and the slider will produce different strains due to the external pressure, thereby causing the internal resistance of the resistance strain gauge to change, and the resistance change is obtained. The resistance change is determined as feedback data. By using the resistance change of the resistance strain gauge as feedback data, the load-bearing changes of the workbench can be obtained in real time and accurately.
[0025] In one implementation scenario, the feedback data of the resistance strain gauge is connected to a data box and transmitted to the CNC machine tool through the data box.
[0026] In one embodiment, see Figure 2 , Figure 2 yes Figure 1 Step S102 in the figure corresponds to a flowchart of an implementation method. Step S102 specifically includes: S201: Determine the weight of the workpiece to be processed based on the feedback data.
[0027] Specifically, based on the acquired feedback data, the weight of the workpiece to be processed is determined.
[0028] S202: Obtain a reference speed value that matches the weight of the workpiece, and determine a speed matching value corresponding to the linear track based on the reference speed value.
[0029] Specifically, a reference speed value matching the weight of the workpiece to be processed is acquired, and a speed matching value corresponding to the linear track is determined based on the reference speed value.
[0030] Optionally, the CNC machine tool has a corresponding speed query table, in which the relationship between the working weight and the reference speed value is stored, and the corresponding reference speed value can be obtained by querying the speed query table.
[0031] In one implementation scenario, there is a conversion relationship between the feedback data and the workpiece weight, and the workpiece weight is obtained based on the conversion relationship. There is a speed query table between the workpiece weight and the reference speed value, and the reference speed value is obtained by querying the speed query table.
[0032] Specifically, by analyzing the feedback data and the workpiece weight, a conversion relationship between the two can be obtained. Therefore, when the CNC machine tool obtains the feedback data, the corresponding workpiece weight of the workpiece to be processed can be obtained according to the conversion relationship. A speed query table is pre-configured between the workpiece weight and the reference speed value. The speed query table is used to query and obtain the reference speed value. Therefore, when the workpiece to be processed is placed on the workbench, the CNC machine tool can quickly obtain the reference speed value according to the feedback data.
[0033] In one embodiment, before step S202, the method further includes: acquiring a workpiece category of the workpiece to be processed, wherein the workpiece category is at least related to the shape of the workpiece to be processed.
[0034] Specifically, before obtaining the reference speed value matching the weight of the workpiece, the workpiece category of the workpiece to be processed is also obtained, and the workpiece category is at least related to the shape of the workpiece to be processed.
[0035] Optionally, the workpiece category may also be related to factors such as the material and size of the workpiece to be processed, and this application does not impose any specific limitation here.
[0036] In one implementation scenario, step S202 specifically includes: obtaining a reference speed value that matches the weight of the workpiece, and determining a speed matching value corresponding to the linear track based on the reference speed value, the weight of the workpiece, and the type of the workpiece.
[0037] Specifically, a reference speed value that matches the weight of the workpiece is obtained, and the speed matching value corresponding to the linear rail is determined based on the reference speed value, the weight of the workpiece to be processed and the type of the workpiece. Different types of workpieces, such as shafts, disks and plates, have different requirements for processing trajectories and processing speeds. Therefore, the optimal speed matching value corresponding to the linear rail can be determined by comprehensively considering the workpiece weight, workpiece type and reference speed value, thereby ensuring the optimal balance between stability, precision and efficiency during CNC machine tool processing.
[0038] It can be understood that, for some workpieces to be processed corresponding to workpiece categories that have certain requirements on processing accuracy, the speed matching value corresponding to the linear track may be smaller than the reference speed value.
[0039] In a specific implementation scenario, there are three types of workpieces to be processed, namely shaft workpieces, disk workpieces and plate workpieces, and the workpiece weights corresponding to these three types of workpieces to be processed are the same, so their reference speed values are the same. Generally speaking, shaft workpieces have higher requirements for dimensional accuracy than the other two types of workpieces. Therefore, the speed matching value corresponding to shaft workpieces is the smallest among the three workpieces. Disk workpieces have slightly lower requirements for dimensional accuracy than shaft workpieces. Therefore, the speed matching value corresponding to disk workpieces is greater than the speed matching value corresponding to shaft workpieces. Plate workpieces have slightly lower requirements for dimensional accuracy than disk workpieces. Therefore, the speed matching value corresponding to plate workpieces is greater than the speed matching value corresponding to disk workpieces. That is, the higher the processing accuracy corresponding to the workpiece category, the smaller the corresponding speed matching value.
[0040] In an application scenario, a reference speed value that matches the weight of a workpiece is obtained, and based on the reference speed value, the weight of the workpiece and the workpiece category, a speed matching value corresponding to the linear track is determined. Specifically, the following steps are performed: obtaining a reference speed value that matches the weight of the workpiece, constructing a prompt text based on the workpiece weight and its matching reference speed value and the workpiece category, inputting the prompt text into an intelligent analysis model, and obtaining a speed matching value corresponding to the linear track output by the intelligent analysis model.
[0041] Specifically, the intelligent analysis model is obtained after fine-tuning using example samples. The example samples include example prompt samples matched by example workpieces of different weights or categories, and example speeds of the linear rails when the example workpieces are set on the workbench. After obtaining the reference speed value that matches the working weight, a prompt text is constructed based on the workpiece weight and its matching reference speed value and the workpiece category. The prompt text is input into the trained intelligent analysis model to obtain the speed matching value corresponding to the linear rail output by the intelligent analysis model. Through the trained intelligent analysis model, a comprehensive analysis is performed based on the workpiece weight of the workpiece to be processed and its matching reference speed value and the workpiece category, and the speed matching value corresponding to the workpiece to be processed can be quickly obtained, thereby improving the processing efficiency of the CNC machine tool.
[0042] Optionally, the intelligent analysis model is a large language model, which may include but is not limited to deep neural networks (DNNs), convolutional neural networks (CNNs), recurrent neural networks (RNNs), long short-term memory networks (LSTM), and generative pre-trained Transformer models, etc. No specific restrictions are made on the specific structure and deployment of the large language model.
[0043] In another application scenario, a reference speed value that matches the weight of the workpiece is obtained, and based on the reference speed value, the weight of the workpiece and the type of the workpiece, a speed matching value corresponding to the linear rail is determined. Specifically, the method includes: obtaining a reference speed value that matches the weight of the workpiece, inputting the weight of the workpiece and the type of the workpiece into a speed configuration model, obtaining a speed configuration value output by the speed matching model, and determining the speed matching value corresponding to the linear rail based on the reference speed value and the speed configuration value.
[0044] Specifically, the speed matching model is trained using training samples, and the training samples include training speed values of the linear rail when training workpieces of different weights or categories are set on the workbench. After obtaining the reference speed value that matches the weight of the workpiece, the weight and category of the workpiece to be processed are input into the trained speed configuration model to obtain the speed configuration value output by the speed matching model. Based on the reference speed value and the speed configuration value, the speed matching value corresponding to the linear rail is jointly determined. Through the trained speed configuration model, the appropriate speed configuration value can be quickly obtained according to the weight and category of the workpiece, and combined with the reference speed value analysis, the optimal speed matching value corresponding to the linear rail can be obtained, thereby improving the processing efficiency of the CNC machine tool.
[0045] Optionally, based on the reference speed value and the speed configuration value, there are many ways to jointly determine the speed matching value corresponding to the line track. The reference speed value and the speed configuration value can be compared, and the larger value between the two can be used as the speed matching value corresponding to the line track. Alternatively, the average value of the reference speed value and the speed configuration value can be calculated as the speed matching value corresponding to the line track, depending on the actual situation, and this application does not make any specific restrictions here.
[0046] In a specific implementation scenario, there are two types of workpieces to be processed, namely shaft workpieces and disk workpieces, and the workpiece weights corresponding to these two types of workpieces to be processed are the same. Since the requirements for dimensional accuracy of shaft workpieces are higher than those for disk workpieces, after obtaining the reference speed value and the speed configuration value, the reference speed value and the speed configuration value are compared, and the larger value between the two is used as the speed matching value corresponding to the disk workpiece, and the smaller value between the two is used as the speed matching value corresponding to the shaft workpiece. For example, when the reference speed value is greater than the speed configuration value, the reference speed value is used as the speed matching value for the disk workpiece, and the speed configuration value is used as the speed matching value for the shaft workpiece.
[0047] S203: Adjust the moving speed of the linear rail to a speed matching value.
[0048] Specifically, the moving speed of the linear rail is adjusted to a corresponding speed matching value.
[0049] In one implementation scenario, after step S201, the method further includes: in response to the weight of the workpiece to be processed exceeding a preset weight threshold, generating a prompt message; wherein the prompt message is used to indicate that a workbench failure has occurred.
[0050] Specifically, when the working weight of the workpiece to be processed exceeds a preset weight threshold, a prompt message is generated to indicate that a workbench failure has occurred. The prompt message can quickly remind the user that the workbench has failed and needs timely maintenance, thereby ensuring the processing efficiency of the CNC machine tool and protecting the equipment safety of the CNC machine tool.
[0051] See also Figure 3 , Figure 3 : is a structural diagram of an embodiment of an electronic device of the present application, the electronic device 30 comprises a memory 300 and a processor 302 coupled to each other, wherein the memory 300 stores program instructions (not shown), and the processor 302 is used to execute the program instructions to implement the method in any of the above embodiments. For the description of the relevant content, please refer to the detailed description of the above method embodiment, which will not be repeated here. In addition, the processor 302 can also be called a CPU (Center Processing Unit). The processor 302 may be an integrated circuit chip with signal processing capabilities. The processor 302 may also be a general-purpose processor, a digital signal processor (Digital Signal Processor, DSP), an application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), a field-programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc. In addition, the processor 302 may be implemented by an integrated circuit chip.
[0052] See also Figure 4 , Figure 4 It is a structural diagram of an embodiment of a computer-readable storage medium of the present application. The computer-readable storage medium 40 stores program data 400. When the program data 400 is executed by a processor, the method in any of the above embodiments is implemented. For descriptions of related contents, please refer to the detailed description of the above method embodiments, which will not be repeated here.
[0053] It should be noted that the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present implementation scheme.
[0054] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0055] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, server, or network device, etc.) or a processor to execute all or part of the steps of each implementation method of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk, etc., and other media that can store program codes.
[0056] The above description is only an implementation method of the present application, and does not limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly used in other related technical fields, are also included in the patent protection scope of the present application.
Claims
1. A method for adjusting the rapid movement speed according to the load size, characterized in that: Applied to a CNC machine tool, the CNC machine tool comprises a linear rail, a slider slidably arranged on the linear rail, and a workbench fixed on the slider, a sensor is arranged between the workbench and the slider, and the method comprises: In response to a workpiece to be processed being placed on the workbench, feedback data collected by the sensor is acquired; wherein the feedback data is related to the weight of the workpiece to be processed; Based on the feedback data, a speed matching value corresponding to the linear track is determined, and the moving speed of the linear track is adjusted using the speed matching value.
2. The method according to claim 1, characterized in that The sensor includes a resistance strain gauge, and the step of obtaining feedback data collected by the sensor in response to a workpiece to be processed being placed on the workbench includes: In response to the workpiece to be processed being placed on the workbench, obtaining a resistance change of the resistance strain gauge; The resistance change amount is determined as the feedback data.
3. The method according to claim 1, characterized in that The determining, based on the feedback data, a speed matching value corresponding to the linear track, and adjusting the moving speed of the linear track using the speed matching value, comprises: Based on the feedback data, determining the weight of the workpiece to be processed; Acquire a reference speed value that matches the weight of the workpiece, and determine a speed matching value corresponding to the linear track based on the reference speed value; The moving speed of the linear rail is adjusted to the speed matching value.
4. The method according to claim 3, characterized in that Before obtaining a reference speed value matching the weight of the workpiece and determining a speed matching value corresponding to the linear track based on the reference speed value, the method further includes: Acquire the workpiece category of the workpiece to be processed; wherein the workpiece category is at least related to the shape of the workpiece to be processed; The obtaining of a reference speed value matching the weight of the workpiece and determining a speed matching value corresponding to the linear track based on the reference speed value comprises: A reference speed value matching the weight of the workpiece is obtained, and a speed matching value corresponding to the linear track is determined based on the reference speed value, the weight of the workpiece and the type of the workpiece.
5. The method according to claim 4, characterized in that The obtaining of a reference speed value matching the weight of the workpiece, and determining a speed matching value corresponding to the linear track based on the reference speed value, the weight of the workpiece and the type of the workpiece, comprises: Acquire a reference speed value that matches the weight of the workpiece, and construct a prompt text based on the weight of the workpiece, the matching reference speed value, and the workpiece category; The prompt text is input into the intelligent analysis model to obtain the speed matching value corresponding to the linear rail output by the intelligent analysis model; wherein the intelligent analysis model is obtained after fine-tuning using example samples, and the example samples include example prompt texts matched by example workpieces of different weights or categories, and example speed values of the linear rail when the example workpiece is set on the workbench.
6. The method according to claim 4, characterized in that The obtaining of a reference speed value matching the weight of the workpiece, and determining a speed matching value corresponding to the linear track based on the reference speed value, the weight of the workpiece and the type of the workpiece, comprises: Acquiring a reference speed value that matches the weight of the workpiece; Input the workpiece weight and the workpiece category into a speed configuration model to obtain a speed configuration value output by the speed matching model; wherein the speed matching model is obtained by training using training samples, and the training samples include training speed values of the linear rail when training workpieces of different weights or categories are set on the workbench; Based on the reference speed value and the speed configuration value, a speed matching value corresponding to the linear track is determined.
7. The method according to claim 3, characterized in that There is a conversion relationship between the feedback data and the workpiece weight, and the workpiece weight is obtained based on the conversion relationship; there is a speed query table between the workpiece weight and the reference speed value, and the reference speed value is obtained by querying the speed query table.
8. The method according to claim 3, characterized in that After determining the weight of the workpiece to be processed based on the feedback data, the method further includes: In response to the weight of the workpiece to be processed exceeding a preset weight threshold, a prompt message is generated; wherein the prompt message is used to prompt that a fault occurs on the workbench.
9. An electronic device, characterized in that: The method comprises a memory and a processor coupled to each other, wherein the memory stores program instructions, and the processor is used to execute the program instructions to implement the method according to any one of claims 1 to 8.
10. A computer-readable storage medium, characterized in that: Program instructions that can be executed by a processor are stored, and the program instructions are used to implement the method according to any one of claims 1 to 8.
Citation Information
Patent Citations
Magnetic suspension feeding platform for numerical control machine tool
CN102476311A
Real-time servo motor controller based on a load weight
CN103262404A
Intelligent speed planning method based on mass single workpiece repeated processing
CN107765647A
Machined part load characteristic judgment and acceleration adjustment method of machine tool
CN111399559A
Numerical control machine tool machining method and device, electronic equipment and readable storage medium
CN116776289A