Collision protection effectiveness test method, system, and related apparatus
Patent Information
- Application Number
- CN202410712151.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-03
- Publication Date
- 2026-08-28
- Estimated Expiration
- 2044-06-03
AI Technical Summary
[0008]上述方案,获取测试工件的位置,运行机床主轴使得机床主轴开始旋转,控制机床主轴从初始位置向测试工件移动,并在主轴刀具与测试工件发生碰撞时,获取振动采集装置采集的机床主轴的振动数据,获取与机床主轴的振动数据相关的待执行指令后,将待执行指令下发至碰撞保护装置,获取碰撞保护装置执行待执行指令后返回的反馈结果,获取主轴刀具的刀具状态,刀具状态包括刀具完好或者刀具折断中的其中一者,根据碰撞保护装置返回的反馈结果和刀具状态,从而能够快速得到碰撞保护装置的有效性,并且避免机床主轴与测试工件发生碰撞而受到伤害,保护了设备的安全。
Smart Images

Figure CN118720849B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of metal cutting machine tools, and in particular to a method, system and related apparatus for testing the effectiveness of collision protection. Background Technology
[0002] As one of the core functional components of metal cutting machine tools, the machine tool spindle directly affects the grinding efficiency and surface quality of the machined parts. Therefore, protecting the high-speed rotating machine tool spindle is particularly important. To improve the reliability of the machine tool spindle, collision protection devices are installed on the machine tool. However, the stability and effectiveness of collision protection devices often require tens of thousands or even hundreds of tests. Since collisions with the machine tool spindle are irreversible and can even cause it to be directly destroyed, this brings great difficulty to the verification. In view of this, how to quickly determine the effectiveness of collision protection devices and avoid damage to the machine tool spindle has become an urgent problem to be solved. Summary of the Invention
[0003] The main technical problem addressed by this application is to provide a method, system, and related apparatus for testing the effectiveness of collision protection, which can quickly determine the effectiveness of the collision protection device and prevent damage to the machine tool spindle.
[0004] To address the aforementioned technical problems, this application provides a collision protection effectiveness testing method, applied to a collision protection effectiveness testing system. The collision protection effectiveness testing system includes at least a machine tool spindle, a vibration acquisition device, and a collision protection device. The machine tool spindle is equipped with a spindle cutting tool. The method includes: acquiring the position of a test workpiece; controlling the machine tool spindle to move from an initial position toward the test workpiece; and acquiring vibration data of the machine tool spindle collected by the vibration acquisition device when the positions of the spindle cutting tool and the test workpiece satisfy a positional condition; acquiring a command to be executed related to the vibration data and sending the command to be executed to the collision protection device; acquiring a feedback result returned by the collision protection device after executing the command; acquiring the tool state of the spindle cutting tool; and obtaining the test result of the collision protection device based on the feedback result and the tool state.
[0005] To address the aforementioned technical problems, a second aspect of this application provides an electronic device comprising: a memory and a processor coupled to each other, wherein the memory stores program data, and the processor invokes the program data to execute the method described in the first aspect.
[0006] To address the aforementioned technical problems, a third aspect of this application provides a computer-readable storage medium having program data stored thereon, wherein the processor invokes the program data to execute the method described in the first aspect.
[0007] To address the aforementioned technical problems, the fourth aspect of this application provides a collision protection effectiveness testing system, comprising the electronic device described in the second aspect above, and a machine tool spindle, a vibration acquisition device, and a collision protection device coupled to the electronic device.
[0008] The above scheme obtains the position of the test workpiece, runs the machine tool spindle to start rotating, controls the machine tool spindle to move from the initial position toward the test workpiece, and when the spindle tool collides with the test workpiece, acquires the vibration data of the machine tool spindle collected by the vibration acquisition device, obtains the execution command related to the vibration data of the machine tool spindle, sends the execution command to the collision protection device, obtains the feedback result returned by the collision protection device after executing the execution command, and obtains the tool status of the spindle tool, which includes either the tool is intact or the tool is broken. Based on the feedback result returned by the collision protection device and the tool status, the effectiveness of the collision protection device can be quickly determined, and the collision between the machine tool spindle and the test workpiece can be avoided, thus protecting the safety of the equipment. Attached Figure Description
[0009] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort. Wherein:
[0010] Figure 1 This is a flowchart illustrating one implementation method of the collision protection effectiveness test method of this application;
[0011] Figure 2 This is a schematic diagram of one embodiment of the collision protection effectiveness testing system of this application;
[0012] Figure 3 This is a schematic diagram of the structure of one embodiment of the electronic device of this application;
[0013] Figure 4 This is a schematic diagram of one embodiment of the computer-readable storage medium of this application. Detailed Implementation
[0014] 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, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the scope of protection of this application.
[0015] Please see Figure 1 and Figure 2 , Figure 1 This is a flowchart illustrating one embodiment of the collision protection effectiveness testing method of this application. Figure 2 This is a schematic diagram of an embodiment of the collision protection effectiveness testing system of this application. The method is applied to the collision protection effectiveness testing system 1. The collision protection effectiveness testing system 1 includes at least a machine tool spindle 10, a vibration acquisition device 11, and a collision protection device 12. The machine tool spindle 10 is equipped with a spindle tool. The method includes:
[0016] S101: Obtain the position of the test workpiece, control the machine tool spindle to move from the initial position to the test workpiece, and when the position of the spindle tool and the test workpiece meets the position conditions, obtain the vibration data of the machine tool spindle collected by the vibration acquisition device.
[0017] Specifically, the position of the test workpiece is obtained, the machine tool spindle 10 is started to rotate, the machine tool spindle 10 is controlled to move from the initial position to the test workpiece, and when the spindle tool collides with the test workpiece, the vibration data of the machine tool spindle 10 collected by the vibration acquisition device 11 is obtained.
[0018] In one application, the collision protection effectiveness testing system 1 integrates a position acquisition device. The position acquisition device is used to acquire the position information of the test workpiece, control the machine tool spindle 10 to move from the initial position to the test workpiece, and acquire the vibration data of the machine tool spindle 10 collected by the vibration acquisition device 11 when the spindle tool collides with the test workpiece.
[0019] In another application, the collision protection effectiveness testing system 1 is coupled with a position acquisition device to acquire the position information of the test workpiece uploaded by the position acquisition device, control the machine tool spindle 10 to move from the initial position to the test workpiece, and acquire the vibration data of the machine tool spindle 10 collected by the vibration acquisition device 11 when the spindle tool collides with the test workpiece.
[0020] In a specific application scenario, the collision protection effectiveness testing system 1 is equipped with a coupled position sensor to obtain the position information of the test workpiece uploaded by the position sensor, control the machine tool spindle 10 to move from the initial position to the test workpiece, and obtain the vibration acceleration of the machine tool spindle 10 collected by the vibration sensor when the spindle tool collides with the test workpiece.
[0021] S102: Obtain the execution instructions related to the vibration data and send the execution instructions to the collision protection device.
[0022] Specifically, after acquiring the command to be executed related to the vibration data of the machine tool spindle 10, the command to be executed is sent to the collision protection device 12.
[0023] In one application mode, after obtaining the vibration data of the machine tool spindle 10, relevant instructions to be executed are generated based on the vibration data, and the instructions to be executed are sent to the collision protection device 12.
[0024] In another application, after obtaining the vibration data of the machine tool spindle 10, the pre-compiled relevant instructions to be executed are called according to the vibration data, and the instructions to be executed are sent to the collision protection device 12.
[0025] S103: Obtain the feedback result returned by the collision protection device after executing the pending command.
[0026] Specifically, the feedback result returned by the collision protection device 12 after executing the pending instruction is obtained, wherein the feedback result is that the collision protection device 12 is effective or the collision protection device 12 is ineffective.
[0027] In one application mode, the feedback code returned by the collision protection device 12 after executing the instruction to be executed is obtained. The feedback result includes the feedback code corresponding to the effective collision protection device 12 and the feedback code corresponding to the failure of the collision protection device 12.
[0028] In another application, the feedback instruction and feedback code returned by the collision protection device 12 after executing the instruction to be executed are obtained. The feedback result includes the feedback instruction and the feedback code. The feedback instruction is used to parse the feedback code to obtain the feedback code corresponding to the effective collision protection device 12 and the feedback code corresponding to the failure of the collision protection device 12.
[0029] S104: Obtain the tool status of the spindle tool, and based on the feedback results and tool status, obtain the test results of the collision protection device.
[0030] Specifically, the tool status of the spindle tool is obtained, including whether the tool is intact or broken. Based on the feedback result returned by the collision protection device 12 and the tool status, the effectiveness of the collision protection device 12 can be quickly determined, and the machine tool spindle 10 can be prevented from colliding with the test workpiece and being damaged, thus protecting the safety of the equipment.
[0031] In one application method, the number of tests for the collision protection device 12 is preset, the tool status of the spindle tool is obtained, and the test result of the collision protection device 12 is determined based on the feedback results and tool status within the number of tests.
[0032] In another application, the test time of the collision protection device 12 is preset, the tool status of the spindle tool is obtained, and the test result of the collision protection device 12 is determined based on the feedback results and tool status within the test time.
[0033] The above scheme obtains the position of the test workpiece, runs the machine tool spindle 10 to start rotating, controls the machine tool spindle 10 to move from the initial position toward the test workpiece, and when the spindle tool collides with the test workpiece, obtains the vibration data of the machine tool spindle 10 collected by the vibration acquisition device 11, obtains the execution command related to the vibration data of the machine tool spindle 10, sends the execution command to the collision protection device 12, obtains the feedback result returned by the collision protection device 12 after executing the execution command, and obtains the tool status of the spindle tool, which includes either the tool being intact or the tool being broken. Based on the feedback result returned by the collision protection device 12 and the tool status, the effectiveness of the collision protection device 12 can be quickly determined, and the collision between the machine tool spindle 10 and the test workpiece can be avoided, thus protecting the safety of the equipment.
[0034] In one embodiment, the step S102 of acquiring the instruction to be executed related to the vibration data specifically includes: in response to the vibration data meeting a preset condition, acquiring the instruction to be executed; wherein, the instruction to be executed includes controlling the machine tool spindle 10 to retract to the initial position.
[0035] Specifically, at the moment the spindle tool collides with the test workpiece, vibration data is acquired. When the vibration data meets the preset conditions, an execution command is acquired so that the collision protection device 12 can promptly receive the execution command and return the machine tool spindle 10 to its initial position, thereby reducing the probability of damage to the machine tool spindle 10 and its connected spindle tool.
[0036] In one implementation scenario, the vibration data includes vibration acceleration. The specific steps for obtaining the instruction to be executed in response to the vibration data meeting preset conditions include: obtaining the instruction to be executed in response to the vibration acceleration being greater than a preset threshold.
[0037] Specifically, when the acquired vibration acceleration is greater than a preset threshold, an instruction to be executed is acquired. By reasonably setting the judgment threshold, the accuracy and efficiency of data processing can be significantly improved, as well as the reliability of the subsequent test results of the collision protection device 12 can be improved.
[0038] Optionally, in other implementation scenarios, the instruction to be executed can also be determined based on other vibration data, such as vibration velocity and vibration displacement. This application does not impose specific limitations on this.
[0039] In one embodiment, after step S103, the method further includes: in response to the received feedback result from the collision protection device 12 being valid, determining that the machine tool spindle 10 retracts to the initial position and returns to the position for acquiring the test workpiece, and controlling the machine tool spindle 10 to move from the initial position to the test workpiece; in response to the received feedback result from the collision protection device 12 being invalid, controlling the machine tool spindle 10 to stop moving.
[0040] Specifically, when the feedback result received from the collision protection device 12 is valid, the machine tool spindle 10 is determined to return to the initial position and return to step S101 to start the next test. When the feedback result received from the collision protection device 12 is invalid, the machine tool spindle 10 is controlled to stop moving in order to avoid the machine tool spindle 10 continuing to move forward and causing the machine tool spindle 10 to collide and cause equipment damage.
[0041] Understandably, by determining whether the machine tool spindle 10 has returned to its initial position, it is possible to ensure that the initial conditions for each test are the same. This can not only guarantee the reliability of the test results of the collision protection device 12, but also improve the safety of the machine tool spindle 10.
[0042] In one application scenario, the initial position corresponds to the calibration coordinates in a spatial rectangular coordinate system. When the machine tool spindle 10 moves back, the actual coordinates of the machine tool spindle 10 at this time are obtained and matched with the calibration coordinates to confirm whether it has returned to the initial position, thereby improving the accuracy of confirming whether the machine tool spindle 10 has returned to the initial position.
[0043] In another application scenario, the initial position corresponds to a calibration contact. During the return movement of the machine tool spindle 10, it is determined whether the calibration contact is triggered by the machine tool spindle 10, thereby reducing the resource consumption of confirming whether the machine tool spindle 10 has returned to the initial position.
[0044] In one embodiment, the testing process corresponds to a preset number of tests. Step S104 specifically includes: obtaining the tool status of the spindle tool; wherein, the tool status includes either the tool being intact or the tool being broken; in response to the current tool status being a broken tool or the feedback result being invalid, determining that the test result of the collision protection device 12 is invalid; in response to reaching the preset number of tests, and the current tool status being a tool being intact and the feedback result being valid, determining that the test result of the collision protection device 12 is valid.
[0045] Specifically, the tool status of the spindle tool is obtained, including whether the tool is intact or broken. If the spindle tool breaks when it collides with the test workpiece, it indicates that the test result of the collision protection device 12 is that the protection is ineffective. Alternatively, if the machine tool spindle 10 continues to move towards the test workpiece after the spindle tool collides with the test workpiece, and the collision protection device 12 does not control the machine tool spindle 10 to return to the initial position, it indicates that the test effect of the collision protection device 12 is that the protection is ineffective. Or, if the machine tool spindle 10 continues to move towards the test workpiece and the spindle tool breaks when the spindle tool collides with the test workpiece, it indicates that the test result of the collision protection device 12 is also that the protection is ineffective.
[0046] It should be noted that there are many reasons why the collision protection device 12 may fail. For example, the collision protection device 12 may fail due to an error during installation, or during the test, when the spindle tool collides with the test workpiece, the collision protection device 12 may fail to receive the command to be executed in time, causing the machine tool spindle 10 to continue moving towards the test workpiece and causing the spindle tool to break. In other words, the collision protection device 12 may fail due to a decrease in sensitivity during the test.
[0047] Furthermore, when the preset number of tests is reached, and within the preset number of tests, after the spindle tool collides with the test workpiece, the spindle tool remains intact and the machine tool spindle 10 returns to its initial position, it indicates that the test result of the collision protection device 12 is effective. By observing the tool status of the spindle tool and whether the machine tool spindle 10 returns to its initial position, the effectiveness of the collision protection device 12 can be quickly obtained, and damage to the machine tool spindle 10 can be avoided, thus protecting the safety of the equipment and reducing testing costs.
[0048] Optionally, the preset number of tests can be set to 5,000, 8,000, 10,000, etc., and this application does not impose specific restrictions here.
[0049] In one embodiment, obtaining the position of the test workpiece and controlling the machine tool spindle 10 to move from the initial position to the test workpiece in step S101 specifically includes: in response to the machine tool spindle 10 being in the initial position, obtaining the position of the test workpiece and determining the tool size of the spindle tool; determining the current movement path based on the initial position, the position of the test workpiece and the tool size, and using the current movement path to control the machine tool spindle 10 to move from the initial position to the test workpiece until the positions of the spindle tool and the test workpiece meet the position conditions.
[0050] Specifically, when the machine tool spindle 10 is in the initial position, the position of the test workpiece is obtained, and the tool size of the spindle tool mounted on the machine tool spindle 10 is determined. Based on the initial position of the machine tool spindle 10, the position of the test workpiece, and the tool size of the spindle tool, the current movement path of the machine tool spindle 10 is determined, and the current movement path is used to control the machine tool spindle 10 to move from the initial position to the test workpiece until the spindle tool collides with the test workpiece.
[0051] Understandably, when the spindle tool is replaced due to breakage, the movement path of the machine tool spindle 10 can be adjusted in time, so that the replaced spindle tool collides with the test workpiece, thereby improving the testing efficiency of the collision protection device 12.
[0052] In one implementation scenario, the steps of determining the current movement path based on the initial position, the position of the test workpiece, and the tool size, and using the current movement path to control the machine tool spindle 10 to move from the initial position to the test workpiece specifically include: obtaining at least the historical movement path of the previous cycle; generating a current movement path that is different from the historical movement path of the previous cycle based on the historical movement path, the initial position, the position of the test workpiece, and the tool size; and using the current movement path to control the machine tool spindle 10 to move from the initial position to the test workpiece.
[0053] Specifically, the historical movement path of the previous cycle or the historical movement path of the entire test period is obtained. Based on the historical movement path, the initial position of the machine tool spindle 10, the position of the test workpiece, and the tool size, a current movement path different from the historical movement path of the previous cycle is generated, or a current movement path different from all the historical movement paths of the previous test period is generated. The machine tool spindle 10 is controlled to move from the initial position to the test workpiece according to the generated current movement path. By controlling the machine tool spindle 10 to move towards the test workpiece with different movement paths, the reliability of the collision protection device 12 test can be improved.
[0054] Please see Figure 3 , Figure 3 This is a schematic diagram of the structure of an embodiment of the electronic device of this application. The electronic device 30 includes a memory 303 and a processor 300 coupled to each other. The memory 303 stores program data, and the processor 300 calls the program data to execute the data transmission method of any of the above embodiments. For related explanations, please refer to the detailed description of the above method embodiments, which will not be repeated here.
[0055] It should be noted that processor 300 can also be referred to as CPU (Center Processing Unit). Processor 300 may be an integrated circuit chip with signal processing capabilities. Processor 300 can also be a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components. A general-purpose processor can be a microprocessor or any conventional processor. Furthermore, processor 300 can be implemented using integrated circuit chips.
[0056] Please see Figure 4 , Figure 4This is a schematic diagram of a computer-readable storage medium 40 according to one embodiment of the present application. The computer-readable storage medium 40 stores program data 400, which is used to implement the data transmission method described in any of the above embodiments. For further details on related content, please refer to the detailed description of the above method embodiments; it will not be repeated here.
[0057] It should be noted that the units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0058] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.
[0059] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) or processor to execute all or part of the steps of the methods of various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0060] Please continue reading. Figure 2 The collision protection effectiveness testing system 1 proposed in this application includes an electronic device 30, and a machine tool spindle 10, a vibration acquisition device 11, and a collision protection device 12 coupled to the electronic device 30. For details regarding these components, please refer to the detailed description of the above-described method implementation, which will not be repeated here.
[0061] The above description is merely an embodiment of this application and does not limit the patent scope of this application. Any equivalent structural or procedural transformations made using the content of this application's specification and drawings, or direct or indirect applications in other related technical fields, are similarly included within the patent protection scope of this application.
Claims
1. A method for testing the effectiveness of collision protection, characterized in that, An application is made to a collision protection effectiveness testing system, which includes at least a machine tool spindle, a vibration acquisition device, and a collision protection device, wherein the machine tool spindle is equipped with a spindle tool. The method includes: The position of the test workpiece is obtained, the machine tool spindle is controlled to move from the initial position toward the test workpiece, and when the position of the spindle tool and the test workpiece meets the position condition, the vibration data of the machine tool spindle collected by the vibration acquisition device is obtained. Obtain the execution instructions related to the vibration data and send the execution instructions to the collision protection device; Obtain the feedback result returned by the collision protection device after executing the instruction to be executed; The tool status of the spindle tool is obtained, and the test results of the collision protection device are obtained based on the feedback results and the tool status. The step of acquiring the instructions to be executed related to the vibration data includes: In response to the vibration data meeting preset conditions, the instruction to be executed is obtained; wherein, the instruction to be executed includes controlling the machine tool spindle to retract to the initial position; The step of obtaining the feedback result returned by the collision protection device after executing the instruction to be executed includes: In response to the received feedback result from the collision protection device being valid, the machine tool spindle is determined to retract to the initial position and return to the position for acquiring the test workpiece, and the step of controlling the machine tool spindle to move from the initial position to the test workpiece is performed. In response to the received feedback that the collision protection device has failed, the machine tool spindle is controlled to stop moving; The testing process includes a preset number of tests. The process of obtaining the tool state of the spindle tool and, based on the feedback result and the tool state, obtaining the test result of the collision protection device includes: Obtain the tool status of the spindle tool; wherein, the tool status includes either the tool being intact or the tool being broken; If the current tool status is tool breakage or the feedback result is invalid, the test result of the collision protection device is determined to be invalid. In response to reaching the preset number of tests, and given that the current tool status is that the tool is intact and the feedback result is valid, the test result of the collision protection device is determined to be effective.
2. The collision protection effectiveness testing method according to claim 1, characterized in that, The vibration data includes vibration acceleration, and the step of obtaining the instruction to be executed in response to the vibration data satisfying a preset condition includes: In response to the vibration acceleration being greater than a preset threshold, the instruction to be executed is obtained.
3. The collision protection effectiveness testing method according to claim 1, characterized in that, The step of acquiring the position of the test workpiece and controlling the machine tool spindle to move from the initial position toward the test workpiece includes: In response to the machine tool spindle being in the initial position, the position of the test workpiece is obtained, and the tool size of the spindle tool is determined; Based on the initial position, the position of the test workpiece, and the tool size, the current movement path is determined, and the machine tool spindle is controlled to move from the initial position to the test workpiece using the current movement path until the positions of the spindle tool and the test workpiece meet the position conditions.
4. The collision protection effectiveness testing method according to claim 3, characterized in that, The step of determining the current movement path based on the initial position, the position of the test workpiece, and the tool size, and using the current movement path to control the machine tool spindle to move from the initial position to the test workpiece, includes: At least the historical movement path of the previous cycle is obtained, and based on the historical movement path, the initial position, the position of the test workpiece, and the tool size, a current movement path that is different from the historical movement path of the previous cycle is generated; The machine tool spindle is controlled to move from the initial position to the test workpiece using the current movement path.
5. An electronic device, characterized in that, include: A memory and a processor are coupled to each other, wherein the memory stores program data, and the processor invokes the program data to perform the method as described in any one of claims 1-4.
6. A computer-readable storage medium storing program data thereon, characterized in that, When the program data is executed by the processor, it implements the method as described in any one of claims 1-4.
7. A collision protection effectiveness testing system, characterized in that, include: The electronic device of claim 5, and the machine tool spindle, vibration acquisition device and collision protection device coupled to the electronic device.
Citation Information
Patent Citations
Method and system for realizing machine tool collision protection through vibration and load and medium
CN115533616A
Five-axis machine tool collision protection method and device based on PLC system
CN115945967A