Disclosure of Invention
The application mainly aims to provide a CNC full-speed operation method, a device, computer equipment and a storage medium, and aims to solve the problem that a CNC machine tool in the prior art cannot be self-adaptively operated at full speed.
In order to achieve the above object, the present application provides a full speed operation method of a CNC, the CNC including a CNC machine in which a tool is disposed, the method comprising:
When the CNC is in a machining state, acquiring the cutter resistance of the cutter in real time;
Judging whether the knife resistance is larger than a preset first threshold value or not;
If the knife resistance is larger than a preset first threshold value, controlling the knife to execute deceleration;
and if the knife resistance is smaller than a preset first threshold value, controlling the knife to execute acceleration.
Further, the step of after the CNC is in the machining state includes:
acquiring the feeding speed of the cutter in real time;
Judging whether the feeding speed of the cutter is smaller than a preset second threshold value or not;
And if the feeding speed of the cutter is smaller than a preset second threshold value, judging that the cutter is faulty, and controlling the CNC to execute specified operation.
Further, the CNC when in the machining state further comprises:
And if the feeding speed of the cutter is greater than a preset second threshold value, judging that the cutter is normally machined.
Further, before the acquiring the knife resistance of the knife in real time, the method includes:
judging whether to acquire the knife resistance of the knife;
if the knife resistance of the knife cannot be obtained, judging that the knife is in the breaking state, and controlling the CNC to execute specified operation.
Further, the CNC machine tool also comprises a workbench for placing a workpiece, a main shaft connected with the cutter, an adsorption vacuum tube arranged on the workbench, a force sensitive element arranged at the side end of the workbench, and a cover plate correspondingly arranged on the workbench and used for limiting the workpiece.
Further, the CNC machine tool also comprises an input unit and a control unit, wherein the CNC machine tool is adjusted through the input unit and stored into the control unit for operation.
Further, the CNC machine tool further comprises a fault alarm unit and an indicator lamp matched with the fault alarm unit.
The embodiment of the application also provides a CNC full-speed operation device, which comprises:
the acquisition module is used for acquiring the knife resistance of the knife in real time when the CNC is in a machining state;
the judging module is used for judging whether the knife resistance is larger than a preset first threshold value or not;
The first executing module is used for controlling the cutter to execute deceleration if the cutter resistance is larger than a preset first threshold value;
and the second execution module is used for controlling the cutter to execute acceleration if the cutter resistance is smaller than a preset first threshold value.
The application also provides a computer device comprising a memory storing a computer program and a processor implementing the steps of any of the methods described above when the processor executes the computer program.
The application also provides a computer readable storage medium having stored thereon a computer program which when executed by a processor performs the steps of the method of any of the preceding claims.
According to the CNC full-speed operation method, device, computer equipment and storage medium, when the CNC is in a machining state, whether the knife resistance is larger than the preset limit bearing parameter constant is judged by detecting the knife resistance of the knife of the CNC machine tool, if the knife resistance is larger than the preset limit bearing parameter constant, the knife needs to be controlled to be decelerated, if the knife resistance is smaller than the preset limit bearing parameter constant, the knife needs to be controlled to be accelerated, so that the cutting speed of the knife is automatically adjusted, the CNC machine tool can realize full-speed operation cutting according to different working states, and the working efficiency is improved, so that the problem that the CNC machine tool in the prior art cannot be self-adaptively operated at full speed is solved.
Detailed Description
The present application will be described in further detail with reference to the drawings and examples, in order to make the objects, technical solutions and advantages of the present application more apparent. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the application.
Referring to fig. 1, in an embodiment of the present application, there is provided a CNC full speed operation method, the CNC including:
The CNC machine tool is provided with a cutter, and the method comprises the following steps:
s1, when the CNC is in a machining state, acquiring the cutter resistance of the cutter in real time;
s2, judging whether the knife resistance is larger than a preset first threshold value or not;
s3, if the knife resistance is larger than a preset first threshold value, controlling the knife to execute deceleration;
and S4, if the knife resistance is smaller than a preset first threshold value, controlling the knife to accelerate.
As described in step S1, when the terminal detects that the CNC is in the machining state, by detecting the resistance of the tool of the CNC machine, the terminal can determine whether the tool is in the normal machining cutting state, for example, a pressure sensor for detecting the cutting state of the tool or a sensor for detecting the pressure is provided on the table corresponding to the workpiece, and the pressure sensor detects the resistance of the tool during operation, so that the resistance is determined when the tool is in operation, and when the pressure sensor cannot detect the working pressure of the tool, it indicates that the tool is not in the normal working cutting state, it can determine that the tool is in the cutting state, and then the tool can be replaced by a specified method.
And S2-S3, judging whether the cutter resistance is larger than a preset threshold value or not by the terminal, if so, controlling the cutter to decelerate, wherein the preset threshold value can be set as a limit bearing parameter constant of the cutter, and if the cutter resistance of the cutter exceeds the preset limit bearing parameter constant, the cutter is required to be controlled to reduce the cutting speed of the cutter, so that the cutter is prevented from being broken to influence the normal operation of the work.
As described in step S4, when the terminal detects that the knife resistance of the knife is smaller than the preset threshold, the terminal controls the knife to accelerate, so as to increase the cutting speed, wherein when the knife resistance of the knife does not exceed the preset limit bearing parameter constant, the knife can increase the cutting speed, so that the cutting efficiency is increased.
In an embodiment, a plurality of force sensitive elements are arranged on the CNC machine tool, the force sensitive elements are arranged, the pressure, the pulling force or the pressure intensity and other forces in all directions on the CNC machine tool can be detected, and then the force when the workpiece on the workbench is cut according to the cutters in all directions can be detected, so that the cutter resistance when the cutters work is detected through the force sensitive elements, and in addition, the pretightening force of the force sensitive elements in the CNC machine tool is required to be 3-5 times of the resistance of the cutters when the cutters are cut, so that the detection inaccuracy of the cutters when the cutters work is prevented.
In another embodiment, before the CNC machine starts working, the numerical value of the force sensitive element in each direction is required to be zeroed, then the test is carried out according to each direction, so that whether the detection coefficient of the force sensitive element in each direction is normal is judged, when the detection coefficient of the force sensitive element in each mode is normal, the cutting work on a workpiece is started, the knife resistance of the knife on the CNC machine can be detected more accurately by detecting the coefficient of the force sensitive element in advance, the cutting speed of the knife is controlled according to the size of the knife resistance, and the cutting speed can be increased to the maximum when the knife works, so that the working efficiency is improved.
According to the CNC full-speed operation method, when the CNC is in a machining state, whether the cutter resistance is larger than the preset limit bearing parameter constant is judged by detecting the cutter resistance of the cutter of the CNC machine tool, if the cutter resistance is judged to be larger than the preset limit bearing parameter constant, the cutter is required to be controlled to be decelerated, and if the cutter resistance is judged to be smaller than the preset limit bearing parameter constant, the cutter is required to be controlled to be accelerated, so that the cutting speed of the cutter is automatically adjusted, the CNC machine tool can realize full-speed operation cutting according to different working states, the working efficiency is improved, and the problem that the CNC machine tool in the prior art cannot operate at full speed is solved.
Further, the step of after the CNC is in the machining state includes:
s201, acquiring the feeding speed of the cutter in real time;
S202, judging whether the feeding speed of the cutter is smaller than a preset second threshold value or not;
And S203, if the feeding speed of the cutter is smaller than a preset second threshold value, judging that the cutter is faulty, and controlling the CNC to execute specified operation.
As described in the above steps S201-S202, when the terminal detects that the CNC is in the machining state, by further obtaining the feeding speed of the cutter during cutting, and then according to determining whether the feeding speed of the cutter during cutting is less than the preset threshold, since the feeding speed of the cutter during cutting can detect whether the cutter is in a normal working state, for example, when the position of the occurrence portion of the cutter has a bump groove, the feeding speed of the cutter during cutting is affected, and when the cutter has a bump groove, the machining quality of the workpiece is easily affected, so that it is necessary to determine whether the cutter is in a normal working state by detecting the feeding speed of the cutter.
As described in step S203, when the terminal detects that the feeding speed of the tool is less than the preset threshold, it indicates that the tool is in a fault state, and the terminal will send out an alarm or remind the user to replace the tool by executing, where the fault of the tool will increase the probability of occurrence according to the longer service time, a threshold needs to be set, and the threshold may be the feeding speed of the standard tool during cutting, the use of the tool is gradually passivated according to the longer service time, and when the tool is passivated, the passivated tool needs to be replaced, so as to prevent the quality of processing from being affected by the passivated tool.
Further, the step of after the CNC is in the machining state further comprises:
and S301, judging that the cutter is normally machined if the feeding speed of the cutter is greater than a preset second threshold value.
As described in step S301, when the terminal detects that the feeding speed of the cutter during cutting is greater than the preset threshold, it indicates that the cutter is in correct cutting and the cutter is in a sharper state, and the cutter can perform normal operation.
Further, before the acquiring the knife resistance of the knife in real time, the method includes:
s401, judging whether to acquire the knife resistance of the knife;
And S402, if the knife resistance of the knife cannot be obtained, judging that the knife is in a knife breaking state, and controlling the CNC to execute specified operation.
As described in step S401, before the terminal acquires the cutter resistance of the cutter in real time, it is first determined whether the cutter resistance of the cutter is acquired, so as to prevent the cutter from being broken and undetected during working cutting.
As described in step S402, if the terminal fails to obtain the knife resistance of the knife, it may be determined that the knife is in a broken state, and then a specified prompt is required to be sent or the knife is required to be replaced, where failure to obtain the knife resistance of the knife indicates that the knife resistance of the knife is zero, when the CNC is in a machining state, since the knife is at risk of breaking along with the extension of the service time, when machining is required, the knife resistance of the knife is obtained in real time, so as to realize real-time detection of whether the knife is broken, thereby preventing the workpiece from being undetected due to non-cutting.
In one embodiment, the CNC performs the specified operation by controlling the CNC machine to issue an alarm to alert the user to detect the cut workpiece to prevent the workpiece from having a quality of machining that is not too close, and to continue machining according to the automatic replacement of the tool.
Referring to fig. 2, the CNC machine tool further comprises a workbench 1 for placing a workpiece, a main shaft 3 connected with a cutter 2, an adsorption vacuum tube 4 arranged on the workbench 1, a force sensitive element 5 arranged at the side end of the workbench 1, and a cover plate 6 correspondingly arranged on the workbench 1 and used for limiting the workpiece.
The device comprises a main shaft, a vacuum suction pipe, a force sensitive element, a cover plate and a cover plate, wherein the main shaft is arranged and can be connected with a cutter to control the rotating speed of the cutter through driving, the vacuum suction pipe is arranged and can suck a workpiece on a workbench, the workpiece can be sucked on the workbench stably so as to be processed by the cutter, the force sensitive element is arranged and can detect the pressure, the pulling force or the pressure and other forces in all directions on the workbench, the force of the cutter on the workbench can be detected according to the cutter in all directions when the cutter cuts the workpiece, the cutter resistance of the cutter when the cutter works is detected through the force sensitive element, and the cover plate is arranged and can limit the workpiece, so that the displacement of the workpiece during cutting is prevented from influencing the normal cutting and the detection precision of the force sensitive element.
In another embodiment, the workbench is fixed on the CNC machine tool by bolts, so that the workbench is arranged on the CNC machine tool in a floating mode, and the force sensitive element can conveniently detect the accuracy of pressure, pulling force or pressure and other forces in all directions in multiple directions, so that the terminal can conveniently control the self-adaptive speed adjustment of the cutter.
Furthermore, the CNC machine tool also comprises an input unit and a control unit, wherein the CNC machine tool is adjusted through the input unit and stored in the control unit for operation.
In this embodiment, the setting of the input unit may be performed by a user by inputting or debugging a program of the input unit, by debugging to corresponding parameters of each different workpiece to be processed, and the setting of the control unit may receive the parameters stored in the input unit and perform control operation, for example, the user may adjust a feeding speed parameter of the spindle through the input unit, and perform speed adjustment through the control unit to control the spindle.
Further, the CNC machine tool further comprises a fault alarm unit and an indicator lamp matched with the fault alarm unit.
In this embodiment, the setting of trouble alarm unit, when CNC lathe breaks down at the during operation, trouble alarm unit will trigger the warning to remind through the pilot lamp, for example, when the cutter appears breaking, trouble alarm unit will trigger the broken knife warning, thereby the user of being convenient for can in time change the cutter.
Referring to fig. 3, in an embodiment of the present application, there is further provided a CNC full speed operation apparatus, including:
the acquisition module is used for acquiring the knife resistance of the knife in real time when the CNC is in a machining state;
the judging module is used for judging whether the knife resistance is larger than a preset first threshold value or not;
The first executing module is used for controlling the cutter to execute deceleration if the cutter resistance is larger than a preset first threshold value;
and the second execution module is used for controlling the cutter to execute acceleration if the cutter resistance is smaller than a preset first threshold value.
As described above, it will be understood that each component for a CNC full-speed operation device provided in the present application may implement the function of any one of the CNC full-speed operation methods described above, and the specific structure will not be described again.
Referring to fig. 4, in an embodiment of the present application, there is further provided a computer device, which may be a server, and an internal structure thereof may be as shown in fig. 3. The computer device includes a processor, a memory, a network interface, and a database connected by a method bus. Wherein the computer is configured to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating method, a computer program, and a database. The memory provides an environment for the operation of the method and computer program in the non-volatile storage medium. The database of the computer device is used for data such as question and answer data in a corpus. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program when executed by the processor implements a CNC full speed method of operation.
The full-speed running method of the CNC is carried out by the processor, and the full-speed running method of the CNC comprises the steps of obtaining the knife resistance of the knife in real time when the CNC is in a machining state, judging whether the knife resistance is larger than a preset first threshold value, controlling the knife to execute deceleration if the knife resistance is larger than the preset first threshold value, and controlling the knife to execute acceleration if the knife resistance is smaller than the preset first threshold value.
An embodiment of the present application further provides a computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements a full speed operation method for CNC, comprising the steps of, when the CNC is in a machining state, obtaining in real time a knife resistance of the tool; judging whether the knife resistance is larger than a preset first threshold value, controlling the knife to execute deceleration if the knife resistance is larger than the preset first threshold value, and controlling the knife to execute acceleration if the knife resistance is smaller than the preset first threshold value.
According to the executing CNC full-speed operation method, when the CNC is in a machining state, whether the cutter resistance is larger than the preset limit bearing parameter constant is judged by detecting the cutter resistance of the cutter of the CNC machine tool, if the cutter resistance is judged to be larger than the preset limit bearing parameter constant, the cutter is required to be controlled to be decelerated, and if the cutter resistance is judged to be smaller than the preset limit bearing parameter constant, the cutter is required to be controlled to be accelerated, so that the cutting speed of the cutter is automatically regulated, the CNC machine tool can realize full-speed operation cutting according to different working states, and the working efficiency is improved, so that the problem that the CNC machine tool in the prior art cannot operate at full speed is solved.
Those skilled in the art will appreciate that implementing all or part of the above described methods may be accomplished by way of a computer program stored on a non-transitory computer readable storage medium, which when executed, may comprise the steps of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium provided by the present application and used in embodiments may include non-volatile and/or volatile memory. The nonvolatile memory can include Read Only Memory (ROM), programmable ROM (PROM), electrically Programmable ROM (EPROM), electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), dual speed data rate SDRAM (SSRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (SYNCHL INK) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), among others.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, apparatus, article, or method that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, apparatus, article, or method. Without further limitation, an element defined by the phrase "comprising one does not exclude the presence of other like elements in a process, apparatus, article, or method that comprises the element.
The foregoing description is only of the preferred embodiments of the present application and is not intended to limit the scope of the application, and all equivalent structures or equivalent processes using the descriptions and drawings of the present application or directly or indirectly applied to other related technical fields are included in the scope of the application.