Knife lifting action determination method, knife lifting operation unit, system and storage medium

By identifying and confirming the tool lift signal, blocking false alarms, and compensating the control parameters of CNC machine tools, the false alarm problems caused by different cutting conditions of CNC machine tools are solved, and production efficiency and processing stability are improved.

CN116701893BActive Publication Date: 2024-12-10东莞市微振科技有限公司
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202310606156.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-05-25
Publication Date
2024-12-10
Estimated Expiration
2043-05-25

AI Technical Summary

Technical Problem

During the processing process, there are too many false alarm signals caused by differences in cutting conditions, which affects production efficiency, especially frequent false alarms caused by tool lifting, resulting in economic and efficiency losses.

Method used

By obtaining the signals of the current and previous sampling cycles, identifying and outputting preliminary identification results, and after confirming the knife lift signal, the machine tool safety measurement and control system performs the false alarm blocking function to reduce false alarms, and compensates the control parameters according to the cumulative knife lift time. Shorten the next knife lift time.

Benefits of technology

It effectively reduces the number of false alarms in the machine tool safety measurement and control system, improves the production efficiency of CNC machine tools, and optimizes the tool lifting action through control parameter compensation, improving machining stability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116701893B_ABST
    Figure CN116701893B_ABST
Patent Text Reader

Abstract

The present application discloses a method for distinguishing a tool lifting action, a tool lifting operation unit, a system and a storage medium, and relates to the technical field of CNC machine tools, including: obtaining the second sampling signal of the current sampling cycle and the first sampling signal of the previous sampling cycle, identifying the first sampling signal and the second sampling signal, and outputting a preliminary identification result; when the preliminary identification result is a tool lifting signal and the third sampling signal that lasts for a first time length is a fast moving signal, outputting a tool lifting confirmation signal to the machine tool safety measurement and control system, so that the machine tool safety measurement and control system performs a false alarm shielding function. The present application can effectively reduce the number of false alarms of the machine tool safety measurement and control system and improve the production efficiency of CNC machine tools.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of numerically controlled machine tools, and in particular to a method for determining a tool lifting action, a tool lifting operation unit, a system and a storage medium. Background Art

[0002] CNC machine tools are widely used in industrial production. However, abnormal conditions such as tool collision, spindle collision, and tool breakage often occur during the processing of CNC machine tools. These abnormal conditions cause economic and efficiency losses to manufacturers. Therefore, some high-end CNC machine tools often add a safety measurement and control system to protect the safety of the machine tools. In order to meet the protection requirements of the machine tools, this additional safety measurement and control system needs to accurately detect abnormal conditions.

[0003] In the related technology, the cutting conditions of CNC machine tools vary greatly when processing different parts, and the machine tool safety measurement and control system will generate more false alarm signals. Among these false alarm signals, the tool lifting action often causes abnormalities such as scratches between the tool and the part surface and iron chips sticking because the tool has not completely left the part surface, resulting in large tool vibration values ​​and false alarms in the safety measurement and control system. Therefore, how to reduce the number of false alarms in the machine tool safety measurement and control system and improve the production efficiency of CNC machine tools is an issue that needs to be discussed and solved urgently. Summary of the invention

[0004] The present application aims to solve at least one of the technical problems existing in the prior art. To this end, the present application proposes a tool lifting action identification method, a tool lifting operation unit, a system and a storage medium, which can effectively reduce the number of false alarms of the machine tool safety measurement and control system and improve the production efficiency of CNC machine tools.

[0005] In order to solve the above technical problems, the present invention proposes the following technical solutions:

[0006] The first aspect of the present application provides a method for determining a knife lifting action, including:

[0007] Acquire a second sampling signal of a current sampling period and a first sampling signal of a previous sampling period, identify the first sampling signal and the second sampling signal, and output a preliminary identification result;

[0008] When the preliminary recognition result is a tool lifting signal and the third sampling signal that lasts for the first time period is a fast movement signal, output a tool lifting confirmation signal to the machine tool safety measurement and control system, so that the machine tool safety measurement and control system performs a false alarm shielding function;

[0009] When the preliminary recognition result is a knife-lifting signal, the first sampling signal and the second sampling signal meet one of the following conditions:

[0010] The first sampling signal is a cutting signal, and the second sampling signal is a fast moving signal;

[0011] The first sampling signal is a stop signal and the duration of the stop signal is less than a preset duration, and the second sampling signal is a fast-moving signal.

[0012] The method for distinguishing the tool lifting action according to the first aspect of the embodiment of the present application has at least the following beneficial effects: the present application obtains the second sampling signal of the current sampling period and the first sampling signal of the previous sampling period, and identifies the first sampling signal and the second sampling signal, so as to analyze the activity trend of the CNC machine tool tool based on the first sampling signal and the second sampling signal to determine whether the CNC machine tool has a tool lifting trend, such as the first sampling signal is a cutting signal and the second sampling signal is a fast moving signal, and the first sampling signal is a stop signal and the duration of the stop signal is less than a preset duration. Further, after it has been preliminarily determined that the CNC machine tool has a tool lifting trend, the third sampling signal is judged, and a tool lifting confirmation signal is output to the machine tool safety measurement and control system, so that the machine tool safety measurement and control system performs a false alarm shielding function, thereby stopping the monitoring of the alarm when performing the false alarm shielding function, thereby effectively reducing the number of false alarms of the machine tool safety measurement and control system and improving the production efficiency of the CNC machine tool.

[0013] According to some embodiments of the first aspect of the present application, the present invention is applied to a CNC machine tool, wherein the CNC machine tool includes a first state machine and a second state machine, wherein the preliminary recognition result is determined by the first state machine; and the tool lifting confirmation signal is determined by the second state machine;

[0014] The method further comprises:

[0015] When the preliminary recognition result is a non-knife lift signal, the first state machine outputs the non-knife lift signal to the second state machine;

[0016] The second state machine responds to the non-tool-lifting signal and outputs a confirmation signal for non-tool-lifting to the machine tool safety measurement and control system to stop the false alarm shielding function;

[0017] When the preliminary recognition result is a non-knife lift signal, the first sampling signal and the second sampling signal meet one of the following conditions:

[0018] The first sampling signal and the second sampling signal are both fast moving signals;

[0019] The first sampling signal and the second sampling signal are both cutting signals;

[0020] The first sampling signal and the second sampling signal are both stop signals;

[0021] The first sampling signal is a stop signal, and the second sampling signal is a cutting signal;

[0022] The first sampling signal is a stop signal and the duration of the stop signal is greater than the preset duration, and the second sampling signal is a fast-moving signal.

