CN111061214A - Method and device for judging machine tool limit - Google Patents
Method and device for judging machine tool limit Download PDFInfo
- Publication number
- CN111061214A CN111061214A CN201911310238.3A CN201911310238A CN111061214A CN 111061214 A CN111061214 A CN 111061214A CN 201911310238 A CN201911310238 A CN 201911310238A CN 111061214 A CN111061214 A CN 111061214A
- Authority
- CN
- China
- Prior art keywords
- cutter
- tool
- machine tool
- length
- detected
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Programme-control systems
- G05B19/02—Programme-control systems electric
- G05B19/18—Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form
- G05B19/19—Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form characterised by positioning or contouring control systems, e.g. to control position from one programmed point to another or to control movement along a programmed continuous path
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B2219/00—Program-control systems
- G05B2219/30—Nc systems
- G05B2219/35—Nc in input of data, input till input file format
- G05B2219/35349—Display part, programmed locus and tool path, traject, dynamic locus
Landscapes
- Engineering & Computer Science (AREA)
- Human Computer Interaction (AREA)
- Manufacturing & Machinery (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Automation & Control Theory (AREA)
- Numerical Control (AREA)
Abstract
The application discloses a method and a device for judging machine tool limit, relates to the field of machine tool control, and mainly solves the problems that time and labor are wasted and the working efficiency is low when simulation software is used for judging whether a five-axis machine tool of a column type horizontal workbench is limited. The method comprises the following steps: acquiring a tool position file and working parameter information of numerical control machining of a machine tool to be detected; extracting position information of the tool tip point corresponding to each tool action in the workpiece coordinate system from the tool position file; calculating the length of the cutter under the action of each cutter by using the position information and the working parameter information; and judging the limiting state of the machine tool to be detected according to the length of the cutter. The method is suitable for limiting detection of the vertical column type horizontal workbench five-axis machine tool.
Description
Technical Field
The application relates to the field of machine tool control, in particular to a method and a device for judging machine tool limit.
Background
The vertical column type horizontal workbench five-axis machine tool has the possibility that the vertical column and the workbench are interfered in the machining process, and when the vertical column and the workbench are interfered, equipment stops operating due to limitation, so that economic loss is caused. Therefore, in the processing process, the limit condition is necessary to be judged in time.
At present, the limit of the machine tool can only be observed through simulation software, parameters are adjusted by using programming software after the limit is found, a cutter position file is recalculated, a numerical control program is post-processed, and then simulation is carried out until the limit condition does not occur.
However, the method for judging whether the five-axis machine tool of the column-type horizontal workbench is limited through the simulation software is time-consuming and labor-consuming, and the working efficiency is low.
Disclosure of Invention
In view of this, the present application provides a method and an apparatus for determining machine tool limit, and mainly aims to solve the problems of time and labor waste and low working efficiency when determining whether a five-axis machine tool of a column-type horizontal workbench is limited by using simulation software.
According to one aspect of the present application, there is provided a method of determining a limit of a machine tool, the method comprising:
acquiring a tool position file and working parameter information of numerical control machining of a machine tool to be detected;
extracting position information of the tool tip point corresponding to each tool action in the workpiece coordinate system from the tool position file;
calculating the length of the cutter under the action of each cutter by using the position information and the working parameter information;
and judging the limiting state of the machine tool to be detected according to the length of the cutter.
According to another aspect of the present application, there is provided an apparatus for determining a limit of a machine tool, the apparatus including:
the acquisition module is used for acquiring a tool position file and working parameter information of the numerical control machining of the machine tool to be detected;
the extraction module is used for extracting position information of the tool tip point corresponding to each tool action in the workpiece coordinate system from the tool position file;
the calculation module is used for calculating the length of the cutter under the action of each cutter by utilizing the position information and the working parameter information;
and the judging module is used for judging the limiting state of the machine tool to be detected according to the length of the cutter.
According to a further aspect of the present application, there is provided an apparatus for determining a limit of a machine tool, comprising a limit determination device, a storage device, a processor and readable instructions stored on the storage device and executable on the processor, wherein the processor, when executing the readable instructions, controls the limit determination device to implement the method for determining a limit of a machine tool described above.
By means of the technical scheme, compared with the current mode of judging based on simulation software, the method and the device for judging the machine tool limit can firstly acquire the tool position file and the working parameter information of the machine tool to be detected in the post-processing process, then extract the position information of the tool tip point corresponding to each tool action in the workpiece coordinate system from the tool position file, and further calculate the tool length under each tool action by utilizing the position information and the working parameter information. The limiting state of the machine tool to be detected under the action of each cutter can be judged by comparing the cutter length with a preset threshold value set by the machine tool. According to the scheme, the link of machine tool limiting detection is added in the post-processing process, so that the processing flow can be simplified, the operation time is shortened, the working efficiency is improved, and meanwhile, the safety of machine tool processing can be guaranteed.
The above description is only an outline of the technical solution of the present application, and the present application can be implemented in accordance with the content of the description so as to make the technical means of the present application more clearly understood, and the detailed description of the present application will be given below so that the above and other objects, features, and advantages of the present application can be more clearly understood.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the application and together with the description serve to explain the application and not to limit the application to the disclosed embodiment. In the drawings:
fig. 1 is a schematic flow chart illustrating a method for determining a limit of a machine tool according to an embodiment of the present disclosure;
FIG. 2 is a schematic flow chart illustrating another method for determining a limit of a machine tool according to an embodiment of the present disclosure;
FIG. 3 is a flow chart illustrating an operation of determining a limit of a machine tool according to an embodiment of the present disclosure;
fig. 4 is a schematic structural diagram illustrating an apparatus for determining a limit of a machine tool according to an embodiment of the present disclosure;
fig. 5 shows a schematic structural diagram of another device for determining a limit of a machine tool according to an embodiment of the present application.
Detailed Description
The present application will be described in detail below with reference to the accompanying drawings in conjunction with embodiments. It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict.
Aiming at the problems that time and labor are wasted and the working efficiency is low when simulation software is used for judging whether a five-axis machine tool of a column type horizontal workbench is limited at present, the embodiment provides a method for judging the limitation of the machine tool, and as shown in fig. 1, the method comprises the following steps:
101. and acquiring a tool position file and working parameter information of the numerical control machining of the machine tool to be detected.
The machine tool to be detected is a machining center which needs to perform limiting detection, the type of the machine tool to be detected is a vertical-column horizontal-table five-axis machine tool, the machine tool is a machine tool form that a workbench is horizontally placed and can rotate around the center, a main shaft is arranged on a vertical column instead of a cross beam, and the main shaft can rotate around a certain axis. In this case, the column may interfere with the table, and the position may be restricted.
The execution main body of the embodiment can be a limit detection device for judging the limit of the machine tool to be detected. The limit detection device can be used for checking and detecting the actions of each tool position in the tool position file and is used for judging whether the limit exists when the tool position file is executed by the machine tool to be detected in advance.
102. And extracting the position information of the tool tip point corresponding to each tool action in the workpiece coordinate system from the tool position file.
The tool position file comprises coordinate positions of the actions of the tools and the direction of a running track; the workpiece coordinate system is a coordinate system used in programming a part processing program, can be set according to a part drawing and is used for determining the position coordinates of a tool point in each tool action; the position information of the tool motion may comprise a coordinate point position and a direction vector of the tool motion in the workpiece coordinate system.
103. And calculating the length of the cutter under the action of each cutter by using the position information and the working parameter information.
For this embodiment, in a specific application scenario, the tool length in each tool action may be continuously solved in the post-processing process, and the obtained tool length is used as a criterion for determining the machine tool limit.
104. And judging the limiting state of the machine tool to be detected according to the length of the cutter.
For the embodiment, correspondingly, the tool length corresponding to each tool action can be calculated through a derivation formula, the tool length is compared with a preset threshold value, and whether the limit exists when the tool position file is executed by the machine tool to be detected is further judged.
Compared with the current mode of judging based on simulation software, the method for judging the limit of the machine tool provided by the embodiment can firstly acquire the tool position file and the working parameter information of the machine tool to be detected in the post-processing process, then extract the position information of the tool tip point corresponding to each tool action in the workpiece coordinate system from the tool position file, and further calculate the tool length under each tool action by using the position information and the working parameter information. The limiting state of the machine tool to be detected under the action of each cutter can be judged by comparing the cutter length with a preset threshold value set by the machine tool. According to the scheme, the link of machine tool limiting detection is added in the post-processing process, so that the processing flow can be simplified, the operation time is shortened, the working efficiency is improved, and meanwhile, the safety of machine tool processing can be guaranteed.
Further, as a refinement and an extension of the specific implementation of the above embodiment, in order to illustrate the specific implementation process of the above embodiment, the present embodiment provides another method for determining a limit of a machine tool, as shown in fig. 2, the method includes:
201. and acquiring a tool position file and working parameter information of the numerical control machining of the machine tool to be detected.
The working parameter information comprises the distance between the tool clamping point and the rotation center of the swing shaft and the distance between the rotation center of the swing shaft and the center of the workbench during limiting.
202. And extracting the position information of the tool tip point corresponding to each tool action in the workpiece coordinate system from the tool position file.
For example, when a tool file a is acquired and it is determined that three tool actions a, b, and c are included in the tool file a, it is necessary to extract a coordinate point position and a direction vector of a tool point in a workpiece coordinate system in the three tool actions a, b, and c, respectively.
203. And calculating the swing axis angle of the machine tool to be detected and the rotation angle of the workbench by using the coordinate vector value in the position information.
For the present embodiment, the formula for calculating the swing axis angle of the machine tool to be detected may be: a ═ arccosj, and a formula for calculating the rotation angle of the table of the machine tool to be detected may be:wherein A is the swing axis angle of the machine tool to be detected, B is the rotation angle of the workbench, and i, j and k are the coordinate vector values of the tool point corresponding to the x, y and z axes in the workpiece coordinate system.
204. And calculating the Z-axis coordinate value of the tool nose point in the machine tool coordinate system through the coordinate values in the rotating angle and the position information of the workbench.
For the embodiment, the calculation formula for calculating the Z-axis coordinate value of the tool nose point in the machine coordinate system may be: ztX × sin (b) + Z × cos (b), wherein ZtThe Z-axis coordinate value of the tool nose point in the machine tool coordinate system, B the rotation angle of the worktable, and x and Z the coordinate values of the tool nose point in the x-axis and the Z-axis respectively in the workpiece coordinate system.
205. And calculating the length of the cutter under the action of each cutter by using the distance between the cutter clamping point and the rotation center of the swinging shaft, the distance between the rotation center of the swinging shaft and the center of the workbench during limiting, the Z-axis coordinate value of the cutter point in a machine tool coordinate system and the swinging shaft angle of the machine tool to be detected.
Correspondingly, for this embodiment, the formula for calculating the tool length under each tool action may be:wherein L is1Is the length of the tool under the action of the tool, the length of the tool is the minimum length of the tool without limit, L2Is the distance, Z, of the tool clamping point from the centre of rotation of the oscillating shafttThe Z-axis coordinate value of the tool nose point in a machine tool coordinate system is shown, A is the angle of the swing shaft of the machine tool to be detected, and S is the distance between the rotation center of the swing shaft and the center of the workbench during limiting.
The calculation formula of the length of the cutter under the action of each cutter can be derived through a formula of calculating the distance between the rotation center of the swing shaft and the center of the workbench during limiting in a machine tool coordinate system, and the calculation formula of the coordinate value S between the rotation center of the swing shaft and the center of the workbench during limiting is as follows: z ═ St+(L1+L2) XcosA. In a specific application scenario, when the coordinate value of the rotation center of the swing shaft to the center of the workbench is greater than or equal to a preset limit threshold value during limiting, the machine tool does not have the limiting condition, the size of the preset limit threshold value can be determined by equipment parameters or actual measurement, and an S value greater than or equal to the preset limit threshold value is set according to actual requirements,and then, the assigned S value is used as a known value, the length of the cutter under the action of each cutter is solved, and whether the machine tool is limited is judged by utilizing the length of the cutter, for example, by taking an STC1250 horizontal workbench as an example, the limitation is generated when the rotation center of the swinging shaft of the STC1250 is less than-50 mm from the coordinate value of the center of the workbench according to equipment parameters. The S value may be set to a specific value of-50 mm or more than-50 mm.
206. The maximum value of the tool length in each tool action is detected and extracted.
For the present embodiment, in a specific application scenario, the embodiment step 206 may specifically include: detecting the action of each cutter according to the data arrangement sequence in the cutter file and updating the detection state, wherein the detection state comprises detected state and to-be-detected state; determining the maximum value of the cutter length in the detected cutter action; and comparing the maximum length of the cutter with the length of the cutter to be detected corresponding to the action of the cutter to be detected, and determining the length of the cutter to be detected as the maximum length of the cutter if the length of the cutter to be detected is judged to be greater than the maximum length of the cutter.
For the embodiment, in the post-processing process, data entry is performed according to different tool actions, when the tool position file is subjected to post-processing, the tool position file needs to be read in advance, whether the machine tool is limited or not can be detected sequentially through the tool actions, the maximum value of the tool length in the tool actions can be detected in a circulating mode, the maximum value of the tool length is used for limiting detection in real time, when the detection result shows that the limitation does not occur, the situation that the limitation does not necessarily exist in the tool actions with the tool lengths smaller than or equal to the maximum value of the tool length can be judged simultaneously, so that the detection flow can be simplified, and the detection efficiency can be improved. When the currently detected cutter length is determined to be greater than the maximum cutter length, the current cutter length is determined as the maximum cutter length, and limit detection is carried out again; when the currently detected cutter length is determined to be smaller than or equal to the maximum cutter length, the limit detection result of the maximum cutter length can be determined as the judgment result corresponding to the current cutter length, and therefore limit detection can be avoided.
For example, it is determined that A, B, C, D four tool actions are sequentially included in the tool file, and the tool lengths corresponding to the four tool actions are calculated as follows: a. b, c and d. Sequentially identifying and detecting A, B, C, D four cutter actions according to the action reading sequence of the cutter file, wherein when the detection is not carried out, the detection states of A, B, C, D are all to be detected; when the detection is started, determining the first detected cutter length a as the maximum cutter length in advance, judging the limiting state, marking the detection state of the cutter action A as detected if the limitation does not exist at the cutter action A, further detecting the cutter length B, and judging that the limitation does not exist at the cutter action B if the B is determined to be less than or equal to a; if it is determined that b is larger than a, replacing the length b of the cutter as the maximum value of the length of the cutter, and further judging the limiting state again on the basis of the length b of the cutter; if the position of the cutter action B is determined to be not limited, marking the detection state of the cutter action B as detected, continuing to detect the limiting state of the cutter action C, comparing the cutter length C with the maximum value of the cutter length in the cutter length a and the cutter length B, and if the cutter length C is determined to be less than or equal to the maximum value of the cutter length, determining that the position of the cutter action C is not limited; if the c is determined to be larger than the maximum value of the length of the cutter, replacing the length c of the cutter as the maximum value of the length of the cutter, and further judging the limiting state again on the basis of the length c of the cutter; correspondingly, if the position of the cutter action C is determined to be not limited, the detection state of the cutter action C is marked as detected, the position limit state detection of the cutter action D is continued, the cutter length D is compared with the maximum value of the cutter length in the cutter length a, the cutter length b and the cutter length C, and if the D is determined to be less than or equal to the maximum value of the cutter length, the position limit of the cutter action D is determined to be not limited; and if d is determined to be larger than the maximum value of the length of the cutter, replacing the length of the cutter d with the maximum value of the length of the cutter.
207. And judging the limiting state of the machine tool to be detected by utilizing the maximum length of the cutter.
For the present embodiment, correspondingly, step 207 of the embodiment may specifically include: acquiring the maximum value of the length of the cutter and the target cutter action corresponding to the maximum value of the length of the cutter; if the maximum length of the cutter is smaller than the limit threshold value, judging that the machine tool to be detected has no limit at the action position of the target cutter; and if the maximum value of the cutter length is determined to be larger than or equal to the limit threshold value, judging that the machine tool to be detected has limit at the action position of the target cutter.
The preset threshold value of the machine tool limiting is manually set according to the length of the cutter used in machining, namely the minimum value of the machine tool limiting can be judged, when the cutter length is determined to be smaller than the preset threshold value, the machine tool to be detected is judged to be not limited at the action position of the target cutter, and otherwise, the machine tool to be detected is limited.
For example, based on the example of the embodiment step 206, after the maximum value of the tool length is screened out, if the tool length a is determined to be the maximum value of the tool length, the tool length a is compared with a limit threshold, and the corresponding tool action a is defined as the target tool length, and if a is determined to be smaller than the limit threshold, it is determined that the machine tool to be detected has no limit at the tool action a; and if the a is determined to be larger than or equal to the limit threshold value, judging that the machine tool to be detected has limit at the cutter action A. Similarly, in the process of sequentially detecting the tool actions, if the maximum value of the tool length is updated, the limit state needs to be detected again according to the method, and the limit state of the machine tool to be detected under the tool action B, C, D is further determined.
208. And if the machine tool to be detected is judged to have no limit at the target tool action position, outputting the position information corresponding to the target tool action to the numerical control program.
In a specific application scenario, if it is determined that there is no machine tool limit at the target tool action, the safety of execution of the tool file can be determined, and further, the tool file can be input into a specific operation scenario to respond to the machining process.
209. And if the machine tool to be detected is limited at the target tool action position, outputting machine tool limiting prompt information, wherein the prompt information comprises position information corresponding to the target tool action.
The prompt information may include text prompt information, picture prompt information, audio prompt information, video prompt information, light prompt information, vibration prompt information, and the like. The detection result of the machine tool limit can be output through various forms such as audio, video or characters.
In the present embodiment, when the machine tool limit is determined in advance using the tool position file, as shown in fig. 3, each tool position action in the tool position file is read first, and the swing axis angle a of the working machine corresponding to each tool position action, the table rotation angle B, and the Z-axis coordinate value Z of the tool point in the machine tool coordinate system can be calculatedtAnd then solving the cutter length corresponding to each cutter action, circularly screening the maximum value of the cutter length from each cutter length through the detection and judgment of the judgment frame, and judging whether the cutter action corresponding to the maximum value of the cutter length can cause the limit of the machine tool or not again when a new maximum value of the cutter length is determined. When the maximum value of the length of the cutter is judged to be smaller than the limiting threshold value or the length of the cutter in the current cutter action is judged to be smaller than the maximum value of the length of the cutter, the fact that the machine tool is not limited under the current cutter action can be judged, and then the post-processing process is continued.
By the method for judging the machine tool limit, a limit detection link can be added in the post-processing process of the tool position file, namely, the swing axis angle, the workbench rotation angle and the Z-axis coordinate value of the tool point of the machine tool to be detected in the machine tool coordinate system, which correspond to each tool position action in the tool position file, are calculated in advance, the tool length corresponding to each tool position action is calculated by combining the known set working parameter information, whether the machine tool limit condition exists in the corresponding tool action of the machine tool to be detected is determined by comparing the tool length with a limit threshold, if the machine tool limit condition does not exist, the tool position file excluding the machine tool limit is output to a numerical control program, and the numerical control program processing is continued; if the machine tool limit exists, stopping post-processing operation, outputting prompt information containing the limit position in the tool position file, and further prompting to remove the limit state until the machine tool limit state cannot be detected. By the method, the limit state can be checked in advance before the cutter position file is operated by the machine tool, and the safety and the reliability of machine tool machining can be effectively improved. In addition, as a preferable mode, when the machine tool limit state is judged by using the tool length, a method of screening the maximum value of the tool length and performing alternative detection by using the maximum value of the tool length can be adopted, so that the detection steps can be simplified, and the working efficiency can be improved.
Further, as a concrete embodiment of the method shown in fig. 1 and fig. 2, an embodiment of the present application provides an apparatus for determining a limit of a machine tool, as shown in fig. 4, the apparatus includes: the device comprises an acquisition module 31, an extraction module 32, a calculation module 33 and a judgment module 34.
The acquisition module 31 can be used for acquiring a tool position file and working parameter information of the numerical control machining of the machine tool to be detected;
the extracting module 32 is used for extracting position information of the tool tip point corresponding to each tool action in the workpiece coordinate system from the tool position file;
the calculation module 33 is used for calculating the length of the cutter under the action of each cutter by using the position information and the working parameter information;
and the judging module 34 can be used for judging the limiting state of the machine tool to be detected according to the length of the cutter.
In a specific application scenario, in order to calculate the length of the tool under the action of each tool by using the position information and the working parameter information, the calculation module 33 is specifically configured to calculate the swing axis angle and the rotation angle of the worktable of the machine tool to be detected by using the coordinate vector value in the position information; calculating the Z-axis coordinate value of the tool nose point in the machine tool coordinate system through the coordinate values in the rotating angle and the position information of the workbench; and calculating the length of the cutter under the action of each cutter by using the distance between the cutter clamping point and the rotation center of the swinging shaft, the distance between the rotation center of the swinging shaft and the center of the workbench during limiting, the Z-axis coordinate value of the cutter point in a machine tool coordinate system and the swinging shaft angle of the machine tool to be detected.
In a specific application scenario, the calculation formula for calculating the swing axis angle and the rotation angle of the workbench of the machine tool to be detected by using the coordinate vector value in the position information may be as follows: a is-arc cos j,wherein A is the swing axis angle of the machine tool to be detected, B is the rotation angle of the workbench, and i, j and k are the coordinate vector values of the tool point corresponding to the x, y and z axes in the workpiece coordinate system.
Correspondingly, the formula for calculating the Z-axis coordinate value of the tool nose point in the machine tool coordinate system through the coordinate values in the table rotation angle and position information may be: ztX × sin (b) + Z × cos (b), wherein ZtThe Z-axis coordinate value of the tool nose point in the machine tool coordinate system, B the rotation angle of the worktable, and x and Z the coordinate values of the tool nose point in the x-axis and the Z-axis respectively in the workpiece coordinate system.
In a specific application scenario, a calculation formula for calculating the tool length under each tool action by using the distance between a tool clamping point and a swing shaft rotation center, the distance between the swing shaft rotation center and a workbench center during limiting, a Z-axis coordinate value of a tool nose point in a machine tool coordinate system and a swing shaft angle of a machine tool to be detected can be as follows:wherein L1 is the length of the cutter under the action of the cutter, the length of the cutter is the minimum length of the cutter without limit, L2Is the distance, Z, of the tool clamping point from the centre of rotation of the oscillating shafttThe Z-axis coordinate value of the tool nose point in a machine tool coordinate system is shown, A is the angle of the swing shaft of the machine tool to be detected, and S is the distance between the rotation center of the swing shaft and the center of the workbench during limiting.
In a specific application scenario, in order to determine the limit state of the machine tool to be detected through the tool length, the determination module 34 may be specifically configured to detect and extract the maximum value of the tool length in each tool action; and judging the limiting state of the machine tool to be detected by utilizing the maximum length of the cutter.
Correspondingly, in order to detect and update the maximum value of the tool length in each tool action, the determination module 34 may be specifically configured to detect each tool action according to the data arrangement sequence in the tool file and obtain a detection state, where the detection state includes detected and to-be-detected; determining the maximum value of the cutter length in the detected cutter action; and comparing the maximum length of the cutter with the length of the cutter to be detected corresponding to the action of the cutter to be detected, and determining the length of the cutter to be detected as the maximum length of the cutter if the length of the cutter to be detected is judged to be greater than the maximum length of the cutter.
In a specific application scenario, in order to determine the limit state of the machine tool to be detected by using the maximum value of the tool length, the determination module 34 may be specifically configured to obtain the maximum value of the tool length and a target tool action corresponding to the maximum value of the tool length; if the maximum length of the cutter is smaller than the limit threshold value, judging that the machine tool to be detected has no limit at the action position of the target cutter; and if the maximum value of the cutter length is determined to be larger than or equal to the limit threshold value, judging that the machine tool to be detected has limit at the action position of the target cutter.
In a specific application scenario, in order to output the limit state of the machine tool to be detected after determining the limit of the machine tool, as shown in fig. 5, the apparatus further includes: and an output module 35.
The output module 35 is configured to output position information corresponding to the target tool motion to the numerical control program if it is determined that there is no machine tool limit at the target tool motion;
the output module 35 may be further configured to, if it is determined that the machine tool limit exists at the target tool action position, output a prompt message of the machine tool limit, where the prompt message includes position information corresponding to the target tool action.
It should be noted that other corresponding descriptions of the functional units related to the device for determining a machine tool limit provided by this embodiment may refer to the corresponding descriptions in fig. 1 to fig. 2, and are not described herein again.
Based on the above-mentioned method shown in fig. 1 and fig. 2 and the virtual device embodiment shown in fig. 4 and fig. 5, in order to achieve the above-mentioned object, the present application further provides an apparatus for determining a limit of a machine tool, including a limit determining device, a storage device, a processor and readable instructions stored on the storage device and executable on the processor, wherein the processor controls the limit determining device to implement the above-mentioned method for determining a limit of a machine tool shown in fig. 1 and fig. 2 when executing the readable instructions.
Those skilled in the art will appreciate that the structure of the device for determining the limit of the machine tool provided by the embodiment does not constitute a limitation to the physical device, and may include more or less components, or combine some components, or arrange different components.
Through the above description of the embodiments, those skilled in the art will clearly understand that the present application can be implemented by software plus a necessary general hardware platform, and can also be implemented by hardware. By applying the technical scheme, compared with the prior art, the method can add a limit detection link in the post-processing process of the cutter position file, namely, pre-calculating the swing axis angle of the machine tool to be detected, the rotating angle of a workbench and the Z-axis coordinate value of a cutter point in a machine tool coordinate system, which correspond to each cutter action in the cutter position file, and further calculating the cutter length corresponding to each cutter position action by combining the known set working parameter information, comparing the cutter length with a limit threshold value to determine whether the machine tool to be detected has a machine tool limit condition in the corresponding cutter position action, and if the machine tool limit condition does not exist, outputting a numerical control program to the cutter position file excluding the machine tool limit, and continuing to process the numerical control program; if the machine tool limit exists, stopping post-processing operation, outputting prompt information containing the limit position in the tool position file, and further prompting to remove the limit state until the machine tool limit state cannot be detected. By the method, the limit state can be checked in advance before the cutter position file is operated by the machine tool, and the safety and the reliability of machine tool machining can be effectively improved. In addition, as a preferable mode, when the machine tool limit state is judged by using the tool length, a method of screening the maximum value of the tool length and performing alternative detection by using the maximum value of the tool length can be adopted, so that the detection steps can be simplified, and the working efficiency can be improved.
Those skilled in the art will appreciate that the figures are merely schematic representations of one preferred implementation scenario and that the blocks or flow diagrams in the figures are not necessarily required to practice the present application. Those skilled in the art will appreciate that the modules in the devices in the implementation scenario may be distributed in the devices in the implementation scenario according to the description of the implementation scenario, or may be located in one or more devices different from the present implementation scenario with corresponding changes. The modules of the implementation scenario may be combined into one module, or may be further split into a plurality of sub-modules.
The above application serial numbers are for description purposes only and do not represent the superiority or inferiority of the implementation scenarios. The above disclosure is only a few specific implementation scenarios of the present application, but the present application is not limited thereto, and any variations that can be made by those skilled in the art are intended to fall within the scope of the present application.
Claims (10)
1. A method of determining a machine tool limit, comprising:
acquiring a tool position file and working parameter information of numerical control machining of a machine tool to be detected;
extracting position information of the tool tip point corresponding to each tool action in the workpiece coordinate system from the tool position file;
calculating the length of the cutter under the action of each cutter by using the position information and the working parameter information;
and judging the limiting state of the machine tool to be detected according to the length of the cutter.
2. The method of claim 1, wherein the operating parameter information comprises: the distance between the tool clamping point and the rotation center of the swing shaft and the distance between the rotation center of the swing shaft and the center of the workbench during limiting;
the calculating the length of the cutter under the action of each cutter by using the position information and the working parameter information specifically comprises:
calculating the swing axis angle and the workbench rotation angle of the machine tool to be detected by using the coordinate vector value in the position information;
calculating the Z-axis coordinate value of the tool nose point in a machine tool coordinate system according to the rotation angle of the workbench and the coordinate value in the position information;
and calculating the cutter length under the action of each cutter by using the distance between the cutter clamping point and the rotation center of the swing shaft, the distance between the rotation center of the swing shaft and the center of the workbench during limiting, the Z-axis coordinate value of the cutter point in a machine tool coordinate system and the swing shaft angle of the machine tool to be detected.
3. The method according to claim 2, wherein the calculation formula for calculating the swing axis angle and the table rotation angle of the machine tool to be detected by using the coordinate vector values in the position information is as follows:
A=-arc cos j,
4. The method according to claim 2, wherein the calculation formula for calculating the Z-axis coordinate value of the nose point in the machine coordinate system from the table rotation angle and the coordinate value in the position information is:
Ztx × sin (b) + Z × cos (b), wherein ZtThe Z-axis coordinate value of the tool nose point in the machine tool coordinate system, B the rotation angle of the worktable, and x and Z the coordinate values of the tool nose point in the x-axis and the Z-axis respectively in the workpiece coordinate system.
5. The method according to claim 4, wherein the calculation formula for calculating the tool length under the action of each tool by using the distance between the tool clamping point and the rotation center of the swinging shaft, the distance between the rotation center of the swinging shaft and the center of the worktable during the limiting, the Z-axis coordinate value of the tool nose point in the machine tool coordinate system and the swinging shaft angle of the machine tool to be detected is as follows:
wherein L is1Is the length of the cutter under the action of the cutter, and the length of the cutter is not limitedMinimum tool length of bit, L2Is the distance, Z, of the tool clamping point from the centre of rotation of the oscillating shafttThe Z-axis coordinate value of the tool nose point in a machine tool coordinate system is shown, A is the angle of the swing shaft of the machine tool to be detected, and S is the distance between the rotation center of the swing shaft and the center of the workbench during limiting.
6. The method according to claim 5, wherein the determination of the limit state of the machine tool to be tested by the tool length specifically comprises:
detecting and extracting the maximum value of the cutter length in each cutter action;
and judging the limiting state of the machine tool to be detected by utilizing the maximum length of the cutter.
7. The method according to claim 6, wherein the detecting and extracting the maximum value of the tool length in each tool action specifically comprises:
detecting the actions of the cutters according to the data arrangement sequence in the cutter file and updating the detection state, wherein the detection state comprises detected state and to-be-detected state;
determining the maximum value of the cutter length in the detected cutter action;
comparing the maximum cutter length with the length of the cutter to be detected corresponding to the action of the cutter to be detected, and determining the length of the cutter to be detected as the maximum cutter length if the length of the cutter to be detected is judged to be greater than the maximum cutter length;
the method for judging the limiting state of the machine tool to be detected by utilizing the maximum length of the cutter specifically comprises the following steps:
acquiring the maximum value of the cutter length and the target cutter action corresponding to the maximum value of the cutter length;
if the maximum length of the cutter is smaller than a limit threshold value, judging that the machine tool to be detected has no limit at the action position of the target cutter;
and if the maximum length of the cutter is determined to be greater than or equal to the limit threshold, determining that the machine tool to be detected has limit at the action position of the target cutter.
8. The method of claim 7, after determining a machine limit using the maximum tool length value, further comprising:
if the situation that the machine tool to be detected does not have limit at the target cutter action position is judged, outputting position information corresponding to the target cutter action to a numerical control program;
and if the machine tool to be detected is limited at the target tool action position, outputting machine tool limiting prompt information, wherein the prompt information comprises position information corresponding to the target tool action.
9. A device for judging the limit of a machine tool is characterized by comprising:
the acquisition module is used for acquiring a tool position file and working parameter information of the numerical control machining of the machine tool to be detected;
the extraction module is used for extracting position information of the tool tip point corresponding to each tool action in the workpiece coordinate system from the tool position file;
the calculation module is used for calculating the length of the cutter under the action of each cutter by utilizing the position information and the working parameter information;
and the judging module is used for judging the limiting state of the machine tool to be detected according to the length of the cutter.
10. An apparatus for determining a limit of a machine tool, comprising a limit determination device, a storage device, a processor and readable instructions stored on the storage device and executable on the processor, wherein the processor, when executing the readable instructions, controls the limit determination device to implement the method of determining a limit of a machine tool of any one of claims 1 to 8.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911310238.3A CN111061214B (en) | 2019-12-18 | 2019-12-18 | Method and device for judging machine tool limit |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911310238.3A CN111061214B (en) | 2019-12-18 | 2019-12-18 | Method and device for judging machine tool limit |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111061214A true CN111061214A (en) | 2020-04-24 |
CN111061214B CN111061214B (en) | 2021-10-29 |
Family
ID=70302240
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911310238.3A Active CN111061214B (en) | 2019-12-18 | 2019-12-18 | Method and device for judging machine tool limit |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111061214B (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101303583A (en) * | 2008-06-19 | 2008-11-12 | 上海交通大学 | Method for planning five-axis numerical control to process safety shortest cutting tool length |
CN103728917A (en) * | 2013-12-27 | 2014-04-16 | 天津大学 | Method for preventing numerical control machining and measuring device from collision |
CN104126157A (en) * | 2013-02-21 | 2014-10-29 | 三菱电机株式会社 | Interference check device and numerical control device |
WO2018179401A1 (en) * | 2017-03-31 | 2018-10-04 | 株式会社牧野フライス製作所 | Tool path generation method and device |
CN109623462A (en) * | 2019-01-07 | 2019-04-16 | 赫比(成都)精密塑胶制品有限公司 | Machining center main shaft avoiding collision |
CN110456730A (en) * | 2019-07-25 | 2019-11-15 | 上海拓璞数控科技股份有限公司 | Collision avoidance system and method for double five axis mirror images milling equipment |
-
2019
- 2019-12-18 CN CN201911310238.3A patent/CN111061214B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101303583A (en) * | 2008-06-19 | 2008-11-12 | 上海交通大学 | Method for planning five-axis numerical control to process safety shortest cutting tool length |
CN104126157A (en) * | 2013-02-21 | 2014-10-29 | 三菱电机株式会社 | Interference check device and numerical control device |
CN103728917A (en) * | 2013-12-27 | 2014-04-16 | 天津大学 | Method for preventing numerical control machining and measuring device from collision |
WO2018179401A1 (en) * | 2017-03-31 | 2018-10-04 | 株式会社牧野フライス製作所 | Tool path generation method and device |
CN109623462A (en) * | 2019-01-07 | 2019-04-16 | 赫比(成都)精密塑胶制品有限公司 | Machining center main shaft avoiding collision |
CN110456730A (en) * | 2019-07-25 | 2019-11-15 | 上海拓璞数控科技股份有限公司 | Collision avoidance system and method for double five axis mirror images milling equipment |
Also Published As
Publication number | Publication date |
---|---|
CN111061214B (en) | 2021-10-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9122267B2 (en) | Interference checking device and numerical control apparatus | |
CN102859454B (en) | Numerical control device | |
CN104772596B (en) | For positioning and the system of the blind hole of drilling turbine components, method and apparatus | |
CN101546184B (en) | Machining simulation apparatus | |
US20130030781A1 (en) | Processing stimulation method, device for the same, and program for causing a computer to execute the method | |
JP2017140684A (en) | Robot programming unit for teaching robot program | |
CN115993804B (en) | Cutter parameter adjustment method based on numerical control machine tool and related equipment | |
CN108027606B (en) | Machining reset implementation method, compiler, robot, numerical control system and machine tool | |
CN111061214B (en) | Method and device for judging machine tool limit | |
CN114721419B (en) | Tower inspection method, device and equipment based on unmanned aerial vehicle power transmission line | |
JP2017220213A (en) | Machining load analysis device, machining load analysis program, and machining load analysis system | |
CN106054812A (en) | Numerical control device capable of checking interference of checking tool on to-be-processed object | |
CN117336052A (en) | Intrusion detection method and device for network manufacturing system and electronic equipment | |
CN112665885B (en) | Stability evaluation method and device for hoisting equipment, hoisting equipment and storage medium | |
CN109496284B (en) | Method for recording machining track by bitmap and numerical control equipment | |
US20120046773A1 (en) | Mold design system and method | |
JP2008071015A (en) | Numerical controller | |
CN113189933B (en) | Teaching track modification method, device, equipment and storage medium | |
CN102906653A (en) | Numeric control program generation method, device for same, and program for causing computer to execute method for same | |
CN107942929B (en) | Control method of numerical control lathe based on neural network computing technology | |
KR20130103597A (en) | Tool collision prevention system and tool collision prevention method | |
CN110895719A (en) | Authentication device | |
CN109683551A (en) | Numerical control device and cutter path determine method | |
JP6561788B2 (en) | Thermal displacement correction device | |
KR20190021510A (en) | Method for setting anti-collision zone of machining center during operation of based by virtual machine |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |