CN115741231A - Method and device for detecting tool breakage in tool magazine, electronic equipment and storage medium - Google Patents

Method and device for detecting tool breakage in tool magazine, electronic equipment and storage medium Download PDF

Info

Publication number
CN115741231A
CN115741231A CN202211425425.8A CN202211425425A CN115741231A CN 115741231 A CN115741231 A CN 115741231A CN 202211425425 A CN202211425425 A CN 202211425425A CN 115741231 A CN115741231 A CN 115741231A
Authority
CN
China
Prior art keywords
tool
teaching
time
acquiring
servo motor
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211425425.8A
Other languages
Chinese (zh)
Inventor
王占军
莫玉麟
黄树有
林蓉
黄振
麦克年
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Gree Electric Appliances Inc of Zhuhai
Zhuhai Gree Intelligent Equipment Co Ltd
Zhuhai Gree Intelligent Equipment Technology Research Institute Co Ltd
Original Assignee
Gree Electric Appliances Inc of Zhuhai
Zhuhai Gree Intelligent Equipment Co Ltd
Zhuhai Gree Intelligent Equipment Technology Research Institute Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Gree Electric Appliances Inc of Zhuhai, Zhuhai Gree Intelligent Equipment Co Ltd, Zhuhai Gree Intelligent Equipment Technology Research Institute Co Ltd filed Critical Gree Electric Appliances Inc of Zhuhai
Priority to CN202211425425.8A priority Critical patent/CN115741231A/en
Publication of CN115741231A publication Critical patent/CN115741231A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Automatic Tool Replacement In Machine Tools (AREA)

Abstract

The invention discloses a method and a device for detecting the internal broken cutter of a tool magazine, electronic equipment and a storage medium, wherein the method comprises the following steps: acquiring the detection time of a servo motor for a cutter to be detected as target time; acquiring teaching time corresponding to the tool to be detected from a preset database, and acquiring a difference time period between the target time and the teaching time; and if the difference time period is greater than the preset time precision value, judging that the cutter to be detected is broken, and sending warning information. The invention avoids the direct measurement of the length of the tool and is beneficial to improving the detection efficiency of the broken tool in the tool magazine.

Description