[0023] According to some embodiments of the first aspect of the present application, after the output confirmation tool lifting signal is given to the machine tool safety measurement and control system, the determination method further includes:

[0024] Calculate the cumulative knife lifting time;

[0025] Compensating the control parameters of the CNC machine tool according to the accumulated tool lifting time to shorten the accumulated tool lifting time of the CNC machine tool next time;

[0026] The calculation of the cumulative tool lifting time includes one of the following:

[0027] When the first sampling signal is a cutting signal and the second sampling signal is a fast moving signal, the duration of the fast moving signal is read to obtain the accumulated tool lifting time;

[0028] When the first sampling signal is a stop signal and the duration of the stop signal is less than a preset duration, the second sampling signal is a fast-moving signal, and timing starts from the stop signal to obtain the accumulated tool lifting time.

[0029] According to some embodiments of the first aspect of the present application, compensating the control parameters of the CNC machine tool according to the accumulated tool lifting time to shorten the next accumulated tool lifting time of the CNC machine tool includes:

[0030] When the difference between the accumulated tool lifting time and control parameters of the first historical record in the preset cache space and the accumulated tool lifting time and control parameters of the CNC machine tool in the current sampling period is within the first threshold range, the control parameters of the CNC machine tool are corrected according to the control parameter compensation amount of the first historical record;

[0031] When the difference between the accumulated tool lift time and control parameters of the second historical record in the cache space and the accumulated tool lift time and control parameters of the CNC machine tool in the current sampling period is within a second threshold range, the control parameter compensation amount of the second historical record is modified, and the control parameters of the CNC machine tool are corrected according to the modified control parameter compensation amount, wherein the first historical record and the second historical record both include the accumulated tool lift time, the control parameters of the CNC machine tool and the control parameter compensation amount.

[0032] A second aspect of the present application provides a knife-lifting operation unit, including:

[0033] A first state machine, the first state machine is used to obtain a second sampling signal of a current sampling period and a first sampling signal of a previous sampling period, identify the first sampling signal and the second sampling signal, and output a preliminary identification result; wherein, when the preliminary identification result is a tool lifting signal, the first sampling signal and the second sampling signal meet one of the following conditions: the first sampling signal is a cutting signal, and the second sampling signal is a fast moving signal; the first sampling signal is a stop signal and the duration of the stop signal is less than a preset duration, and the second sampling signal is a fast moving signal;

[0034] The second state machine is used to output a tool lifting signal to the machine tool safety measurement and control system when the preliminary recognition result is a tool lifting signal and the third sampling signal that lasts for the first time period is a fast movement signal, so that the machine tool safety measurement and control system performs a false alarm shielding function.

[0035] According to some embodiments of the second aspect of the present application, the first state machine includes a scene encoding unit, a Z-transform delay unit, a compensation unit and a scene matching unit; wherein the scene encoding unit is used to acquire the scene signal transmitted by the CNC machine tool in real time, encode the scene signal, and obtain a sampling signal; the Z-transform delay unit is used to delay one sampling period to acquire the first sampling signal and the second sampling signal output by the scene encoding unit in two adjacent sampling periods and obtain a preliminary recognition result based on the first sampling signal and the second sampling signal; the compensation unit is used to compensate for the preliminary recognition result; and the scene matching unit is used to output the compensated preliminary recognition result to the second state machine.

[0036] According to some embodiments of the second aspect of the present application, the second state machine includes a first embedded state machine, a second embedded state machine and a third embedded state machine, wherein the first embedded state machine is used for cyclic monitoring and confirmation, and when the preliminary identification result is a tool lifting signal and the third sampling signal lasting for the first time length is a fast movement signal, the tool lifting confirmation signal is output to the machine tool safety measurement and control system, so that the machine tool safety measurement and control system performs a false alarm shielding function; the first embedded state machine is also used to read the duration of the fast movement signal when the first sampling signal is a cutting signal and the second sampling signal is a fast movement signal to obtain the cumulative tool lifting time; the second embedded state machine uses a logic gate circuit ping-pong flow to delay a sampling cycle to stabilize the data; the third embedded state machine is used to start timing from the stop signal when the first sampling signal is a stop signal and the duration of the stop signal is less than a preset duration, and the second sampling signal is a fast movement signal, to obtain the cumulative tool lifting time.

[0037] According to some embodiments of the second aspect of the present application, a third state machine is further included, which is used to compensate the control parameters of the CNC machine tool according to the accumulated tool lifting time to shorten the next accumulated tool lifting time of the CNC machine tool.

[0038] The third aspect of the present application provides a system for distinguishing a knife lifting action, including:

[0039] at least one memory;

[0040] at least one processor;

[0041] at least one program;

[0042] The program is stored in the memory, and the processor executes at least one of the programs to implement:

[0043] As described in the first aspect of the present application, the method for determining the knife lifting action.

[0044] A fourth aspect of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer-executable signal, and the computer-executable signal is used to execute:

[0045] As described in the first aspect of the present application, the method for determining the knife lifting action.

[0046] Additional aspects and advantages of the present application will be given in part in the description below, and in part will become apparent from the description below, or will be learned through the practice of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0047] Additional aspects and advantages of the present application will become apparent and easily understood from the description of the embodiments in conjunction with the following drawings, in which:

[0048] Figure 1 A main flow chart of a method for determining a knife lifting action provided in some embodiments of the present application;

[0049] Figure 2 A sub-flow chart of a method for determining a knife lifting action provided in some embodiments of the present application;

[0050] Figure 3 A sub-flow chart of a method for determining a knife lifting action provided in some embodiments of the present application;

[0051] Figure 4 Application scenarios of the method for distinguishing the knife lifting action provided in some embodiments of the present application;

[0052] Figure 5 A module block diagram of a knife lifting operation unit provided in some embodiments of the present application;

[0053] Figure 6A logic block diagram of a first state machine provided for some embodiments of the present application;

[0054] Figure 7 A logic block diagram of a second state machine provided for some embodiments of the present application;

[0055] Figure 8 A logic block diagram of a third state machine provided for some embodiments of the present application;

[0056] Fig. 9 A module block diagram of a system for distinguishing knife lifting actions provided in some embodiments of the present application. DETAILED DESCRIPTION

[0057] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.

[0058] It should be noted that although a logical order is shown in the flowchart, in some cases, the steps shown or described may be performed in a different order than in the flowchart. Terms in the specification, claims and the above drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence.

[0059] In the description of this application, if there is a description of first or second, it is only for the purpose of distinguishing technical features, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features or implicitly indicating the order of the indicated technical features.

[0060] In the description of this application, unless otherwise clearly defined, terms such as setting, installing, connecting, etc. should be understood in a broad sense, and technicians in the relevant technical field can reasonably determine the specific meanings of the above terms in this application based on the specific content of the technical solution.

