Method, device and equipment for correcting fixed point of workpiece and medium

By obtaining the fixed-point coordinates and margin values ​​of the workpiece, and combining the preset dimension values ​​of the workpiece, the fixed-point coordinates of the workpiece on the pallet are corrected, which solves the problem of the center deviation of the workpiece on the CNC machine tool, and improves machining accuracy and efficiency.

CN119609733APending Publication Date: 2025-03-14深圳模德宝科技有限公司
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202411744942.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-28
Publication Date
2025-03-14

AI Technical Summary

Technical Problem

In the CNC automated production process, when the workpiece is transferred from a three-coordinate measuring machine to a CNC machine, the center deviation in actual processing is caused by the positioning accuracy and the slight displacement during the handling process, which affects the processing accuracy.

Method used

By obtaining the fixed point coordinates, first margin value and second margin value of the workpiece, combined with the preset dimension value of the workpiece, the initial fixed point coordinates of the workpiece on the workpiece pallet, and correcting them based on the initial fixed point coordinates and the fixed point coordinates of the workpiece to determine the corrected fixed point coordinates of the workpiece.

Benefits of technology

It improves the accuracy of workpiece positioning, ensures that the workpiece can be placed accurately in the expected position, improves machining accuracy and efficiency, and reduces human error.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119609733A_ABST
    Figure CN119609733A_ABST
Patent Text Reader

Abstract

The invention relates to the field of machining, in particular to a method, device and equipment for correcting a fixed point of a workpiece and a medium. The method comprises the steps that workpiece fixed point coordinates, a first edge distance value, a second edge distance value and a workpiece tray original point are obtained, the first edge distance value is a linear distance value between the edge of a workpiece and the edge of a workpiece tray in the first direction, and the second edge distance value is a linear distance value between the edge of the workpiece and the edge of the workpiece tray; the second edge distance value is a linear distance value between the edge of the workpiece and the edge of the workpiece tray in the second direction, and the first direction is perpendicular to the second direction in the horizontal plane direction parallel to the workpiece tray; according to preset size values, the first edge distance value and the second edge distance value of the workpiece, initial fixed point coordinates of the workpiece on the workpiece tray are determined, and the preset size values of the workpiece comprise the lengths of the workpiece in the first direction, the second direction and the third direction; and according to the original point of the workpiece tray, the fixed-point coordinates of the workpiece and a preset error value, the corrected fixed-point coordinates of the workpiece are determined. Automatic fixed-point correction of the workpiece is achieved, and the correction efficiency and precision are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the field of mechanical processing, and in particular, relates to a method, device, equipment and medium for correcting the fixed point of a workpiece. Background Art

[0002] In the current CNC automated production process, workpieces are usually precisely clamped on a special workpiece pallet, and then the entire pallet and workpiece need to be transferred to a coordinate measuring machine (CMM) to measure the precise position of the workpiece. Even if the fixed point value is accurately measured and set on the CMM, when the workpiece is transferred to the CNC machine for processing, it may still cause center deviation in actual processing due to factors such as positioning accuracy and slight displacement during transportation, thereby affecting the processing accuracy. Summary of the invention

[0003] The purpose of the present application is to provide a method, device, equipment and medium for correcting the fixed point of a workpiece, which can improve the accuracy of positioning.

[0004] In a first aspect, an embodiment of the present application provides a method for correcting a workpiece fixed point, the method comprising:

[0005] Obtaining fixed-point coordinates, a first margin value, and a second margin value of a workpiece, wherein the first margin value is a straight-line distance value between an edge of the workpiece and an edge of a workpiece pallet in a first direction, and the second margin value is a straight-line distance value between an edge of the workpiece and an edge of the workpiece pallet in a second direction, and the first direction and the second direction are perpendicular in a direction parallel to a horizontal plane of the workpiece pallet;

[0006] Determine the initial fixed point coordinates of the workpiece on the workpiece pallet according to the preset size value of the workpiece, the first margin value and the second margin value, wherein the preset size value of the workpiece includes the length of the workpiece in the first direction, the second direction and the third direction, and the third direction is perpendicular to the surface of the workpiece pallet;

[0007] The corrected workpiece fixed-point coordinates are determined according to the initial fixed-point coordinates and the fixed-point coordinates of the workpiece.