Method and device for detecting internal broken tool of tool magazine, electronic equipment and storage medium
Technical Field
The invention relates to the technical field of cutter detection, in particular to a method and a device for detecting broken cutters in a tool magazine, electronic equipment and a storage medium.
Background
In the machining process, due to the abrasion of the cutter, stress fatigue and the like, the cutter is broken due to the fact that the service life of the cutter or the operation is not standardized, the damage of the cutter can not only cause the scrapping of workpieces and the loss of expensive equipment, but also directly influence the precision, the efficiency and the economic benefit of machining. Therefore, the detection of the broken cutter is very necessary, and the detection of the broken cutter is widely applied to various machining industries as a detection technology with wide practicability and high working performance.
The existing tool magazine internal broken tool detection method is to directly identify the length of a tool before and after use and judge whether the tool is broken according to the change of the length of the tool. However, in this way, it is difficult to quickly identify the length of the tool during the machining process, so that it is difficult to quickly detect whether the tool is broken, and the detection efficiency of the broken tool inside the tool magazine is low.
Disclosure of Invention
The embodiment of the invention provides a method and a device for detecting internal broken knives of a tool magazine, electronic equipment and a storage medium, and aims to improve the detection efficiency of the internal broken knives of the tool magazine.
In a first aspect, an embodiment of the present invention provides a method for detecting a tool breakage inside a tool magazine, including:
acquiring the detection time of a servo motor for a cutter to be detected as target time;
acquiring teaching time corresponding to the tool to be detected from a preset database, and acquiring a difference time period between the target time and the teaching time;
and if the difference time period is greater than the preset time precision value, judging that the cutter to be detected is broken, and sending warning information.
In a second aspect, an embodiment of the present invention provides a device for detecting a tool break inside a tool magazine, including:
the target time acquisition module is used for acquiring the detection time of the servo motor on the cutter to be detected as target time;
the difference time period acquisition module is used for acquiring teaching time corresponding to the tool to be detected from a preset database and acquiring a difference time period between the target time and the teaching time;
and the cutter fracture judging module is used for judging that the cutter to be detected is fractured and sending warning information if the difference time period is greater than a preset time precision value.
In a third aspect, an embodiment of the present invention further provides an air conditioner, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor implements the method for detecting a tool breakage inside a tool magazine according to the first aspect when executing the computer program.
In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, where the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the processor executes the method for detecting a tool break in a tool magazine according to the first aspect.
The embodiment of the invention provides a method and a device for detecting broken knives in a tool magazine, electronic equipment and a storage medium, wherein the method comprises the following steps: acquiring the detection time of a servo motor for a cutter to be detected as target time; acquiring teaching time corresponding to the tool to be detected from a preset database, and acquiring a difference time period between the target time and the teaching time; and if the difference time period is greater than the preset time precision value, judging that the cutter to be detected is broken, and sending warning information. According to the embodiment of the invention, the detection time and the teaching time of the tool to be detected are obtained, the difference time period of the detection time of the tool to be detected and the teaching time is obtained, and the difference time period is compared with the preset time precision value, so that whether the tool is broken or not is judged, the direct measurement of the length of the tool is avoided, and the detection efficiency of tool breakage in a tool magazine is improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the description below are some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on the drawings without creative efforts.
Fig. 1 is a schematic flow chart of a method for detecting a tool break in a tool magazine according to an embodiment of the present invention;
fig. 2 is a schematic flow chart of a method for detecting a tool break inside a tool magazine according to an embodiment of the present invention;
fig. 3 is a schematic flow chart of a method for detecting a tool break in a tool magazine according to another embodiment of the present invention;
fig. 4 is a schematic flow chart of a method for detecting a tool break in a tool magazine according to another embodiment of the present invention;
FIG. 5 is a schematic diagram of setting precision values according to an embodiment of the present invention;
fig. 6 is a schematic flow chart of a method for detecting a tool break in a tool magazine according to another embodiment of the present invention;
fig. 7 is a schematic flow chart of a method for detecting a tool break in a tool magazine according to another embodiment of the present invention;
fig. 8 is a schematic block diagram of a device for detecting a tool breakage inside a tool magazine according to an embodiment of the present invention;
fig. 9 is a schematic block diagram of an electronic device provided in an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It will be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It is also to be understood that the terminology used in the description of the invention herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in the specification of the present invention and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It should be further understood that the term "and/or" as used in this specification and the appended claims refers to any and all possible combinations of one or more of the associated listed items and includes such combinations.
Referring to fig. 1 to 6, fig. 1 is a schematic flow chart illustrating a method for detecting a tool break inside a tool magazine according to an embodiment of the present invention; fig. 2 is a schematic flow chart of a method for detecting a tool break inside a tool magazine according to an embodiment of the present invention; fig. 3 is a schematic flow chart of a method for detecting a tool break in a tool magazine according to another embodiment of the present invention;
FIG. 4 is a schematic diagram of setting precision values according to another embodiment of the present invention; fig. 5 is a schematic flow chart of a method for detecting a tool break in a tool magazine according to another embodiment of the present invention; fig. 6 is a schematic flow chart of a method for detecting a tool break in a tool magazine according to another embodiment of the present invention; fig. 7 is a schematic flow chart of a method for detecting a tool break in a tool magazine according to another embodiment of the present invention; fig. 8 is a schematic block diagram of a device for detecting a tool breakage inside a tool magazine according to an embodiment of the present invention; fig. 9 is a schematic block diagram of an electronic device provided in an embodiment of the present invention. The method for detecting the internal broken tool of the tool magazine, provided by the embodiment of the invention, is applied to electronic equipment.
S1: and acquiring the detection time of the servo motor to the cutter to be detected as target time.
Specifically, the embodiment of the application is a tool magazine internal broken tool detection method based on a numerical control system. The numerical control system is a control system which integrates all numerical control system elements (a numerical controller, a programmable controller and a human-computer operation interface) into a whole in an operation panel installation mode. The target time refers to the time from the time when the servo motor starts at the origin of the shifting rod to the time when the servo motor touches the tool nose of the tool to be detected and the torque of the servo motor reaches a preset value.
In one embodiment, the pre-test job needs to be ready before the start of the break test. The method comprises the following specific steps: the servo motor is arranged in the tool magazine, the tool sleeve of the cutter head is corrected, the shifting rod needs to be aligned with the center of the tool sleeve and cannot have large deviation, after the mechanical position is calibrated, the speed of the servo motor of the cutter breaking instrument and a preset precision value are set and input into a detection system, finally, the shifting piece of the cutter breaking instrument is placed below the longest cutter, and the original point of the shifting piece is set. At this time, the cutter breaking instrument is completely installed, and then the test is started.
Referring to fig. 2, fig. 2 shows an embodiment before S1, which is described in detail as follows:
s01: and acquiring undetected tools of multiple types and sample tools corresponding to the tools to be detected, and taking the sample tools as target teaching tools.
S02: and based on the target teaching tool, acquiring a preset precision value of the undetected tool.
S03: and acquiring the detection time of the servo motor for teaching the target tool to obtain the teaching time.
S04: and storing the preset precision value and the teaching time in a preset database.
In the embodiment of the application, each type of cutter has the corresponding original length, so that different precision values are required for detecting the broken cutters of different types of cutters. And each type of tool has a different detection time. Therefore, the embodiment of the application obtains the undetected tools of multiple types and the sample tools corresponding to the tools to be detected, and takes the sample tools as target teaching tools. Then, according to the target teaching tool, acquiring a preset precision value of an undetected tool to obtain a preset precision value of each type of tool, acquiring detection time of the servo motor on the target teaching tool to obtain teaching time, and finally storing the teaching time in a preset database; furthermore, different servo motor speeds can be set according to different cutter types, and the servo motor speeds are correspondingly stored in a preset database, so that corresponding precision values can be directly called when subsequent cutter breakage detection is required, and the efficiency of cutter breakage detection is improved. The sample tool is a tool having an initial length immediately after shipment.
Referring to fig. 3, fig. 3 shows an embodiment of step S03, which is described in detail as follows:
s031: and acquiring a first teaching instruction, wherein the first teaching instruction comprises a teaching tool number.
S032: and executing the first teaching instruction, acquiring a target teaching tool corresponding to the teaching tool number, driving the servo motor to rotate through the servo driver based on the first teaching instruction, and acquiring the current time point of the servo motor at the original point of the deflector rod as a first teaching time point.
S033: when the servo motor touches the tool nose of the teaching tool and the torque of the servo motor reaches a set value, first teaching feedback information is obtained, and a second teaching time point is obtained based on the first teaching feedback information.
S034: and generating the teaching time based on the difference value between the second teaching time point and the first teaching time point.
The teaching tool is a tool having an initial length immediately after shipment. The teaching time refers to the time taken by the servo motor from the moment when the servo motor starts to be at the original point of the deflector rod and touches the tool nose of the teaching tool and the moment of the servo motor reaches a preset value.
The first teaching command is a command for detecting a teaching tool. For example, the first teaching command is M600Tx (x represents a teaching tool number).
Specifically, since the first teaching command includes the teaching tool number, when the first teaching command is executed, the corresponding teaching tool can be detected. Servo driver drive servo motor rotates for it is rotatory to drive servo motor's driving lever, and when servo motor's driving lever touched the knife tip of teaching cutter, servo motor's electric current can change this moment, can kick-back rapidly by the motor after reaching certain numerical value as the arrival electric current. Therefore, whether the tool nose is touched and the torque of the servo motor reaches a preset value is determined through the current of the servo motor, the current of the servo motor is obtained and used as first teaching feedback information, and then the current time is obtained and used as a first teaching time point. And subtracting the first teaching time point from the second teaching time point to obtain the teaching time.
The set value is set according to actual conditions, and is not limited here. The original point of the deflector rod set when the teaching tool and the tool to be detected are at the same position.
Referring to fig. 4, fig. 4 shows an embodiment before step S1, which is described in detail as follows:
S1A: and acquiring the type of the tool corresponding to the tool to be detected.
S1B: and acquiring a preset precision value and a servo motor speed corresponding to the type of the tool from a preset database.
S1C: based on the servo motor speed, a preset accuracy value is converted into a preset time accuracy value.
In particular, since different types of tools may exist inside the tool magazine, the length and the width of each type of tool are different, thereby causing different detection time lengths. Therefore, in the embodiment of the application, the type of the tool corresponding to the tool to be detected is obtained first, and since the preset precision value and the servo motor speed are already set for different types of tools and stored in the preset database before each type of tool is detected, the preset precision value and the servo motor speed corresponding to the type of the tool are obtained from the preset database, and then the preset precision value is converted into the preset time precision value based on the servo motor speed.
Referring to fig. 5, fig. 5 is a schematic diagram illustrating an accuracy value setting according to an embodiment of the invention.
In fig. 5, the left side is a sketch, and if the length of the paddle is within an allowable accuracy range when the blade edge is touched, it is assumed that the right side is a drawing, Δ s = s1-s2= vt1-vt2= v (t 1-t 2), that is, a required accuracy value Δ s = a difference value obtained by multiplying a servo motor speed value v by a detection value t1 and a teaching value t 2. Since the precision value has been set and the servomotor speed value is also set, the preset precision value can be converted into a preset time precision value, = Δ t = =Δs/v.
Referring to fig. 6, fig. 6 shows an embodiment of step S1, which is described in detail as follows:
s11: and acquiring a second teaching instruction, wherein the second teaching instruction comprises a tool number.
S12: and executing a second teaching instruction, acquiring the to-be-detected cutter corresponding to the cutter number, driving the servo motor to rotate through the servo driver, and acquiring the current time point of the servo motor at the original point of the deflector rod as a first target time point.
S13: when the servo motor touches the tool nose of the tool to be detected and the torque of the servo motor reaches a set value, first detection feedback information is obtained, and a second target time point is obtained based on the first detection feedback information.
S14: and generating the target time based on the difference value between the second target time point and the first target time point.
Specifically, the second teaching instruction is an instruction that needs to detect the tool to be detected. For example, the first teaching command is M600Ty (y represents a tool number).
Specifically, since the second teaching instruction includes the tool number, when the second teaching instruction is executed, the corresponding tool to be detected can be detected. The servo driver drives the servo motor to rotate, and the current time point of the servo motor at the original point of the deflector rod is obtained and used as a first target time point. Because servo driver drive servo motor rotates for the driving lever that drives servo motor is rotatory, when servo motor's driving lever touched the knife tip of waiting to detect the cutter, servo motor's electric current can change this moment, and the motor can kick-back rapidly after reaching electric current and reaching certain numerical value. Therefore, whether the tool nose is touched or not is determined through the current of the servo motor, if the tool nose is touched and the torque of the servo motor reaches a preset value, the current of the servo motor is obtained to serve as first detection feedback information, and then the current time is obtained to serve as two target time points. And performing subtraction processing on the two target time points and the first target time point to obtain target time.
It should be noted that, in the detection process of the teaching tool and the tool to be detected, the speeds of the servo motors are the same.
S2: and acquiring the teaching time corresponding to the tool to be detected from a preset database, and acquiring the difference time period between the target time and the teaching time.
Specifically, the difference time period is obtained by subtracting the teaching time from the target time.
Referring to fig. 7, fig. 7 shows an embodiment after step S2, which is described in detail as follows:
S2A: the difference time period is compared to a preset threshold.
The preset threshold comprises a first threshold, a second threshold and a third threshold.
S2B: and when the difference time period is within the first threshold value, judging that the cutter to be detected is in first-level loss.
S2C: and when the difference time period is within a second threshold value, judging that the tool to be detected is in secondary loss.
S2D: and when the difference time period is within a third threshold value, judging that the tool to be detected has three-level loss.
Specifically, in the detection process of the teaching tool and the tool to be detected, the speeds of the servo motors are the same, so that the length difference between the teaching tool and the tool to be detected can be obtained by multiplying the difference time period by the speed of the servo motor. Therefore, the wear degree of the tool to be detected is judged according to the difference time period. In the embodiment of the application, the preset threshold values comprise a first threshold value, a second threshold value and a third threshold value through presetting the threshold values in advance, and each threshold value corresponds to the loss degree of the cutter. Therefore, the difference time period is compared with a preset threshold value, and when the difference time period is within a first threshold value, the cutter to be detected is judged to be in first-level loss; when the difference time period is within a second threshold value, judging that the cutter to be detected is in secondary loss; and when the difference time period is within a third threshold value, judging that the tool to be detected has three-level loss. The primary loss, the secondary loss and the tertiary loss respectively represent the loss degree of the cutter, and the loss severity is the primary loss, the secondary loss and the tertiary loss from light to heavy. Further, not only the three thresholds and the three level losses may be defined, but also different thresholds and level losses may be set according to actual situations.
The preset threshold, the first threshold, the second threshold, and the third threshold are set according to actual conditions, and are not limited herein. The third threshold is greater than the first threshold and the second threshold, and the second threshold is greater than the first threshold.
S3: and if the difference time period is greater than the preset time precision value, judging that the cutter to be detected is broken, and sending warning information.
Specifically, if the degree of wear of the tool is large, it can be determined that the tool has broken. According to the embodiment of the application, the precision value is set according to different cutter types and can be converted into the corresponding preset time precision value, so that the difference time period is compared with the preset time precision value, if the difference time period is larger than the preset time precision value, the cutter to be detected is judged to be broken, and warning information is sent; if the difference time period is smaller than the preset time precision value, the cutter to be detected is judged not to be broken, and warning information does not need to be sent out. Wherein, the information of warning can be warned through the alarm lamp, if judge that the cutter has taken place the fracture, then the alarm lamp takes place the scintillation, otherwise, the alarm lamp does not take place the scintillation.
In the embodiment, the detection time of the servo motor for the cutter to be detected is obtained and used as the target time; acquiring teaching time corresponding to a tool to be detected from a preset database, and acquiring a difference time period between target time and the teaching time; and if the difference time period is greater than the preset time precision value, judging that the cutter to be detected is broken, and sending warning information. According to the embodiment of the invention, the detection time and the teaching time of the tool to be detected are obtained, the difference time period of the detection time of the tool to be detected and the teaching time is obtained, and the difference time period is compared with the preset time precision value, so that whether the tool is broken or not is judged, the direct measurement of the length of the tool is avoided, and the detection efficiency of tool breakage in a tool magazine is improved.
The embodiment of the invention also provides a device for detecting the internal broken knives of the tool magazine, which is used for executing any embodiment of the method for detecting the internal broken knives of the tool magazine. Specifically, referring to fig. 8, fig. 8 is a schematic block diagram of a device for detecting a tool break inside a tool magazine according to an embodiment of the present invention.
As shown in fig. 8, the device 5 for detecting a broken tool in a tool magazine includes a target time acquisition module 51, a difference time period acquisition module 52, and a tool breakage determination module 53.
A target time obtaining module 51, configured to obtain detection time of the tool to be detected by the servo motor as target time;
the difference time period acquisition module 52 is configured to acquire teaching time corresponding to the tool to be detected from a preset database, and acquire a difference time period between the target time and the teaching time;
and the tool fracture judging module 53 is configured to judge that the tool to be detected fractures and send warning information if the difference time period is greater than the preset time precision value.
Further, before the target time obtaining module, the apparatus further includes:
the tool type acquisition module is used for acquiring the tool type corresponding to the tool to be detected;
the servo motor speed acquisition module is used for acquiring a preset precision value and a servo motor speed corresponding to the type of the cutter from a preset database;
and the preset time precision value conversion module is used for converting the preset precision value into a preset time precision value based on the speed of the servo motor.
Further, before the target time obtaining module, the apparatus further includes:
the target teaching tool acquisition module is used for acquiring multiple types of undetected tools and sample tools corresponding to the tools to be detected, and taking the sample tools as target teaching tools;
the precision value acquisition module is used for teaching the tool based on the target and acquiring a preset precision value of the tool which is not detected;
the teaching time acquisition module is used for acquiring the detection time of the servo motor on the target teaching tool to obtain the teaching time;
and the data storage module is used for storing the preset precision value and the teaching time in a preset database.
Further, the teaching time acquisition module includes:
the first teaching instruction acquisition unit is used for acquiring a first teaching instruction, wherein the first teaching instruction comprises teaching tool numbers;
the first teaching time point generating unit is used for executing a first teaching instruction, acquiring a target teaching tool corresponding to the teaching tool number, driving the servo motor to rotate through the servo driver based on the first teaching instruction, and acquiring a current time point of the servo motor at the origin of the deflector rod as a first teaching time point;
the second teaching time point generating unit is used for acquiring first teaching feedback information when the servo motor touches the tool tip of the teaching tool and the torque of the servo motor reaches a set value, and acquiring a second teaching time point based on the first teaching feedback information;
and the teaching time generating unit is used for generating teaching time based on the difference value between the second teaching time point and the first teaching time point.
Further, the target time acquisition module 51 includes:
the second teaching instruction acquisition unit is used for acquiring a second teaching instruction, wherein the second teaching instruction comprises a tool number;
the first target time point acquisition unit is used for executing a second teaching instruction, acquiring a to-be-detected cutter corresponding to the cutter number, driving the servo motor to rotate through the servo driver, and acquiring a current time point of the servo motor at the original point of the deflector rod as a first target time point;
the second target time point acquisition unit is used for acquiring first detection feedback information when the servo motor touches the tool nose of the tool to be detected and the torque of the servo motor reaches a set value, and acquiring a second target time point based on the first detection feedback information;
and the target time generating unit is used for generating target time based on the difference value between the second target time point and the first detection time point.
Further, the difference time period obtaining module 52 further includes:
the threshold value comparison module is used for comparing the difference time period with preset threshold values, and the preset threshold values comprise a first threshold value, a second threshold value and a third threshold value;
the primary loss judging module is used for judging that the cutter to be detected is primary loss when the difference time period is within a first threshold value;
the secondary loss judging module is used for judging that the cutter to be detected is secondary loss when the difference time period is within a second threshold value;
and the third-level loss judging module is used for judging that the tool to be detected is in third-level loss when the difference time period is within a third threshold value.
In the embodiment, the detection time of the servo motor for the cutter to be detected is obtained and used as the target time; acquiring teaching time corresponding to a tool to be detected from a preset database, and acquiring a difference time period between target time and the teaching time; and if the difference time period is greater than the preset time precision value, judging that the cutter to be detected is broken, and sending warning information. According to the embodiment of the invention, the detection time and the teaching time of the tool to be detected are obtained, the difference time period of the detection time of the tool to be detected and the teaching time is obtained, and the difference time period is compared with the preset time precision value, so that whether the tool is broken or not is judged, the direct measurement of the length of the tool is avoided, and the detection efficiency of tool breakage in a tool magazine is improved.
The device for detecting a broken tool inside the tool magazine may be implemented in the form of a computer program, and the computer program may be run on an electronic device as shown in fig. 9.
Referring to fig. 9, fig. 9 is a schematic block diagram of an electronic device according to an embodiment of the invention. The electronic device 500 comprises a processor 502, memory, and a network interface 505 connected by a device bus 501, wherein the memory may comprise a storage medium 503 and an internal memory 504.
The storage medium 503 may store an operating device 5031 and a computer program 5032. The computer program 5032, when executed, causes the processor 502 to perform a method for detecting a tool break in a tool magazine.
The processor 502 is used to provide computing and control capabilities that support the operation of the overall electronic device 500.
The internal memory 504 provides an environment for the computer program 5032 in the storage medium 503 to run, and when the computer program 5032 is executed by the processor 502, the processor 502 can execute the method for detecting the internal broken knife in the knife bank.
The network interface 505 is used for network communication, such as providing transmission of data information. It will be understood by those skilled in the art that the structure shown in fig. 9 is a block diagram of only a portion of the structure associated with the inventive arrangements, and does not constitute a limitation on the electronic device 500 to which the inventive arrangements are applied, as a particular electronic device 500 may include more or less components than those shown, or combine certain components, or have a different arrangement of components.
The processor 502 is configured to run the computer program 5032 stored in the memory, so as to implement the method for detecting a tool break in the tool magazine disclosed in the embodiment of the present invention.
Those skilled in the art will appreciate that the embodiment of the electronic device shown in fig. 9 does not constitute a limitation on the specific construction of the electronic device, and in other embodiments the electronic device may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components. For example, in some embodiments, the electronic device may only include a memory and a processor, and in such embodiments, the structures and functions of the memory and the processor are the same as those of the embodiment shown in fig. 9, and are not described herein again.
It should be understood that, in the embodiment of the present invention, the Processor 502 may be a Central Processing Unit (CPU), and the Processor 502 may also be other general-purpose processors, digital Signal Processors (DSPs), application Specific Integrated Circuits (ASICs), field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components, and the like. Wherein a general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
In another embodiment of the invention, a computer-readable storage medium is provided. The computer-readable storage medium may be a nonvolatile computer-readable storage medium or a volatile computer-readable storage medium. The computer readable storage medium stores a computer program, wherein the computer program, when executed by the processor, implements the method for detecting a tool break in a tool magazine disclosed in the embodiments of the present invention.
It can be clearly understood by those skilled in the art that, for convenience and simplicity of description, the specific working processes of the above-described devices, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again. Those of ordinary skill in the art will appreciate that the various illustrative components and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the components and steps of the various examples have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the technical solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
In the embodiments provided by the present invention, it should be understood that the disclosed apparatus, device and method can be implemented in other ways. For example, the above-described device embodiments are merely illustrative, and for example, the division of units is only a logical division, and there may be other divisions in actual implementation, and units having the same function may be grouped into one unit, for example, multiple units or components may be combined or integrated into another device, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may also be an electrical, mechanical or other form of connection.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one position, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiments of the present invention.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit may be implemented in the form of hardware, or may also be implemented in the form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a separate product, may be stored in a storage medium. Based on such understanding, the technical solution of the present invention essentially or partially contributes to the prior art, or all or part of the technical solution may be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a background server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a magnetic disk, or an optical disk, and various media capable of storing program codes.
While the invention has been described with reference to specific embodiments, it will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the invention as defined by the appended claims. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (10)

