CN114427843A - Electrode detection method, device, terminal and medium - Google Patents

Electrode detection method, device, terminal and medium Download PDF

Info

Publication number
CN114427843A
CN114427843A CN202111612213.6A CN202111612213A CN114427843A CN 114427843 A CN114427843 A CN 114427843A CN 202111612213 A CN202111612213 A CN 202111612213A CN 114427843 A CN114427843 A CN 114427843A
Authority
CN
China
Prior art keywords
electrode
target
tolerance
point set
strategy
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202111612213.6A
Other languages
Chinese (zh)
Other versions
CN114427843B (en
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.)
Shenzhen Moldbao Technology Co ltd
Original Assignee
Shenzhen Moldbao Technology 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 Shenzhen Moldbao Technology Co ltd filed Critical Shenzhen Moldbao Technology Co ltd
Priority to CN202111612213.6A priority Critical patent/CN114427843B/en
Publication of CN114427843A publication Critical patent/CN114427843A/en
Application granted granted Critical
Publication of CN114427843B publication Critical patent/CN114427843B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01BMEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
    • G01B21/00Measuring arrangements or details thereof, where the measuring technique is not covered by the other groups of this subclass, unspecified or not relevant

Abstract

The application is applicable to the technical field of production and processing, and provides a detection method, a detection device, a detection terminal and a detection medium for an electrode. The detection method of the electrode specifically comprises the following steps: acquiring the electrode attribute of a target electrode; detecting the actual coordinates of each target point on the target electrode, and calculating the deviation value between the actual coordinates of each target point and the corresponding theoretical coordinates; and determining a processing strategy required by the target electrode according to the electrode attribute and the deviation value, and determining whether the target electrode is an abnormal electrode according to the processing strategy. The embodiment of the application can accurately judge whether the electrode is qualified or not, and simultaneously provides a corresponding processing strategy for the electrode, so that the processing production efficiency is improved.

Description