[0061] CNC machine tools are widely used in industrial production. However, due to the frequent occurrence of abnormal working conditions such as tool collision, spindle collision, and tool breakage during CNC machine tool processing, these abnormal working conditions cause economic losses and efficiency losses to manufacturers. Therefore, some high-end CNC machine tools often add a safety measurement and control system to protect the safety of the machine tools. In order to meet the protection requirements of the machine tools, the additional safety measurement and control system needs to accurately detect abnormal working conditions. In related technologies, the cutting conditions of CNC machine tools vary greatly when processing different parts, and the machine tool safety measurement and control system will therefore generate more false alarm signals. Among these false alarm signals, the tool lifting action often causes abnormalities such as tool scraping against the part surface and iron chips sticking because the tool has not completely left the part surface, resulting in large tool vibration values, which trigger false alarms in the safety measurement and control system. Therefore, how to reduce the number of false alarms in the machine tool safety measurement and control system and improve the production efficiency of CNC machine tools is an issue that needs to be discussed and solved urgently.

[0062] Based on this, the present application discloses a method for distinguishing the tool lifting action, which adopts the field programmable logic gate array FPGA to monitor the scene signal of the CNC machine tool in real time, and identifies the tool lifting condition of the interference factor that affects the false alarm of the machine tool safety measurement and control system during the cutting process, and outputs the identified results to the machine tool safety measurement and control system for false alarm filtering, thereby reducing the misjudgment of the machine tool safety measurement and control system caused by abnormal tool lifting, effectively reducing the number of false alarms of the machine tool safety measurement and control system, and improving the production efficiency of the CNC machine tool.

[0063] Reference Figure 1 In the first aspect, an embodiment of the present application provides a method for determining a knife lifting action, including but not limited to step S110 and step S120.

[0064] Step S110, acquiring the second sampling signal of the current sampling period and the first sampling signal of the previous sampling period, identifying the first sampling signal and the second sampling signal, and outputting a preliminary identification result;

[0065] Step S120, when the preliminary identification result is a tool lifting signal and the third sampling signal lasting for the first time length is a rapid movement signal, output a confirmation tool lifting signal to the machine tool safety measurement and control system, so that the machine tool safety measurement and control system performs a false alarm shielding function; wherein, when the preliminary identification result is a tool lifting signal, the first sampling signal and the second sampling signal meet one of the following conditions: the first sampling signal is a cutting signal, and the second sampling signal is a rapid movement signal; the first sampling signal is a stop signal and the duration of the stop signal is less than a preset duration, and the second sampling signal is a rapid movement signal.

[0066] It should be noted that the present application obtains the second sampling signal of the current sampling cycle and the first sampling signal of the previous sampling cycle, and identifies the first sampling signal and the second sampling signal, so as to analyze the activity trend of the CNC machine tool tool based on the first sampling signal and the second sampling signal to determine whether the CNC machine tool has a tool lifting trend, such as the first sampling signal is a cutting signal and the second sampling signal is a fast moving signal, and the first sampling signal is a stop signal and the duration of the stop signal is less than a preset duration. Furthermore, after it has been preliminarily determined that the CNC machine tool has a tool lifting trend, the third sampling signal is judged, and a tool lifting confirmation signal is output to the machine tool safety measurement and control system, so that the machine tool safety measurement and control system performs a false alarm shielding function, thereby stopping the monitoring of the alarm when performing the false alarm shielding function, thereby effectively reducing the number of false alarms of the machine tool safety measurement and control system and improving the production efficiency of the CNC machine tool.

[0067] Reference Figure 4 , Figure 4 An application scenario of the method for distinguishing the tool lifting action provided in some embodiments of the present application; according to one embodiment of the present application, a CNC machine tool transmits a scene signal to a tool lifting operation unit 500 at intervals of a preset sampling period during the machining process. To facilitate the processing of the scene signal input by the CNC machine tool, the tool lifting operation unit 500 encodes the scene signal sent by the CNC machine tool to obtain a first sampling signal and a second sampling signal, wherein the first sampling signal and the second sampling signal are sampling signals obtained by encoding scene signals acquired at different sampling periods, respectively; wherein the scene signal includes a fast moving signal, a cutting signal and a cutting stop signal, and the sampling signal includes a #0 signal, a #1 signal and a #2 signal, wherein the #0 signal corresponds to a fast moving signal, the #1 signal corresponds to a cutting signal, and the #2 signal corresponds to a cutting stop signal. To better explain the present application, the fast moving signal, the cutting signal and the stop signal will be used to replace the #0 signal, the #1 signal and the #2 signal for further explanation. On the other hand, the three scene signals transmitted by CNC machine tools are all 24V switching signals. Generally, engineers with machine tool maintenance experience can quickly extract these three scene signals from the IO terminals of the machine tool electrical cabinet (because the three-color lights of each machine tool also use these three models). No additional physical quantity sensors are required, and only the machine tool scene signals are used for calculation and identification. The engineering implementation is simple and the cost is controllable.

[0068] Specifically, when the method described in this article is applied in engineering, Xilinx A7100T FPGA is generally used as a computing unit. Combined with the judgment method of the tool lifting action described in this article and the input and output IO hardware, the functions described in this article can be realized.

[0069] Reference Figure 4Furthermore, after the tool lifting operation unit 500 completes rapid calculation and analysis internally, it will output a tool lifting confirmation signal to the machine tool safety measurement and control system, so that after the machine tool safety measurement and control system receives the tool lifting confirmation signal, it will use it as a false alarm reminder signal to shield its own alarm output function until the tool lifting confirmation signal disappears, and then immediately restore the machine tool protection, thereby avoiding the false alarm of the machine tool safety measurement and control system caused by tool lifting.