[0008] In a possible implementation of the first aspect, determining the initial center value coordinates of the workpiece on the workpiece pallet according to the fixed-point coordinates, the size value, the first margin value, and the second margin value of the workpiece includes:

[0009] According to the size value of the workpiece and the fixed-point coordinates of the workpiece, a third margin value, a fourth margin value and a height value of the workpiece are determined, wherein the third margin value is a straight-line distance value between the edge of the workpiece and the fixed-point of the workpiece in the first direction, the fourth margin value is a straight-line distance value between the edge of the workpiece and the fixed-point of the workpiece in the second direction, and the height value is a straight-line distance value between the highest point of the workpiece in the third direction and the surface of the workpiece pallet;

[0010] The initial fixed point coordinates of the workpiece on the workpiece pallet are determined according to the first margin value, the second margin value, the third margin value, the fourth margin value and the height value.

[0011] In a possible implementation of the first aspect, determining the initial fixed point coordinates of the workpiece on the workpiece pallet according to the first margin value, the second margin value, the third margin value, the fourth margin value and the height value includes:

[0012] Determine a coordinate value of the workpiece in a first direction on the workpiece pallet according to the first margin value and the third margin value;

[0013] Determining a coordinate value of the workpiece in a second direction on the workpiece pallet according to the second margin value and the fourth margin value;

[0014] The coordinate value of the workpiece in the third direction on the workpiece pallet is determined according to the height value.

[0015] In a possible implementation manner of the first aspect, determining the coordinate value of the workpiece in a first direction on the workpiece pallet according to the first margin value and the third margin value includes:

[0016] The first margin value and the third margin value are added to determine the coordinate value of the workpiece in a first direction on the workpiece pallet.

[0017] In a possible implementation manner of the first aspect, determining the coordinate value of the workpiece in the second direction on the workpiece pallet according to the second margin value and the fourth margin value includes:

[0018] The second margin value and the fourth margin value are added to determine the coordinate value of the workpiece in the second direction on the workpiece pallet.

[0019] In a possible implementation manner of the first aspect, determining the corrected workpiece fixed-point coordinates according to the initial fixed-point coordinates, the fixed-point coordinates of the workpiece, and a preset error value includes:

[0020] Determining the fixed-point coordinates of the machine tool according to the initial fixed-point coordinates and the fixed-point coordinates of the workpiece;

[0021] The corrected workpiece fixed-point coordinates are determined according to the machine tool fixed-point coordinates and the preset error value.

[0022] In a possible implementation manner of the first aspect, determining the fixed-point coordinates of the machine tool according to the initial fixed-point coordinates and the fixed-point coordinates of the workpiece includes:

[0023] Subtract the coordinate value in the first direction of the initial fixed point from the first direction coordinate of the fixed point of the workpiece to determine the coordinate value in the first direction of the fixed point of the machine tool;

[0024] Subtract the y-axis coordinate value of the initial fixed point from the second direction coordinate of the fixed point of the workpiece to determine the coordinate value of the second direction of the fixed point of the machine tool;

[0025] The third direction coordinate value of the workpiece fixed point is assigned to the third direction coordinate value of the machine tool fixed point.

[0026] In a second aspect, the present application further provides a device for correcting workpiece fixed points, the device having the function of implementing the method in the first aspect or any possible implementation thereof. Specifically, the device includes a unit for implementing the method in the first aspect or any possible implementation thereof.

[0027] In one embodiment, the device comprises:

[0028] An acquisition unit is used to obtain the fixed-point coordinates, a first margin value, and a second margin value of a workpiece, wherein the first margin value is a straight-line distance value between an edge of the workpiece and an edge of a workpiece pallet in a first direction, and the second margin value is a straight-line distance value between an edge of the workpiece and an edge of the workpiece pallet in a second direction, and the first direction and the second direction are perpendicular in a direction parallel to a horizontal plane of the workpiece pallet;

[0029] A processing unit, for determining the initial fixed-point coordinates of the workpiece on the workpiece pallet according to a preset size value of the workpiece, a first margin value, and a second margin value, wherein the preset size value of the workpiece includes the length of the workpiece in a first direction, a second direction, and a third direction, wherein the third direction is perpendicular to the surface of the workpiece pallet;