Electrode detection method, device, terminal and medium
Technical Field
The application belongs to the technical field of production and processing, and particularly relates to a detection method, a detection device, a detection terminal and a detection medium for an electrode.
Background
The electrical discharge machining technique is often used in the production of molds. The electric discharge machining technique is a method of machining a workpiece by the electroerosion action of pulse discharge between a tool electrode and a workpiece electrode. Currently, the specifications and the classifications of the electrodes used are various, and currently, a processing person in a workshop needs to judge whether the electrodes are abnormal or not and a processing scheme required by the electrodes according to each attribute of the electrodes.
Due to the various electrode specifications and classifications, the result set after various electrode attributes are arranged and combined is huge. The processing personnel judges the electrode result by experience and memory, and the deviation is inevitable, and when the number of the electrodes is large, a large amount of labor cost is required to be invested.
Therefore, a method for detecting an electrode is needed, which can accurately determine whether the electrode is qualified, and provide a corresponding processing strategy for the electrode, thereby improving the processing production efficiency.
Disclosure of Invention
The embodiment of the application provides a detection method, a detection device, a terminal and a medium for an electrode, which can accurately judge whether the electrode is qualified or not, and provide a corresponding processing strategy for the electrode, so that the processing production efficiency is improved.
In a first aspect, an embodiment of the present application provides a method for detecting an electrode, including:
acquiring the electrode attribute of a target electrode;
detecting the actual coordinates of each target point on the target electrode, and calculating the deviation value between the actual coordinates of each target point and the corresponding theoretical coordinates;
and determining a processing strategy required by the target electrode according to the electrode attribute and the deviation value, and determining whether the target electrode is an abnormal electrode according to the processing strategy.
A second aspect of the embodiments of the present application provides a detection apparatus for an electrode, including:
the data acquisition unit is used for acquiring the electrode attribute of the target electrode;
the deviation calculation unit is used for detecting the actual coordinates of each target point on the target electrode and calculating the deviation value between the actual coordinates of each target point and the corresponding theoretical coordinates;
and the abnormality detection unit is used for determining a processing strategy required by the target electrode according to the electrode attribute and the deviation value, and determining whether the target electrode is an abnormal electrode according to the processing strategy.
A third aspect of the embodiments of the present application provides a terminal, including a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor implements the steps of the method when executing the computer program.
A fourth aspect of the embodiments of the present application provides a computer-readable storage medium, which stores a computer program, and when the computer program is executed by a processor, the computer program implements the steps of the above method.
A fifth aspect of embodiments of the present application provides a computer program product, which when run on a terminal, causes the terminal to perform the steps of the method.
In the embodiment of the application, the actual coordinates of each target point on the target electrode are detected by acquiring the electrode attribute of the target electrode, the deviation value between the actual coordinate of each target point and the corresponding theoretical coordinate is calculated, then the processing strategy required by the target electrode is determined according to the electrode attribute and the deviation value, and whether the target electrode is an abnormal electrode is determined according to the processing strategy, so that whether the electrode is qualified can be accurately judged, meanwhile, the corresponding processing strategy is provided for the electrode, the detection and judgment of each electrode are not needed manually, and the processing production efficiency is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
Fig. 1 is a schematic flow chart of an implementation of a detection method for an electrode according to an embodiment of the present application;
fig. 2 is a schematic flowchart of a specific implementation of step S103 according to an embodiment of the present application;
fig. 3 is a schematic flowchart of a specific implementation of step S202 provided in the embodiment of the present application;
fig. 4 is a schematic view of a specific implementation flow of a processing strategy for determining a R-direction point set according to an embodiment of the present application;
FIG. 5 is a schematic flow chart of an electrode detection method provided in an embodiment of the present application;
FIG. 6 is a schematic structural diagram of a detection apparatus for an electrode according to an embodiment of the present disclosure;
fig. 7 is a schematic structural diagram of a terminal according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the present application without making any creative effort, shall be protected by the present application.
The electrical discharge machining technique is often used in the production of molds. The electric discharge machining technique is a method of machining a workpiece by the electroerosion action of pulse discharge between a tool electrode and a workpiece electrode. Currently, the specifications and the classifications of the electrodes used are various, and currently, a processing person in a workshop needs to judge whether the electrodes are abnormal or not and a processing scheme required by the electrodes according to each attribute of the electrodes.
Due to the various electrode specifications and classifications, the result set after various electrode attributes are arranged and combined is huge. The processing personnel judges the electrode result by experience and memory, and the deviation is inevitable, and when the number of the electrodes is large, a large amount of labor cost is required to be invested.
Therefore, a method for detecting an electrode is needed, which can accurately determine whether the electrode is qualified, and provide a corresponding processing strategy for the electrode, thereby improving the processing production efficiency.
In order to explain the technical means of the present application, the following description will be given by way of specific examples.
Fig. 1 is a schematic diagram illustrating an implementation flow of a detection method for an electrode according to an embodiment of the present application, where the method can be applied to a terminal and is applicable to a situation that whether the electrode is qualified or not needs to be determined.
The terminal can be an industrial personal computer in a production workshop, and can also be computer equipment, tablet equipment or other intelligent equipment with data processing capacity.
Specifically, the detection method of the electrode may include the following steps S101 to S103.
Step S101, acquiring an electrode attribute of the target electrode.
In the embodiment of the application, a worker can perform profiling before producing the electrodes, store the electrode attribute of each electrode into the database, and acquire the electrode attribute of an electrode from the database when processing and detecting a certain electrode.
Wherein, the target electrode is the electrode currently processed and detected.
Specifically, the electrode attributes may include a coarse and fine type, an electrode type, a theoretical gap value, a precision level, and the like of the target electrode. The coarse and fine types can include coarse and medium fine types, and the electrode types can include corner cleaning, single fine, single coarse, pouring gate, rib position, copper tungsten, inserted broken, round bar and the like. The theoretical gap value may be a number of different specific spark bit values. The precision grade can be the grade required by factory production, and the general production requirements can be divided into default, common, high-precision and ultrahigh precision.
Step S102, detecting the actual coordinates of each target point on the target electrode, and calculating the deviation value between the actual coordinates of each target point and the corresponding theoretical coordinates.
In the embodiment of the application, a worker can use UG software in advance to lay points on the electrode drawing file, preset theoretical coordinates of each target point, and detect actual coordinates of each laid target point.
Specifically, in some embodiments of The present application, The terminal may be connected to a three-dimensional measuring machine (The three dimensional), and The terminal may detect actual coordinates of each target point of The target electrode, and specifically may include three-dimensional coordinate values (X, Y, Z) of each target point, a three-dimensional coordinate vector (I, J, K), and a serial number pntNum of each target point.
Based on the detected actual coordinates, the terminal may calculate a deviation value DEV between the actual coordinates of each target point and the corresponding theoretical coordinates.
And step S103, determining a processing strategy required by the target electrode according to the electrode attribute and the deviation value, and determining whether the target electrode is an abnormal electrode according to the processing strategy.
Specifically, as shown in fig. 2, in some embodiments of the present application, the step S103 may include the following steps S201 to S203.
Step S201, the target point is divided into a plurality of preset point sets.
The preset point sets are point sets which are set in advance by workers, points contained in each preset point set are located on one or more planes on the target electrode, and different preset point sets correspond to non-repeating planes on the target electrode.
In some embodiments, the preset point set may specifically include an R-direction point set and a Z-direction point set, where the R-direction point set is a point set formed by target points on four sides perpendicular to the bottom surface of the target electrode, and the Z-direction point set is a point set formed by target points on the top surface and the bottom surface of the target electrode. After the spotting and detection are completed, the target points may be divided into a preset set of points.
Specifically, the terminal may obtain a three-dimensional vector of each target point, and divide the target points into an R-direction point set or a Z-direction point set according to the three-dimensional vector. If I is larger than or equal to J and I is larger than or equal to K in the three-dimensional vector of a certain point, the target point is divided into an R-direction point set, and if I is larger than or equal to J and I is smaller than K in the three-dimensional vector of a certain point, or I is smaller than J and J is smaller than K, the target point is divided into a Z-direction point set.
It should be noted that the number of target points included in each preset point set is related to the point placement process, and if the plane corresponding to the Z direction is not subjected to point placement, the corresponding Z direction point set will not include the target points.
And S202, determining a processing strategy corresponding to each preset point set according to the electrode attribute and the deviation value.
In some embodiments of the present application, the terminal may provide a visual entry template, a processing worker may synthesize his own workpiece experience according to the electrode standard, add each electrode judgment processing rule such as the rough and fine type of the electrode, the electrode type, the theoretical gap value, the applicable gap range, and the like to the entry standard, form a tolerance rule, and store the entered tolerance rule in a tolerance standard library.
Based on the tolerance standard library, the terminal can determine the processing strategy required by the electrode according to the electrode attribute and the actually detected deviation value. And the tolerance rules recorded in the tolerance standard library can be divided according to preset point sets, so that the terminal can determine the processing strategy corresponding to each preset point set according to the deviation value data of each preset point set.
Specifically, as shown in fig. 3, the step S202 may specifically include the following steps S301 to S303.
Step S301, a tolerance standard library is obtained.
As described above, the tolerance standard library has a plurality of tolerance rules recorded in advance.
And S302, screening out target tolerance rules which respectively correspond to each preset point set and are applicable to the target electrode from a tolerance standard library according to the electrode attributes and the statistical values corresponding to each preset point set.
After dividing the target points into the preset point sets, the terminal may calculate a statistical value corresponding to each preset point set. In some specific embodiments, the terminal may obtain statistics of the R-direction point set and the Z-direction point set separately.
The statistical values may include the maximum absolute value, the minimum absolute value, and/or the average value of the deviation values DEV of all the target points in the preset point set, and may further include the least square values of the target points in the preset point set, that is, the estimates of the parameters of the simple linear regression model are calculated by using the least square method with the serial numbers pntNum of all the target points and the deviation values DEV.
According to the electrode attributes and the statistical values corresponding to the preset point sets, the terminal can screen out target tolerance rules which correspond to the preset point sets respectively and are applicable to the target electrodes from the tolerance standard library, and the target electrodes are processed by the aid of the target tolerance rules.
In some embodiments of the present application, the terminal may match the target tolerance rule according to each preset point set, respectively.
For a single preset point set, the terminal can screen out candidate tolerance rules from the tolerance rules of the tolerance standard library according to the electrode attributes, and then determines the actual spark gap value corresponding to each candidate tolerance rule according to the statistical value corresponding to the single preset point set and the gap calculation formula corresponding to each candidate tolerance rule.
Specifically, the terminal may traverse each tolerance rule in the tolerance standard library, and since each tolerance rule records a corresponding electrode attribute, candidate tolerance rules with the same attribute may be found based on the electrode attribute of the target electrode.
For the candidate tolerance rules, each tolerance rule has a corresponding gap calculation formula, and the gap calculation formula indicates that the final actual spark gap value is calculated by performing addition and subtraction operation on the maximum absolute value, the minimum absolute value, the average value or the least square value and a preset adjustment value. And if the actual spark gap value corresponding to the candidate tolerance rule is within the tolerance range corresponding to the candidate tolerance rule, the candidate tolerance rule is suitable for the target electrode, and the candidate tolerance rule is confirmed to be the target tolerance rule corresponding to a single preset point set.
Wherein, the tolerance range can be adjusted according to the actual situation.
In some embodiments, the candidate tolerance rule may have a corresponding theoretical clearance value, and the corresponding tolerance range may include an upper tolerance and a lower tolerance. The terminal calculates a first difference between the minimum value of the actual spark gap value and the theoretical gap value, and calculates a second difference between the maximum value of the actual spark gap value and the theoretical gap value. If the first difference is greater than or equal to the lower tolerance and the second difference is less than or equal to the upper tolerance, the corresponding actual spark gap value is determined to be within the tolerance range corresponding to the candidate tolerance rule. Otherwise, the corresponding actual spark gap value is confirmed to be out of the tolerance range corresponding to the candidate tolerance rule.
It should be noted that, since the tolerance standard library is continuously updated according to the needs of the factory, there may be a plurality of candidate tolerance rules satisfying that the corresponding actual spark gap value is within the corresponding tolerance range, and at this time, a candidate tolerance rule with the narrowest tolerance range may be used as the target candidate tolerance rule, that is, a candidate tolerance rule with the smallest upper tolerance and the largest lower tolerance may be used as the target candidate tolerance rule.
In some embodiments of the present application, the terminal may determine a corresponding target tolerance rule for each preset point set in the manner described above.
Step S303, determining a processing strategy corresponding to each preset point set according to a target tolerance rule corresponding to each preset point set.
The machining strategy may specifically include, but is not limited to, an automatic adjustment strategy, a forced discharge strategy, a return process strategy, and a return detection strategy.
The automatic adjustment strategy means that the electrode is qualified, and the workpiece discharge can be carried out according to the calculated actual spark gap value.
The forced discharge means that the electrode is unqualified, the user needs to adjust the calculated actual spark gap value, and then the workpiece discharge is carried out according to the adjusted gap value.
The return process strategy is divided into three types: process rework, process step-down rework, and process rework. The process repair means that the previous processing program needs to be used again for re-processing; the technical face-off reworking means that the finished product processed before needs to be cut off and then is reprocessed by the processing program before; the technical reproduction means that the electrode needs to be directly abandoned, cut again and prepared again.
The returned detection strategy shows that the detection result is inaccurate due to the influence of external factors, and the detection needs to be carried out again.
In an embodiment of the present application, each tolerance rule is recorded with a corresponding processing policy, so that after a target tolerance rule of a certain preset point set is determined, the processing policy corresponding to each preset point set can be determined.
Specifically, when the preset point set is a Z-direction point set, the terminal may use a processing strategy corresponding to a target tolerance rule of the Z-direction point set as a processing strategy corresponding to the Z-direction point set.
And when the preset point set is an R-direction point set, the terminal can further process. As shown in fig. 4, determining the machining strategy corresponding to the R-direction point set may include the following steps S401 to S403.
Step S401 detects whether the machining processing policy corresponding to the target tolerance rule of the R-direction point set includes an automatic adjustment policy or a forced discharge policy.
And S402, if yes, calculating a target spark gap value according to a gap calculation formula corresponding to the target tolerance rule, and detecting whether the target spark gap value meets an automatic adjustment condition.
If the machining strategy corresponding to the target tolerance rule of the R-direction point set does not comprise an automatic adjustment strategy and a forced discharge strategy, all the machining strategies corresponding to the target tolerance rule of the R-direction point set can be reserved, and whether the target electrode is an abnormal electrode or not is determined according to the machining strategies corresponding to each preset point set.
If the machining processing strategy corresponding to the target tolerance rule of the R-direction point set simultaneously comprises an automatic adjustment strategy or a forced discharge strategy, whether the automatic adjustment strategy or the forced discharge strategy needs to be reserved or not needs to be further judged.
In some embodiments of the present application, the terminal may calculate a target spark gap value and then detect whether the target spark gap value satisfies an automatic adjustment condition.
Specifically, the terminal may calculate a third difference between the minimum value of the target spark gap value and the theoretical gap value, and calculate a fourth difference between the maximum value of the target spark gap value and the theoretical gap value. If the third difference is greater than or equal to 0 and the fourth difference is less than or equal to 0, the target spark gap value is determined to satisfy the automatic adjustment condition. Otherwise, the target spark gap value is confirmed not to satisfy the automatic adjustment condition.
And S403, if so, eliminating the forced discharging strategy from the machining treatment strategy corresponding to the target tolerance rule of the R-directional point set, and taking the rest machining treatment strategies as the machining treatment strategies corresponding to the R-directional point set.
And S404, if the R-direction point set does not meet the requirement, removing the automatic adjustment strategy from the processing strategies corresponding to the target tolerance rule of the R-direction point set, and taking the rest processing strategies as the processing strategies corresponding to the R-direction point set.
If the target spark gap value meets the automatic adjustment condition, it indicates that the target electrode R is not uniformly machined, and cannot be utilized by adjusting the discharge parameters, and only rework is performed, so that the forced discharge strategy needs to be removed, and the remaining machining treatment strategies are retained, i.e., the process strategy is returned.
If the target spark gap value does not meet the automatic adjustment condition, the target electrode R is not uniformly machined, but the discharge parameters can be adjusted for utilization, so that the automatic adjustment strategy needs to be eliminated, and the rest machining treatment strategy, namely the forced discharge strategy, is reserved.
It should be noted that, in the foregoing process, if the terminal detects that a certain preset point set does not include a target point, the actual spark gap value may be set as a preset theoretical gap value, and meanwhile, all processing strategies are directly reserved as the processing strategies corresponding to the preset point set.
And if the certain preset point set is detected to have no matched target tolerance rule, the return process strategy can be used as the processing strategy corresponding to the preset point set.
Step S203, determining whether the target electrode is an abnormal electrode according to the processing strategy corresponding to each preset point set.
In some embodiments of the present application, if the processing strategy corresponding to any one or more preset point sets does not include the automatic adjustment strategy, the terminal may determine that the target electrode is an abnormal electrode.
Specifically, when the processing strategy corresponding to the R-direction point set includes the automatic adjustment strategy, the target electrode may be identified as a normal electrode, and similarly, when the processing strategy corresponding to the Z-direction point set includes the automatic adjustment strategy, the target electrode may be identified as a normal electrode; and taking the intersection of the two times, if the two intersection comprise the automatic adjustment strategy, the terminal can confirm that the target electrode is a normal electrode and update the mark of the target electrode.
Otherwise, if the processing strategy corresponding to any one or more preset point sets does not include the automatic adjustment strategy, the terminal can confirm that the target electrode is an abnormal electrode and update the identifier of the target electrode.
For the abnormal electrode, the terminal can perform further processing operation according to the corresponding processing strategy.
For ease of understanding, fig. 5 shows a schematic flow chart of the electrode detection method provided herein. And after detecting the statistical value corresponding to each preset point set, if the statistical value does not contain the value, the terminal reserves all processing strategies. If the value is contained, the tolerance rule can be matched from the value, and if the tolerance rule does not meet the condition, the returned process strategy is taken as the processing strategy corresponding to the preset point set; if the tolerance rule satisfying the condition includes a plurality of tolerance rules, one of the tolerance rules having the narrowest tolerance range is selected as the target tolerance rule. The target spark gap is then calculated according to the target tolerance rule.
If the point set is the Z-direction point set, the processing strategy corresponding to the target tolerance rule can be directly reserved. And if the processing strategy is the R-direction point set and the processing strategy corresponding to the target tolerance rule does not comprise an automatic adjustment strategy or a forced discharge strategy, the processing strategy corresponding to the target tolerance rule is reserved. And if the target spark gap value meets the adjustment condition, further judging whether the target spark gap value meets the adjustment condition, and rejecting the automatic adjustment strategy or the forced discharge strategy according to the result.
According to the processing strategies corresponding to the R-direction point set and the Z-direction point set respectively, if the processing strategies corresponding to any one or more preset point sets do not include the automatic adjustment strategy, the target electrode can be determined to be an abnormal electrode.
In the embodiment of the application, the actual coordinates of each target point on the target electrode are detected by acquiring the electrode attribute of the target electrode, the deviation value between the actual coordinate of each target point and the corresponding theoretical coordinate is calculated, then the processing strategy required by the target electrode is determined according to the electrode attribute and the deviation value, and whether the target electrode is an abnormal electrode is determined according to the processing strategy, so that whether the electrode is qualified can be accurately judged, meanwhile, the corresponding processing strategy is provided for the electrode, the detection and judgment of each electrode are not needed manually, and the processing production efficiency is improved.
Meanwhile, based on the tolerance standard library, the terminal can accurately provide a processing strategy for each electrode, can indicate the problem attribution of the abnormal electrode, and is used for a worker to further select a processing procedure leading to the problem in front of the electrode, so that the production efficiency is improved.
In addition, the terminal can continuously receive the input template input by the user and extract the data in the input template to generate the tolerance rule so as to update the tolerance standard library, so that the tolerance standard library can be continuously adapted to new production needs.
It should be noted that, for simplicity of description, the foregoing method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present application is not limited by the order of acts, as some steps may, in accordance with the present application, occur in other orders.
Fig. 6 is a schematic structural diagram of a detection apparatus 600 for an electrode according to an embodiment of the present disclosure, where the detection apparatus 600 for an electrode is disposed on a terminal.
Specifically, the electrode detection device 600 may include:
a data acquisition unit 601 configured to acquire an electrode attribute of a target electrode;
a deviation calculating unit 602, configured to detect actual coordinates of each target point on the target electrode, and calculate a deviation value between the actual coordinate of each target point and a corresponding theoretical coordinate;
an anomaly detection unit 603, configured to determine a processing strategy required by the target electrode according to the electrode attribute and the deviation value, and determine whether the target electrode is an anomalous electrode according to the processing strategy.
In some embodiments of the present application, the abnormality detecting unit 603 may be further specifically configured to: dividing the target point into a plurality of preset point sets, wherein each preset point set comprises points positioned on one or more planes on the target electrode, and different preset point sets correspond to non-repeating planes on the target electrode; determining a processing strategy corresponding to each preset point set according to the electrode attribute and the deviation value; and determining whether the target electrode is an abnormal electrode or not according to the processing strategy corresponding to each preset point set.
In some embodiments of the present application, the abnormality detecting unit 603 may be further specifically configured to: acquiring a tolerance standard library, wherein a plurality of tolerance rules recorded in advance are recorded in the tolerance standard library; screening out a target tolerance rule which corresponds to each preset point set and is suitable for the target electrode from the tolerance standard library according to the electrode attribute and the statistic value corresponding to each preset point set; and determining the processing strategy corresponding to each preset point set according to the target tolerance rule corresponding to each preset point set.
In some embodiments of the present application, when the abnormality detecting unit 603 performs screening of the target tolerance rule on a single preset point set, the abnormality detecting unit may further specifically be configured to: screening candidate tolerance rules from the tolerance rules of the tolerance standard library according to the electrode attributes; determining an actual spark gap value corresponding to each candidate tolerance rule according to the statistical value corresponding to the single preset point set and the gap calculation formula corresponding to each candidate tolerance rule; and if the actual spark gap value corresponding to the candidate tolerance rule is within the tolerance range corresponding to the candidate tolerance rule, confirming the candidate tolerance rule as the target tolerance rule corresponding to the single preset point set.
In some embodiments of the present application, the preset point set includes an R-direction point set; the abnormality detection unit 603 may be further specifically configured to: detecting whether a machining processing strategy corresponding to a target tolerance rule of the R-direction point set comprises an automatic adjustment strategy or a forced discharge strategy; if so, calculating a target spark gap value according to a gap calculation formula corresponding to the target tolerance rule, and detecting whether the target spark gap value meets an adjustment condition; and if so, removing the forced discharging strategy from the machining treatment strategy corresponding to the target tolerance rule of the R-direction point set, and taking the rest machining treatment strategies as the machining treatment strategies corresponding to the R-direction point set.
In some embodiments of the present application, the abnormality detecting unit 603 may be further specifically configured to: and if the R-direction point set does not meet the preset tolerance rule, removing the automatic adjustment strategy from the processing strategies corresponding to the target tolerance rule of the R-direction point set, and taking the rest processing strategies as the processing strategies corresponding to the R-direction point set.
In some embodiments of the present application, the abnormality detecting unit 603 may be further specifically configured to: and if the processing strategy corresponding to any one or more preset point sets does not contain an automatic adjustment strategy, determining that the target electrode is an abnormal electrode.
It should be noted that, for convenience and simplicity of description, the specific working process of the detection apparatus 600 for an electrode may refer to the corresponding process of the method described in fig. 1 to fig. 5, and is not described herein again.
Fig. 7 is a schematic diagram of a terminal according to an embodiment of the present application. The terminal 7 may include: a processor 70, a memory 71 and a computer program 72, such as a detection program for electrodes, stored in said memory 71 and executable on said processor 70. The processor 70, when executing the computer program 72, implements the steps in the above-described embodiments of the detection method for each electrode, such as the steps S101 to S103 shown in fig. 1. Alternatively, the processor 70, when executing the computer program 72, implements the functions of the modules/units in the above-described device embodiments, such as the data acquisition unit 601, the deviation calculation unit 602, and the abnormality detection unit 603 shown in fig. 6.
The computer program may be divided into one or more modules/units, which are stored in the memory 71 and executed by the processor 70 to accomplish the present application. The one or more modules/units may be a series of computer program instruction segments capable of performing specific functions, which are used to describe the execution of the computer program in the terminal.
For example, the computer program may be divided into: the device comprises a data acquisition unit, a deviation calculation unit and an abnormality detection unit.
The specific functions of each unit are as follows: the data acquisition unit is used for acquiring the electrode attribute of the target electrode; the deviation calculation unit is used for detecting the actual coordinates of each target point on the target electrode and calculating the deviation value between the actual coordinates of each target point and the corresponding theoretical coordinates; and the abnormality detection unit is used for determining a processing strategy required by the target electrode according to the electrode attribute and the deviation value, and determining whether the target electrode is an abnormal electrode according to the processing strategy.
The terminal may include, but is not limited to, a processor 70, a memory 71. It will be appreciated by those skilled in the art that fig. 7 is only an example of a terminal and is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or different components, for example, the terminal may also include input output devices, network access devices, buses, etc.
The Processor 70 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field-Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 71 may be an internal storage unit of the terminal, such as a hard disk or a memory of the terminal. The memory 71 may also be an external storage device of the terminal, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like provided on the terminal. Further, the memory 71 may also include both an internal storage unit and an external storage device of the terminal. The memory 71 is used for storing the computer program and other programs and data required by the terminal. The memory 71 may also be used to temporarily store data that has been output or is to be output.
It should be noted that, for convenience and simplicity of description, the structure of the terminal may also refer to the detailed description of the structure in the method embodiment, and is not described herein again.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned function distribution may be performed by different functional units and modules according to needs, that is, the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-mentioned functions. Each functional unit and module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional units and modules are only used for distinguishing one functional unit from another, and are not used for limiting the protection scope of the present application. The specific working processes of the units and modules in the system may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. 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 application.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus/terminal and method may be implemented in other ways. For example, the above-described apparatus/terminal embodiments are merely illustrative, and for example, the division of the modules or units is only one logical division, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or may be integrated into another system, 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 be in an electrical, mechanical or other form.
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 place, 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 embodiment.
In addition, functional units in the embodiments of the present application 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 can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated modules/units, if implemented in the form of software functional units and sold or used as separate products, may be stored in a computer readable storage medium. Based on such understanding, all or part of the flow in the method of the embodiments described above can be realized by a computer program, which can be stored in a computer-readable storage medium and can realize the steps of the embodiments of the methods described above when the computer program is executed by a processor. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, and the like. It should be noted that the computer readable medium may contain content that is subject to appropriate increase or decrease as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media does not include electrical carrier signals and telecommunications signals as is required by legislation and patent practice.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present application and are intended to be included within the scope of the present application.