[0070] Reference Figures 5 to 7 , Figure 5 A module block diagram of a knife lifting action identification system provided in some embodiments of the present application; Figure 6 A logic block diagram of a first state machine 510 provided for some embodiments of the present application; Figure 7 A logic block diagram of the second state machine 520 provided for some embodiments of the present application. According to one embodiment of the present application, the knife lifting operation unit 500 is composed of three finite state machines to describe the principle of mutual conversion between different states of the algorithm. When the algorithm flow is executed, at a fixed operating frequency of 10Mhz, each execution cycle can only be in one state, and the conversion between different state machines is cyclically converted through the conversion conditions within the algorithm. Specifically, during the discrimination process, the first state machine 510 receives the scene signal transmitted by the CNC machine tool, encodes the scene signal, and obtains the first sampling signal, which is recorded as #0, #1 and #2 for the convenience of expression in the program. After receiving the scene signal and sampling it internally by the algorithm, the first state machine 510 will also delay 1 sampling cycle (for example, 1 / 10^6 seconds) internally to eliminate the jitter of the CNC machine tool signal and improve the interference of the first sampling signal. In addition, the present application delays a sampling cycle by Z transformation to obtain the second sampling signal of the next sampling cycle, identifies the first sampling signal and the second sampling signal, and outputs a preliminary identification result to compare the change trend of the current scene and preliminarily determine whether to lift the knife. More specifically, when the first sampling signal is a cutting signal and the second sampling signal is a fast moving signal, the preliminary recognition result at this time is a knife lifting signal. When the first sampling signal is a stop signal and the duration of the stop signal is less than the preset duration, the scene signal obtained before the stop signal is a cutting signal, and the second sampling signal is a fast moving signal. The preliminary recognition result at this time is a knife lifting signal, wherein the preset duration can be set according to the working conditions in the actual operation, and is generally set to 2 seconds. The preliminary recognition result of a knife lifting signal means that this is a sign of knife lifting. In the actual algorithm process, the present application also takes into account the robustness of the algorithm. In order to optimize the accuracy of the preliminary recognition results of the present application, the first state machine 510 also introduces a compensation amount for continuous optimization and adjustment of the algorithm.

[0071] When the first state machine 510 identifies the first sampling signal and the second sampling signal and the output preliminary identification result is a tool lifting signal, the first state machine 510 will output the tool lifting signal to the second state machine 520. At this time, in order to ensure the accuracy of the identification result, after the algorithm detects that the CNC machine tool has lifted the tool, it still needs the CNC machine tool to continue to send out a cycle of #0 scene signal to determine the accuracy of the tool lifting identification. Therefore, the first state machine 510 will again obtain the scene signal transmitted by the CNC machine tool at a preset sampling period, encode the scene signal, and obtain the third sampling signal. The first state machine 510 also outputs the third sampling signal to the second state machine 520. When the preliminary recognition result is a tool lifting signal and the third sampling signal is a fast moving signal, and the third sampling signal lasts for a first time period, the second state machine 520 will output a tool lifting confirmation signal to the machine tool safety measurement and control system, so that the machine tool safety measurement and control system performs a false alarm shielding function. The second state machine 520 here plays the role of cyclic monitoring and confirmation, thereby improving the robustness of the system. The first time period can be determined according to the actual operating conditions, which is generally one sampling cycle.

[0072] Among them, the second state machine 520 contains 3 embedded state machines for realizing time timing and self-migration of the tool lifting algorithm. The first embedded state machine 521 is used for cyclic monitoring and confirmation. The second embedded state machine 522 is used to delay a 10Mhz cycle to stabilize internal data. The third embedded state machine 523 is used to wait for the CNC machine tool to send a #2 signal to further confirm whether the CNC machine tool has lifted the tool.

[0073] The tool lifting operation unit 500 of the present application can output a tool lifting confirmation signal to the machine tool safety measurement and control system when it detects that the CNC machine tool is in the tool lifting action. After receiving the signal, the machine tool safety measurement and control system immediately shields its own protection function until the tool lifting confirmation signal disappears, and then immediately restores the protection of the CNC machine tool, thereby avoiding the problem of false alarm of the machine tool safety measurement and control system caused by tool lifting.

[0074] On the other hand, the present application also has an alarm log, which records the results of the identification of the tool lifting event, so as to facilitate the operator to monitor the operating conditions of the CNC machine tool.

[0075] The present application is applied to a CNC machine tool, which includes a first state machine 510 and a second state machine 520. The preliminary recognition result is determined by the first state machine 510; the tool lifting signal is determined by the second state machine 520; Figure 2 In the first aspect, the embodiment of the present application provides a method for determining a knife lifting action, including but not limited to step S210 and step S220:

[0076] Step S210, when the preliminary recognition result is a non-knife lift signal, the first state machine 510 outputs a non-knife lift signal to the second state machine 520;

[0077] Step S220, the second state machine 520 responds to the non-tool-lifting signal and outputs a confirmation signal of the non-tool-lifting to the machine tool safety measurement and control system to stop the false alarm shielding function;

[0078] Among them, when the preliminary identification result is a non-tool lifting signal, the first sampling signal and the second sampling signal meet one of the following conditions: the first sampling signal and the second sampling signal are both fast-moving signals; the first sampling signal and the second sampling signal are both cutting signals; the first sampling signal and the second sampling signal are both stop signals; the first sampling signal is a stop signal and the second sampling signal is a cutting signal; the first sampling signal is a stop signal and the duration of the stop signal is greater than a preset duration, and the second sampling signal is a fast-moving signal.

[0079] It should be noted that after receiving the scene signal and sampling it internally in the algorithm, the present application delays one sampling period through the Z transform to obtain the second sampling signal of the next sampling period, and outputs a preliminary recognition result by identifying the first sampling signal and the second sampling signal to compare the changing trend of the current scene and preliminarily determine whether to lift the knife. The above has explained the scene changes when the preliminary recognition result is a tool lifting signal. Here, the scene changes when the preliminary recognition result is a non-tool lifting signal are explained: when the first sampling signal and the second sampling signal are both fast moving signals, cutting signals or stop signals, it means that the CNC machine tool is performing the same operation in the previous sampling cycle and the current sampling cycle. Therefore, it can be determined that the CNC machine tool is not lifting the tool at this time, and the preliminary recognition result is a non-tool lifting signal; when the first sampling signal is a stop signal and the second sampling signal is a cutting signal, it means that the CNC machine tool in the previous sampling cycle is in a cutting stop state, and the CNC machine tool in the current sampling cycle is in a cutting state. At this time, the CNC machine tool has just started to perform the cutting operation, so the preliminary recognition result is a non-tool lifting signal; when the first sampling signal is a stop signal, and the duration of the stop signal is greater than the preset duration, the second sampling signal is a fast moving signal, which means that the CNC machine tool in the previous sampling cycle is in a stop state, and the CNC machine tool in the current sampling cycle is in a fast moving state. At this time, the preliminary recognition result is a non-tool lifting signal.

[0080] It should be noted that when the preliminary identification result is a non-tool lift signal, the first state machine 510 outputs a non-tool lift signal to the second state machine 520. After receiving the non-tool lift signal, the second state machine 520 responds to the non-tool lift signal and outputs a confirmation non-tool lift signal to the machine tool safety measurement and control system, so that the machine tool safety measurement and control system stops the false alarm shielding function.

[0081] Specifically, when the preliminary identification result is a non-tool lift signal, the tool lift operation unit 500 of the present application will continue to monitor the scene signal transmitted by the CNC machine tool.

