CN117994807A - Workpiece plane point position correction method and device, electronic equipment and storage medium - Google Patents

Workpiece plane point position correction method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN117994807A
CN117994807A CN202410168309.5A CN202410168309A CN117994807A CN 117994807 A CN117994807 A CN 117994807A CN 202410168309 A CN202410168309 A CN 202410168309A CN 117994807 A CN117994807 A CN 117994807A
Authority
CN
China
Prior art keywords
target
point
offset
point position
correction
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202410168309.5A
Other languages
Chinese (zh)
Inventor
卜训松
金鳞
屈国超
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Bozhon Precision Industry Technology Co Ltd
Original Assignee
Bozhon Precision Industry 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 Bozhon Precision Industry Technology Co Ltd filed Critical Bozhon Precision Industry Technology Co Ltd
Priority to CN202410168309.5A priority Critical patent/CN117994807A/en
Publication of CN117994807A publication Critical patent/CN117994807A/en
Pending legal-status Critical Current

Links

Landscapes

  • Numerical Control (AREA)

Abstract

The invention discloses a workpiece plane point position correction method, a device, electronic equipment and a storage medium. Wherein the method comprises the following steps: determining a target calibration point according to a target engineering drawing, and collecting a target offset point corresponding to the target calibration point; determining an offset distance and an offset angle according to the position relation between the target calibration point and the target offset point; and carrying out point position correction on the operation point position of the target engineering drawing based on the offset distance and the offset angle. According to the embodiment of the invention, the operation point position of the target engineering drawing is subjected to point position correction according to the offset distance and the offset angle between the target calibration point position and the corresponding target offset point position by selecting one target calibration point position, so that the efficiency and the accuracy of point position correction are improved, and the operation is simple and convenient.

Description