Claims (10)

1. A method of detecting an electrode, comprising:
acquiring the electrode attribute of a target electrode;
detecting the actual coordinates of each target point on the target electrode, and calculating the deviation value between the actual coordinates of each target point and the corresponding theoretical coordinates;
and determining a processing strategy required by the target electrode according to the electrode attribute and the deviation value, and determining whether the target electrode is an abnormal electrode according to the processing strategy.
2. The method for detecting an electrode according to claim 1, wherein the determining a processing strategy required for the target electrode according to the electrode attribute and the deviation value, and determining whether the target electrode is an abnormal electrode according to the processing strategy comprises:
dividing the target point into a plurality of preset point sets, wherein each preset point set comprises points positioned on one or more planes on the target electrode, and different preset point sets correspond to non-repeating planes on the target electrode;
determining a processing strategy corresponding to each preset point set according to the electrode attribute and the deviation value;
and determining whether the target electrode is an abnormal electrode or not according to the processing strategy corresponding to each preset point set.
3. The method for detecting an electrode according to claim 2, wherein the determining the processing strategy corresponding to each of the predetermined point sets according to the electrode attribute and the deviation value comprises:
acquiring a tolerance standard library, wherein a plurality of tolerance rules recorded in advance are recorded in the tolerance standard library;
screening out a target tolerance rule which corresponds to each preset point set and is suitable for the target electrode from the tolerance standard library according to the electrode attribute and the statistic value corresponding to each preset point set;
and determining the processing strategy corresponding to each preset point set according to the target tolerance rule corresponding to each preset point set.
4. The method for detecting an electrode according to claim 3, wherein in the step of screening out the target tolerance rule corresponding to each of the preset point sets and applicable to the target electrode from the tolerance standard library according to the statistical values corresponding to the electrode attributes and each of the preset point sets, the step of screening out a single preset point set includes:
screening candidate tolerance rules from the tolerance rules of the tolerance standard library according to the electrode attributes;
determining an actual spark gap value corresponding to each candidate tolerance rule according to the statistical value corresponding to the single preset point set and the gap calculation formula corresponding to each candidate tolerance rule;
and if the actual spark gap value corresponding to the candidate tolerance rule is within the tolerance range corresponding to the candidate tolerance rule, confirming the candidate tolerance rule as the target tolerance rule corresponding to the single preset point set.
5. The method for detecting an electrode according to claim 3, wherein the preset point set includes an R-direction point set;
determining the processing strategy corresponding to each preset point set according to the target tolerance rule corresponding to each preset point set respectively, wherein the processing strategy comprises the following steps:
detecting whether a machining processing strategy corresponding to a target tolerance rule of the R-direction point set comprises an automatic adjustment strategy or a forced discharge strategy;
if so, calculating a target spark gap value according to a gap calculation formula corresponding to the target tolerance rule, and detecting whether the target spark gap value meets an adjustment condition;
and if so, removing the forced discharging strategy from the machining treatment strategy corresponding to the target tolerance rule of the R-direction point set, and taking the rest machining treatment strategies as the machining treatment strategies corresponding to the R-direction point set.
6. The method for inspecting an electrode according to claim 5, wherein after said inspecting whether the target spark gap value satisfies an adjustment condition, comprising:
and if the R-direction point set does not meet the preset tolerance rule, removing the automatic adjustment strategy from the processing strategies corresponding to the target tolerance rule of the R-direction point set, and taking the rest processing strategies as the processing strategies corresponding to the R-direction point set.
7. The method for detecting an electrode according to any one of claims 2 to 6, wherein the determining whether the target electrode is an abnormal electrode according to the processing strategy corresponding to each of the predetermined point sets includes:
and if the processing strategy corresponding to any one or more preset point sets does not comprise an automatic adjustment strategy, determining that the target electrode is an abnormal electrode.
8. An electrode detection device, comprising:
the data acquisition unit is used for acquiring the electrode attribute of the target electrode;
the deviation calculation unit is used for detecting the actual coordinates of each target point on the target electrode and calculating the deviation value between the actual coordinates of each target point and the corresponding theoretical coordinates;
and the abnormality detection unit is used for determining a processing strategy required by the target electrode according to the electrode attribute and the deviation value, and determining whether the target electrode is an abnormal electrode according to the processing strategy.
9. A terminal comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the processor implements the steps of the method according to any of claims 1 to 7 when executing the computer program.
10. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 7.
CN202111612213.6A 2021-12-27 2021-12-27 Electrode detection method, device, terminal and medium Active CN114427843B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111612213.6A CN114427843B (en) 2021-12-27 2021-12-27 Electrode detection method, device, terminal and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111612213.6A CN114427843B (en) 2021-12-27 2021-12-27 Electrode detection method, device, terminal and medium