[0082] Reference Figure 3In the first aspect, an embodiment of the present application provides a method for determining a knife lifting action, including but not limited to step S310 and step S320.

[0083] Step 310, calculating the cumulative knife lifting time;

[0084] Step S320, compensate the control parameters of the CNC machine tool according to the cumulative tool lifting time to shorten the next cumulative tool lifting time of the CNC machine tool; wherein, calculating the cumulative tool lifting time includes one of the following: when the first sampling signal is a cutting signal, the second sampling signal is a fast moving signal, the duration of the fast moving signal is read to obtain the cumulative tool lifting time; when the first sampling signal is a stop signal and the duration of the stop signal is less than a preset duration, the second sampling signal is a fast moving signal, and the timing starts from the stop signal to obtain the cumulative tool lifting time.

[0085] According to one embodiment of the present application, after the tool lifting operation unit 500 outputs a tool lifting confirmation signal to the machine tool safety measurement and control system, in order to further confirm whether the CNC machine tool has lifted the tool, the second state machine 520 will also continuously monitor the scene signal output by the CNC machine tool. When the first sampling signal is a cutting signal and the second sampling signal is a fast movement signal, the first embedded state machine 521 of the second state machine 520 will read the duration of the fast movement signal, that is, the duration of the fast movement of the CNC machine tool, and obtain the cumulative tool lifting time.

[0086] According to another embodiment of the present application, when the first sampling signal is a stop signal and the duration of the stop signal is less than a preset duration, when a stop signal transmitted by the CNC machine tool is received, the third embedded state machine 523 inside the second state machine 520 will immediately jump out and start timing from the stop signal to obtain the accumulated tool lifting time.

[0087] Furthermore, after obtaining the cumulative tool lifting time, the present application will also compensate the control parameters of the CNC machine tool according to the cumulative tool lifting time to shorten the next cumulative tool lifting time of the CNC machine tool.

[0088] Reference Figure 8 , Figure 8A logic block diagram of the third state machine 530 provided for some embodiments of the present application; According to one embodiment of the present application, a recognition result compensation mechanism is designed inside the third state machine 530, which can realize the compensation and self-tuning of the parameters in the algorithm, and obtain the self-compensation value of the next recognition result, that is, the control parameter compensation amount, to improve the recognition accuracy and response speed. Specifically, after each tool lifting recognition is completed, the third state machine 530 will compensate the control parameters of the CNC machine tool according to the accumulated tool lifting time to correct the tool lifting action, that is, the third state machine 530 uses the accumulated tool lifting time of the CNC machine tool in this tool lifting action as a reference for the next tool lifting action recognition, and encodes it according to the internal clock cycle (10MHz).

[0089] It can be understood that the control parameters of the CNC machine tool are compensated according to the cumulative tool lift time to shorten the next cumulative tool lift time of the CNC machine tool, including: when the difference between the cumulative tool lift time and control parameters of the first historical record in the preset cache space and the cumulative tool lift time and control parameters of the CNC machine tool in the current sampling period is within a first threshold range, the control parameters of the CNC machine tool are corrected according to the control parameter compensation amount of the first historical record; when the difference between the cumulative tool lift time and control parameters of the second historical record in the cache space and the cumulative tool lift time and control parameters of the CNC machine tool in the current sampling period is within a second threshold range, the control parameter compensation amount of the second historical record is modified, and the control parameters of the CNC machine tool are corrected according to the modified control parameter compensation amount, wherein the first historical record and the second historical record both include the cumulative tool lift time, the control parameters of the CNC machine tool and the control parameter compensation amount.

[0090] According to one embodiment of the present application, a cache space is preset in the third state machine 530 of the present application, and the cache space stores multiple historical records including the cumulative tool lifting time, the control parameters of the CNC machine tool and the control parameter compensation amount. Each of the cumulative tool lifting time, the control parameters of the CNC machine tool and the control parameter compensation amount respectively corresponds to the tool lifting recognition result of a tool lifting action. The tool lifting recognition result includes the cumulative tool lifting time and the control parameters of the machine tool. The control parameter compensation amount represents the numerical value of the compensated control parameter. In the process of compensating the control parameters of the CNC machine tool according to the accumulated tool lifting time, it is first necessary to obtain the control parameters of the CNC machine tool at the current moment, and query in the preset cache space whether there is a difference between the accumulated tool lifting time and control parameters of the first historical record and the accumulated tool lifting time and control parameters of the CNC machine tool in the current sampling period within the first threshold range. If the cache space stores historical records with a difference between the accumulated tool lifting time and control parameters within the first threshold range, the control parameter compensation amount recorded in the historical record can be directly called to correct the control parameters of the current CNC machine tool; if the cache space contains a difference between the accumulated tool lifting time and control parameters of the second historical record and the accumulated tool lifting time and control parameters of the CNC machine tool in the current sampling period within the second threshold range, the present application will modify the control parameter compensation amount in the historical record with reference to the difference, and correct the control parameters of the CNC machine tool according to the modified control parameter compensation amount, and repeat the cycle until the next accumulated tool lifting time and control parameters are the same as the accumulated tool lifting time and control parameters in the historical record. Among them, the first threshold range is smaller than the second threshold range.

[0091] More specifically, the history record also stores the possibility of knife lifting corresponding to the knife lifting recognition result, and the possibility of knife lifting is represented by confidence.

[0092] It should be noted that when there is a historical record in the cache space that is the same as or very different from the current tool lift recognition result, the present application directly calls the control parameter compensation amount recorded in the historical record as a reference for the next parameter compensation and correction, thereby facilitating the correction of the control parameters of the CNC machine tool and improving the response speed.

[0093] It can be understood that in order to facilitate the compensation of the CNC machine tool next time, after the control parameters of the CNC machine tool are corrected according to the modified control parameter compensation amount, the tool lifting recognition result of this time needs to be stored in the cache space, that is, the cumulative tool lifting time used for this tool lifting action, the control parameters of the CNC machine tool and the modified control parameters are stored in the cache space to update the historical records of the cache space.

[0094] Specifically, the third state machine 530 is internally provided with a #0 scene optimizer, which can store each obtained tool lifting recognition result and control parameter compensation amount into a cache space. The cache space is provided with 255 cache depths. When the system is first started, the data of the 255 cache depth spaces in the cache space are empty. After each correct recognition of the tool lifting action, the system writes the tool lifting action recognition result and the compensated control parameters of the CNC machine tool into the cache depth in sequence. During the next tool lifting recognition process, if there is a historical record in the cache space that is the same as the tool lifting recognition result at the next moment, the control parameter compensation amount recorded in the historical record can be directly called to correct the control parameters of the CNC machine tool, thereby improving the compensation efficiency.