[0030] The correction unit is used to determine the corrected workpiece fixed-point coordinates according to the initial fixed-point coordinates and the workpiece fixed-point coordinates.

[0031] In a third aspect, the present application further provides an electronic device. The electronic device includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, a method for implementing any one of the implementation modes of the first aspect is implemented.

[0032] In a fourth aspect, the present application further provides a computer-readable storage medium. The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method of any one of the implementation modes of the first aspect is implemented.

[0033] In a fifth aspect, the present application further provides a computer program product, which, when executed on an electronic device, enables the electronic device to execute any one of the methods of the first aspect.

[0034] Compared with the prior art, the embodiments of the present invention have the following beneficial effects:

[0035] The present application determines and corrects the fixed-point coordinates of the workpiece on the pallet through the preset fixed points, margin values ​​and preset error rates of the workpiece, thereby ensuring that the workpiece can be accurately placed at the expected position, thereby improving the accuracy and efficiency of determining the fixed-point coordinates. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0037] Figure 1 A schematic diagram of a flow chart of a method for correcting workpiece positioning provided in the present application;

[0038] Figure 2 An environmental application diagram of an embodiment provided by the present application;

[0039] Figure 3 A schematic diagram of a flow chart of an embodiment provided in this application;

[0040] Figure 4 A schematic diagram of a flow chart of an embodiment provided in this application;

[0041] Figure 5 A schematic diagram of a flow chart of an embodiment provided in this application;

[0042] Figure 6 A schematic diagram of a flow chart of an embodiment provided in this application;

[0043] Figure 7 A schematic diagram of a flow chart of an embodiment provided in this application;

[0044] Figure 8 A schematic diagram of the structure of the calibration point device provided in this application;

[0045] Fig. 9 A schematic diagram of the structure of the electronic device provided in this application. DETAILED DESCRIPTION

[0046] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0047] Figure 1This is a schematic diagram of a method for correcting workpiece fixed points provided by the present application. Figure 1 As shown, including:

[0048] S101, obtaining the fixed-point coordinates of the workpiece, a first margin value, a second margin value, and the origin of the workpiece pallet, wherein the first margin value is the straight-line distance between the edge of the workpiece and the edge of the workpiece pallet in the first direction, and the second margin value is the straight-line distance between the edge of the workpiece and the edge of the workpiece pallet in the second direction, and the first direction and the second direction are perpendicular to a horizontal plane parallel to the workpiece pallet;

[0049] S102, determining the initial fixed point coordinates of the workpiece on the workpiece pallet according to the preset size value of the workpiece, the first margin value and the second margin value, wherein the preset size value of the workpiece includes: the length of the workpiece in the first direction, the second direction and the third direction, wherein the third direction is perpendicular to the surface of the workpiece pallet;

[0050] S103, determining the corrected fixed-point coordinates of the workpiece according to the origin of the workpiece pallet, the fixed-point coordinates of the workpiece and a preset error value.

[0051] It should be noted that fixed point means that during the processing, the workpiece is accurately placed or fixed at a preset position through fixtures, positioning devices or other means. The preset position is determined in advance based on factors such as processing technology requirements, workpiece size and shape, to ensure processing accuracy and consistency.

[0052] Furthermore, the fixed-point coordinate of the workpiece may be the center point of the workpiece, and the origin of the workpiece pallet may be any point, which is not limited here.

[0053] like Figure 2 As shown, for example, it is assumed that the fixed-point coordinate of the workpiece is the center point, the lower left corner of the workpiece pallet is the origin, d1 to the right of the origin is the first direction, d2 perpendicular to d1 is the second direction, d3 perpendicular to the origin is the third direction, the workpiece is 10 cm long, 6 cm wide, and 2 cm high, the preset error value is 0.1 cm, the first margin at this time is 12 cm, and the second margin is 16 cm. According to the center point of the workpiece and the length of the workpiece, the coordinates of the center point of the workpiece in the direction of d1 are 17, the coordinates of the center point of the workpiece in the direction of d2 are 19, and the coordinates of the center point of the workpiece in the direction of d3 are 2. The initial fixed-point coordinates of the workpiece are (17, 19, 2). The initial fixed-point coordinates of the workpiece are corrected according to the preset error value. For example, the preset error value is +0.1, and the corrected fixed-point coordinates are (17.1, 19.1, 2.1).

