Double-machining-channel machine tool control method and system, storage medium and terminal
By establishing a virtual machine tool model to simulate the machining process of the dual-processing channel machine tool, the problem of dual-channel collision risk is solved, and a more efficient and safe machining process is achieved.
Patent Information
- Application Number
- CN202411364518.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-27
- Publication Date
- 2025-02-11
AI Technical Summary
There is a risk of dual-channel collision during the processing test of dual-processing channel machine tools, and it is difficult to determine the position coordinate points during the collision, resulting in the program re-modification, affecting the processing efficiency.
By obtaining the actual operating parameters of the dual-processing channel machine tool, establishing a virtual machine tool model, simulating the processing process, when a collision occurs in a virtual machine tool model, determine the collision point and stop running, displaying the current position in order to adjust the program parameters and optimize the processing path.
Effectively monitor machine tool processing, accurately determine collision points, reduce the number of program modifications, and improve the machining efficiency and safety of dual-processing channel machine tools.
Smart Images

Figure CN119414778A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of machine tools, and in particular to a control method, system, storage medium and terminal for a dual-processing channel machine tool. Background Art
[0002] Machine tools are currently the basis of the manufacturing industry and are often used to precisely cut metal to produce other machines or processed metal parts.
[0003] In the prior art, with the continuous advancement of machine tool processing technology, society has higher and higher requirements for the cutting efficiency and precision of various parts processing, and for this reason, dual-channel machine tools have emerged. The two channels of the dual-channel machine tool can process the workpiece at the same time, which greatly improves the efficiency. In the daily production process of the dual-channel machine tool, the program is generally written based on the product specifications and the processing conditions of the dual-channel machine tool, and multiple processing tests are performed to verify the accuracy of the program.
[0004] With respect to the above-mentioned related technologies, in the process of multiple detection and verification of the program, there is a risk of dual-channel collision when directly performing processing tests through the program written for a dual-channel machine tool, and it is difficult to determine the position coordinate points corresponding to the dual-channel collision, resulting in the need to modify the program corresponding to the collision and continue testing and verification, making it difficult to write a program while coordinating the dual channels to obtain the optimal processing efficiency. Summary of the invention
[0005] In order to improve the efficiency and safety of dual-processing channel machine tool processing, the present invention provides a dual-processing channel machine tool control method, system, storage medium and terminal.
[0006] In a first aspect, the present invention provides a dual-processing channel machine tool control method, which adopts the following technical solution:
[0007] A dual-processing channel machine tool control method, comprising:
[0008] Obtain the actual operating parameters and actual machine tool parameters of the dual-processing channel machine tool;
[0009] Based on the actual machine tool parameters, the parameters are input into a preset virtual computer numerical control module to obtain a virtual machine tool model;
[0010] Inputting actual operation parameters into the virtual machine tool model to drive the virtual machine tool model to operate and obtain feedback information;
[0011] If and only if there is a collision point in the feedback information, the virtual machine tool model and the dual-processing channel machine tool are controlled to stop running, and the position displayed by the current actual operating parameters of the virtual machine tool model is displayed.
[0012] By adopting the above technical solution, the processing of the dual-channel machine tool is simulated, so that the machine tool can be monitored. When a collision occurs on the virtual machine tool model displayed on the computer, the collision point is determined and the machine tool and the virtual machine tool model are controlled to stop running and the position of the actual operating parameters that currently cause the collision is displayed, thereby facilitating subsequent changes to the program parameters and optimizing the coordinated allocation of the dual-channel machine tool processing paths, thereby improving the efficiency and safety of the dual-channel machine tool processing.
[0013] Optionally, the following specific steps are also included after obtaining the feedback information:
[0014] Determine the real-time machining shape based on the feedback information;
[0015] Determine whether the real-time processing shape is consistent with the preset reference processing shape;
[0016] If there is any inconsistency, the abnormal position is determined based on the comparison between the real-time processing shape and the reference processing shape;
[0017] Determine and adjust machine tool parameters based on abnormal position and reference machining shape;
[0018] If they are consistent, the real-time processing area is determined based on the real-time processing shape;
[0019] If and only if the real-time processing area is inconsistent with the preset reference processing area, the distance between the corresponding positions of the real-time processing shape and the reference processing shape is calculated and used as the actual offset parameter;
[0020] Retrieve current tool parameters based on actual machine tool parameters;
[0021] Calculate the difference between the current tool parameter and the actual offset parameter and use it as the tool adjustment parameter;
[0022] The tool adjustment parameters are used to replace the current tool parameters in the actual machine tool parameters to form the adjustment machine tool parameters;
[0023] Based on adjusting the machine tool parameters, the machine tool parameters are input into the virtual computer numerical control module to form a new virtual machine tool model, and the actual operation parameters are input into the new virtual machine tool model to obtain new feedback information.
[0024] By adopting the above technical scheme, the machine tool parameters are re-determined and adjusted based on the judgment result of whether there are abnormal positions in the real-time processing shape, the tool adjustment parameters are obtained by adjusting the tool parameters and the actual offset parameters and the machine tool parameters are re-determined and adjusted, and then the machine tool parameters, the virtual computer numerical control module and the actual operation parameters are adjusted to determine the new virtual machine tool model and feedback information, thereby reducing the situation where the virtual machine tool model and the dual processing channel machine tool are not synchronously processed, and reducing the situation where collision position errors occur on the virtual machine tool model, thereby improving the efficiency and safety of dual processing channel machine tool processing.
[0025] Optionally, the following specific steps are also included after obtaining the new feedback information:
[0026] Determine the real-time processing position based on the feedback information;
[0027] Determine whether the real-time processing position is consistent with the preset reference processing position;
[0028] If they are consistent, continue to output feedback information;
[0029] If not, determine whether the real-time machining shape falls within the preset blank shape;
[0030] If the real-time processing shape falls into the blank shape, the feedback information will continue to be output;
[0031] If the real-time machining shape does not fall into the blank shape, the distance between the reference machining position and the real-time machining position is calculated and used as the deviation vector value;
[0032] Adjusting the actual machine tool parameters based on the relative direction of the deviation vector value to form adjusted machine tool parameters;
[0033] A new virtual machine tool model is determined based on adjusting machine tool parameters and virtual computer numerical control modules.
[0034] By adopting the above technical solution, after the real-time processing position is determined by feedback information, when the real-time processing position is inconsistent with the reference processing position and the real-time processing shape does not fall within the blank shape, the real-time processing position is adjusted by the calculated deviation vector value and the relative direction of the deviation vector value to adjust the machine tool parameters and determine a new virtual machine tool model, thereby reducing the situation where there is no synchronous processing between the virtual machine tool model and the dual processing channel machine tool, and reducing the situation where collision position errors occur on the virtual machine tool model, thereby improving the efficiency and safety of dual processing channel machine tool processing.
[0035] Optionally, there is a collision point in the feedback information, and a method for determining the collision point includes:
[0036] Based on the actual machine tool parameters, the maximum machining radius corresponding to the dual machining channel machine tool is retrieved;
[0037] Combining the real-time processing shape, the real-time processing area and the real-time processing position to form a real-time processing specification;
[0038] If and only if the real-time processing specification is consistent with the preset reference processing specification, the processing type and the intersection point are determined based on the actual operation parameters;
[0039] Call the spindle radius and tool radius based on the actual machine tool parameters;
[0040] Determine the collision range of the corresponding intersection point according to the spindle radius, tool radius and processing type;
[0041] If and only if the tool or spindle falls within the collision range, the intersection point within the collision range is taken as the collision point.
[0042] By adopting the above technical solution, the corresponding real-time processing specifications and benchmark processing specifications in the dual-processing channel machine tool in the actual machine tool parameters are analyzed. When and only when the real-time processing specifications are consistent with the benchmark processing specifications, the maximum radius corresponding to the processing type, intersection point, processing speed, spindle or tool is analyzed to determine the collision range of the intersection point, and the intersection point falling within the collision range is used as the collision point, so that the position parameters of the collision can be accurately known, which is convenient for subsequent changes to the program parameters, thereby improving the efficiency and safety of dual-processing channel machine tool processing.
[0043] Optionally, the specific steps after taking the intersection point falling within the collision range as the collision point are also included:
[0044] Determine the collision parameters corresponding to the collision point according to the actual operating parameters;
[0045] Based on the collision parameters, the current processing area corresponding to the current processing shape of the corresponding spindle is retrieved;
[0046] Based on the size of the current processing area, the spindle corresponding to the smallest current processing area is selected as the adjustment spindle, and the collision parameter corresponding to the adjustment spindle is used as the collision adjustment parameter;
[0047] Determine whether there are other processing shapes corresponding to the actual operating parameters of the adjusted spindle;
[0048] If so, determining other processing parameters based on other processing shapes and actual operating parameters;
[0049] Sequentially replace other processing parameters and collision adjustment parameters to re-form actual operating parameters corresponding to the adjustment spindle;
[0050] If it does not exist, the preset reference processing method of straight line from outside to inside is adjusted to form a processing adjustment method of straight line from outside to inside moving left and right;
[0051] The process adjustment method is added to the actual operating parameters to form new actual operating parameters.
[0052] By adopting the above technical solution, when the spindles or tools corresponding to the dual-machining channel machine tool collide, the spindle corresponding to the current smallest machining area is selected as the adjustment spindle and it is determined whether there are other machining parameters corresponding to other machining shapes. If so, the other machining parameters are replaced sequentially with the collision adjustment parameters of the adjustment spindle. If not, the baseline machining method is changed to the machining adjustment method, thereby reducing the probability of collision of the dual-machining channel machine tool, thereby improving the efficiency and safety of dual-machining channel machine tool machining.
[0053] Optionally, the method further includes the following specific steps after calling the current processing area corresponding to the current processing shape of the corresponding spindle based on the collision parameter:
[0054] Determine the collision path corresponding to the collision point according to the actual operating parameters;
[0055] Determine whether there are multiple collision points on the collision path;
[0056] If it does not exist, the execution will jump to select the spindle corresponding to the smallest current processing area as the adjustment spindle based on the size of the current processing area, and use the collision parameter corresponding to the adjustment spindle as the collision adjustment parameter;
[0057] If it exists, the machining direction of the corresponding spindle is determined based on the collision parameters;
[0058] Determine whether the processing direction is opposite operation;
[0059] If yes, the machining speed and machining center position of the corresponding spindle are retrieved based on the actual operating parameters;
[0060] Calculate the quotient of the processing speed and the preset safety distance to determine the maximum dwell time, and add the maximum dwell time to the actual operation parameters to form new actual operation parameters;
[0061] If not, the collision position is determined based on the machining center position and the safety distance;
[0062] When the machining center moves to the collision position, the machining speed of the corresponding spindle in the front of the machining direction is used as the reference speed based on the priority of the same-direction operation and the speed of the machining speed.
[0063] Based on the reference speed, the processing speed of the corresponding spindle located behind the processing direction is adjusted so that the processing speed of the corresponding rear spindle is consistent with the reference speed;
[0064] The reference speed, collision position, priority of same-direction operation and processing speed are added to the actual operation parameters to form new actual operation parameters.
[0065] By adopting the above technical solution, when there are multiple collision points on the collision path, if the processing direction is opposite operation, the spindle is controlled to stop moving with the maximum dwell time, so that other spindles continue to run after passing the path corresponding to the collision point. If it is not opposite operation, the movement speed of the rear spindle is adjusted to the reference movement speed according to the priority situation corresponding to the collision position, thereby reducing the probability of collision of the dual processing channel machine tool, thereby improving the efficiency and safety of the dual processing channel machine tool processing.
[0066] Optionally, the method further includes the following specific steps after adding the reference speed, the collision position, the priority of the same-direction operation, and the speed of the processing speed to the actual operation parameters to form new actual operation parameters:
[0067] Determine the collision processing shape of the corresponding spindle according to the collision parameters;
[0068] Determine the corresponding collision processing area according to different shapes in the collision processing shape;
[0069] Based on the collision processing area, a shape corresponding to the smallest collision processing area is selected as the selected processing shape;
[0070] Determine the maximum offset shape based on the selected processing shape and collision range;
[0071] The shape corresponding to the maximum collision processing area is adjusted according to the collision position and the maximum offset shape to form a reserved shape;
[0072] When the selected processing shape corresponding to the reserved shape is processed, it continues to run with the parameters of the shape corresponding to the largest collision processing area, and forms an adjustment of the reserved parameters with the actual operation parameters;
[0073] The adjustment reserved parameters are added to the actual operating parameters to re-form the actual operating parameters.
[0074] By adopting the above technical scheme, the shape corresponding to the smallest collision processing area in the collision processing shape is selected as the selected processing shape, and the reserved shape is determined by the collision range, collision processing shape and collision position, and the reserved shape is combined with the actual operating parameters to form an adjusted reserved parameter, and the adjusted reserved parameter is added to the actual operating parameters to re-form the actual operating parameters, thereby reducing the probability of collision of the dual processing channel machine tool, thereby improving the efficiency and safety of the dual processing channel machine tool processing.
[0075] In the second aspect, the present application provides a dual-processing channel machine tool control system, which adopts the following technical solution:
[0076] A dual-processing channel machine tool control system, comprising:
[0077] An acquisition module is used to acquire actual control parameters and actual machine tool parameters;
[0078] A memory for storing a program of a dual-processing channel machine tool control method as described in the first aspect;
[0079] The program in the memory can be loaded and executed by the processor to implement a dual-processing channel machine tool control method as described in the first aspect.
[0080] In a third aspect, the present application provides a computer storage medium capable of storing corresponding programs, which is convenient for improving the efficiency and safety of dual-processing channel machine tool processing, and adopts the following technical solutions:
[0081] A computer-readable storage medium stores a computer program that can be loaded by a processor and executed by a dual-processing channel machine tool control method as described in the first aspect.
[0082] In a fourth aspect, the present application provides an intelligent terminal, which adopts the following technical solution:
[0083] An intelligent terminal comprises a memory and a processor, wherein the memory stores a computer program which can be loaded by the processor and executes a dual-processing channel machine tool control method as described in the first aspect.
[0084] In summary, the present application includes at least one of the following beneficial technical effects:
[0085] 1. By simulating the processing of the dual-channel machine tool, it can monitor the machine tool. When the virtual machine tool model displayed on the computer collides, the collision point is determined and the machine tool and the virtual machine tool model are controlled to stop running and the position of the actual operating parameters that currently cause the collision is displayed, so as to facilitate the subsequent changes to the program parameters and optimize the coordinated allocation of the dual-channel machine tool processing path, thereby improving the efficiency and safety of the dual-channel machine tool processing;
[0086] 2. When there are multiple collision points on the collision path, if the processing direction is opposite, the spindle is controlled to stop moving at the maximum dwell time, so that other spindles can continue to run after passing the path corresponding to the collision point. If it is not opposite, the speed of the rear spindle is adjusted to the reference speed according to the priority situation corresponding to the collision position, thereby reducing the probability of collision of the dual-processing channel machine tool, thereby improving the efficiency and safety of dual-processing channel machine tool processing;
[0087] 3. By selecting the shape corresponding to the smallest collision processing area in the collision processing shape as the selected processing shape, and determining the reserved shape through the collision range, collision processing shape and collision position, the reserved shape and the actual operating parameters are combined to form the adjusted reserved parameters, and the adjusted reserved parameters are added to the actual operating parameters to re-form the actual operating parameters, thereby reducing the probability of collision of the dual processing channel machine tool, thereby improving the efficiency and safety of the dual processing channel machine tool processing. BRIEF DESCRIPTION OF THE DRAWINGS
[0088] Figure 1 The method flow of the dual processing channel machine tool control of the embodiment of the present invention is Figure 1 ;
[0089] Figure 2 The method flow of the dual processing channel machine tool control of the embodiment of the present invention is Figure 2 ;
[0090] Figure 3 is a flow chart of a method after obtaining feedback information according to an embodiment of the present invention;
[0091] Figure 4 is a flow chart of a method after obtaining new feedback information according to an embodiment of the present invention;
[0092] Figure 5 It is a flow chart of a method for determining a collision point when a collision point exists in feedback information of an embodiment of the present invention. DETAILED DESCRIPTION
[0093] The following is combined with Figures 1 to 5 The present invention is further described in detail with examples.
[0094] Reference Figure 1, a dual-processing channel machine tool control method, system, storage medium and terminal, through the control terminal, the computer numerical control parameters corresponding to the dual-processing channel machine tool and the product processing program are imported into the virtual computer numerical control module and a virtual machine tool model is created, and then the virtual computer numerical control module drives the virtual machine tool model to run with the data imported by the control terminal, and after the virtual machine tool model is driven to run, the running data is fed back to the virtual computer numerical control module, and then the existence of the collision point is determined through the virtual machine tool model running reality screen, and the control terminal prompts the operator to modify the processing program by displaying the screen corresponding to the collision, so as to facilitate the subsequent change of the program parameters, optimize the coordinated allocation of the dual-processing channel machine tool processing path, and thus improve the efficiency and safety of the dual-processing channel machine tool processing. In this embodiment, the control terminal is a dual-processing channel machine tool.
[0095] Reference Figure 2 The present application discloses a dual-processing channel machine tool control method, comprising the following steps:
[0096] Step S100: Acquire actual operating parameters and actual machine tool parameters of a dual-processing channel machine tool.
[0097] The actual operation parameters refer to the program parameters of the dual-channel machine tool for automatic processing according to the trajectory and parameters. The actual operation parameters are formed by the corresponding computer numerical control algorithm on the dual-channel machine tool and the preset product specifications to be processed. Product specifications refer to the size specifications of the products to be processed by the dual-channel machine tool. The product specifications are formed after being pre-set and stored by the operator. The actual machine tool parameters refer to the parameters corresponding to each size specification of the dual-channel machine tool. The actual machine tool parameters are determined by searching and querying the numbers on the dual-channel machine tool, which facilitates subsequent analysis.
[0098] Step S101: Input the actual machine tool parameters into a preset virtual computer numerical control module to obtain a virtual machine tool model.
[0099] The virtual CNC module refers to a technical module that can simulate the operation and processing of a dual-channel machine tool on a computer to achieve a comprehensive simulation of the CNC processing process. It is pre-set by the operator and then stored to form a virtual CNC module. The virtual machine tool model refers to the virtual model of a dual-channel machine tool on a computer. The actual machine tool parameters are analyzed through the control terminal to form a virtual machine tool model.
[0100] Step S102: inputting actual operation parameters into the virtual machine tool model to drive the virtual machine tool model to operate and obtain feedback information.
[0101] Feedback information refers to the information corresponding to the path, processed shape and collision situation that drives the virtual machine tool model to run. The actual operating parameters are input into the virtual computer numerical control module corresponding to the virtual machine tool model to drive the virtual machine tool model to run and obtain feedback information, which facilitates subsequent analysis.
[0102] Step S103: If and only if there is a collision point in the feedback information, the virtual machine tool model and the dual-processing channel machine tool are controlled to stop running, and the position displayed by the current actual operating parameters of the virtual machine tool model is displayed.
[0103] The collision point refers to the position point corresponding to the collision of the spindle or tool in the dual-processing channel machine tool. The collision point is determined by analyzing the corresponding parameters in the feedback information and the actual machine tool parameters. When there is no collision point in the feedback information, it means that the dual-processing channel machine tool does not have a collision, and it continues to run with the actual operating parameters. When there is a collision point in the feedback information, it means that the dual-processing channel machine tool has a collision, and the virtual machine tool model and the dual-processing channel machine tool are controlled to stop running, and the position corresponding to the current actual operating parameters of the virtual machine tool model is displayed on the display interface of the computer.
[0104] exist Figure 2 In step S102 shown in the figure, in order to further ensure the rationality of the specific steps after obtaining the feedback information, it is necessary to further analyze and calculate the specific steps after obtaining the feedback information. Figure 3 The steps shown are explained in detail.
[0105] Reference Figure 3 , and also includes the specific steps after obtaining the feedback information:
[0106] Step S200: determining a real-time processing shape based on feedback information.
[0107] The real-time machining shape refers to the shape that is processed in real time on the virtual machine tool model. It is formed by combining the path corresponding to the machining operation of the virtual machine tool model in the feedback information to facilitate subsequent analysis.
[0108] Step S201: Determine whether the real-time processing shape is consistent with the preset reference processing shape. If not, jump to step S202. If yes, jump to step S204.
[0109] The reference processing shape refers to the shape of the corresponding product after processing, which is pre-set and stored by the operator. By judging whether the real-time processing shape is consistent with the preset reference processing shape, it can be judged whether there is any input abnormality in the actual machine tool parameters.
[0110] Step S202: Determine the abnormal position based on the comparison between the real-time processing shape and the reference processing shape.
[0111] The abnormal position refers to the abnormal position in the virtual machine tool model. When the real-time machining shape is inconsistent with the reference machining shape, it means that the input of the actual machine tool parameters is abnormal. The real-time machining shape is compared with the reference machining shape, and the position of the inconsistent shape corresponding to the real-time machining shape and the reference machining shape is taken as the abnormal position, so as to facilitate subsequent analysis.
[0112] Step S203: determining and adjusting machine tool parameters according to the abnormal position and the reference machining shape.
[0113] Adjusting the machine tool parameters refers to the parameters corresponding to the input of the dual processing channel machine tool after adjustment. The parameters corresponding to the abnormal position are adjusted to the actual operating parameters corresponding to the reference processing shape to form new parameters as the adjusted machine tool parameters, thereby facilitating the subsequent jump to step S209 for analysis.
[0114] Step S204: Determine the real-time processing area based on the real-time processing shape.
[0115] The real-time machining area refers to the machining area corresponding to the real-time machining shape. When the real-time machining shape is consistent with the reference machining shape, it means that there is no input abnormality in the actual machine tool parameters. The real-time machining area is determined by analyzing and calculating the dimensional parameters corresponding to the real-time machining shape, which is convenient for subsequent analysis.
[0116] Step S205: If and only if the real-time processing area is inconsistent with the preset reference processing area, the distance between the corresponding positions of the real-time processing shape and the reference processing shape is calculated and used as the actual offset parameter.
[0117] The actual offset parameter refers to the distance that needs to be offset between the real-time processing shape and the corresponding position of the reference processing shape. The reference processing area refers to the processing area corresponding to the reference processing shape. The operator integrates and calculates the reference processing shape and the product size specifications in advance to determine the reference processing area. When the real-time processing area is consistent with the reference processing area, it means that there is no abnormality in the actual machine tool parameters, and the actual operation parameters are continued to be operated. When the real-time processing area is inconsistent with the reference processing area, it means that there is an abnormality in the actual machine tool parameters. The straight-line distance between the corresponding positions of the real-time processing shape and the reference processing shape is calculated and used as the actual offset parameter, which is convenient for subsequent analysis.
[0118] For example, when a dual-channel machine tool is performing milling, the machine tool performs milling through the center of the tool. If the parameters corresponding to the tool are input incorrectly, the path of the spindle processing becomes smaller but the shape formed by the path remains the same. When the tool radius parameter input is too small, the area of the milled product becomes smaller. If the tool radius parameter input is too large, the area of the milled product becomes larger, and the tool radius parameter can be adjusted with the reference tool parameter and then processed again.
[0119] When a dual-channel machine tool is turning, the machine tool performs turning processing using the length corresponding to the turning tool. If the tool parameter input is too long, the area of the turned product will become smaller. If the tool parameter input is too short, the area of the turned product will become larger and can be processed again after adjusting the tool parameters.
[0120] Step S206: Retrieve current tool parameters based on actual machine tool parameters.
[0121] The current tool parameters refer to the parameters corresponding to the radius or length of the tool required for processing the current product specifications. The parameters of the corresponding processing tool are retrieved from the actual machine tool parameters as the current tool parameters.
[0122] Step S207: Calculate the difference between the current tool parameter and the actual offset parameter and use it as the tool adjustment parameter.
[0123] Tool adjustment parameters refer to the parameters of the tool after adjustment. The difference between the current tool parameters and the actual offset parameters is calculated and used as the tool adjustment parameters, which facilitates subsequent analysis.
[0124] Step S208: replacing the current tool parameters in the actual machine tool parameters with the tool adjustment parameters to form the adjusted machine tool parameters.
[0125] The tool adjustment parameters are used to replace the current tool parameters in the actual machine tool parameters to form new actual machine tool parameters, and the new actual machine tool parameters are further input into the virtual computer numerical control module to determine the new virtual machine tool model. Finally, the actual operation parameters are input into the new virtual machine tool model to obtain new feedback information, thereby reducing erroneous collisions caused by parameter input errors, and facilitating the subsequent modification of program parameters with collisions, thereby improving the efficiency and safety of dual-channel machine tool processing.
[0126] Step S209: Based on the adjustment of the machine tool parameters, the machine tool parameters are input into the virtual computer numerical control module to form a new virtual machine tool model, and the actual operation parameters are input into the new virtual machine tool model to obtain new feedback information.
[0127] By inputting the adjusted machine tool parameters into the virtual computer numerical control module to form a new virtual machine tool model, and inputting the actual operating parameters into the new virtual machine tool model to obtain new feedback information, it is possible to reduce erroneous collisions caused by incorrect parameter input, thereby facilitating the subsequent modification of program parameters with collisions and improving the efficiency and safety of dual-channel machine tool processing.
[0128] exist Figure 3 In step S209 shown in the figure, in order to further ensure the rationality of the specific steps after obtaining the new feedback information, it is necessary to perform further separate analysis and calculation on the specific steps after obtaining the new feedback information. Figure 4 The steps shown are explained in detail.
[0129] Reference Figure 4 , and also includes the specific steps after obtaining new feedback information:
[0130] Step S300: Determine the real-time processing position based on the feedback information.
[0131] The real-time processing position refers to the position corresponding to the real-time processing shape of the virtual machine tool model. The real-time processing position is formed by retrieving the processing path from the feedback information and combining it with the operating parameters, which facilitates subsequent analysis.
[0132] Step S301: Determine whether the real-time processing position is consistent with the preset reference processing position. If yes, jump to step S302. If no, jump to step S303.
[0133] The reference processing position refers to the reference position for dual processing channel machine tools to process according to product specifications. The operator sets the origin position of product specifications in advance and stores it to form the reference processing position. By judging whether the real-time processing position is consistent with the preset reference processing position, it can be judged whether there is any input abnormality in the origin information in the actual machine tool parameters.
[0134] Step S302: Continue to output feedback information.
[0135] When the real-time processing position is consistent with the reference processing position, it means that there is no input abnormality in the origin information in the actual machine tool parameters, and the feedback information continues to be output.
[0136] Step S303: Determine whether the real-time processing shape falls within the preset blank shape. If yes, jump to step S304. If no, jump to step S305.
[0137] The blank shape refers to the shape of the blank corresponding to the product specifications, which is formed by the operator's pre-setting and storage. When the real-time processing position is consistent with the reference processing position, it means that there is no input abnormality in the origin information in the actual machine tool parameters. Then it is determined whether the real-time processing shape falls within the preset blank shape, so as to determine whether it is necessary to directly adjust the origin information in the actual machine tool parameters.
[0138] Step S304: Continue to output feedback information.
[0139] When the real-time machining shape falls within the blank shape, it means that there is no need to directly adjust the origin information in the actual machine tool parameters, so the feedback information continues to be output, and after the machining process is completed, the origin parameters in the actual machine tool parameters are adjusted.
[0140] Step S305: Calculate the distance between the reference processing position and the real-time processing position and use it as the deviation vector value.
[0141] The deviation vector value refers to the vector value of the deviation between the reference processing position and the real-time processing position. By calculating the straight-line distance between the coordinates corresponding to the reference processing position and the real-time processing position and using it as the deviation vector value, subsequent analysis is facilitated.
[0142] Step S306: adjusting the actual machine tool parameters based on the relative direction of the deviation vector value to form adjusted machine tool parameters.
[0143] Adjusting machine tool parameters refers to the parameters of the dual-processing channel machine tool after adjustment, which is achieved by offsetting the origin parameters in the actual machine tool parameters in the relative direction of the deviation vector value, and using the overall parameters corresponding to the numerical offset corresponding to the deviation vector value as the adjusted machine tool parameters.
[0144] Step S307: Determine a new virtual machine tool model based on adjusting the machine tool parameters and the virtual computer numerical control module.
[0145] By adjusting the machine tool parameters and inputting them into the virtual computer numerical control module to form a new virtual machine tool model, the erroneous collision caused by parameter input errors can be reduced, which makes it easier to modify the program parameters with collisions in the future and improves the efficiency and safety of dual-channel machine tool processing.
[0146] exist Figure 4 In step S302, in order to further ensure that there is a collision point in the feedback information and the method for determining the collision point is reasonable, it is necessary to further analyze and calculate the collision point in the feedback information and the method for determining the collision point. Figure 5 The steps shown are explained in detail.
[0147] Reference Figure 5 , there is a collision point in the feedback information, and the method for determining the collision point includes:
[0148] Step S400: based on the actual machine tool parameters, the maximum machining radius corresponding to the dual machining channel machine tool is retrieved.
[0149] The maximum radius refers to the maximum radius of the spindle or tool corresponding to the dual-channel machine tool. The radius corresponding to each spindle or tool on the spindle is taken from the actual machine tool parameters as the maximum radius.
[0150] Step S401: forming a real-time processing specification based on the real-time processing shape, the real-time processing area and the real-time processing position.
[0151] Real-time processing specifications refer to the size or position specifications corresponding to the real-time processing of the virtual machine tool model. The real-time processing specifications are formed by combining the real-time processing shape, real-time processing area and various size or position parameters corresponding to the real-time processing position, which facilitates subsequent analysis.
[0152] Step S402: If and only if the real-time processing specification is consistent with the preset reference processing specification, the processing type and the intersection point are determined based on the actual operation parameters.
[0153] The processing type refers to the type of milling, turning, drilling and other processing corresponding to the dual-channel machine tool. The processing type is determined by calling the corresponding milling, turning and drilling parameters from the actual operation parameters. The intersection point refers to the location point where the corresponding spindles of the dual-channel machine tool intersect during processing. The intersection point is determined by combining and analyzing the paths corresponding to the running processing of each spindle from the actual operation parameters, which facilitates subsequent analysis.
[0154] Step S403: Retrieve the spindle radius and tool radius based on actual machine tool parameters.
[0155] The spindle radius refers to the radius corresponding to each spindle in a dual-channel machine tool, and the tool radius refers to the radius corresponding to the tool installed on each spindle in a dual-channel machine tool. The spindle radius and tool radius are determined by analyzing the parameters of the corresponding spindle and the tool on the spindle from the actual machine tool parameters.
[0156] Step S404: determining the collision range of the corresponding intersection point according to the spindle radius, the tool radius and the processing type.
[0157] The collision range refers to the range of collision between the spindles in a dual-channel machine tool. The relative horizontal and vertical positions of the two spindles are known through the processing type, and the spindle radius, tool radius and processing type are analyzed and integrated to determine the collision range of the intersection.
[0158] For example, when a dual-channel machine tool performs milling, the dual spindles in the dual-channel machine tool move horizontally relative to each other. If a collision occurs, which is generally a collision between the dual spindles, the program parameters need to be written based on the radius corresponding to each spindle.
[0159] When a dual-channel machine tool performs turning or milling and drilling at the same time, the spindles in the dual-channel machine tool perform processing in a vertical form. If a collision occurs, it is generally because the paths of the tools on the two spindles intersect and collide. In this case, the program parameters need to be written based on the radius corresponding to the tools on each spindle.
[0160] Step S405: If and only if the tool or the spindle falls into the collision range, the intersection point falling into the collision range is used as the collision point.
[0161] The collision point refers to the position point where the spindles in the dual-channel machine tool collide. When the tool or spindle does not fall into the collision range, it means that the tool or spindle only has an intersection of paths. During actual processing, they intersect through the intersection point, and no adjustment is made to the actual operating parameters. When the tool or spindle falls into the collision range, it means that the tool or spindle does not intersect when passing through the intersection point and there is a collision. The intersection point where the tool or spindle falls into the collision range is used as the collision point, so that the position point of the collision can be accurately known, which is convenient for subsequent changes to the program parameters and improves the efficiency and safety of dual-channel machine tool processing.
[0162] exist Figure 5 In step S405 shown, in order to further ensure the existence of collision points in the feedback information and the rationality of the method for determining the collision points, it is necessary to perform further separate analysis and calculation on the existence of collision points in the feedback information and the method for determining the collision points, which is specifically described in detail through the following steps.
[0163] It also includes the specific steps after taking the intersection points that fall within the collision range as collision points:
[0164] Step S500: determining the collision parameter corresponding to the collision point according to the actual operating parameters.
[0165] The collision parameters refer to the program parameters corresponding to the collision points. After the dual-channel machine tool and the virtual machine tool model are controlled to stop running, the program parameters displayed on the dual-channel machine tool are used as collision parameters, which facilitates subsequent analysis.
[0166] Step S501: based on the collision parameter, retrieve the current processing area corresponding to the current processing shape of the corresponding spindle.
[0167] The current processing shape refers to the shape currently being processed by each spindle in a dual-processing channel machine tool. The current processing area refers to the processing area corresponding to the current processing shape. The current processing shape is determined by calling the processing path corresponding to each spindle from the collision parameters, and the path and unfinished program parameters are combined and analyzed. The current processing area is determined by combining and calculating the size parameters corresponding to the current processing shape from the collision parameters, which is convenient for subsequent analysis.
[0168] For example, when a complete circular structure is being machined in each spindle of a dual-channel machine tool, if there is an unfinished circular machining and a collision occurs, the machined semicircular shape and the remaining unfinished program parameters are used to determine that the spindle currently needs to machine a complete circular structure.
[0169] Step S502: based on the size of the current processing area, a spindle corresponding to the smallest current processing area is selected as the adjustment spindle, and a collision parameter corresponding to the adjustment spindle is used as a collision adjustment parameter.
[0170] The adjustment spindle refers to the spindle that needs to be adjusted in a dual-processing channel machine tool. According to the size of the current processing area corresponding to the two spindles, the spindle corresponding to the smallest current processing area is selected as the adjustment spindle, and the collision parameters corresponding to the adjustment spindle are used as collision adjustment parameters.
[0171] Step S503: Determine whether the actual operating parameters corresponding to the adjustment of the spindle have other processing shapes. If yes, jump to step S504. If no, jump to step S506.
[0172] Other processing shapes refer to other shapes that need to be processed on the adjustment spindle. The shapes formed by the operating parameters other than the current processing shape are called out from the actual operating parameters corresponding to the adjustment spindle as other processing shapes. By judging whether there are other processing shapes in the actual operating parameters corresponding to the adjustment spindle, it is judged whether the adjustment spindle can first execute the operating parameters corresponding to other processing shapes.
[0173] Step S504: Determine other processing parameters based on other processing shapes and actual operating parameters.
[0174] Other processing parameters refer to the operating parameters corresponding to other processing shapes. When the actual operating parameters corresponding to the spindle adjustment exist for other processing shapes, it means that the spindle adjustment can first execute the operating parameters corresponding to other processing shapes. By retrieving the operating parameters corresponding to other processing shapes from the actual operating parameters as other processing parameters, the operator is automatically prompted to modify the parameters, thereby improving the safety of dual processing channel machine tool processing.
[0175] Step S505: Sequentially replace the other processing parameters and the collision adjustment parameters to re-form the actual operating parameters corresponding to the adjustment spindle.
[0176] By replacing the processing order corresponding to the other processing parameters on the adjustment spindle with the collision adjustment parameters to form new actual operating parameters, the dual-channel spindle after replacing the operating parameters can change the processing path, thereby reducing the probability of collision between the dual-channel spindles and improving the efficiency and safety of dual-channel machine tool processing.
[0177] Step S506: adjusting the preset straight line back and forth reference processing method from outside to inside to form a straight line left and right moving processing adjustment method from outside to inside.
[0178] The reference processing method refers to the processing method of the spindle reference corresponding to the actual operating parameters. The operator pre-sets the processing method of straight-line reciprocating cutting from the outside to the inside of the blank and stores it to form the reference processing method. The processing adjustment method refers to the method of adjusting the spindle for processing after adjustment. The method of processing the blank from the outside to the inside in a straight line by a dual-processing channel machine tool is used as the processing adjustment method. When the actual operating parameters corresponding to the adjustment spindle do not exist in other processing shapes, it means that the adjustment spindle cannot execute the operating parameters corresponding to other processing shapes first, and the reference processing method is adjusted to the processing adjustment method.
[0179] When adjusting the spindle to cut a groove, the spindle of the dual-channel machine tool is currently generally operated to cut straight into the inside of the blank from the outside of the blank, and then withdraw straight to the outside of the blank after moving horizontally. The processing adjustment method is to operate the spindle of the dual-channel machine tool to cut left and right from the outside of the blank and advance step by step into the inside of the blank through the straight line length to complete the processing of the groove.
[0180] Step S507: adding the processing adjustment method to the actual operation parameters to form new actual operation parameters.
[0181] By adding the processing adjustment method to the actual operating parameters to form new actual operating parameters, the processing time corresponding to the spindle after the processing mode can be changed, thereby reducing the probability of dual-channel spindle collision and improving the safety of dual-channel machine tool processing.
[0182] In step S501 shown above, in order to further ensure the rationality of the specific steps after the current processing area corresponding to the current processing shape of the corresponding spindle is called based on the collision parameters, it is necessary to perform further separate analysis and calculation on the specific steps after the current processing area corresponding to the current processing shape of the corresponding spindle is called based on the collision parameters, which is explained in detail through the steps shown below.
[0183] The specific steps are also included after the current processing area corresponding to the current processing shape of the corresponding spindle is retrieved based on the collision parameters:
[0184] Step S600: determining a collision path corresponding to a collision point according to actual operating parameters.
[0185] The collision path refers to the path corresponding to the collision point of each spindle in a dual-processing channel machine tool. The path formed by the program parameters corresponding to the collision point is called from the actual operating parameters as the collision path, which facilitates subsequent analysis.
[0186] Step S601: Determine whether there are multiple collision points on the collision path. If yes, jump to step S603. If no, jump to step S602.
[0187] By judging whether there are multiple collision points on the collision path, it is determined whether the actual operating parameters need to be adjusted.
[0188] Step S602: Jump to execute step S502.
[0189] When it is determined that there are no multiple collision points on the collision path, it means that there is no need to adjust the actual operating parameters, and then jump to step S502 to continue changing the order of processing other shapes corresponding to lifting one spindle in the dual processing channel machine tool.
[0190] Step S603: Determine the machining direction of the corresponding spindle based on the collision parameter.
[0191] The processing direction refers to the relative processing direction of each spindle in a dual-processing channel machine tool. When it is determined that there are multiple collision points on the collision path, it means that the actual operating parameters need to be adjusted. The processing direction is determined by analyzing and integrating the corresponding operating positions and paths in the collision parameters.
[0192] For example, when the spindle in a dual-channel machine tool is milling, if there is a spindle collision, and the subsequent processing paths of the two spindles are also within the collision range, and there are multiple collision points on the path corresponding to the horizontal movement of each spindle, it is necessary to write corresponding programs according to the processing direction of each spindle on the corresponding path.
[0193] Step S604: Determine whether the processing direction is opposite running. If yes, jump to step S605. If no, jump to step S608.
[0194] By judging whether the machining direction is opposite running, it can be judged whether one spindle of the dual machining channel machine tool needs to stop moving.
[0195] Step S605: Retrieve the machining speed and machining center position of the corresponding spindle based on the actual operating parameters.
[0196] The machining speed refers to the movement speed of each spindle in a dual-channel machine tool, and the machining center position refers to the center position of each spindle in a dual-channel machine tool. When the machining direction is opposite, it means that one of the spindles in the dual-channel machine tool needs to stop moving. The speed parameter of the corresponding spindle movement in the dual-channel machine tool is used as the machining speed, and the center position of the spindle machining corresponding to the actual running parameters is used as the machining center position.
[0197] Step S606: Calculate the quotient of the processing speed and the preset safety distance to determine the maximum dwell time, and add the maximum dwell time to the actual operation parameters to form new actual operation parameters.
[0198] The safety distance refers to the distance between the spindles in the virtual machine tool model without collision or abnormality, which is formed by the operator presetting a distance greater than the sum of the radii of each spindle and storing it. The maximum dwell time refers to the maximum time that one of the spindles in the virtual machine tool model needs to stay, which is determined by calculating the quotient of the machining speed and the safety distance.
[0199] By adding the maximum dwell time to the actual operating parameters to form new actual operating parameters, one spindle is stopped and stays at the maximum dwell time until the other spindle passes the collision point and leaves the safe distance, thereby reducing the probability of collision of the dual-channel machine tool and improving the efficiency and safety of the dual-channel machine tool processing.
[0200] Step S607: Determine the collision position according to the machining center position and the safety distance.
[0201] The collision position refers to the position where the spindles in the dual-channel machine tool collide. When the machining direction is not opposite, it means that one of the spindles in the dual-channel machine tool does not need to stop moving. Based on the machining center position of each spindle and the safety distance as the range of the machining center position, the machining conditions of the spindles in the dual-channel machine tool are analyzed and integrated to determine the collision position.
[0202] Step S608: When the machining center moves to the collision position, the machining speed of the spindle corresponding to the front in the machining direction is used as the reference speed based on the priority of the same-direction operation and the speed of the machining speed.
[0203] The priority situation refers to the situation of the spindles running in the same direction and close to the center line corresponding to the origin center. The priority situation is formed by selecting the closest distance between the collision position corresponding to the two spindles and the center line corresponding to the origin center. The reference speed refers to the processing speed corresponding to the spindle in the priority situation. When the processing center position moves to the collision position, it means that the two spindles will collide. The spindle running in the same direction and close to the center line corresponding to the origin center is used as the front spindle. When and only when the processing speed of the front spindle is less than the processing speed of the rear spindle, the processing speed of the corresponding spindle in the front processing direction is used as the reference speed, so as to facilitate subsequent analysis.
[0204] Step S609: adjusting the machining speed of the corresponding spindle located at the rear in the machining direction based on the reference speed so that the machining speed of the corresponding rear spindle is consistent with the reference speed.
[0205] By adjusting the machining speed of the spindle corresponding to the rear of the machining direction to the reference speed, the machining movement can be maintained within a safe distance, thereby reducing the probability of collision of the dual-machining channel machine tool.
[0206] Step S610: adding the reference speed, the collision position, the priority of the same-direction operation and the speed of the processing speed to the actual operation parameters to form new actual operation parameters.
[0207] By adding the reference speed, collision position, priority of same-direction operation and processing speed to the actual operation parameters to form new actual operation parameters, the processing movement can be maintained within a safe distance, thereby reducing the probability of collision and rewriting of program parameters on the dual-channel machine tool, thereby improving the efficiency and safety of dual-channel machine tool processing.
[0208] In step S610 shown above, in order to further ensure the rationality of the specific steps after the current processing area corresponding to the current processing shape of the corresponding spindle is called based on the collision parameters, it is necessary to perform further separate analysis and calculation on the specific steps after the current processing area corresponding to the current processing shape of the corresponding spindle is called based on the collision parameters, which is explained in detail through the steps shown below.
[0209] The specific steps are also included after adding the reference speed, collision position, priority of same-direction operation and processing speed to the actual operation parameters to form new actual operation parameters:
[0210] Step S700: determining the collision processing shape of the corresponding spindle according to the collision parameters.
[0211] The collision processing shape refers to the processing shape of the processed parts corresponding to the collision point position of each spindle in the dual-processing channel machine tool. The collision processing shape is determined by analyzing the processing path by calling the corresponding program parameters of the spindle from the collision parameters, which facilitates subsequent analysis.
[0212] Step S701: determining the corresponding collision processing area according to different shapes in the collision processing shape.
[0213] The collision processing area refers to the processing area corresponding to the collision processing shape. The corresponding collision processing area is formed by the parameters corresponding to the different collision processing shapes corresponding to each spindle in the dual processing channel machine tool, which is convenient for subsequent analysis.
[0214] Step S702: based on the collision processing area, a shape corresponding to the smallest collision processing area is selected as the selected processing shape.
[0215] The selected processing shape refers to the collision processing shape after selection. The shape corresponding to the smallest collision processing area is selected from different collision processing areas as the selected processing shape, so as to facilitate subsequent analysis.
[0216] Step S703: determining the maximum offset shape according to the selected processing shape and the collision range.
[0217] The maximum offset shape refers to the shape after the selected processing shape is offset. The shape formed by offsetting the selected processing shape by the offset distance is taken as the maximum offset shape.
[0218] Step S704: adjusting the shape corresponding to the maximum collision processing area according to the collision position and the maximum offset shape to form a reserved shape.
[0219] The reserved shape refers to the shape corresponding to the reserved maximum offset shape. The collision position is used as the position for the maximum offset shape to be offset, and the shape corresponding to the maximum collision processing area is added to the maximum offset shape to form an overall shape, and then the overall shape is used as the reserved shape.
[0220] Step S705: When the selected processing shape corresponding to the reserved shape is processed, the operation continues with the parameters of the shape corresponding to the maximum collision processing area, and the reserved parameters are adjusted together with the actual operation parameters.
[0221] Adjusting the reserved parameters refers to the operating parameters of the corresponding spindle after the reserved shape is adjusted. When the selected processing shape corresponding to the reserved shape is processed, it means that the selected processing shape reserved by the reserved shape has been processed. Then continue to run with the program parameters of the shape corresponding to the largest collision processing area, and when the selected processing shape is completed, the program parameters corresponding to the reserved shape and the operating method corresponding to the actual operating parameters are combined with the actual operating parameters to form the adjusted reserved parameters.
[0222] When the selected processing shape within the reserved shape is processed, it means that there will be no collision with the spindle, and then continue to run the actual operation parameters to process the reserved shape.
[0223] Step S706: adding the adjusted reserved parameters to the actual operating parameters to reform the actual operating parameters.
[0224] By adjusting the reserved parameters and adding them to the actual operating parameters to reform the actual operating parameters, the shape corresponding to the original product specifications can continue to be retained, thereby reducing the probability of collision of the dual-channel machine tool and rewriting the program parameters, thereby improving the efficiency and safety of dual-channel machine tool processing.
[0225] Based on the same inventive concept, an embodiment of the present invention provides a dual-processing channel machine tool control system, including:
[0226] The acquisition module is used to obtain actual control parameters and actual machine tool parameters.
[0227] Memory, used to store Figures 1 to 5 A program for a dual processing channel machine tool control method described in.
[0228] The program in the memory can be loaded and executed by the processor and implemented as follows Figures 1 to 5 A dual processing channel machine tool control method described in.
[0229] An embodiment of the present invention provides a computer-readable storage medium storing a computer program that can be loaded and executed by a processor. Figures 1 to 5 A computer program for a dual-processing channel machine tool control method described in.
[0230] Computer storage media include, for example, various media that can store program codes, such as hard disks, mobile hard disks, read-only memories (ROM), random access memories (RAM), magnetic disks or optical disks.
[0231] Based on the same inventive concept, an embodiment of the present invention provides an intelligent terminal, including a memory and a processor, wherein the memory stores a program that can be loaded and executed by the processor. Figures 1 to 5 A computer program for a dual-processing channel machine tool control method described in.
[0232] Those skilled in the art can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. The specific working process of the system, device and unit described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.
[0233] The above is only a preferred embodiment of the present invention, and the protection scope of the present invention is not limited to the above embodiments. All technical solutions under the concept of the present invention belong to the protection scope of the present invention. It should be pointed out that for ordinary technicians in this technical field, some improvements and modifications without departing from the principle of the present invention should also be regarded as the protection scope of the present invention.
Claims
1. A dual-processing channel machine tool control method, characterized in that: include: Obtain the actual operating parameters and actual machine tool parameters of the dual-processing channel machine tool; Based on the actual machine tool parameters, the parameters are input into a preset virtual computer numerical control module to obtain a virtual machine tool model; Inputting actual operation parameters into the virtual machine tool model to drive the virtual machine tool model to operate and obtain feedback information; If and only if there is a collision point in the feedback information, the virtual machine tool model and the dual-processing channel machine tool are controlled to stop running, and the position displayed by the current actual operating parameters of the virtual machine tool model is displayed.
2. A dual-processing channel machine tool control method according to claim 1, characterized in that: It also includes the specific steps after receiving the feedback information: Determine the real-time machining shape based on the feedback information; Determine whether the real-time processing shape is consistent with the preset reference processing shape; If there is any inconsistency, the abnormal position is determined based on the comparison between the real-time processing shape and the reference processing shape; Determine and adjust machine tool parameters based on abnormal position and reference machining shape; If they are consistent, the real-time processing area is determined based on the real-time processing shape; If and only if the real-time processing area is inconsistent with the preset reference processing area, the distance between the corresponding positions of the real-time processing shape and the reference processing shape is calculated and used as the actual offset parameter; Retrieve current tool parameters based on actual machine tool parameters; Calculate the difference between the current tool parameter and the actual offset parameter and use it as the tool adjustment parameter; The tool adjustment parameters are used to replace the current tool parameters in the actual machine tool parameters to form the adjustment machine tool parameters; Based on adjusting the machine tool parameters, the machine tool parameters are input into the virtual computer numerical control module to form a new virtual machine tool model, and the actual operation parameters are input into the new virtual machine tool model to obtain new feedback information.
3. A dual-processing channel machine tool control method according to claim 2, characterized in that: It also includes the specific steps after obtaining new feedback information: Determine the real-time processing position based on the feedback information; Determine whether the real-time processing position is consistent with the preset reference processing position; If they are consistent, continue to output feedback information; If not, determine whether the real-time machining shape falls within the preset blank shape; If the real-time processing shape falls into the blank shape, the feedback information will continue to be output; If the real-time machining shape does not fall into the blank shape, the distance between the reference machining position and the real-time machining position is calculated and used as the deviation vector value; Adjusting the actual machine tool parameters based on the relative direction of the deviation vector value to form adjusted machine tool parameters; A new virtual machine tool model is determined based on adjusting machine tool parameters and virtual computer numerical control modules.
4. A dual-processing channel machine tool control method according to claim 3, characterized in that: There are collision points in the feedback information. The methods for determining the collision points include: Based on the actual machine tool parameters, the maximum machining radius corresponding to the dual machining channel machine tool is retrieved; Combining the real-time processing shape, the real-time processing area and the real-time processing position to form a real-time processing specification; If and only if the real-time processing specification is consistent with the preset reference processing specification, the processing type and the intersection point are determined based on the actual operation parameters; Call the spindle radius and tool radius based on the actual machine tool parameters; Determine the collision range of the corresponding intersection point according to the spindle radius, tool radius and processing type; If and only if the tool or spindle falls within the collision range, the intersection point within the collision range is taken as the collision point.
5. A dual-processing channel machine tool control method according to claim 4, characterized in that: It also includes the specific steps after taking the intersection points that fall within the collision range as collision points: Determine the collision parameters corresponding to the collision point according to the actual operating parameters; Based on the collision parameters, the current processing area corresponding to the current processing shape of the corresponding spindle is retrieved; Based on the size of the current processing area, the spindle corresponding to the smallest current processing area is selected as the adjustment spindle, and the collision parameter corresponding to the adjustment spindle is used as the collision adjustment parameter; Determine whether there are other processing shapes corresponding to the actual operating parameters of the adjusted spindle; If so, determining other processing parameters based on other processing shapes and actual operating parameters; Sequentially replace other processing parameters and collision adjustment parameters to re-form actual operating parameters corresponding to the adjustment spindle; If it does not exist, the preset reference processing method of straight line from outside to inside is adjusted to form a processing adjustment method of straight line from outside to inside moving left and right; The process adjustment method is added to the actual operating parameters to form new actual operating parameters.
6. A dual-processing channel machine tool control method according to claim 5, characterized in that: The specific steps are also included after the current processing area corresponding to the current processing shape of the corresponding spindle is retrieved based on the collision parameters: Determine the collision path corresponding to the collision point according to the actual operating parameters; Determine whether there are multiple collision points on the collision path; If it does not exist, the execution will jump to select the spindle corresponding to the smallest current processing area as the adjustment spindle based on the size of the current processing area, and use the collision parameter corresponding to the adjustment spindle as the collision adjustment parameter; If it exists, the machining direction of the corresponding spindle is determined based on the collision parameters; Determine whether the processing direction is opposite operation; If yes, the machining speed and machining center position of the corresponding spindle are retrieved based on the actual operating parameters; Calculate the quotient of the processing speed and the preset safety distance to determine the maximum dwell time, and add the maximum dwell time to the actual operation parameters to form new actual operation parameters; If not, the collision position is determined based on the machining center position and the safety distance; When the machining center moves to the collision position, the machining speed of the corresponding spindle in the front of the machining direction is used as the reference speed based on the priority of the same-direction operation and the speed of the machining speed. Based on the reference speed, the processing speed of the corresponding spindle located behind the processing direction is adjusted so that the processing speed of the corresponding rear spindle is consistent with the reference speed; The reference speed, collision position, priority of same-direction operation and processing speed are added to the actual operation parameters to form new actual operation parameters.
7. A dual-processing channel machine tool control method according to claim 6, characterized in that: The specific steps are also included after adding the reference speed, collision position, priority of same-direction operation and processing speed to the actual operation parameters to form new actual operation parameters: Determine the collision processing shape of the corresponding spindle according to the collision parameters; Determine the corresponding collision processing area according to different shapes in the collision processing shape; Based on the collision processing area, a shape corresponding to the smallest collision processing area is selected as the selected processing shape; Determine the maximum offset shape based on the selected processing shape and collision range; The shape corresponding to the maximum collision processing area is adjusted according to the collision position and the maximum offset shape to form a reserved shape; When the selected processing shape corresponding to the reserved shape is processed, it continues to run with the parameters of the shape corresponding to the largest collision processing area, and forms an adjustment of the reserved parameters with the actual operation parameters; The adjustment reserved parameters are added to the actual operating parameters to re-form the actual operating parameters.
8. A dual-processing channel machine tool control system, characterized in that: include: An acquisition module is used to acquire actual control parameters and actual machine tool parameters; A memory for storing a program of a dual-processing channel machine tool control method according to any one of claims 1 to 7; The program in the memory can be loaded and executed by the processor to implement a dual-processing channel machine tool control method as described in any one of claims 1 to 7.
9. A computer-readable storage medium, characterized in that: A computer program is stored which can be loaded by a processor and executes a method for controlling a dual-processing channel machine tool according to any one of claims 1 to 7.
10. An intelligent terminal, characterized in that: The invention comprises a memory and a processor, wherein the memory stores a computer program which can be loaded by the processor and executes a method for controlling a dual-processing channel machine tool as claimed in any one of claims 1 to 7.
Citation Information
Cited By
Real-time anti-interference protection method and system for double-machining-channel machine tool and terminal
CN119806044A