[0095] It can be understood that the cache space is provided with 255 cache depths. When the historical records stored in the cache space reach the preset storage value, that is, when the 255 cache depths are all full, the cache space will be overwritten from the beginning, and the tool lifting recognition results and the compensated CNC machine tool control parameters will be written into the cache space in turn.

[0096] Reference Figure 5 In the second aspect, the embodiment of the present application provides a tool lifting operation unit 500, including: a first state machine 510, the first state machine 510 is used to obtain the second sampling signal of the current sampling period and the first sampling signal of the previous sampling period, and identify the first sampling signal and the second sampling signal, and output a preliminary identification result; wherein, when the preliminary identification result is a tool lifting signal, the first sampling signal and the second sampling signal meet one of the following conditions: the first sampling signal is a cutting signal, and the second sampling signal is a fast moving signal; the first sampling signal is a stop signal and the duration of the stop signal is less than a preset duration, and the second sampling signal is a fast moving signal; the second state machine 520, when the preliminary identification result is a tool lifting signal and the third sampling signal lasting for the first duration is a fast moving signal, the second state machine 520 is used to output a tool lifting confirmation signal to the machine tool safety measurement and control system, so that the machine tool safety measurement and control system performs a false alarm shielding function.

[0097] It should be noted that Figure 7A logic block diagram of the second state machine 520 provided for some embodiments of the present application. According to one embodiment of the present application, the knife lifting operation unit 500 is composed of three finite state machines to describe the principle of mutual conversion between different states of the algorithm. When the algorithm flow is executed, at a fixed operating frequency of 10Mhz, each execution cycle can only be in one state, and the conversion between different state machines is cyclically converted through the conversion conditions within the algorithm. Specifically, during the discrimination process, the first state machine 510 receives the scene signal transmitted by the CNC machine tool, encodes the scene signal, and obtains the first sampling signal, which is recorded as #0, #1 and #2 for the convenience of expression in the program. After receiving the scene signal and sampling it internally by the algorithm, the first state machine 510 will also delay 1 sampling cycle (for example, 1 / 10^6 seconds) internally to eliminate the jitter of the CNC machine tool signal and improve the interference of the first sampling signal. In addition, the present application delays a sampling cycle by Z transformation to obtain the second sampling signal of the next sampling cycle, identifies the first sampling signal and the second sampling signal, and outputs a preliminary identification result to compare the change trend of the current scene and preliminarily determine whether to lift the knife. More specifically, when the first sampling signal is a cutting signal and the second sampling signal is a fast moving signal, the preliminary recognition result at this time is a knife lifting signal. When the first sampling signal is a stop signal and the duration of the stop signal is less than the preset duration, the scene signal obtained before the stop signal is a cutting signal, and the second sampling signal is a fast moving signal. The preliminary recognition result at this time is a knife lifting signal, wherein the preset duration can be set according to the working conditions in the actual operation, and is generally set to 2 seconds. The preliminary recognition result of a knife lifting signal means that this is a sign of knife lifting. In the actual algorithm process, the present application also takes into account the robustness of the algorithm. In order to optimize the accuracy of the preliminary recognition results of the present application, the first state machine 510 also introduces a compensation amount for continuous optimization and adjustment of the algorithm.

[0098] When the first state machine 510 identifies the first sampling signal and the second sampling signal and the output preliminary identification result is a tool lifting signal, the first state machine 510 will output the tool lifting signal to the second state machine 520. At this time, in order to ensure the accuracy of the identification result, after the algorithm detects that the CNC machine tool has lifted the tool, it still needs the CNC machine tool to continue to send out a cycle of #0 scene signal to determine the accuracy of the tool lifting identification. Therefore, the first state machine 510 will again obtain the scene signal transmitted by the CNC machine tool at a preset sampling period, encode the scene signal, and obtain the third sampling signal. The first state machine 510 also outputs the third sampling signal to the second state machine 520. When the preliminary recognition result is a tool lifting signal and the third sampling signal is a fast moving signal, and the third sampling signal lasts for a first time period, the second state machine 520 will output a tool lifting confirmation signal to the machine tool safety measurement and control system, so that the machine tool safety measurement and control system performs a false alarm shielding function. The second state machine 520 here plays the role of cyclic monitoring and confirmation, thereby improving the robustness of the system. The first time period can be determined according to the actual operating conditions, which is generally one sampling cycle.

[0099] Among them, the second state machine 520 contains 3 embedded state machines for realizing time timing and self-migration of the tool lifting algorithm. The first embedded state machine 521 is used for cyclic monitoring and confirmation. The second embedded state machine 522 is used to delay a 10Mhz cycle to stabilize internal data. The third embedded state machine 523 is used to wait for the CNC machine tool to send a #2 signal to further confirm whether the CNC machine tool has lifted the tool.

[0100] The tool lifting operation unit 500 of the present application can output a tool lifting confirmation signal to the machine tool safety measurement and control system when it detects that the CNC machine tool is in the tool lifting action. After receiving the signal, the machine tool safety measurement and control system immediately shields its own protection function until the tool lifting confirmation signal disappears, and then immediately restores the protection of the CNC machine tool, thereby avoiding the problem of false alarm of the machine tool safety measurement and control system caused by tool lifting.

[0101] It can be understood that the first state machine 510 includes a scene encoding unit, a Z-transform delay unit, a compensation unit and a scene matching unit; wherein the scene encoding unit is used to acquire the scene signal transmitted by the CNC machine tool in real time, encode the scene signal, and obtain a sampling signal; the Z-transform delay unit is used to delay one sampling period to acquire the first sampling signal and the second sampling signal output by the scene encoding unit in two adjacent sampling periods and obtain a preliminary recognition result based on the first sampling signal and the second sampling signal; the compensation unit is used to compensate for the preliminary recognition result; and the scene matching unit is used to output the compensated preliminary recognition result to the second state machine 520.

[0102] It can be understood that the second state machine 520 includes a first embedded state machine 521, a second embedded state machine 522 and a third embedded state machine 523, wherein the first embedded state machine 521 is used for cyclic monitoring and confirmation, and when the preliminary identification result is a tool lifting signal and the third sampling signal lasting for the first time period is a fast movement signal, the tool lifting confirmation signal is output to the machine tool safety measurement and control system, so that the machine tool safety measurement and control system performs a false alarm shielding function; the first embedded state machine 521 is also used to read the duration of the fast movement signal when the first sampling signal is a cutting signal and the second sampling signal is a fast movement signal, and obtain the cumulative tool lifting time; the second embedded state machine 522 adopts a logic gate circuit ping-pong flow to delay a sampling cycle to stabilize the data; the third embedded state machine 523 is used to start timing from the stop signal when the first sampling signal is a stop signal and the duration of the stop signal is less than the preset duration, and the second sampling signal is a fast movement signal, to obtain the cumulative tool lifting time.