[0054] The present application calculates the initial fixed-point coordinates according to the fixed-point coordinates of the workpiece, the first margin value and the second margin value, and performs correction accordingly, which has the significant advantages of improving processing accuracy, reducing human errors and enhancing processing flexibility.

[0055] In an embodiment that can be implemented in the present application, the method further includes: aligning a fourth direction preset for the workpiece with the first direction, and aligning a fifth direction preset for the workpiece with the second direction, so that the workpiece reaches a preset angle on the workpiece pallet. The fourth direction corresponds to the direction of the first margin value, and the fifth direction corresponds to the direction of the second margin value.

[0056] The present application ensures that the workpiece maintains a stable posture and position during the processing by accurately aligning the direction of the workpiece, thereby reducing the processing error caused by the position deviation of the workpiece and improving the processing accuracy and product quality.

[0057] In one embodiment that can be implemented in this application, Figure 3 It is a flowchart of an embodiment provided by the present application.

[0058] Determining the initial center value coordinates of the workpiece on the workpiece pallet according to the fixed point coordinates, the size value, the first margin value and the second margin value of the workpiece includes:

[0059] S301, determining a third margin value, a fourth margin value and a height value of the workpiece according to the size value of the workpiece and the fixed point coordinates of the workpiece, wherein the third margin value is a straight-line distance value between the edge of the workpiece and the fixed point of the workpiece in the first direction, the fourth margin value is a straight-line distance value between the edge of the workpiece and the fixed point of the workpiece in the second direction, and the height value is a straight-line distance value between the highest point of the workpiece in the third direction and the surface of the workpiece pallet;

[0060] S302, determining the initial fixed point coordinates of the workpiece on the workpiece pallet according to the first margin value, the second margin value, the third margin value, the fourth margin value and the height value.

[0061] This application significantly improves the efficiency of workpiece placement and subsequent processing on the pallet through automated measurement, calculation and positioning.

[0062] In an embodiment that can be implemented in this application, Figure 4 It is a flowchart of an embodiment provided by the present application.

[0063] Determining the initial fixed point coordinates of the workpiece on the workpiece pallet according to the first margin value, the second margin value, the third margin value, the fourth margin value and the height value includes:

[0064] S401, determining a coordinate value of the workpiece in a first direction on the workpiece pallet according to the first margin value and the third margin value;

[0065] S402, determining a coordinate value of the workpiece in a second direction on the workpiece pallet according to the second margin value and the fourth margin value;

[0066] S403: Determine the coordinate value of the workpiece in the third direction on the workpiece pallet according to the height value.

[0067] For example, Figure 2 As shown, the third margin and the fourth margin of the workpiece are calculated. Assuming that the workpiece is 10 cm long, 6 cm wide, and 2 cm high, the center point of the workpiece is the fixed point. The distance from the center point of the workpiece to the edge of the workpiece in the first direction is 5 cm, that is, the third margin is 5 cm, and the distance from the center point of the workpiece to the edge of the workpiece in the second direction is 3 cm, that is, the fourth margin is 3 cm. If the first margin is 8 cm and the second margin is 10 cm, the initial fixed point coordinates are obtained according to the first margin, the second margin, the third margin, the fourth margin and the height of the workpiece as (13, 13, 2).

[0068] In an embodiment that can be implemented in the present application, determining the coordinate value of the workpiece in the first direction on the workpiece pallet according to the first margin value and the third margin value includes:

[0069] The first margin value and the third margin value are added to determine the coordinate value of the workpiece in a first direction on the workpiece pallet.

[0070] The present application calculates the initial fixed-point coordinates of the workpiece by measuring the first margin, the second margin, the third margin and the fourth margin, realizes automation when determining the fixed-point coordinates, and improves the efficiency of determining the fixed-point coordinates.

[0071] In an embodiment that can be implemented in this application, Figure 5 The method of determining the corrected workpiece fixed-point coordinates according to the origin of the workpiece pallet, the fixed-point coordinates of the workpiece and the preset error rate includes:

[0072] S501, determining the fixed-point coordinates of the machine tool according to the origin of the workpiece pallet and the fixed-point coordinates of the workpiece;

[0073] S502, determining the corrected workpiece fixed-point coordinates according to the machine tool fixed-point coordinates and a preset error rate.