1. A method for detecting broken knives in a tool magazine is characterized by comprising the following steps:
acquiring the detection time of a servo motor for a cutter to be detected as target time;
acquiring teaching time corresponding to the tool to be detected from a preset database, and acquiring a difference time period between the target time and the teaching time;
and if the difference time period is greater than the preset time precision value, judging that the cutter to be detected is broken, and sending warning information.
2. The method for detecting the internal broken tool of the tool magazine according to claim 1, wherein before the time for acquiring the detection time of the servo motor to detect the tool to be detected as the target time, the method further comprises:
acquiring the type of the cutter to be detected;
acquiring a preset precision value and a servo motor speed corresponding to the type of the cutter from the preset database;
converting the preset accuracy value to the preset time accuracy value based on the servo motor speed.
3. The method for detecting the tool breakage in the tool magazine according to claim 1, wherein the time for the servo motor to detect the tool to be detected is obtained as a target time, and the method further comprises:
obtaining multiple types of undetected cutters and sample cutters corresponding to the cutters to be detected, and taking the sample cutters as target teaching cutters;
based on the target teaching tool, acquiring the preset precision value of the undetected tool;
acquiring the detection time of the servo motor on the target teaching tool to obtain the teaching time;
and storing the preset precision value and the teaching time in the preset database.
4. The method for detecting the internal broken tool of the tool magazine according to claim 3, wherein the obtaining of the detection time of the servo motor for teaching the target tool to obtain the teaching time comprises:
acquiring a first teaching instruction, wherein the first teaching instruction comprises a teaching tool number;
executing the first teaching instruction, acquiring a target teaching tool corresponding to the teaching tool number, driving the servo motor to rotate through a servo driver based on the first teaching instruction, and acquiring a current time point of the servo motor at the origin of the deflector rod as a first teaching time point;
when the servo motor touches the tool nose of the teaching tool and the torque of the servo motor reaches a set value, acquiring first teaching feedback information, and acquiring a second teaching time point based on the first teaching feedback information;
and generating the teaching time based on the difference value between the second teaching time point and the first teaching time point.
5. The method for detecting the tool breakage in the tool magazine according to claim 1, wherein the step of acquiring the detection time of the servo motor on the tool to be detected as the target time comprises the steps of:
acquiring a second teaching instruction, wherein the second teaching instruction comprises a tool number;
executing the second teaching instruction, acquiring a to-be-detected cutter corresponding to the cutter number, driving the servo motor to rotate through a servo driver, and acquiring a current time point of the servo motor at the origin of the deflector rod as a first target time point;
when the servo motor touches the tool nose of the tool to be detected and the torque of the servo motor reaches a set value, acquiring first detection feedback information, and acquiring a second target time point based on the first detection feedback information;
and generating the target time based on the difference value between the second target time point and the first target time point.
6. The method for detecting the internal tool breakage of the tool magazine according to any one of claims 1 to 5, wherein after the teaching time corresponding to the tool to be detected is obtained from a preset database and the difference time period between the target time and the teaching time is obtained, the method further comprises:
comparing the difference time period with a preset threshold value, wherein the preset threshold value comprises a first threshold value, a second threshold value and a third threshold value;
when the difference time period is within the first threshold value, judging that the cutter to be detected is in first-level loss;
when the difference time period is within the second threshold value, judging that the cutter to be detected has secondary loss;
and when the difference time period is within the third threshold value, judging that the cutter to be detected has three-level loss.
7. The utility model provides a detection apparatus for inside disconnected sword of tool magazine which characterized in that includes:
the target time acquisition module is used for acquiring the detection time of the servo motor on the cutter to be detected as target time;
the difference time period acquisition module is used for acquiring teaching time corresponding to the tool to be detected from a preset database and acquiring a difference time period between the target time and the teaching time;
and the cutter fracture judging module is used for judging that the cutter to be detected is fractured and sending warning information if the difference time period is greater than a preset time precision value.
8. The device for detecting the internal broken knife of the tool magazine according to claim 7, wherein before the target time acquiring module, the device further comprises:
the tool type acquisition module is used for acquiring the tool type corresponding to the tool to be detected;
the servo motor speed acquisition module is used for acquiring a preset precision value and a servo motor speed corresponding to the type of the cutter from the preset database;
and the preset time precision value conversion module is used for converting the preset precision value into the preset time precision value based on the speed of the servo motor.
9. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the method for detecting internal tool breakage in a tool magazine according to any one of claims 1 to 6 when executing the computer program.
10. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program which, when executed by a processor, causes the processor to execute the method of detecting a tool break inside a tool magazine according to any one of claims 1 to 6.
CN202211425425.8A 2022-11-14 2022-11-14 Method and device for detecting tool breakage in tool magazine, electronic equipment and storage medium Pending CN115741231A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211425425.8A CN115741231A (en) 2022-11-14 2022-11-14 Method and device for detecting tool breakage in tool magazine, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211425425.8A CN115741231A (en) 2022-11-14 2022-11-14 Method and device for detecting tool breakage in tool magazine, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN115741231A true CN115741231A (en) 2023-03-07