[0103] According to one embodiment of the present application, after the tool lifting operation unit 500 outputs a tool lifting confirmation signal to the machine tool safety measurement and control system, in order to further confirm whether the CNC machine tool has lifted the tool, the second state machine 520 will also continuously monitor the scene signal output by the CNC machine tool. When the first sampling signal is a cutting signal and the second sampling signal is a fast movement signal, the first embedded state machine 521 of the second state machine 520 will read the duration of the fast movement signal, that is, the duration of the fast movement of the CNC machine tool, and obtain the cumulative tool lifting time.

[0104] According to another embodiment of the present application, when the first sampling signal is a stop signal and the duration of the stop signal is less than a preset duration, when a stop signal transmitted by the CNC machine tool is received, the third embedded state machine 523 inside the second state machine 520 will immediately jump out and start timing from the stop signal to obtain the accumulated tool lifting time.

[0105] It is understandable that the third state machine 530 is also included, and the third state machine 530 is used to compensate the control parameters of the CNC machine tool according to the accumulated tool lifting time to shorten the next accumulated tool lifting time of the CNC machine tool.

[0106] According to one embodiment of the present application, a cache space is preset in the third state machine 530 of the present application, and the cache space stores multiple historical records including the cumulative tool lifting time, the control parameters of the CNC machine tool and the control parameter compensation amount. Each of the cumulative tool lifting time, the control parameters of the CNC machine tool and the control parameter compensation amount respectively corresponds to the tool lifting recognition result of a tool lifting action. The tool lifting recognition result includes the cumulative tool lifting time and the control parameters of the machine tool. The control parameter compensation amount represents the numerical value of the compensated control parameter. In the process of compensating the control parameters of the CNC machine tool according to the accumulated tool lifting time, it is first necessary to obtain the control parameters of the CNC machine tool at the current moment, and query in the preset cache space whether there is a difference between the accumulated tool lifting time and control parameters of the first historical record and the accumulated tool lifting time and control parameters of the CNC machine tool in the current sampling period within the first threshold range. If the cache space stores historical records with a difference between the accumulated tool lifting time and control parameters within the first threshold range, the control parameter compensation amount recorded in the historical record can be directly called to correct the control parameters of the current CNC machine tool; if the cache space contains a difference between the accumulated tool lifting time and control parameters of the second historical record and the accumulated tool lifting time and control parameters of the CNC machine tool in the current sampling period within the second threshold range, the present application will modify the control parameter compensation amount in the historical record with reference to the difference, and correct the control parameters of the CNC machine tool according to the modified control parameter compensation amount, and repeat the cycle until the next accumulated tool lifting time and control parameters are the same as the accumulated tool lifting time and control parameters in the historical record. Among them, the first threshold range is smaller than the second threshold range.

[0107] Thirdly, refer to Fig. 9 , the embodiment of the present application provides a system for distinguishing a knife lifting action, including:

[0108] at least one memory 200;

[0109] at least one processor 100;

[0110] at least one program;

[0111] The program is stored in the memory 200, and the processor 100 executes at least one program to implement:

[0112] Such as the method for determining the knife lifting action in the first aspect of the embodiment of the present application.

[0113] The processor 100 and the memory 200 may be connected via a bus or in other ways.

[0114] The memory 200, as a non-transitory readable storage medium, can be used to store non-transitory software instructions and non-transitory instructables. In addition, the memory 200 may include a high-speed random access memory 200, and may also include a non-transitory memory 200, such as at least one disk storage device 200, a flash memory device, or other non-transitory solid-state storage device 200. It is understood that the memory 200 may optionally include a memory 200 remotely arranged relative to the processor 100, and these remote memories 200 may be connected to the processor 100 via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0115] The processor 100 executes non-transitory software instructions, commands and signals stored in the memory 200, thereby performing various functional applications and data processing, that is, implementing the method for determining the knife lifting action of the first aspect of the embodiment.

[0116] The non-transient software instructions and instructions required to implement the method for determining the knife lifting action of the above embodiment are stored in the memory 200. When executed by the processor 100, the method for determining the knife lifting action of the first aspect of the present application is executed, for example, the above-described method is executed. Figure 1 Steps S110 to S120 of the method, Figure 2 Steps S210 to S220 of the method, Figure 3 Method steps S310 to S320 in .

[0117] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer-executable signal, and the computer-executable signal is used to execute:

[0118] Such as the method for determining the knife lifting action in the first aspect of the embodiment of the application.

[0119] For example, executing the above description Figure 1 Steps S110 to S120 of the method, Figure 2 Steps S210 to S220 of the method, Figure 3 Method steps S310 to S320 in .

[0120] The device embodiments described above are merely illustrative, wherein 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, i.e., may be located in one place, or may be distributed over multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0121] Through the description of the above embodiments, it will be appreciated by those skilled in the art that all or some steps and systems in the disclosed methods above can be implemented as software, firmware, hardware and appropriate combinations thereof. Some physical components or all physical components can be implemented as software executed by a processor, such as a central processing unit, a digital signal processor or a microprocessor, or implemented as hardware, or implemented as an integrated circuit, such as an application-specific integrated circuit. Such software can be distributed on a readable medium, and the readable medium can include a computer storage medium (or a non-transitory medium) and a communication medium (or a temporary medium). As known to those skilled in the art, the term computer storage medium includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information (such as a computer-readable signal, a data structure, an instruction module or other data). Computer storage media include, but are not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disk (DVD) or other optical disk storage, magnetic cassette, magnetic tape, disk storage or other magnetic storage device, or any other medium that can be used to store desired information and can be accessed by a computer. Furthermore, it is well known to those skilled in the art that communication media generally include computer readable signals, data structures, instruction modules, or other data in a modulated data signal such as a carrier wave or other transport mechanism, and may include any information delivery media.

[0122] The embodiments of the present application are described in detail above in conjunction with the accompanying drawings, but the present application is not limited to the above embodiments, and various changes can be made within the knowledge scope of ordinary technicians in the relevant technical field without departing from the purpose of the present application.

Claims