[0074] In an embodiment that can be implemented in this application, Figure 6 It is a flowchart of an embodiment provided by the present application.

[0075] Determining the fixed-point coordinates of the machine tool according to the origin of the workpiece pallet and the fixed-point coordinates of the workpiece includes:

[0076] S601, subtracting the coordinate value of the initial fixed point in the first direction from the coordinate value of the workpiece pallet origin in the first direction to determine the coordinate value of the machine tool fixed point in the first direction;

[0077] S602, adding the coordinate value of the second direction of the origin of the workpiece pallet to the coordinate value of the second direction of the initial fixed point to determine the coordinate value of the second direction of the machine tool fixed point;

[0078] S603, assigning the third direction coordinate value of the fixed point of the workpiece to the third direction coordinate value of the fixed point of the machine tool.

[0079] This application converts the fixed-point coordinates of the workpiece into the fixed-point coordinates of the workpiece on the machine tool through this step, laying the foundation for subsequent precise processing.

[0080] For example, Figure 7 As shown, the lower right corner of the workpiece pallet is set as the origin (0, 0, 0). Suppose the detected size of the workpiece is 14 cm in length in the direction of d1, 8 cm in width in the direction of d2, and 3 cm in height on d3. According to the size of the workpiece, x1 is calculated to be 7 cm, y1 is 4 cm, and x2 is measured to be 2 cm, y2 is 8 cm. The coordinates of the initial fixed point of the workpiece calculated according to x1, x2, y1 and y2 are (9, 12, 3). The fixed point coordinates of the workpiece on the machine tool calculated according to the initial fixed point coordinates and the origin coordinates are (-9, 12, 3).

[0081] The above mainly introduces the method of the embodiment of the present application in conjunction with the accompanying drawings. It should be noted that all the numerical values ​​appearing in the above are only used for examples and do not constitute specific limitations on the present application. At the same time, it should be understood that although the various steps in the flowcharts involved in the various embodiments described above are displayed in sequence, these steps are not necessarily performed in sequence in the order shown in the figure. Unless there is a clear description in this article, the execution of these steps is not strictly limited in order, and these steps can be performed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the various embodiments described above may include multiple steps or multiple stages, and these steps or stages are not necessarily performed at the same time, but can be performed at different times, and the execution order of these steps or stages is not necessarily performed in sequence, but can be performed in turn or alternately with other steps or at least a part of the steps or stages in other steps. The device of the embodiment of the present application is introduced below in conjunction with the accompanying drawings. For simplicity, when introducing the device below, it will be appropriately omitted, and the relevant content can refer to the relevant description in the above method introduction, and will not be repeated.

[0082] Figure 8 It is a structural schematic diagram of a device for correcting the fixed point of a workpiece provided in an embodiment of the present application.

[0083] like Figure 8 As shown, the device 800 includes a collection unit 801, a processing unit 802 and a correction unit 803. The device 800 can perform any of the above methods for correcting the fixed point of a workpiece. For example, the collection unit 801 can be used to perform step S101, the processing unit 802 can be used to perform step S102, and for another example, the correction unit 803 can be used to perform step S103.

[0084] Specifically, the acquisition unit 801 is used to obtain the fixed-point coordinates, the first margin value and the second margin value of the workpiece, wherein the first margin value is the straight-line distance value between the edge of the workpiece and the edge of the workpiece pallet in the first direction, and the second margin value is the straight-line distance value between the edge of the workpiece and the edge of the workpiece pallet in the second direction, and the first direction and the second direction are perpendicular to the horizontal plane parallel to the workpiece pallet;

[0085] A processing unit 802 is used to determine the initial fixed point coordinates of the workpiece on the workpiece pallet according to the preset size value of the workpiece, the first margin value and the second margin value, wherein the preset size value of the workpiece includes the length of the workpiece in the first direction, the second direction and the third direction, and the third direction is perpendicular to the surface of the workpiece pallet;

[0086] The correction unit 803 is used to determine the corrected workpiece fixed-point coordinates according to the initial fixed-point coordinates and the workpiece fixed-point coordinates.

[0087] Fig. 9 Schematic diagram of the structure of the electronic device provided in the embodiment of the present application. Fig. 9 As shown, the electronic device 900 of this embodiment includes: at least one processor 901 ( Fig. 9 Only one is shown), a memory 902, and a computer program 903 stored in the memory 902 and executable on at least one processor 901, where the processor 901 implements the steps in the above embodiments when executing the computer program 903.