Family

ID=85370956

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211425425.8A Pending CN115741231A (en) 2022-11-14 2022-11-14 Method and device for detecting tool breakage in tool magazine, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN115741231A (en)

Similar Documents

Publication Publication Date Title
JP6450858B2 (en) Equipment management apparatus and method
CN116009480B (en) Fault monitoring method, device and equipment of numerical control machine tool and storage medium
JP2008097363A (en) Abnormality diagnosis method and device thereof
CN112591039B (en) Fault processing method, device, ECU, storage medium and program product
US11150636B2 (en) State determination device and state determination method
KR102648425B1 (en) The method and device for optimizing machine tool cutting conditions using vibration acceleration
JP6568167B2 (en) Anomaly detection device and machine learning device
US20200394092A1 (en) Diagnostic apparatus
CN110962316A (en) State determination device and state determination method
JP2020128014A (en) State determination device and state determination method
JP2020128013A (en) State determination device and method
CN113252371A (en) State estimation device, system and manufacturing method
CN115741231A (en) Method and device for detecting tool breakage in tool magazine, electronic equipment and storage medium
CN112241144B (en) Method and device for determining relearning or not of diagnostic model of machine tool, and readable storage medium
KR100548874B1 (en) Numerical control unit having function for detecting the nicked edge of tool
CN110962315B (en) State determination device and state determination method
CN117110751A (en) Servo motor driver adjustment and measurement system and method
JP2008087093A (en) Abnormality detecting device for machine tool
CN114102257B (en) Band-type brake detection method and device, machine tool and storage medium
WO2024176390A1 (en) Data segmentation device and computer-readable recording medium
CN112731909A (en) Method, system, device, processor and storage medium for realizing fault data record reading of vehicle motor controller
JP7184997B2 (en) State determination device and state determination method
EP4364888A1 (en) Machining time estimation method, machining time estimation device, computer program, and recording medium
JP2024062242A (en) Information updating device and information updating method for processing abnormality diagnosis
US20230333535A1 (en) Manufacturing process qualification system and method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination