Electrode detection method and detection device
By adjusting the coordinate system of electrode detection to match the actual edge value, the problem of large electrode detection errors is solved, the detection accuracy and efficiency are improved, and the intelligence level of electrode production and manufacturing is improved.
Patent Information
- Application Number
- CN202210872633.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-07-21
- Publication Date
- 2024-11-12
- Estimated Expiration
- 2042-07-21
AI Technical Summary
The existing electrode detection technology has problems of large detection errors and low efficiency. It is mainly due to the deviation between the detection coordinate system and the design coordinate system, resulting in inaccurate electrode detection results, which affects processing quality and rework decisions.
By obtaining the initial coordinate system and initial coordinate value of the electrode, detecting the actual edge value, and adjusting the coordinate system according to the comparison results to obtain the test coordinate system, and performing electrode detection to ensure that the detection results are closer to the actual size.
It improves the accuracy and efficiency of electrode detection, reduces detection errors, improves the reliability and intelligence level of electrode production and manufacturing, and reduces manual participation and detection time.
Smart Images

Figure CN115406387B_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of intelligent production and manufacturing technology, specifically, to electrode intelligent production and manufacturing technology, and more specifically, to an electrode detection method and a detection device. Background Art
[0002] Electrodes are widely used in the mold manufacturing industry as tools for EDM. After electrode processing, the electrode needs to be inspected for size. Only after the inspection is completed can the electrode be used or whether it needs to be reworked.
[0003] Three-coordinate measurement is usually used to detect the size of the electrode. When designing the electrode, the design coordinate system and coordinate values on the drawing will be given according to the processing requirements. However, when the electrode is processed and enters the detection line, there is usually a deviation between the detection coordinate system and the design coordinate system on the electrode drawing, resulting in inaccurate detection results. The error between the detected electrode size and the actual electrode size caused by the coordinate system will affect the misjudgment of whether the processed electrode is qualified. Moreover, the electrode detection process is a quality inspection process for whether the electrode will be reworked or whether the electrode will enter the discharge machining process. The error in the detection also affects the smooth progress of other subsequent processes.
[0004] In order to solve this coordinate system deviation, the existing technology usually manually inspects the electrodes after inspection to finally confirm whether the electrodes are qualified. The manual inspection method not only requires high personnel capabilities, but also has low inspection efficiency and large errors. It is also difficult to detect whether there is a coordinate system deviation problem in time, thereby reducing the level of intelligence in electrode production and manufacturing. Summary of the invention
[0005] The object of the present invention is to provide an electrode detection method and a detection device to solve the technical problems of large detection error and low detection efficiency in the prior art electrode detection.
[0006] In order to achieve the above-mentioned object of the invention, the electrode detection method provided by the present invention is implemented by adopting the following technical scheme:
[0007] An electrode detection method, the method comprising:
[0008] Acquire an initial coordinate system of the electrode to be detected and an initial coordinate value in the initial coordinate system;
[0009] Acquire the maximum value of the electrode to be detected under each coordinate axis in the initial coordinate system from the initial coordinate value as the initial edge value;
[0010] Detecting the actual edge value of the electrode to be detected under each coordinate axis in the initial coordinate system;
[0011] Compare the actual edge value with the initial edge value under the same coordinate axis, adjust the initial coordinate system and the initial coordinate value according to the comparison result, and obtain a test coordinate system and a test coordinate value of the electrode to be detected in the test coordinate system;
[0012] The electrode to be detected is detected based on the test coordinate system.
[0013] In some embodiments of the present application, obtaining the initial coordinate system of the electrode to be detected and the initial coordinate value in the initial coordinate system includes:
[0014] Acquire a design coordinate system of the electrode to be detected and a design coordinate value in the design coordinate system;
[0015] Acquire a tool coordinate system and tool coordinate values of a tool that matches the electrode to be detected;
[0016] The initial coordinate system and the initial coordinate value are determined according to the design coordinate system, the design coordinate value, the tooling coordinate system and the tooling coordinate value.
[0017] In some embodiments of the present application, performing detection of the electrode to be detected based on the test coordinate system includes:
[0018] Detecting the actual coordinate value of the set detection point on the electrode to be detected in the test coordinate system;
[0019] The actual coordinate value of the set detection point is compared with the test coordinate value of the set detection point, and the state of the electrode to be detected is determined according to the comparison result.
[0020] In some embodiments of the present application, comparing the actual coordinate value of the set detection point with the test coordinate value of the set detection point, and determining the state of the electrode to be detected according to the comparison result, includes:
[0021] Compare the actual coordinate value of the set detection point with the test coordinate value of the set detection point to obtain the tolerance of the set detection point;
[0022] Comparing the tolerance of the set detection point with a preset tolerance condition;
[0023] When the tolerance of the set detection point meets the preset tolerance condition, it is determined that the electrode to be detected is in a qualified state; otherwise, it is determined that the electrode to be detected is in an unqualified state.
[0024] In some embodiments of the present application, the method further comprises:
[0025] Obtaining a design coordinate value of the set detection point of the electrode to be detected in a design coordinate system of the electrode;
[0026] The design coordinate value of the set detection point is updated using the actual coordinate value of the set detection point, and the updated coordinate value is output.
[0027] In order to achieve the above-mentioned purpose of the invention, the electrode detection device provided by the present invention is implemented by adopting the following technical solutions:
[0028] An electrode detection device, comprising:
[0029] An initial coordinate acquisition module, used to acquire an initial coordinate system of the electrode to be detected and an initial coordinate value in the initial coordinate system;
[0030] An initial edge value acquisition module, used to acquire the maximum value of the electrode to be detected under each coordinate axis in the initial coordinate system from the initial coordinate value as the initial edge value;
[0031] An actual edge value detection module, used to detect the actual edge value of the electrode to be detected under each coordinate axis in the initial coordinate system;
[0032] A test coordinate acquisition module, used for comparing the actual edge value with the initial edge value under the same coordinate axis, adjusting the initial coordinate system and the initial coordinate value according to the comparison result, and obtaining a test coordinate system and a test coordinate value of the electrode to be detected in the test coordinate system;
[0033] The electrode detection module is used to perform detection on the electrode to be detected based on the test coordinate system.
[0034] In some embodiments of the present application, the initial coordinate acquisition module includes:
[0035] A design coordinate acquisition unit, used to acquire a design coordinate system of the electrode to be detected and a design coordinate value in the design coordinate system;
[0036] A tool coordinate acquisition unit, used to acquire a tool coordinate system and a tool coordinate value of a tool that matches the electrode to be detected;
[0037] An initial coordinate determining unit is used to determine the initial coordinate system and the initial coordinate value according to the design coordinate system, the design coordinate value, the tooling coordinate system and the tooling coordinate value.
[0038] In some embodiments of the present application, the electrode detection module includes:
[0039] An actual coordinate value detection unit, used for detecting the actual coordinate value of a set detection point on the electrode to be detected in the test coordinate system;
[0040] The electrode state determination unit is used to compare the actual coordinate value of the set detection point with the test coordinate value of the set detection point, and determine the state of the electrode to be detected according to the comparison result.
[0041] In some embodiments of the present application, the device further comprises:
[0042] A design coordinate acquisition unit, used to acquire a design coordinate system of the electrode to be detected and a design coordinate value in the design coordinate system;
[0043] The coordinate value updating and outputting unit is used to update the design coordinate value of the set detection point with the actual coordinate value of the set detection point and output the updated coordinate value.
[0044] The present application also provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the above-mentioned electrode detection method is implemented.
[0045] Compared with the prior art, the advantages and positive effects of the present invention are:
[0046] The electrode detection method and detection device provided by the present invention detect the actual edge value of the electrode, adjust the initial coordinate system based on the actual edge value to obtain a test coordinate system, so that the test coordinate system is more consistent with the actual state of the electrode, and then detect the electrode based on the adjusted test coordinate system, so as to obtain a detection result that is closer to the actual size of the electrode, thereby improving the accuracy of electrode detection, effectively solving the problem of large electrode detection error caused by coordinate system deviation during electrode detection, reducing the electrode detection error, and providing powerful guidance and reference for other subsequent processes based on the electrode detection result, thereby improving the reliability and effectiveness of electrode production and manufacturing; moreover, the detection of the actual edge value of the electrode and the adjustment of the coordinate system can be performed automatically without human intervention, which further reduces the detection error, improves the electrode detection speed, and improves the intelligent level of electrode production and manufacturing.
[0047] After reading the specific embodiments of the present invention in conjunction with the accompanying drawings, other features and advantages of the present invention will become more clear. BRIEF DESCRIPTION OF THE DRAWINGS
[0048] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the embodiments. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0049] Figure 1 A flow chart of an embodiment of an electrode detection method of the present invention;
[0050] Figure 2 A flow chart of another embodiment of the electrode detection method of the present invention;
[0051] Figure 3 It is a structural schematic diagram of an embodiment of an electrode detection device of the present invention;
[0052] Figure 4 FIG. 4 is a schematic structural diagram of another embodiment of the electrode detection device of the present invention. DETAILED DESCRIPTION
[0053] In order to make the purpose, technical solutions and advantages of the present invention more clearly understood, the present invention will be further described in detail below with reference to the accompanying drawings and embodiments.
[0054] It should be noted that the technical solutions between the various embodiments of the present invention can be combined with each other, but it must be based on the fact that ordinary technicians in the field can implement it. When the combination of technical solutions is contradictory or cannot be implemented, it should be deemed that such combination of technical solutions does not exist and is not within the scope of protection required by the present invention.
[0055] In order to solve the technical problems of low detection efficiency and large detection error caused by inaccurate electrode detection results due to manual detection and processing of coordinate system deviation in the prior art, the present invention creatively proposes a new electrode detection method and detection device, which automatically detects the actual edge value of the electrode and automatically adjusts the initial coordinate system based on the actual edge value to obtain a test coordinate system, so that the test coordinate system is more consistent with the actual state of the electrode. Then, the electrode is detected based on the adjusted test coordinate system, which can obtain a detection result that is closer to the actual size of the electrode, effectively improving the efficiency of electrode detection and reducing electrode detection errors.
[0056] Figure 1 A flow chart of an embodiment of an electrode detection method of the present invention is shown.
[0057] like Figure 1 As shown, this embodiment adopts the following process to perform electrode detection.
[0058] Step 101: Acquire an initial coordinate system of an electrode to be detected and an initial coordinate value in the initial coordinate system.
[0059] The initial coordinate system and initial coordinate value are a detection coordinate system and corresponding coordinate values that can be obtained by the device that performs detection on the electrode on the electrode detection line. Generally, the method for obtaining the initial coordinate system and initial coordinate value is related to the detection device used for the detection line. Specifically, the following method can be used: Figure 2 The method of the embodiment obtains the initial coordinate system and the initial coordinate value, and other methods in the prior art may also be used to obtain them.
[0060] Step 102: Obtain the maximum value of the electrode to be detected under each coordinate axis in the initial coordinate system from the initial coordinate values as the initial edge value.
[0061] Electrode detection usually adopts the three-coordinate detection method, so the initial coordinate system is a three-coordinate system, including the X-axis, Y-axis and Z-axis. Then, there is a maximum coordinate value under each coordinate axis, and the maximum value under each coordinate axis is obtained from the initial coordinate value and determined as the initial edge value.
[0062] Step 103: Detect the actual edge value of the electrode to be detected under each coordinate axis in the initial coordinate system.
[0063] This step is to use the detection equipment of the electrode detection line to automatically find the actual edge point of the electrode to be detected, and determine the actual edge value of the actual edge point under each coordinate axis in the initial coordinate system. For the initial coordinate system with X-axis, Y-axis, and Z-axis, the following method can be used to detect the actual edge value under each coordinate axis:
[0064] Fix the X-axis and Y-axis, use the probe to move in the Z-axis direction to find the highest point. The Z-axis coordinate value corresponding to the highest point is the actual edge value under the Z-axis.
[0065] Fix the Y-axis and Z-axis, move the probe in the X-axis direction, find the farthest point, and its corresponding X-axis coordinate value is the actual edge value under the X-axis.
[0066] Fix the X-axis and Z-axis, move the probe in the Y-axis direction, find the farthest point, and its corresponding Y-axis coordinate value is the actual edge value under the Y-axis.
[0067] Step 104: Compare the actual edge value under the same coordinate axis with the initial edge value, adjust the initial coordinate system and the initial coordinate value according to the comparison result, and obtain the test coordinate system and the test coordinate value of the electrode to be tested in the test coordinate system.
[0068] Compare the actual edge value and the initial edge value under the same coordinate axis. If there is a difference between the two, the coordinate axis and the coordinate value are offset according to the comparison result, and the offset is determined according to the difference between the two. If there is no difference, the coordinate axis and the corresponding coordinate value can remain unchanged. The three coordinate axes are offset and adjusted according to the corresponding actual edge value and the initial edge value, thereby realizing the adjustment of the overall initial coordinate system and the initial coordinate value. The adjusted coordinate system is determined as the test coordinate system, and accordingly, the coordinate value after the initial coordinate value is adjusted is determined as the test coordinate value under the test coordinate system.
[0069] This embodiment adjusts the coordinate system and coordinate values through the edge values of the edge points under each coordinate axis, which can not only make consistency compensation for the coordinate system deviation caused by factors such as tooling errors, but also avoid inaccurate detection results caused by coordinate system deviations when detecting electrode detection points. In addition, since only three edge points need to be found and three edge values need to be calculated to complete the offset adjustment of the overall coordinate system and coordinate values, problems such as slow searching speed and the risk of probe collision caused by the probe searching for too many electrode detection points are better avoided, the speed of adjusting the coordinate system and coordinate values is improved, and the electrode detection speed is improved.
[0070] Step 105: Detecting the electrodes to be detected based on the test coordinate system.
[0071] Specifically, the following can be used Figure 2 The method of the embodiment detects electrodes, and other methods in the prior art may also be used to perform electrode detection.
[0072] By adopting the above method, the initial coordinate system is adjusted based on the actual edge value to obtain the test coordinate system, so that the test coordinate system is more consistent with the actual state of the electrode, and then the electrode is detected based on the adjusted test coordinate system, so that the detection result closer to the actual size of the electrode can be obtained, the accuracy of electrode detection is improved, and the problem of large electrode detection error caused by coordinate system deviation during electrode detection is effectively solved, and the electrode detection error is reduced, avoiding mold processing defects caused by misjudging actually unqualified electrodes as qualified electrodes and waste caused by rework or scrapping of actually qualified electrodes as unqualified electrodes; at the same time, it also provides powerful guidance and reference for other subsequent processes based on the electrode detection results, thereby improving the reliability and effectiveness of electrode production and manufacturing; moreover, the detection of the actual edge value of the electrode and the adjustment of the coordinate system can be performed automatically without human participation, which further reduces the detection error, improves the electrode detection speed, and improves the intelligent level of electrode production and manufacturing.
[0073] Figure 2 FIG. 4 is a flow chart of another embodiment of the electrode detection method of the present invention.
[0074] like Figure 2 As shown, this embodiment adopts the following process to perform electrode detection.
[0075] Step 201: Acquire the design coordinate system of the electrode to be detected and the design coordinate values in the design coordinate system.
[0076] The design coordinate system and design coordinate values are assigned when the electrode is designed. They are generally based on the shape and size of the electrode itself and can be obtained by importing the electrode design drawings.
[0077] Step 202: Obtain a tooling coordinate system and tooling coordinate values of a tooling that matches the electrode to be detected.
[0078] The electrode needs to be equipped with a tooling from the blank, and the electrode is identified, tracked, grabbed and transported based on the tooling. When the electrode is tested, the electrode is placed on the test table together with the tooling. The types of tooling that match the electrode are not exactly the same, but each tooling has a known tooling coordinate system and tooling coordinate value, which can be easily read through the tooling identification mark such as tooling model and number.
[0079] Step 203: Determine an initial coordinate system and initial coordinate values according to the design coordinate system, the design coordinate values, the tooling coordinate system and the tooling coordinate values.
[0080] After obtaining the design coordinate system and design coordinate value of the electrode in step 201 and the tooling coordinate system and tooling coordinate value of the tooling in step 202, the tooling coordinate system and tooling coordinate value are used as fixed values and compensated to the design coordinate system and design coordinate value to form an initial coordinate system and initial coordinate value, so as to realize the integration of the design coordinates of the electrode and the coordinates of the electrode to be tested after the tooling is assembled together with the tooling. The tooling coordinate system and tooling coordinate value are used as fixed values and compensated to the design coordinate system and design coordinate value. The specific compensation method is implemented by using the existing technology, for example, the coordinate system and coordinate value are added to form the initial coordinate system and initial coordinate value.
[0081] Step 204: Obtain the maximum value of the electrode to be detected under each coordinate axis in the initial coordinate system from the initial coordinate values as the initial edge value.
[0082] Step 205: Detect the actual edge value of the electrode to be detected under each coordinate axis in the initial coordinate system.
[0083] Step 206: Compare the actual edge value under the same coordinate axis with the initial edge value, adjust the initial coordinate system and the initial coordinate value according to the comparison result, and obtain the test coordinate system and the test coordinate value of the electrode to be tested in the test coordinate system.
[0084] Among them, the test coordinate value will be used as the reference coordinate value under the test coordinate system.
[0085] For the specific implementation process of the above three steps, refer to Figure 1 Description of the corresponding steps of the embodiment.
[0086] After obtaining the test coordinate system and the test coordinate values, the following detection process from step 207 to step 209 will be executed.
[0087] Step 207: Detect the actual coordinate value of the set detection point on the electrode to be detected in the test coordinate system.
[0088] The detection point is set as a mandatory detection point in electrode detection, and the electrode detection equipment is used to detect the actual coordinate value of the set detection point under the current tooling and the current test coordinate system.
[0089] Step 208: Compare the actual coordinate value of the set detection point with the test coordinate value of the set detection point to obtain the tolerance of the set detection point.
[0090] After obtaining the actual coordinate value of the set detection point, the actual coordinate value is compared with the test coordinate value as the reference coordinate value in the same test coordinate system to obtain an actual machining error of the measured electrode. The tolerance of each set detection point is determined based on the actual coordinate value and the test coordinate value, and the state of the electrode is judged based on the tolerance.
[0091] Step 209: Compare the tolerance of the set detection point with the preset tolerance condition, and determine the state of the electrode to be detected according to the comparison result.
[0092] Whether the electrode processing is qualified and whether the electrode can be used in the discharge process can usually be reflected by the tolerance. The system is preset with preset tolerance conditions, and the corresponding relationship between the comparison result of the actual tolerance and the preset tolerance conditions and the electrode state is preset. The state of the detected electrode can be determined according to the comparison result of the tolerance of the set detection point and the preset tolerance conditions.
[0093] In some embodiments, the preset tolerance condition is that the tolerance belongs to the preset tolerance range. The correspondence between the comparison result and the electrode state includes: if the tolerance of the set detection point is within the preset tolerance range, the electrode is in a qualified state and marked as usable; if the tolerance of the set detection point is greater than the maximum preset tolerance value within the preset tolerance range, the electrode is in an unqualified state and marked as reworkable; if the tolerance of the set detection point is less than the minimum preset tolerance value within the preset tolerance range, the electrode is in an unqualified state and marked as scrapped.
[0094] Step 210: Update the design coordinate value of the set detection point with the actual coordinate value of the set detection point, and output the updated coordinate value.
[0095] The purpose of performing this step is to provide a coordinate value that includes the actual error of electrode processing and is more in line with the actual size of the electrode for subsequent processes, and to provide guidance and early warning for subsequent processes. For example, in some embodiments, the subsequent processing requirements cannot be lower than a certain value. If the electrode is judged to be too large based on the actual coordinate value of the electrode, the subsequent process should consider changing the process to avoid the problem of being less than the specified value after processing in advance. For another example, if the electrode is judged to be too small based on the actual coordinate value of the electrode, the discharge time should be extended during the discharge process to provide a reference and guidance for calculating the discharge time for the discharge process.
[0096] Figure 3 FIG. 1 is a schematic structural diagram of an electrode detection device according to an embodiment of the present invention.
[0097] like Figure 3 As shown, the electrode detection device of this embodiment includes structural modules, functions of the structural modules and the relationship between them, which are specifically as follows:
[0098] The electrode detection device includes:
[0099] The initial coordinate acquisition module 31 is used to acquire the initial coordinate system of the electrode to be detected and the initial coordinate value in the initial coordinate system.
[0100] The initial edge value acquisition module 32 is used to acquire the maximum value of the electrode to be detected under each coordinate axis in the initial coordinate system from the initial coordinate values acquired by the initial coordinate acquisition module 31 as the initial edge value.
[0101] The actual edge value detection module is used to detect the actual edge value of the electrode to be detected under each coordinate axis in the initial coordinate system obtained by the initial coordinate acquisition module 31.
[0102] The test coordinate acquisition module 34 is used to compare the actual edge value detected by the actual edge value detection module 33 under the same coordinate axis with the initial edge value obtained by the initial edge value acquisition module 32, and adjust the initial coordinate system and initial coordinate value obtained by the initial coordinate acquisition module 31 according to the comparison result to obtain the test coordinate system and the test coordinate value of the electrode to be detected in the test coordinate system.
[0103] The electrode detection module 35 is used to perform detection on the electrodes to be detected based on the test coordinate system acquired by the test coordinate acquisition module 34 .
[0104] The electrode detection device of the above structure runs the corresponding software program and performs the corresponding functions according to Figure 1 The electrode detection method embodiment and other embodiments of the process of the electrode detection are carried out to achieve the same Figure 1 The corresponding technical effects of the embodiment and other embodiments.
[0105] Figure 4 FIG. 1 is a schematic structural diagram of another embodiment of the electrode detection device of the present invention.
[0106] like Figure 4 As shown, the electrode detection device of this embodiment includes structural units, functions of the structural units and the relationship between them, which are specifically as follows:
[0107] The electrode detection device includes:
[0108] The design coordinate acquisition unit 401 is used to acquire the design coordinate system of the electrode to be detected and the design coordinate value in the design coordinate system.
[0109] The tooling coordinate acquisition unit 402 is used to acquire a tooling coordinate system and tooling coordinate values of a tooling that matches the electrode to be detected.
[0110] The initial coordinate determining unit 403 is used to determine the initial coordinate system and initial coordinate values according to the design coordinate system and design coordinate values obtained by the design coordinate obtaining unit 401 and the tooling coordinate system and tooling coordinate values obtained by the tooling coordinate obtaining unit 402 .
[0111] The initial edge value acquisition module 404 is used to acquire the maximum value of the electrode to be detected under each coordinate axis in the initial coordinate system from the initial coordinate values determined by the initial coordinate determination unit 403 as the initial edge value.
[0112] The actual edge value detection module 405 is used to detect the actual edge value of the electrode to be detected under each coordinate axis in the initial coordinate system determined by the initial coordinate determination unit 403.
[0113] The test coordinate acquisition module 406 is used to compare the actual edge value detected by the actual edge value detection module 405 under the same coordinate axis with the initial edge value obtained by the initial edge value acquisition module 404, and adjust the initial coordinate system and initial coordinate value determined by the initial coordinate determination unit 403 according to the comparison result to obtain the test coordinate system and the test coordinate value of the electrode to be detected in the test coordinate system.
[0114] The actual coordinate value detection unit 407 is used to detect the actual coordinate value of the set detection point on the electrode to be detected in the test coordinate system acquired by the test coordinate acquisition module 406.
[0115] The electrode state determination unit 408 is used to compare the actual coordinate value of the set detection point detected by the actual coordinate value detection unit 407 with the test coordinate value of the set detection point, and determine the state of the electrode to be detected according to the comparison result.
[0116] The coordinate value updating and outputting unit 409 is used to update the design coordinate value of the set detection point acquired by the design coordinate acquiring unit 401 with the actual coordinate value of the set detection point detected by the actual coordinate value detecting unit 407, and output the updated coordinate value.
[0117] The electrode detection device of the above structure runs the corresponding software program and performs the corresponding functions according to Figure 2 The electrode detection method embodiment and other embodiments of the process of the electrode detection are carried out to achieve the same Figure 2 The corresponding technical effects of the embodiment and other embodiments.
[0118] Another embodiment of the present invention further provides a computer storage medium, on which a computer program is stored, and when the computer program is executed by a processor, Figure 1 Example Figure 2 The electrode detection method of the embodiment and other embodiments can achieve the technical effects of the corresponding embodiments.
[0119] The above-mentioned computer storage medium can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk. Computer storage media can be any available storage media that can be accessed by general or special-purpose computers.
[0120] In some embodiments, a computer storage medium is coupled to a processor so that the processor can read information from the storage medium and write information to the storage medium. Of course, the storage medium can also be an integral part of the processor. The processor and the storage medium can be located in an application specific integrated circuit (ASIC). Of course, the processor and the storage medium can also exist in the device as discrete components.
[0121] The above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, it is still possible for a person skilled in the art to modify the technical solutions described in the aforementioned embodiments, or to replace some of the technical features therein by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions claimed to be protected by the present invention.
Claims
1. An electrode detection method, It is characterized in that The method comprises: Acquire an initial coordinate system of the electrode to be detected and an initial coordinate value in the initial coordinate system; Acquire the maximum value of the electrode to be detected under each coordinate axis in the initial coordinate system from the initial coordinate value as the initial edge value; Detecting the actual edge value of the electrode to be detected under each coordinate axis in the initial coordinate system; Compare the actual edge value with the initial edge value under the same coordinate axis, adjust the initial coordinate system and the initial coordinate value according to the comparison result, and obtain a test coordinate system and a test coordinate value of the electrode to be detected in the test coordinate system; Performing detection of the electrode to be detected based on the test coordinate system; Acquiring the initial coordinate system of the electrode to be detected and the initial coordinate value in the initial coordinate system includes: Acquire a design coordinate system of the electrode to be detected and a design coordinate value in the design coordinate system; Acquire a tool coordinate system and tool coordinate values of a tool that matches the electrode to be detected; Determine the initial coordinate system and the initial coordinate value according to the design coordinate system, the design coordinate value, the tooling coordinate system and the tooling coordinate value; Performing detection of the electrode to be detected based on the test coordinate system includes: Detecting the actual coordinate value of the set detection point on the electrode to be detected in the test coordinate system; The actual coordinate value of the set detection point is compared with the test coordinate value of the set detection point, and the state of the electrode to be detected is determined according to the comparison result.
2. The electrode detection method according to claim 1, It is characterized in that Comparing the actual coordinate value of the set detection point with the test coordinate value of the set detection point, and determining the state of the electrode to be detected according to the comparison result, includes: Compare the actual coordinate value of the set detection point with the test coordinate value of the set detection point to obtain the tolerance of the set detection point; Comparing the tolerance of the set detection point with a preset tolerance condition; When the tolerance of the set detection point meets the preset tolerance condition, it is determined that the electrode to be detected is in a qualified state; otherwise, it is determined that the electrode to be detected is in an unqualified state.
3. The electrode detection method according to claim 1 or 2, It is characterized in that The method further comprises: Obtaining a design coordinate value of the set detection point of the electrode to be detected in a design coordinate system of the electrode; The design coordinate value of the set detection point is updated with the actual coordinate value of the set detection point, and the updated coordinate value is output.
4. An electrode detection device, It is characterized in that The device comprises: An initial coordinate acquisition module, used to acquire an initial coordinate system of the electrode to be detected and an initial coordinate value in the initial coordinate system; An initial edge value acquisition module, used to acquire the maximum value of the electrode to be detected under each coordinate axis in the initial coordinate system from the initial coordinate value as the initial edge value; An actual edge value detection module, used to detect the actual edge value of the electrode to be detected under each coordinate axis in the initial coordinate system; A test coordinate acquisition module, used for comparing the actual edge value with the initial edge value under the same coordinate axis, adjusting the initial coordinate system and the initial coordinate value according to the comparison result, and obtaining a test coordinate system and a test coordinate value of the electrode to be detected in the test coordinate system; An electrode detection module, used for performing detection on the electrode to be detected based on the test coordinate system; The initial coordinate acquisition module comprises: A design coordinate acquisition unit, used to acquire a design coordinate system of the electrode to be detected and a design coordinate value in the design coordinate system; A tool coordinate acquisition unit, used to acquire a tool coordinate system and a tool coordinate value of a tool that matches the electrode to be detected; An initial coordinate determining unit, configured to determine the initial coordinate system and the initial coordinate value according to the design coordinate system, the design coordinate value, the tooling coordinate system and the tooling coordinate value; The electrode detection module comprises: An actual coordinate value detection unit, used to detect the actual coordinate value of the set detection point on the electrode to be detected in the test coordinate system; The electrode state determination unit is used to compare the actual coordinate value of the set detection point with the test coordinate value of the set detection point, and determine the state of the electrode to be detected according to the comparison result.
5. The electrode detection device according to claim 4, It is characterized in that The device also includes: A design coordinate acquisition unit, used to acquire a design coordinate system of the electrode to be detected and a design coordinate value in the design coordinate system; The coordinate value updating and outputting unit is used to update the design coordinate value of the set detection point with the actual coordinate value of the set detection point and output the updated coordinate value.
6. A computer-readable storage medium having a computer program stored thereon, It is characterized in that When the computer program is executed by a processor, the electrode detection method according to any one of claims 1 to 3 is implemented.
Citation Information
Patent Citations
Three-dimensional coordinate transformation method and device based on coordinate projection
CN107389028A
Three-coordinate measuring method and device for workpiece, equipment and storage medium
CN112414340A
Automatic analysis method, system and device for coordinate system points of electrode model
CN113342354A
Automatic detection system and method based on three-coordinate measurement equipment
CN113483705A
UG / NX-based multi-workpiece part assembly cooperation detection method and device
CN114266144A