[0088] The processor 901 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc.

[0089] In some embodiments, the memory 902 may be an internal storage unit of the electronic device 900, such as a hard disk or memory of the electronic device 900. In other embodiments, the memory 902 may also be an external storage device of the electronic device 800, such as a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), etc. equipped on the electronic device 900. Further, the memory 902 may also include both an internal storage unit of the electronic device 900 and an external storage device. The memory 902 is used to store an operating system, an application program, a boot loader (Boot Loader) data, and other programs, such as program codes of a computer program, etc. The memory 902 may also be used to temporarily store data that has been output or is to be output.

[0090] It should be noted that the information interaction, execution process and other contents between the above-mentioned units are based on the same concept as the method embodiment of the present application. Their specific functions and technical effects can be found in the method embodiment part and will not be repeated here.

[0091] Those skilled in the art can clearly understand that, for the convenience and simplicity of description, only the division of the above-mentioned functional units is used as an example for illustration. In practical applications, the above-mentioned function allocation can be completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units in the embodiment can be integrated into a processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the units in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here.

[0092] The embodiment of the present application further provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, the steps in the above-mentioned method embodiments can be implemented.

[0093] The embodiments of the present application provide a computer program product, which can implement the above methods when the computer program product is run on a computer.

[0094] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present application implements all or part of the processes in the above-mentioned embodiment method, which can be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by the processor. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may at least include: any entity or device that can carry the computer program code to the camera / electronic device, recording medium, computer memory, read-only memory (ROM), random access memory (RAM), electric carrier signal, telecommunication signal and software distribution medium. For example, a USB flash drive, a mobile hard disk, a magnetic disk or an optical disk. In some jurisdictions, according to legislation and patent practice, computer-readable media cannot be electric carrier signals and telecommunication signals.

[0095] It should be understood that the size of the sequence number of each step in the above-described embodiment does not mean the order of execution, and the order of execution of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiment of the present application. In the description, for the purpose of explanation rather than for limitation, specific details such as specific system structure, technology and the like are proposed, so as to thoroughly understand the embodiment of the present application. However, it should be clear to those skilled in the art that the present application can also be implemented in other embodiments without these specific details. In other cases, the detailed description of well-known systems, devices, circuits and methods is omitted to prevent unnecessary details from hindering the description of the present application.

[0096] It should be understood that when used in the present specification and the appended claims, the term "comprising" indicates the presence of described features, wholes, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components and / or combinations thereof.

[0097] It should also be understood that the term “and / or” used in the specification and appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes these combinations.

[0098] Additionally, in the specification of the present application and the description of the appended claims, the terms “include,” “comprise,” “have,” and their variations all mean “including but not limited to,” unless otherwise specifically emphasized.

[0099] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0100] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0101] In the embodiments provided in the present application, it should be understood that the disclosed devices, computer equipment and methods can be implemented in other ways. For example, the device and computer equipment embodiments described above are only schematic. For example, the division of units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0102] The embodiments described above are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, a person skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.

Claims

1. A method for correcting a workpiece fixed point, characterized in that: include: Obtaining the fixed-point coordinates of the workpiece, a first margin value, a second margin value, and the origin of the workpiece pallet, wherein the first margin value is the straight-line distance between the edge of the workpiece and the edge of the workpiece pallet in the first direction, and the second margin value is the straight-line distance between the edge of the workpiece and the edge of the workpiece pallet in the second direction, and the first direction and the second direction are perpendicular to a horizontal plane parallel to the workpiece pallet; Determine the initial fixed point coordinates of the workpiece on the workpiece pallet according to the preset size value of the workpiece, the first margin value and the second margin value, wherein the preset size value of the workpiece includes the length of the workpiece in the first direction, the second direction and the third direction, and the third direction is perpendicular to the surface of the workpiece pallet; The corrected workpiece fixed-point coordinates are determined according to the origin of the workpiece pallet, the fixed-point coordinates of the workpiece and a preset error value.

