Clamp control method, device and numerical control system
By obtaining the interference area of the fixture in the CNC system and controlling the fixture to release when the tool enters, the problem of low machining efficiency caused by the interference between the fixture and the tool is solved, the avoidance action is realized, the machining efficiency is improved and the cost is reduced.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- BEIJING FANUC MECHATRONICS CO LTD
- Filing Date
- 2023-10-20
- Publication Date
- 2026-06-19
Smart Images

Figure CN117234150B_ABST
Abstract
Description
Technical Field
[0001] This application belongs to the field of CNC machining technology, specifically relating to a fixture control method, device and CNC system. Background Technology
[0002] In CNC machining, especially in milling or welding of plate parts, numerous clamps and other fixtures are typically used to clamp and secure the workpiece's edges. However, during actual machining, when the tool's machining path interferes with the fixed position of the clamps, fixture control instructions are usually added to the machining program. These instructions allow the CNC system to output control commands to loosen or tighten the fixtures, enabling them to avoid interference. However, when executing these control commands, the CNC system must wait for the fixtures to complete their loosening or tightening before continuing with other machining operations. This causes tool pauses during machining, thus affecting machining efficiency. Summary of the Invention
[0003] The purpose of this application is to provide a fixture control method, device, and CNC system that can solve the problem of low machining efficiency in CNC systems in related technologies.
[0004] To solve the above-mentioned technical problems, this application is implemented as follows:
[0005] In a first aspect, embodiments of this application provide a fixture control method for a CNC system, comprising:
[0006] During the machining of the target workpiece, the interference region of the fixture is obtained. The fixture is used to clamp and fix the target workpiece, and the interference region is the area where the machining path of the fixture and the tool interferes.
[0007] When the tool is detected to have entered the interference region, a first control message is output. The first control message is used to control the fixture to be in a released state. In the released state, an obstacle space is formed between the fixture and the target workpiece for the tool to move.
[0008] Optionally, the method further includes:
[0009] If the tool is detected to have left the interference area, a second control message is output. The second control message is used to control the clamp to be in a clamping state. In the clamping state, the clamp clamps and fixes the target workpiece.
[0010] Optionally, obtaining the interference region of the fixture used to clamp and fix the target workpiece includes:
[0011] Obtain the position coordinates of the geometric center of the fixture in the CNC system;
[0012] The interference region of the fixture is determined based on the position coordinates and a preset value, wherein the preset value is determined at least based on the size of the fixture.
[0013] Optionally, the interference region includes a safety region located within the detection region, and the clamping and fixing position of the fixture on the target workpiece is located within the safety region;
[0014] After outputting first control information upon detecting that the cutting tool has entered the interference region, the method further includes:
[0015] If the first feedback information is not received when the cutting tool is detected to have entered the safe area, an alarm information is output.
[0016] The first feedback information is used to indicate that the fixture has switched from a clamping state to a releasing state based on the first control information, and the alarm information is used to indicate that there is a risk of interference between the machining path of the fixture and the tool.
[0017] Optionally, the clamp is a clamp.
[0018] Secondly, embodiments of this application provide a fixture control device for a CNC system, comprising:
[0019] The acquisition module is used to acquire the interference area of the fixture during the processing of the target workpiece. The fixture is used to clamp and fix the target workpiece, and the interference area is the area where the machining path of the fixture and the tool interferes.
[0020] The first output control module is used to output first control information when the tool is detected to have entered the interference region. The first control information is used to control the fixture to be in a released state. In the released state, an obstacle space is formed between the fixture and the target workpiece for the tool to move.
[0021] Optionally, the device further includes:
[0022] The second output control module is used to output second control information when the tool is detected to leave the interference area. The second control information is used to control the clamp to be in a clamping state, in which the clamp clamps and fixes the target workpiece.
[0023] Optionally, the acquisition module is specifically used for:
[0024] Obtain the position coordinates of the geometric center of the fixture in the CNC system;
[0025] The interference region of the fixture is determined based on the position coordinates and a preset value, wherein the preset value is determined at least based on the size of the fixture.
[0026] Optionally, the interference region includes a safety region located within the detection region, and the clamping and fixing position of the fixture on the target workpiece is located within the safety region;
[0027] The device further includes:
[0028] The output module is used to output an alarm message if no first feedback message is received when the tool is detected to have entered the safe area.
[0029] The first feedback information is used to indicate that the fixture has switched from a clamping state to a releasing state based on the first control information, and the alarm information is used to indicate that there is a risk of interference between the machining path of the fixture and the tool.
[0030] Optionally, the clamp is a clamp.
[0031] Thirdly, embodiments of this application provide a numerical control system, which includes a processor and a memory. The memory stores a program or instructions that can run on the processor. When the program or instructions are executed by the processor, they implement the steps of the method described in the first aspect.
[0032] Fourthly, embodiments of this application provide a readable storage medium on which a program or instructions are stored, which, when executed by a processor, implement the steps of the method described in the first aspect.
[0033] Fifthly, embodiments of this application provide a chip, the chip including a processor and a communication interface, the communication interface being coupled to the processor, the processor being used to run programs or instructions to implement the method as described in the first aspect.
[0034] In a sixth aspect, embodiments of this application provide a computer program product stored in a storage medium, which is executed by at least one processor to implement the method described in the first aspect.
[0035] In this embodiment, by determining the interference area of the fixture and outputting first control information when the tool is detected to enter the interference area, the fixture is controlled to be in a released state, so as to form an avoidance space for the tool to move between the fixture and the target workpiece, avoid the fixture from colliding with the tool, realize the avoidance action of the fixture, and reduce the processing risk of the workpiece.
[0036] Moreover, since the control information for the fixture to be in the released state is not directly written into the machining program for the target workpiece, it can also avoid the tool having to wait for the fixture to complete the release action before continuing to execute the machining program, thus avoiding tool interruption during continuous machining and effectively improving the machining efficiency of the CNC system for the target workpiece. Attached Figure Description
[0037] Figure 1 This is a flowchart of the fixture control method provided in the embodiments of this application;
[0038] Figure 2 This is a schematic diagram of the interference region provided in an embodiment of this application;
[0039] Figure 3 This is a structural diagram of the clamp control device provided in the embodiments of this application;
[0040] Figure 4 This is a structural diagram of the CNC system provided in the embodiments of this application. Detailed Implementation
[0041] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0042] The terms "first," "second," etc., used in the specification and claims of this application are used to distinguish similar objects and not to describe a specific order or sequence. It should be understood that such use of data can be interchanged where appropriate so that embodiments of this application can be implemented in orders other than those illustrated or described herein, and the objects distinguished by "first," "second," etc., are generally of the same class and the number of objects is not limited; for example, a first object can be one or more. Furthermore, in the specification and claims, "and / or" indicates at least one of the connected objects, and the character " / " generally indicates that the preceding and following objects are in an "or" relationship.
[0043] See Figure 1 , Figure 1 This is a flowchart of the fixture control method provided in the embodiments of this application. Figure 1 As shown, this fixture control method can be used in CNC systems and includes the following steps:
[0044] Step 101: During the machining of the target workpiece, obtain the interference area of the fixture.
[0045] The aforementioned fixture is used to clamp and fix the target workpiece so that the target workpiece remains stable on the machining platform during the CNC system's machining process, preventing vibration or shaking of the target workpiece and improving the machining quality of the target workpiece.
[0046] The target workpiece mentioned above is the workpiece to be processed. For example, when the target workpiece is a plate-like workpiece and the area to be processed is the edge area, the fixture can clamp to press and fix the edge area of the workpiece to prevent the workpiece from vibrating or shaking during processing.
[0047] Among them, clamps can also be other types of clamping and fixing tools used to clamp and fix the target workpiece, especially clamping and fixing tools used to clamp and fix the edge area of the target workpiece, such as clamps.
[0048] The aforementioned interference area can be understood as the region where the machining paths of the fixture and the cutting tool interfere, i.e., the fixture is located on the machining path of the cutting tool. In this case, if the fixture remains in a clamped and fixed state, the fixture will collide with the cutting tool, thereby causing a machining safety accident.
[0049] It is understandable that the aforementioned cutting tools are tools used to machine the target workpiece.
[0050] Step 102: When the cutting tool is detected to have entered the interference region, output first control information, which is used to control the clamp to be in the released state.
[0051] In the released state, a clearance space is formed between the fixture and the target workpiece to allow the tool to move.
[0052] In this step, the real-time position of the tool can be obtained based on the machining program of the target workpiece; alternatively, the real-time position of the tool can be detected by the sensor module on the CNC system, such as by the image sensor or distance sensor on the CNC system. Based on the obtained real-time position of the tool, it can be detected whether the tool has entered the interference area of the fixture. If the tool is detected to have entered the interference area, the controller of the CNC system outputs the first control information, such as the programmable logic controller (PLC) of the CNC system. This first control information is used to control the fixture to be in the released state, so as to form an avoidance space between the fixture and the target workpiece for the tool to move, avoid the fixture from colliding with the tool, realize the avoidance action of the fixture, and reduce the machining risk of the workpiece.
[0053] In this embodiment, by determining the interference area of the fixture, and when the tool is detected to have entered the interference area, the first control information is output to control the fixture to be in a released state, so as to form an avoidance space for the tool to move between the fixture and the target workpiece, avoid the fixture from colliding with the tool, realize the avoidance action of the fixture, and reduce the processing risk of the workpiece.
[0054] Moreover, since the control information for the fixture to be in the released state is not directly written into the machining program for the target workpiece, it can also avoid the tool having to wait for the fixture to complete the release action before continuing to execute the machining program, thus avoiding tool interruption during continuous machining and effectively improving the machining efficiency of the CNC system for the target workpiece.
[0055] Furthermore, since it is not necessary to insert fixture control instructions into the machining program for the target workpiece, the debugging process of inserting fixture control instructions into the machining program can be reduced, thereby lowering the machining cost of the target workpiece.
[0056] Optionally, the method further includes:
[0057] If the tool is detected to have left the interference area, a second control message is output. The second control message is used to control the clamp to be in a clamping state. In the clamping state, the clamp clamps and fixes the target workpiece.
[0058] In this embodiment, when the tool is detected to have left the interference area, the fixture is controlled to remain in a clamping state to maintain the clamping and fixing effect on the target workpiece, thereby reducing the impact of vibration or shaking of the target workpiece during the processing on the processing quality of the target workpiece.
[0059] Optionally, obtaining the interference region of the fixture used to clamp and fix the target workpiece includes:
[0060] Obtain the position coordinates of the geometric center of the fixture in the CNC system;
[0061] The interference region of the fixture is determined based on the position coordinates and a preset value, wherein the preset value is determined at least based on the size of the fixture.
[0062] In this embodiment, the position coordinates of the geometric center of the fixture in the CNC system can be calculated based on the clamping and fixing position of the fixture on the target workpiece and the geometric center of the fixture. Then, the interference area of the fixture can be determined based on the preset value and the calculated position coordinates, so as to realize the determination of the interference area.
[0063] The position coordinates of the geometric center of the fixture in the CNC system can be determined based on the mechanical coordinate system or the absolute coordinate system of the CNC system.
[0064] The geometric center of the aforementioned fixture can be determined based on the fixture's basic parameters, which can be pre-stored in the CNC system so that the CNC system can directly use these basic parameters when needed.
[0065] The preset value is determined at least based on the size of the fixture. It can be understood that the larger the size of the fixture, the larger the preset value.
[0066] In some implementations, the preset value can be determined based on the operator's historical machining experience of the CNC system.
[0067] Optionally, the interference region includes a safety region located within the detection region, and the clamping and fixing position of the fixture on the target workpiece is located within the safety region;
[0068] After outputting first control information upon detecting that the cutting tool has entered the interference region, the method further includes:
[0069] If the first feedback information is not received when the cutting tool is detected to have entered the safe area, an alarm information is output.
[0070] The first feedback information is used to indicate that the fixture has switched from a clamping state to a releasing state based on the first control information, and the alarm information is used to indicate that there is a risk of interference between the machining path of the fixture and the tool.
[0071] like Figure 2 As shown, the interference region 21 includes a safety region 22, meaning the safety region 22 is located within the interference region 21. The fixture 24 is used to clamp and fix the target workpiece 23, and the fixture 24 is also located within the safety region 22. Specifically, when the geometric center of the fixture is located at coordinates (X0, Y0) in the CNC system, a preset value can be set to L1 based on the fixture's dimensions, and the square area determined by the position coordinates (X0, Y0) and the preset value L1 can be defined as the interference region. Correspondingly, the size of the safety region can also be set according to the fixture's dimensions, for example, by setting the side length of the safety region to L2, so that the specific location of the safety region within the interference region can be determined based on the coordinates (X0, Y0) and L2.
[0072] For example, when the interference region is a square region, the coordinate range of the interference region in the X-axis direction is (X0-L1 / 2, X0+L1 / 2), and the coordinate range of the interference region in the Y-axis direction is (Y0-L1 / 2, Y0+L1 / 2).
[0073] For example, if the safe area is a square area, the coordinate range of the safe area in the X-axis direction is (X0-L2 / 2, X0+L2 / 2), and the coordinate range of the safe area in the Y-axis direction is (Y0-L2 / 2, Y0+L2 / 2).
[0074] Because the cutting tool does not stop machining the target workpiece during the control of the fixture's release—that is, the tool continues to advance towards the clamping position of the fixture during the release process—if the fixture is not fully released after the tool enters the safe zone, the tool will collide with the fixture. To avoid this collision, it is necessary to further determine whether the fixture is fully released. Therefore, it is necessary to determine whether a first feedback message indicating that the fixture has switched from the clamping state to the releasing state based on the first control information has been received to assist in determining whether the fixture is fully released.
[0075] If the first feedback information indicates that the fixture is not fully released, an alarm message is output to warn the operator that there is a risk of interference between the fixture and the tool's machining path. At the same time, the machining process on the target workpiece can be paused to reduce the machining risk caused by the collision between the fixture and the tool.
[0076] In this embodiment, if the tool enters the safe area and no first feedback information indicating that the fixture has switched from the clamping state to the releasing state based on the first control information is received, an alarm message is output to warn the operator that there is a risk of interference between the machining path of the fixture and the tool. At the same time, the machining process of the target workpiece can be paused to reduce the machining risk caused by the collision between the fixture and the tool.
[0077] The fixture control method of this application, during the machining of a target workpiece, acquires the interference region of the fixture, which is used to clamp and fix the target workpiece, and the interference region is the area where the machining path of the fixture and the tool interferes. When the tool is detected to have entered the interference region, first control information is output. The first control information is used to control the fixture to be in a released state. In the released state, an obstacle avoidance space is formed between the fixture and the target workpiece for the tool to move. This can effectively improve the machining efficiency of the CNC system on the target workpiece.
[0078] The fixture control method provided in this application can be executed by a fixture control device. This application uses the example of a fixture control device executing the fixture control method to illustrate the fixture control device provided in this application.
[0079] See Figure 3 , Figure 3 This is a structural diagram of the clamp control device provided in the embodiments of this application, as shown below. Figure 3As shown, the clamp control device 300 includes:
[0080] The acquisition module 301 is used to acquire the interference area of the fixture during the processing of the target workpiece. The fixture is used to clamp and fix the target workpiece, and the interference area is the area where the machining path of the fixture and the tool interferes.
[0081] The first output control module 302 is used to output first control information when the tool is detected to have entered the interference region. The first control information is used to control the fixture to be in a released state. In the released state, an obstacle space is formed between the fixture and the target workpiece for the tool to move.
[0082] Optionally, the clamp control device 300 further includes:
[0083] The second output control module is used to output second control information when the tool is detected to leave the interference area. The second control information is used to control the clamp to be in a clamping state, in which the clamp clamps and fixes the target workpiece.
[0084] Optionally, the acquisition module 301 is specifically used for:
[0085] Obtain the position coordinates of the geometric center of the fixture in the CNC system;
[0086] The interference region of the fixture is determined based on the position coordinates and a preset value, wherein the preset value is determined at least based on the size of the fixture.
[0087] Optionally, the interference region includes a safety region located within the detection region, and the clamping and fixing position of the fixture on the target workpiece is located within the safety region;
[0088] The clamp control device 300 further includes:
[0089] The output module is used to output an alarm message if no first feedback message is received when the tool is detected to have entered the safe area.
[0090] The first feedback information is used to indicate that the fixture has switched from a clamping state to a releasing state based on the first control information, and the alarm information is used to indicate that there is a risk of interference between the machining path of the fixture and the tool.
[0091] Optionally, the clamp is a clamp.
[0092] The fixture control device 300 in this embodiment can be a CNC system or a component within the CNC system, such as an integrated circuit or a chip.
[0093] The clamp control device provided in this application embodiment can achieve... Figure 1 The various processes implemented in the method implementation examples will not be described again here to avoid repetition.
[0094] Optionally, such as Figure 4 As shown, this application embodiment also provides a CNC system 400, including a processor 401 and a memory 402. The memory 402 stores a program or instructions that can run on the processor 401. When the program or instructions are executed by the processor 401, they implement the various steps of the above-described fixture control method embodiment and can achieve the same technical effect. To avoid repetition, they will not be described again here.
[0095] This application also provides a readable storage medium storing a program or instructions. When the program or instructions are executed by a processor, they implement the various processes of the above-described fixture control method embodiments and achieve the same technical effects. To avoid repetition, they will not be described again here.
[0096] The processor is the processor in the CNC system described in the above embodiments. The readable storage medium includes computer-readable storage media, such as computer read-only memory (ROM), random access memory (RAM), magnetic disk, or optical disk.
[0097] This application embodiment also provides a chip, which includes a processor and a communication interface. The communication interface is coupled to the processor. The processor is used to run programs or instructions to implement the various processes of the above-described fixture control method embodiments and achieve the same technical effect. To avoid repetition, it will not be described again here.
[0098] It should be understood that the chip mentioned in the embodiments of this application may also be referred to as a system-on-a-chip, system chip, chip system, or system-on-a-chip, etc.
[0099] This application provides a computer program product, which is stored in a storage medium and executed by at least one processor to implement the various processes of the above-described fixture control method embodiments, and can achieve the same technical effects. To avoid repetition, it will not be described again here.
[0100] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element. Furthermore, it should be noted that the scope of the methods and apparatuses in the embodiments of this application is not limited to performing functions in the order shown or discussed, but may also include performing functions substantially simultaneously or in the reverse order, depending on the functions involved. For example, the described methods may be performed in a different order than described, and various steps may be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
[0101] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, can be embodied in the form of a computer product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), and includes several instructions to cause a terminal (which may be a mobile phone, computer, server, or network device, etc.) to execute the methods described in the various embodiments of this application.
[0102] The embodiments of this application have been described above with reference to the accompanying drawings. However, this application is not limited to the specific embodiments described above. The specific embodiments described above are merely illustrative and not restrictive. Those skilled in the art can make many other forms under the guidance of this application without departing from the spirit and scope of the claims, and all of these forms are within the protection scope of this application.
Claims
1. A jig control method characterized by, Used in CNC systems, including: During the machining of the target workpiece, the interference region of the fixture is obtained. The fixture is used to clamp and fix the target workpiece, and the interference region is the area where the machining path of the fixture and the tool interferes. When the tool is detected to have entered the interference region, a first control information is output. The first control information is used to control the fixture to be in a released state. In the released state, an obstacle space is formed between the fixture and the target workpiece for the tool to move. The step of obtaining the interference region of the fixture used to clamp and fix the target workpiece includes: Obtain the position coordinates of the geometric center of the fixture in the CNC system; The interference region of the fixture is determined based on the position coordinates and a preset value, wherein the preset value is determined at least based on the dimensions of the fixture; The interference region includes a safety region, which is located within the detection region, and the clamping and fixing position of the fixture on the target workpiece is located within the safety region; After outputting first control information upon detecting that the cutting tool has entered the interference region, the method further includes: If the first feedback information is not received when the cutting tool is detected to have entered the safe area, an alarm information is output. The first feedback information is used to indicate that the fixture has switched from a clamping state to a releasing state based on the first control information, and the alarm information is used to indicate that there is a risk of interference between the machining path of the fixture and the tool.
2. The method of claim 1, wherein, The method further includes: If the tool is detected to have left the interference area, a second control message is output. The second control message is used to control the clamp to be in a clamping state. In the clamping state, the clamp clamps and fixes the target workpiece.
3. The method according to claim 1 or 2, characterized in that, The clamp is a clamping clamp.
4. A gripper control device characterized by comprising: Used in CNC systems, including: The acquisition module is used to acquire the interference area of the fixture during the processing of the target workpiece. The fixture is used to clamp and fix the target workpiece, and the interference area is the area where the machining path of the fixture and the tool interferes. The first output control module is used to output first control information when the tool is detected to have entered the interference region. The first control information is used to control the fixture to be in a released state. In the released state, an obstacle space is formed between the fixture and the target workpiece for the tool to move. The acquisition module is specifically used for: Obtain the position coordinates of the geometric center of the fixture in the CNC system; The interference region of the fixture is determined based on the position coordinates and a preset value, wherein the preset value is determined at least based on the dimensions of the fixture; The interference region includes a safety region, which is located within the detection region, and the clamping and fixing position of the fixture on the target workpiece is located within the safety region; The device further includes: The output module is used to output an alarm message if no first feedback message is received when the tool is detected to have entered the safe area. The first feedback information is used to indicate that the fixture has switched from a clamping state to a releasing state based on the first control information, and the alarm information is used to indicate that there is a risk of interference between the machining path of the fixture and the tool.
5. The apparatus according to claim 4, characterized in that, The device further includes: The second output control module is used to output second control information when the tool is detected to leave the interference area. The second control information is used to control the clamp to be in a clamping state, in which the clamp clamps and fixes the target workpiece.
6. A numerical control system, characterized in that, It includes a processor and a memory, the memory storing a program or instructions executable on the processor, the program or instructions being executed by the processor to implement the steps of the clamp control method as described in any one of claims 1 to 3.