1. A method for determining a knife lifting action, characterized in that: include: Acquire a second sampling signal of a current sampling period and a first sampling signal of a previous sampling period, identify the first sampling signal and the second sampling signal, and output a preliminary identification result; When the preliminary recognition result is a tool lifting signal and the third sampling signal that lasts for the first time period is a fast movement signal, output a tool lifting confirmation signal to the machine tool safety measurement and control system, so that the machine tool safety measurement and control system performs a false alarm shielding function; When the preliminary recognition result is a knife-lifting signal, the first sampling signal and the second sampling signal meet one of the following conditions: The first sampling signal is a cutting signal, and the second sampling signal is a fast moving signal; The first sampling signal is a stop signal and the duration of the stop signal is less than a preset duration, and the second sampling signal is a fast-moving signal.

2. The method for determining the knife lifting action according to claim 1, characterized in that: Applied to a CNC machine tool, the CNC machine tool comprises a first state machine and a second state machine, the preliminary recognition result is determined by the first state machine; the tool lifting confirmation signal is determined by the second state machine; The method further comprises: When the preliminary recognition result is a non-knife-lifting signal, the first state machine outputs the non-knife-lifting signal to the second state machine; The second state machine responds to the non-tool-lifting signal and outputs a confirmation signal for non-tool-lifting to the machine tool safety measurement and control system to stop the false alarm shielding function; When the preliminary recognition result is a non-knife lift signal, the first sampling signal and the second sampling signal meet one of the following conditions: The first sampling signal and the second sampling signal are both fast moving signals; The first sampling signal and the second sampling signal are both cutting signals; The first sampling signal and the second sampling signal are both stop signals; The first sampling signal is a stop signal, and the second sampling signal is a cutting signal; The first sampling signal is a stop signal and the duration of the stop signal is greater than the preset duration, and the second sampling signal is a fast-moving signal.

3. The method for determining the knife lifting action according to claim 1, characterized in that: After the output confirmation signal of tool lifting is given to the machine tool safety measurement and control system, the determination method further comprises: Calculate the cumulative knife lifting time; Compensating the control parameters of the CNC machine tool according to the accumulated tool lifting time to shorten the accumulated tool lifting time of the CNC machine tool next time; The calculation of the cumulative tool lifting time includes one of the following: When the first sampling signal is a cutting signal and the second sampling signal is a fast moving signal, the duration of the fast moving signal is read to obtain the accumulated tool lifting time; When the first sampling signal is a stop signal and the duration of the stop signal is less than a preset duration, the second sampling signal is a fast-moving signal, and timing starts from the stop signal to obtain the accumulated tool lifting time.

4. The method for determining the knife lifting action according to claim 3, characterized in that: The method of compensating the control parameters of the CNC machine tool according to the accumulated tool lifting time to shorten the accumulated tool lifting time of the CNC machine tool next time includes: When the difference between the accumulated tool lifting time and control parameters of the first historical record in the preset cache space and the accumulated tool lifting time and control parameters of the CNC machine tool in the current sampling period is within the first threshold range, the control parameters of the CNC machine tool are corrected according to the control parameter compensation amount of the first historical record; When the difference between the accumulated tool lift time and control parameters of the second historical record in the cache space and the accumulated tool lift time and control parameters of the CNC machine tool in the current sampling period is within a second threshold range, the control parameter compensation amount of the second historical record is modified, and the control parameters of the CNC machine tool are corrected according to the modified control parameter compensation amount, wherein the first historical record and the second historical record both include the accumulated tool lift time, the control parameters of the CNC machine tool and the control parameter compensation amount.

5. A knife lifting operation unit, characterized in that: include: A first state machine, the first state machine is used to obtain a second sampling signal of a current sampling period and a first sampling signal of a previous sampling period, identify the first sampling signal and the second sampling signal, and output a preliminary identification result; wherein, when the preliminary identification result is a tool lifting signal, the first sampling signal and the second sampling signal meet one of the following conditions: the first sampling signal is a cutting signal, and the second sampling signal is a fast moving signal; the first sampling signal is a stop signal and the duration of the stop signal is less than a preset duration, and the second sampling signal is a fast moving signal; The second state machine is used to output a tool lifting signal to the machine tool safety measurement and control system when the preliminary recognition result is a tool lifting signal and the third sampling signal that lasts for the first time period is a fast movement signal, so that the machine tool safety measurement and control system performs a false alarm shielding function.

6. The knife lifting operation unit according to claim 5, characterized in that: The first state machine includes a scene encoding unit, a Z-transform delay unit, a compensation unit and a scene matching unit; wherein the scene encoding unit is used to acquire the scene signal transmitted by the CNC machine tool in real time, encode the scene signal, and obtain a sampling signal; the Z-transform delay unit is used to delay one sampling period to obtain the first sampling signal and the second sampling signal output by the scene encoding unit in two adjacent sampling periods and obtain a preliminary recognition result based on the first sampling signal and the second sampling signal; the compensation unit is used to compensate for the preliminary recognition result; and the scene matching unit is used to output the compensated preliminary recognition result to the second state machine.

7. The knife lifting operation unit according to claim 5, characterized in that: The second state machine includes a first embedded state machine, a second embedded state machine and a third embedded state machine, wherein the first embedded state machine is used for cyclic monitoring and confirmation. When the preliminary identification result is a tool lifting signal and the third sampling signal lasting for the first time length is a fast movement signal, the tool lifting confirmation signal is output to the machine tool safety measurement and control system, so that the machine tool safety measurement and control system performs a false alarm shielding function; the first embedded state machine is also used to read the duration of the fast movement signal when the first sampling signal is a cutting signal and the second sampling signal is a fast movement signal to obtain the cumulative tool lifting time; the second embedded state machine uses a logic gate circuit ping-pong flow to delay a sampling cycle to stabilize the data; the third embedded state machine is used to start timing from the stop signal when the first sampling signal is a stop signal and the duration of the stop signal is less than a preset duration, and the second sampling signal is a fast movement signal, to obtain the cumulative tool lifting time.

8. The knife lifting operation unit according to claim 5, characterized in that: It also includes a third state machine, which is used to compensate the control parameters of the CNC machine tool according to the accumulated tool lifting time to shorten the next accumulated tool lifting time of the CNC machine tool.

9. A system for distinguishing knife lifting action, characterized in that: include: at least one memory; at least one processor; at least one program; The program is stored in the memory, and the processor executes at least one of the programs to implement the method for determining the knife lifting action as described in any one of claims 1 to 4.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer-executable signal, and the computer-executable signal is used to execute the method for determining the knife lifting action as described in any one of claims 1 to 4.

Citation Information

Patent Citations

  • Numerical control cutting cutter path data denoising method

    CN107179742A

  • Macro control method for machining pulse of electric spark digital pulsed power supply

    CN107340753A

  • Cutter state identification method based on comparison between average signals and reference signals

    CN108044405A

  • Tool state monitoring method and device, equipment and storage medium

    CN112589535A