2. The method according to claim 1, characterized in that Determining the initial center value coordinates of the workpiece on the workpiece pallet according to the fixed point coordinates, the size value, the first margin value and the second margin value of the workpiece includes: According to the size value of the workpiece and the fixed-point coordinates of the workpiece, a third margin value, a fourth margin value and a height value of the workpiece are determined, wherein the third margin value is a straight-line distance value between the edge of the workpiece and the fixed-point of the workpiece in the first direction, the fourth margin value is a straight-line distance value between the edge of the workpiece and the fixed-point of the workpiece in the second direction, and the height value is a straight-line distance value between the highest point of the workpiece in the third direction and the surface of the workpiece pallet; The initial fixed point coordinates of the workpiece on the workpiece pallet are determined according to the first margin value, the second margin value, the third margin value, the fourth margin value and the height value.

3. The method according to claim 2, characterized in that Determining the initial fixed point coordinates of the workpiece on the workpiece pallet according to the first margin value, the second margin value, the third margin value, the fourth margin value and the height value includes: Determine a coordinate value of the workpiece in a first direction on the workpiece pallet according to the first margin value and the third margin value; Determining a coordinate value of the workpiece in a second direction on the workpiece pallet according to the second margin value and the fourth margin value; The coordinate value of the workpiece in the third direction on the workpiece pallet is determined according to the height value.

4. The method according to claim 3, characterized in that Determining the coordinate value of the workpiece in a first direction on the workpiece pallet according to the first margin value and the third margin value includes: The first margin value and the third margin value are added to determine the coordinate value of the workpiece in a first direction on the workpiece pallet.

5. The method according to claim 3, characterized in that: Determining the coordinate value of the workpiece in the second direction on the workpiece pallet according to the second margin value and the fourth margin value includes: The second margin value and the fourth margin value are added to determine the coordinate value of the workpiece in the second direction on the workpiece pallet.

6. The method according to claim 1, characterized in that Determining the corrected workpiece fixed-point coordinates according to the origin of the workpiece pallet, the fixed-point coordinates of the workpiece and a preset error value includes: Determining the fixed-point coordinates of the machine tool according to the origin of the workpiece pallet and the fixed-point coordinates of the workpiece; The corrected workpiece fixed-point coordinates are determined according to the machine tool fixed-point coordinates and the preset error value.

7. The method according to claim 1, characterized in that Determining the fixed-point coordinates of the machine tool according to the initial fixed-point coordinates and the fixed-point coordinates of the workpiece includes: Subtract the coordinate value of the first direction of the initial fixed point from the coordinate value of the first direction of the workpiece pallet origin to determine the coordinate value of the first direction of the machine tool fixed point; The coordinate value of the second direction of the machine tool fixed point is determined by subtracting the y-axis coordinate value of the initial fixed point from the second direction coordinate of the workpiece pallet origin; The third direction coordinate value of the workpiece fixed point is assigned to the third direction coordinate value of the machine tool fixed point.

8. A device for correcting the fixed point of a workpiece, characterized in that: include: An acquisition unit is used to obtain the fixed-point coordinates of the workpiece, a first margin value, a second margin value, and an origin of a workpiece pallet, wherein the first margin value is a straight-line distance value between an edge of the workpiece and an edge of the workpiece pallet in a first direction, and the second margin value is a straight-line distance value between an edge of the workpiece and an edge of the workpiece pallet in a second direction, and the first direction and the second direction are perpendicular in a direction parallel to a horizontal plane of the workpiece pallet; A processing unit, for determining the initial fixed-point coordinates of the workpiece on the workpiece pallet according to a preset size value of the workpiece, a first margin value, and a second margin value, wherein the preset size value of the workpiece includes the length of the workpiece in a first direction, a second direction, and a third direction, wherein the third direction is perpendicular to the surface of the workpiece pallet; The correction unit is used to determine the corrected workpiece fixed-point coordinates according to the workpiece pallet origin, the workpiece fixed-point coordinates and a preset error value.

9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the electronic device implements the method according to any one of claims 1 to 8.

10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by an electronic device, the method according to any one of claims 1 to 8 is implemented.

Citation Information

Patent Citations

  • Tool setting method and device of numerical control machine tool, electronic equipment and storage medium

    CN109732399A

  • Workpiece positioning method and device and workpiece machining method and device

    CN115533565A

  • Central point identification method, central point identification device and computer storage medium

    CN118212291A

  • Correction program and recording medium recording the same

    JP2014113674A