Publications (2)

Publication Number Publication Date
CN114427843A true CN114427843A (en) 2022-05-03
CN114427843B CN114427843B (en) 2023-11-24

Family

ID=81312011

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111612213.6A Active CN114427843B (en) 2021-12-27 2021-12-27 Electrode detection method, device, terminal and medium

Country Status (1)

Country Link
CN (1) CN114427843B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101249617A (en) * 2008-03-20 2008-08-27 上海交通大学 Measurement method of electro discharge machining gapping place
CN101266479A (en) * 2008-04-21 2008-09-17 耐普罗机械(苏州)有限公司 Electrode intelligent detection system
US20130213941A1 (en) * 2012-02-17 2013-08-22 Mitsubishi Electric Corporation Electric discharge machine and electric discharge machining method
KR20160002023A (en) * 2014-06-30 2016-01-07 전창복 Method of processing precision hole using cnc edm drill machines
CN107063149A (en) * 2017-03-09 2017-08-18 珠海格力大金精密模具有限公司 Numerical control electric spark process equipment automatic checkout system and method
CN113020727A (en) * 2021-03-16 2021-06-25 深圳模德宝科技有限公司 Method and device for designing, detecting and electric discharge machining of connector electrode

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101249617A (en) * 2008-03-20 2008-08-27 上海交通大学 Measurement method of electro discharge machining gapping place
CN101266479A (en) * 2008-04-21 2008-09-17 耐普罗机械(苏州)有限公司 Electrode intelligent detection system
US20130213941A1 (en) * 2012-02-17 2013-08-22 Mitsubishi Electric Corporation Electric discharge machine and electric discharge machining method
KR20160002023A (en) * 2014-06-30 2016-01-07 전창복 Method of processing precision hole using cnc edm drill machines
CN107063149A (en) * 2017-03-09 2017-08-18 珠海格力大金精密模具有限公司 Numerical control electric spark process equipment automatic checkout system and method
CN113020727A (en) * 2021-03-16 2021-06-25 深圳模德宝科技有限公司 Method and device for designing, detecting and electric discharge machining of connector electrode

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
曹?何晨龙;邓集松;: "电火花微细电极标准球在线检测方法", 电加工与模具, no. 05, pages 17 - 18 *