Workpiece plane point position correction method and device, electronic equipment and storage medium
Technical Field
The present invention relates to the field of control technologies, and in particular, to a method and apparatus for correcting a plane point location of a workpiece, an electronic device, and a storage medium.
Background
With the continuous development of industrial automation technology, enterprises are becoming a great trend to replace manual work by a large amount of automation equipment, especially in industries such as mechano-electronic manufacturing, assembly and the like. Many automatic devices are involved in multi-point movement, and the correction of the points is generally performed in a manual visual mode, so that the problems of low point-to-point efficiency, low precision and the like are caused, and the debugging cost and difficulty of the device are increased intangibly.
Disclosure of Invention
The invention provides a method, a device, electronic equipment and a storage medium for correcting point positions of a workpiece plane, so as to improve the efficiency and the precision of point position correction.
According to an aspect of the present invention, there is provided a workpiece plane point position correction method, the method comprising:
Determining a target calibration point according to a target engineering drawing, and collecting a target offset point corresponding to the target calibration point;
determining an offset distance and an offset angle according to the position relation between the target calibration point and the target offset point;
And carrying out point position correction on the operation point position of the target engineering drawing based on the offset distance and the offset angle.
According to another aspect of the present invention, there is provided a workpiece plane point position correction device comprising:
The target offset point acquisition module is used for determining a target calibration point according to a target engineering drawing and acquiring a target offset point corresponding to the target calibration point;
The offset distance and angle determining module is used for determining an offset distance and an offset angle according to the position relation between the target calibration point and the target offset point;
The point position correction module is used for carrying out point position correction on the operation point position of the target engineering drawing based on the offset distance and the offset angle.
According to another aspect of the present invention, there is provided an electronic apparatus including:
at least one processor; and
A memory communicatively coupled to the at least one processor; wherein,
The memory stores a computer program executable by the at least one processor to enable the at least one processor to perform the workpiece plane point location correction method according to any one of the embodiments of the invention.
According to another aspect of the present invention, there is provided a computer readable storage medium storing computer instructions for causing a processor to implement the method for workpiece plane point location correction according to any of the embodiments of the present invention when executed.
According to the technical scheme, the target calibration point positions are determined according to the target engineering drawing, and the target offset point positions corresponding to the target calibration point positions are acquired; determining an offset distance and an offset angle according to the position relation between the target calibration point and the target offset point; and carrying out point position correction on the operation point position of the target engineering drawing based on the offset distance and the offset angle. According to the embodiment of the invention, the operation point position of the target engineering drawing is subjected to point position correction according to the offset distance and the offset angle between the target calibration point position and the corresponding target offset point position by selecting one target calibration point position, so that the efficiency and the accuracy of point position correction are improved, and the operation is simple and convenient.
It should be understood that the description in this section is not intended to identify key or critical features of the embodiments of the invention or to delineate the scope of the invention. Other features of the present invention will become apparent from the description that follows.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for the description of the embodiments will be briefly described below, and it is apparent that the drawings in the following description are only some embodiments of the present invention, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flowchart of a method for correcting point positions of a workpiece plane according to a first embodiment of the invention;
fig. 2 is a flowchart of a method for correcting a workpiece plane point location according to a second embodiment of the present invention;
fig. 3 is a flowchart of a method for correcting a workpiece plane point location according to a third embodiment of the present invention;
FIG. 4 is a schematic illustration of a dot offset provided in accordance with a third embodiment of the present invention;
fig. 5 is a schematic structural diagram of a workpiece plane point position correction device according to a fourth embodiment of the present invention;
Fig. 6 is a schematic structural diagram of an electronic device for implementing the method for correcting the plane point position of the workpiece according to the embodiment of the invention.
Detailed Description
In order that those skilled in the art will better understand the present invention, a technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in which it is apparent that the described embodiments are only some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the present invention without making any inventive effort, shall fall within the scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and the claims of the present invention and the above figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the invention described herein may be implemented in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Example 1
Fig. 1 is a flowchart of a method for correcting a point on a plane of a workpiece according to an embodiment of the present invention, where the method may be performed by a device for correcting a point on a plane of a workpiece, and the device for correcting a point on a plane of a workpiece may be implemented in hardware and/or software, and the device for correcting a point on a plane of a workpiece may be configured in an electronic device. As shown in fig. 1, the method for correcting the plane point position of the workpiece provided in the first embodiment specifically includes the following steps:
S110, determining a target calibration point according to the target engineering drawing, and collecting a target offset point corresponding to the target calibration point.
The target engineering drawing may be a CAD drawing or the like, and the target engineering drawing may include a plurality of operation points.
The target calibration point location may be a calibration point location selected from a plurality of point locations in the target engineering drawing for subsequent point location correction. The target offset point may refer to a point to which the device actually moves on the workpiece plane according to the target calibration point.
Specifically, because of uncontrollable factors such as equipment faults and uneven heights of a workpiece plane, the point position of the equipment moving on the workpiece plane is deviated, namely the point position should be moved to the point position Q originally, but the point position Q' is actually moved, if the subsequent working point position is not corrected, the deviation is eliminated, and serious consequences such as product processing errors can be caused. In order to solve the above problems, in the embodiment of the present invention, one selected from a plurality of points in a target engineering drawing is used as a target calibration point, where the target calibration point represents an expected calibration point, and then the acquisition device performs overall point calibration on an operation point of the target engineering drawing according to a point where the target calibration point actually moves on a workpiece plane, that is, a target offset point, according to a relative positional relationship between the target calibration point and the target offset point.
S120, determining the offset distance and the offset angle according to the position relation between the target calibration point and the target offset point.
In the embodiment of the invention, after the target offset point corresponding to the target calibration point is acquired, the point distance between the two points and the included angle between the connecting line of the two points and the horizontal direction can be determined based on the position relation between the two points, and the point distance and the included angle can be used as the offset distance and the offset angle of the subsequent point correction because the points are all offset integrally. In a specific embodiment, a target calibration point in a target engineering drawing may be converted into a rectangular coordinate system where a working plane is located in advance, then the acquisition device determines a linear distance between the target calibration point and the target offset point as an offset distance according to a target offset point where the target calibration point is actually moved on a workpiece plane, determines a linear slope between the target calibration point and the target offset point, and uses an arctangent function value corresponding to the linear slope as an offset angle.
S130, performing point location correction on the operation point location of the target engineering drawing based on the offset distance and the offset angle.
In the embodiment of the invention, as the point positions are all offset integrally, the operation point positions in the target engineering drawing can be corrected according to the obtained offset distance and offset angle, and the point position coordinates of each working point position after correction can be sequentially determined by calling a pre-configured coordinate correction formula based on the obtained offset distance and offset angle, so that the point positions on the workpiece plane are corrected, the point position deviation is eliminated, and serious consequences such as product processing errors are avoided.
According to the technical scheme, the target calibration point positions are determined according to the target engineering drawing, and the target offset point positions corresponding to the target calibration point positions are acquired; determining an offset distance and an offset angle according to the position relation between the target calibration point and the target offset point; and carrying out point position correction on the operation point position of the target engineering drawing based on the offset distance and the offset angle. According to the embodiment of the invention, the operation point position of the target engineering drawing is subjected to point position correction according to the offset distance and the offset angle between the target calibration point position and the corresponding target offset point position by selecting one target calibration point position, so that the efficiency and the accuracy of point position correction are improved, and the operation is simple and convenient.
Example two
Fig. 2 is a flowchart of a workpiece plane point location correction method according to a second embodiment of the present invention, which is further optimized and expanded based on the foregoing embodiments, and may be combined with each of the optional technical solutions in the foregoing embodiments. As shown in fig. 2, the method for correcting the plane point position of the workpiece provided in the second embodiment specifically includes the following steps:
s210, taking any point position in the target engineering drawing as a target calibration point position.
In the embodiment of the invention, a point position can be randomly selected from the target engineering drawing as a target calibration point position for subsequent point position correction, and in practical application, the first working point position in the target engineering drawing can also be selected as the target calibration point position.
S220, determining a target offset point to which the target equipment actually moves according to the target calibration point on the target workpiece plane, and collecting coordinates corresponding to the target offset point.
In the embodiment of the invention, the target equipment can acquire the coordinates corresponding to the target offset point according to the point actually moved by the target calibration point on the target workpiece plane, namely the target offset point.
Further, on the basis of the embodiment of the invention, the method further comprises the following steps: and converting the coordinate system of the operation point position in the target engineering drawing into the coordinate system of the target offset point position.
In the embodiment of the invention, before performing the point location correction operation, the coordinate system of each operation point location in the target engineering drawing may be converted into the coordinate system where the target offset point is located, where the coordinate system where the target offset point is located, that is, the coordinate system where the target workpiece plane is located, specifically, one reference point O (x 0,y0) may be selected in the coordinate system where the target workpiece plane is located, and then, according to the position information of each operation point location in the target engineering drawing, the horizontal distance Lx i and the vertical distance Ly i of each operation point location relative to the reference point O in the coordinate system where the target workpiece plane is located are determined, so as to obtain the expected point location coordinate P i(xi,yi of each operation point location corresponding to the coordinate system where the target workpiece plane is located, where x i=Lxi-x0,yi=Lyi-y0 is located.
S230, determining a straight line distance between the target calibration point and the target offset point as an offset distance.
S240, determining the slope of a straight line between the target calibration point and the target offset point, and taking an arctangent function value corresponding to the slope of the straight line as an offset angle.
In the embodiment of the invention, the corresponding offset angle can be determined by utilizing the slope of the straight line between the target calibration point and the target offset point, in practical application, the included angle between the connecting line of the two points and the horizontal direction (X axis), namely the offset angle, can be determined by adopting other methods, the embodiment of the invention is not particularly limited to the above, and an example can be that a right angle is constructed by taking the connecting line of the two points as the bevel edge, the side lengths of three sides of the right angle can be known by utilizing the point coordinates of the two points, and then the cosine value of the included angle between the connecting line of the two points and the X axis can be obtained by utilizing the cosine theorem, so that the corresponding included angle, namely the offset angle, can be obtained.
S250, obtaining expected point position coordinates corresponding to each operation point position of the target engineering drawing.
In the embodiment of the invention, the coordinate system of each operation point in the target engineering drawing can be converted into the coordinate system of the target offset point, namely the coordinate system of the target workpiece plane, so as to obtain the expected point position coordinate corresponding to each operation point.
S260, based on the offset distance and the offset angle, calling a preset coordinate correction formula to determine the corrected operation point location coordinates corresponding to the expected point location coordinates.
In the embodiment of the invention, after the offset distance and the offset angle are determined, the point location correction operation can be executed according to the offset distance and the offset angle, specifically, the point location coordinates after correction of the expected point location coordinates corresponding to each working point location can be sequentially determined by calling a preset coordinate correction formula which is preset based on the acquired offset distance and offset angle, namely, the operation point location coordinates are corrected, further, the point location deviation caused by uncontrollable factors is eliminated, the target equipment is ensured to normally produce corresponding products, and meanwhile, the efficiency and the precision of point location correction are improved. Further, the preset coordinate correction formula may include at least:
Wherein, (x i,yi) represents the expected point location coordinate corresponding to the ith operation point location; (x i′,yi') represents the corrected job point position coordinates corresponding to the i-th job point position; l represents an offset distance; θ represents the offset angle.
Further, on the basis of the embodiment of the invention, the method further comprises the following steps: and displaying the coordinates of the correction operation point position on the target display interface.
In the embodiment of the invention, the corrected operation point position coordinates of each working point position can be displayed on the equipment provided with the display screen through the target display interface, so that a user can conveniently know the deviation condition of the working point position, judge whether the point position correction result reaches the expectation or not, realize the point position correction in a manual visual mode by the user, and improve the efficiency and the accuracy of the point position correction.
According to the technical scheme, any point position in the target engineering drawing is taken as a target calibration point position; determining a target offset point to which target equipment actually moves on a target workpiece plane according to a target calibration point, and collecting coordinates corresponding to the target offset point; determining a linear distance between a target calibration point and a target offset point as an offset distance; determining the slope of a straight line between a target calibration point and a target offset point, and taking an arctangent function value corresponding to the slope of the straight line as an offset angle; acquiring expected point position coordinates corresponding to each operation point position of a target engineering drawing; and based on the offset distance and the offset angle, calling a preset coordinate correction formula to determine the corrected operation point position coordinates corresponding to the expected point position coordinates. According to the embodiment of the invention, the offset distance and the offset angle between the target calibration point and the target offset point to which the target equipment is actually moved are determined, and then the operation point of the target engineering drawing is subjected to point location correction by utilizing the offset distance and the offset angle, so that the efficiency and the accuracy of point location correction are improved, and the equipment debugging cost and the equipment debugging difficulty are reduced.
Example III
Fig. 3 is a flowchart of a method for correcting a point location on a workpiece plane according to a third embodiment of the present invention, where on the basis of the foregoing embodiment, the present embodiment provides an implementation manner of the method for correcting a point location on a workpiece plane, so as to implement automatic correction of a point location on a workpiece plane, improve efficiency and precision of point location correction, and reduce cost and difficulty of equipment debugging. As shown in fig. 3, the method for correcting the plane point position of the workpiece provided by the third embodiment of the invention specifically includes the following steps:
S310, converting the coordinate system of each operation point in the target engineering drawing to the coordinate system of the target workpiece plane, and determining the expected point coordinates corresponding to each operation point.
In the embodiment of the invention, a reference point O (x 0,y0) can be selected in the coordinate system where the target workpiece plane is located, and then, according to the position information of each operation point in the target engineering drawing, the horizontal distance Lx i and the vertical distance Ly i of each operation point relative to the reference point O in the coordinate system where the target workpiece plane is located are determined, so as to obtain the expected point coordinates Pi (xi, yi) of each operation point corresponding to the coordinate system where the target workpiece plane is located, wherein x i=Lxi-x0,yi=Lyi-y0.
S320, taking any point position in the target engineering drawing as a target calibration point position, and determining a target offset point position to which the shaft actually moves on the target workpiece plane according to the target calibration point position.
In the embodiment of the invention, a point location can be randomly selected from a target engineering drawing as a target calibration point location Q for point location correction, and a target offset point location Q' actually moved by an axis on a target workpiece plane according to the target calibration point location Q is acquired.
S330, determining the offset distance and the offset angle according to the position relation between the target calibration point and the target offset point.
In the embodiment of the present invention, as shown in fig. 4, the corresponding offset distance L and the offset angle θ may be determined according to the positional relationship between the target calibration point Q and the target offset point Q'.
And S340, correcting the coordinates of each expected point location based on the offset distance and the offset angle.
In the embodiment of the present invention, since the points are all offset integrally, the offset distance L and the offset angle θ can be input to an input interface such as a touch screen, and the program can automatically calculate corrected point coordinates P i′(xi′,yi' corresponding to all the expected point coordinates Pi (xi, yi), where x i′=Lxi-x0+L*cosθ,yi′=Lyi-y0 +l×sin θ.
According to the technical scheme, the coordinate system of each operation point in the target engineering drawing is converted into the coordinate system of the target workpiece plane, and the expected point coordinates corresponding to each operation point are determined; taking any point position in a target engineering drawing as a target calibration point position, and determining a target offset point position to which an axis actually moves on a target workpiece plane according to the target calibration point position; determining an offset distance and an offset angle according to the position relation between the target calibration point and the target offset point; and correcting the coordinates of each expected point position based on the offset distance and the offset angle. The embodiment of the invention is simple and convenient to operate, can improve the efficiency and the precision of point location correction, and reduces the equipment debugging cost and difficulty.
Example IV
Fig. 5 is a schematic structural diagram of a workpiece plane point position correction device according to a fourth embodiment of the present invention. As shown in fig. 5, the apparatus includes:
the target offset point acquisition module 41 is used for determining a target calibration point according to a target engineering drawing and acquiring a target offset point corresponding to the target calibration point;
An offset distance and angle determining module 42, configured to determine an offset distance and an offset angle according to a positional relationship between the target calibration point and the target offset point;
The point position correction module 43 is configured to perform point position correction on the operation point position of the target engineering drawing based on the offset distance and the offset angle.
According to the technical scheme, a target calibration point position is determined according to a target engineering drawing through a target offset point position acquisition module, and a target offset point position corresponding to the target calibration point position is acquired; determining an offset distance and an offset angle according to the position relationship between the target calibration point and the target offset point by an offset distance and angle determining module; and carrying out point location correction on the operation point location of the target engineering drawing based on the offset distance and the offset angle through a point location correction module. According to the embodiment of the invention, the operation point position of the target engineering drawing is subjected to point position correction according to the offset distance and the offset angle between the target calibration point position and the corresponding target offset point position by selecting one target calibration point position, so that the efficiency and the accuracy of point position correction are improved, and the operation is simple and convenient.
Further, on the basis of the embodiment of the invention, the workpiece plane point position correction device further includes:
The coordinate conversion module is used for converting the coordinate system of the operation point in the target engineering drawing into the coordinate system of the target offset point.
Further, on the basis of the above embodiment of the present invention, the target offset point location acquisition module 41 includes:
The target calibration point position selecting unit is used for selecting any point position in the target engineering drawing as a target calibration point position;
The target offset point acquisition unit is used for determining a target offset point to which the target equipment actually moves on the target workpiece plane according to the target calibration point and acquiring coordinates corresponding to the target offset point.
Further, on the basis of the above embodiment of the invention, the offset distance and angle determining module 42 includes:
The offset distance determining unit is used for determining the linear distance between the target calibration point and the target offset point as an offset distance;
And the offset angle determining unit is used for determining the slope of the straight line between the target calibration point and the target offset point and taking the arctangent function value corresponding to the slope of the straight line as the offset angle.
Further, on the basis of the above embodiment of the present invention, the dot position correction module 43 includes:
The expected point position coordinate acquisition unit is used for acquiring expected point position coordinates corresponding to each operation point position of the target engineering drawing;
The point position correction unit is used for calling a preset coordinate correction formula to determine the corrected operation point position coordinates corresponding to the expected point position coordinates based on the offset distance and the offset angle.
Further, on the basis of the above embodiment of the present invention, the preset coordinate correction formula at least includes:
Wherein, (x i,yi) represents the expected point location coordinate corresponding to the ith operation point location; (x i′,yi') represents the corrected job point position coordinates corresponding to the i-th job point position; l represents an offset distance; θ represents the offset angle.
Further, on the basis of the embodiment of the invention, the workpiece plane point position correction device further includes:
And the display module is used for displaying the coordinates of the correction operation point positions on the target display interface.
The workpiece plane point position correction device provided by the embodiment of the invention can execute the workpiece plane point position correction method provided by any embodiment of the invention, and has the corresponding functional modules and beneficial effects of the execution method.
Example five
Fig. 6 shows a schematic diagram of an electronic device 50 that may be used to implement an embodiment of the invention. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. Electronic equipment may also represent various forms of mobile devices, such as personal digital processing, cellular telephones, smartphones, wearable devices (e.g., helmets, glasses, watches, etc.), and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be exemplary only, and are not meant to limit implementations of the inventions described and/or claimed herein.
As shown in fig. 6, the electronic device 50 includes at least one processor 51, and a memory, such as a Read Only Memory (ROM) 52, a Random Access Memory (RAM) 53, etc., communicatively connected to the at least one processor 51, in which the memory stores a computer program executable by the at least one processor, and the processor 51 may perform various appropriate actions and processes according to the computer program stored in the Read Only Memory (ROM) 52 or the computer program loaded from the storage unit 58 into the Random Access Memory (RAM) 53. In the RAM 53, various programs and data required for the operation of the electronic device 50 can also be stored. The processor 51, the ROM 52 and the RAM 53 are connected to each other via a bus 54. An input/output (I/O) interface 55 is also connected to bus 54.
Various components in the electronic device 50 are connected to the I/O interface 55, including: an input unit 56 such as a keyboard, a mouse, etc.; an output unit 57 such as various types of displays, speakers, and the like; a storage unit 58 such as a magnetic disk, an optical disk, or the like; and a communication unit 59 such as a network card, modem, wireless communication transceiver, etc. The communication unit 59 allows the electronic device 50 to exchange information/data with other devices via a computer network, such as the internet, and/or various telecommunications networks.
The processor 51 may be a variety of general and/or special purpose processing components having processing and computing capabilities. Some examples of processor 51 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various specialized Artificial Intelligence (AI) computing chips, various processors running machine learning model algorithms, digital Signal Processors (DSPs), and any suitable processor, controller, microcontroller, etc. The processor 51 performs the various methods and processes described above, such as the workpiece plane point location correction method.
In some embodiments, the workpiece plane point location correction method may be implemented as a computer program tangibly embodied on a computer-readable storage medium, such as the storage unit 58. In some embodiments, part or all of the computer program may be loaded and/or installed onto the electronic device 50 via the ROM 52 and/or the communication unit 59. When the computer program is loaded into RAM 53 and executed by processor 51, one or more steps of the workpiece plane point location correction method described above may be performed. Alternatively, in other embodiments, the processor 51 may be configured to perform the workpiece plane point location correction method in any other suitable manner (e.g., by means of firmware).
Various implementations of the systems and techniques described here above may be implemented in digital electronic circuitry, integrated circuit systems, field Programmable Gate Arrays (FPGAs), application Specific Integrated Circuits (ASICs), application Specific Standard Products (ASSPs), systems On Chip (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs, the one or more computer programs may be executed and/or interpreted on a programmable system including at least one programmable processor, which may be a special purpose or general-purpose programmable processor, that may receive data and instructions from, and transmit data and instructions to, a storage system, at least one input device, and at least one output device.
A computer program for carrying out methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the computer programs, when executed by the processor, cause the functions/acts specified in the flowchart and/or block diagram block or blocks to be implemented. The computer program may execute entirely on the machine, partly on the machine, as a stand-alone software package, partly on the machine and partly on a remote machine or entirely on the remote machine or server.
In the context of the present invention, a computer-readable storage medium may be a tangible medium that can contain, or store a computer program for use by or in connection with an instruction execution system, apparatus, or device. The computer readable storage medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. Alternatively, the computer readable storage medium may be a machine readable signal medium. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
To provide for interaction with a user, the systems and techniques described here can be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) through which a user can provide input to the electronic device. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic input, speech input, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a background component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such background, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), wide Area Networks (WANs), blockchain networks, and the internet.
The computing system may include clients and servers. The client and server are typically remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server can be a cloud server, also called a cloud computing server or a cloud host, and is a host product in a cloud computing service system, so that the defects of high management difficulty and weak service expansibility in the traditional physical hosts and VPS service are overcome.
It should be appreciated that various forms of the flows shown above may be used to reorder, add, or delete steps. For example, the steps described in the present invention may be performed in parallel, sequentially, or in a different order, so long as the desired results of the technical solution of the present invention are achieved, and the present invention is not limited herein.
The above embodiments do not limit the scope of the present invention. It will be apparent to those skilled in the art that various modifications, combinations, sub-combinations and alternatives are possible, depending on design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the scope of the present invention.

Claims (10)

1. A method for correcting a planar point location of a workpiece, the method comprising:
determining a target calibration point according to a target engineering drawing, and collecting a target offset point corresponding to the target calibration point;
Determining an offset distance and an offset angle according to the position relation between the target calibration point and the target offset point;
and carrying out point position correction on the operation point position of the target engineering drawing based on the offset distance and the offset angle.
2. The method as recited in claim 1, further comprising:
And converting the coordinate system of the operation point in the target engineering drawing to the coordinate system of the target offset point.
3. The method according to claim 1, wherein determining a target calibration point according to a target engineering drawing and collecting a target offset point corresponding to the target calibration point comprises:
Taking any point position in the target engineering drawing as the target calibration point position;
and determining the target offset point to which the target equipment actually moves according to the target calibration point on the target workpiece plane, and collecting coordinates corresponding to the target offset point.
4. The method of claim 1, wherein the determining the offset distance and the offset angle from the positional relationship of the target calibration point and the target offset point comprises:
determining a linear distance between the target calibration point and the target offset point as the offset distance;
And determining the slope of a straight line between the target calibration point and the target offset point, and taking an arctangent function value corresponding to the slope of the straight line as the offset angle.
5. The method of claim 1, wherein the performing point location correction on the job point location of the target engineering drawing based on the offset distance and the offset angle comprises:
acquiring expected point position coordinates corresponding to each operation point position of the target engineering drawing;
and calling a preset coordinate correction formula to determine the corrected correction operation point position coordinates corresponding to the expected point position coordinates based on the offset distance and the offset angle.
6. The method of claim 5, wherein the predetermined coordinate correction formula comprises at least:
Wherein (x i,yi) represents the expected point location coordinate corresponding to the ith operation point location; (x i′,yi') represents the corrected job point position coordinates corresponding to the i-th job point position; l represents the offset distance; θ represents the offset angle.
7. The method as recited in claim 1, further comprising:
and displaying the corrected operation point position coordinates on a target display interface.
8. A workpiece plane point location correction device, the device comprising:
the target offset point acquisition module is used for determining a target calibration point according to a target engineering drawing and acquiring a target offset point corresponding to the target calibration point;
The offset distance and angle determining module is used for determining an offset distance and an offset angle according to the position relation between the target calibration point and the target offset point;
And the point position correction module is used for carrying out point position correction on the operation point position of the target engineering drawing based on the offset distance and the offset angle.
9. An electronic device, the electronic device comprising:
at least one processor; and
A memory communicatively coupled to the at least one processor; wherein,
The memory stores a computer program executable by the at least one processor to enable the at least one processor to perform the workpiece plane point location correction method of any of claims 1-7.
10. A computer readable storage medium storing computer instructions for causing a processor to perform the method of workpiece plane point location correction of any of claims 1-7.
CN202410168309.5A 2024-02-06 2024-02-06 Workpiece plane point position correction method and device, electronic equipment and storage medium Pending CN117994807A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202410168309.5A CN117994807A (en) 2024-02-06 2024-02-06 Workpiece plane point position correction method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202410168309.5A CN117994807A (en) 2024-02-06 2024-02-06 Workpiece plane point position correction method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN117994807A true CN117994807A (en) 2024-05-07

Family

ID=90887032

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202410168309.5A Pending CN117994807A (en) 2024-02-06 2024-02-06 Workpiece plane point position correction method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN117994807A (en)

Similar Documents

Publication Publication Date Title
US20100061622A1 (en) Method for aligning objects
CN112486093A (en) Method, apparatus, device and medium for compensating for platform accuracy
CN115273071A (en) Object identification method and device, electronic equipment and storage medium
CN112966330A (en) Wall surface generation method of crossed wall body, computer equipment and readable storage medium
CN117994807A (en) Workpiece plane point position correction method and device, electronic equipment and storage medium
CN114734444B (en) Target positioning method and device, electronic equipment and storage medium
CN116342585A (en) Product defect detection method, device, equipment and storage medium
CN114812576A (en) Map matching method and device and electronic equipment
CN111633358B (en) Laser-based weld parameter measuring method and device
CN117119115B (en) Calibration method and device based on machine vision, electronic equipment and storage medium
CN115775279B (en) Dispensing positioning method and device and electronic equipment
CN115805394B (en) Steel bar welding positioning method and device, electronic equipment and storage medium
CN117589188B (en) Driving path planning method, driving path planning device, electronic equipment and storage medium
CN111402342A (en) 3D point cloud processing method based on multiple characteristic points and applicable to industrial robot calibration
CN115877401B (en) Posture detection method, device and equipment for hydraulic support and storage medium
CN117742243A (en) Equipment action collision prediction method and device, electronic equipment and storage medium
CN114546133B (en) Position detection method, device, equipment and medium for mobile equipment image module
CN117246044A (en) Precision compensation method and device for jet printer, electronic equipment and storage medium
CN117444970A (en) Mechanical arm movement control method, device, equipment and storage medium
CN117150175A (en) Process capability index determining method and device, electronic equipment and storage medium
CN117528932A (en) Positioning processing method, device, equipment and storage medium for circuit board
CN117817655A (en) Equipment calibration method, device, equipment and storage medium
CN117565057A (en) Machine ginseng number calibration method, device, equipment and storage medium
CN115420195A (en) Motion precision compensation method, device, equipment and storage medium
CN115752469A (en) Part detection method and device, electronic equipment and storage medium

Legal Events

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