Also Published As

Publication number Publication date
CN114427843B (en) 2023-11-24

Similar Documents

Publication Publication Date Title
CN102117731B (en) Method and device for monitoring measurement data in process production flow of semiconductor
CN104199424A (en) Electrode full life cycle control system and method based on RFID (radio frequency identification)
CN116618764B (en) Production optimization method and system of mirror surface electric discharge machine
CN110851476A (en) Production equipment adjusting method and device, computer device and storage medium
CN107957707A (en) Information processor
CN113342906A (en) Method and device for classifying wafer measurement data distribution form
CN105302123A (en) Online data monitoring method
WO2018142678A1 (en) Method for visualizing manufacturing results, image processing device, and program
CN113312872B (en) Gong belt manufacturing method and device, gong belt manufacturing equipment and storage medium
CN108519760A (en) A kind of Primary Processing stable state recognition methods based on detection of change-point theory
CN114427843A (en) Electrode detection method, device, terminal and medium
CN111823056A (en) Workpiece on-line detection method and device and computer readable storage medium
CN108255950A (en) Date storage method and terminal device
CN108098462B (en) Continuous phase plate processing method and device
DE112010005581T5 (en) A method of generating a numerical control program, apparatus therefor, and program to cause a computer to execute the method
Denkena et al. Assessing mould costs analysing manufacturing processes of cavities
CN115239520A (en) Method and device for eliminating errors of model component, electronic device and storage medium
US8406911B2 (en) Implementing sequential segmented interleaving algorithm for enhanced process control
CN111774929A (en) Tool wear compensation method, tool wear compensation device, computer device, and storage medium
CN115382892B (en) Method and system for recycling electrode
CN115570221A (en) Spark line generation method and device, computer readable storage medium and terminal equipment
CN111857048A (en) Die machining method and device and method for improving die machining precision
JP2019096083A (en) Ability evaluation system
JP4200561B2 (en) CAM system remaining part inspection device
CN117381083A (en) Automatic machining method, system, equipment and storage medium after tool electrode cutting

Legal Events

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