Motion track generation method and device, equipment and storage medium
Using image information to generate motion trajectories and automatically control grinding equipment solves the flexibility and accuracy problems of casting grinding equipment in the existing technology and improves processing efficiency and safety.
Patent Information
- Application Number
- CN202411170064.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-26
- Publication Date
- 2024-09-27
AI Technical Summary
Existing machine tool types and tandem six-joint manipulators have problems such as low flexibility and processing efficiency, severe wear and loss of precision during the casting grinding process, and are difficult to adapt to the processing needs of complex shapes and large-size castings.
By obtaining image information, the position and attributes of the workpiece to be polished are determined, motion trajectory information is generated, and the grinding equipment is controlled for automatic polishing, including rotation and angle adjustment, using motors and compression cylinders to fix the workpiece, and combining mechanical arms and vertical and horizontal rotation mechanisms. Precision sanding.
It improves production efficiency and processing accuracy, reduces workpiece damage and dust pollution, extends equipment life, and improves personal and environmental safety.
Smart Images

Figure CN118699889A
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of information generation, and in particular to a motion trajectory generation method, device, equipment and storage medium. Background Art
[0002] With the advancement of science and technology, a large number of castings have gradually shifted from manual grinding to automated grinding for the removal of flash and burrs, as well as the grinding and polishing of casting surfaces. In recent years, there are two main types of grinding equipment on the domestic and foreign markets: the first is the machine tool type, and the second is the serial six-joint manipulator type.
[0003] The machine tool type equipment can adapt to the grinding of medium and large castings with certain complex shapes. Since the machine tool type uses a linear axis motion mode, the flexibility and toughness when grinding the workpiece are poor, and the processing efficiency is low; it is difficult for the machine tool to adapt to the processing of castings exceeding a certain size; the main defects: since the machine tool type was first used in the metal chip industry, the iron chips can be collected by flushing with the chip fluid, and it is difficult to cause damage to the machine tool; since a large amount of iron powder will be generated during the grinding of castings, these iron powders will penetrate into the linear motion mechanism of the machine tool along with the movement of the machine tool, causing damage to parts, and the machine tool is large in size, and a lot of manpower will be consumed during the maintenance process.
[0004] The tandem six-joint robot type has great flexibility and can adapt to the burr cleaning of small-sized and light-weight castings. For heavier castings, due to the small bearing capacity of the end of the robot, long-term work will cause wear of the robot and reduce its life. Since the castings generate large tangential grinding forces during the grinding process, these grinding forces will react on the tandem six-joint robot, causing wear of the gears of the reduction system of each joint, resulting in loss of precision and reduced service life, which needs to be improved urgently. Summary of the invention
[0005] The main purpose of this application is to provide a motion trajectory generation method, device, equipment and storage medium. Through the generated motion trajectory information, it is possible to automatically grind the workpiece, improve production efficiency and processing accuracy, less likely to damage the workpiece, and reduce the harm of dust to personal safety and pollution to the atmospheric environment.
[0006] To achieve the above object, the present invention provides a motion trajectory generation method, comprising: Based on the acquired image, determine the position information of the workpiece to be ground and cut; In response to determining that the position corresponding to the position information is a workpiece cutting and polishing position, controlling the workpiece to be polished on the workpiece cutting and polishing position to rotate according to a preset angle, and marking a target polishing position of the workpiece to be polished; Determine the polishing attribute information corresponding to each target polishing position according to the target polishing information of the workpiece to be polished corresponding to each target polishing position; According to the grinding sequence of the target grinding positions and the grinding attribute information corresponding to each target grinding position, the motion trajectory information of the workpiece to be ground is generated.
[0007] Optionally, determining the position information of the workpiece to be ground and cut based on the acquired image includes: Acquiring the image by means of a photographing device, wherein the photographing device is fixedly mounted on a device for grinding and cutting a workpiece; Based on the image, relative position information of the workpiece to be ground and cut relative to the equipment for grinding and cutting the workpiece is determined, and the relative position information is used as the position information.
[0008] Optionally, determining the polishing attribute information corresponding to each target polishing position according to the target polishing information of the workpiece to be polished corresponding to each target polishing position includes: According to the order of the target grinding position marks, a target grinding position is selected from the marked target grinding positions of the workpiece to be ground as the first target grinding position; Establishing a spatial coordinate system according to the position information corresponding to the workpiece to be ground and cut at the first target grinding position; Determine the finished product contour coordinates of the workpiece to be polished and cut at the first target polishing position corresponding to the finished product workpiece corresponding to the acquired workpiece to be polished and cut in the spatial coordinate system; Determine the contour coordinates of the workpiece to be ground and cut at the first target grinding position in the spatial coordinate system; Determining the difference between the contour of the workpiece to be ground and cut and the contour of the finished workpiece based on the finished product contour coordinates and the contour coordinates; According to the difference, the polishing attribute information corresponding to the first target polishing position is determined.
[0009] Optionally, the equipment for grinding and cutting a workpiece includes a grinding and cutting table, a workpiece fixing device and a vertical and horizontal rotating mechanism, and the method further includes: In response to determining that the position corresponding to the position information is a workpiece cutting and grinding position, controlling the grinding and cutting table to rotate, and adjusting the position of the workpiece to be ground and cut on the grinding and cutting table according to the position of the first target grinding position corresponding to the motion trajectory information; Controlling a workpiece fixing device in the equipment for grinding and cutting workpieces to fix the workpiece to be ground and cut on the grinding and cutting table, wherein the grinding and cutting table can be controlled by a motor to perform horizontal rotation and angle flipping, and the workpiece fixing device includes a motor and a clamping cylinder, and the clamping cylinder is controlled by the motor to clamp the workpiece to be ground and cut on the grinding and cutting table; According to the motion trajectory information, the rotation direction of the vertical and horizontal rotating mechanism is controlled by a motor installed on the vertical and horizontal rotating mechanism; The rotation direction is used to control the grinding direction and angle of the cut workpiece by the slicer installed on the vertical and horizontal rotating mechanism.
[0010] Optionally, the device for grinding and cutting the workpiece includes a slide, and a mechanical arm is installed on the slide. In response to determining that the position corresponding to the position information is a workpiece cutting and grinding position, controlling a workpiece fixing device in the device for grinding and cutting the workpiece to fix the workpiece to be ground and cut on the grinding and cutting table includes: In response to determining that the position corresponding to the position information is a workpiece cutting and grinding position, controlling the slide in the equipment for grinding and cutting the workpiece to move up and down, and adjusting the position of the mechanical arm on the slide, wherein the mechanical arm includes a No. 1 auxiliary driving arm, a No. 2 main driving arm, a No. 1 auxiliary driving arm and a No. 2 auxiliary driving arm, and the workpiece fixing device is installed on the No. 1 auxiliary driving arm; According to the position information, the second driving main arm, the first auxiliary driving arm and the second auxiliary driving arm are controlled to move through a motor connected to the robot arm, so that the workpiece to be ground and cut is pressed and fixed on the grinding and cutting table.
[0011] Optionally, the number of slices installed on the vertical and horizontal rotating mechanism of the equipment for grinding and cutting workpieces includes multiple, and the method further includes: Determining functional information of a corresponding slice according to the difference; Determining the attribute information of the corresponding slice according to the workpiece attribute information of the workpiece to be ground and cut; Selecting a target slice based on the function information and the attribute information; According to the difference, the target slice installed on the vertical and horizontal rotating mechanism is controlled to grind the grinding and cutting workpiece.
[0012] Optionally, a guide rail is installed on the base of the equipment for grinding and cutting workpieces, a loading workbench is slidably installed on the guide rail, the grinding and cutting table is placed on the loading workbench, and the loading workbench includes a first loading workbench and a second loading workbench, and the method further includes: In response to determining that the workpiece to be polished and cut on the No. 1 loading workbench has been polished, the motor installed on the No. 1 loading workbench is controlled to control the No. 1 loading workbench to slide toward one end of the initial position of the No. 1 loading workbench on the guide rail, wherein the initial positions of the No. 1 loading workbench and the No. 2 loading workbench are the two ends of the guide rail; The motor installed on the No. 2 loading workbench located on the other side of the guide rail is controlled to control the No. 2 loading workbench to slide to the position for grinding the workpiece.
[0013] In addition, to achieve the above-mentioned purpose, the present invention also provides a motion trajectory generating device, comprising: A position information determination module, used to determine the position information of the workpiece to be ground and cut based on the acquired image; a marking module, configured to, in response to determining that the position corresponding to the position information is a workpiece cutting and grinding position, control the workpiece to be ground on the workpiece cutting and grinding position to rotate according to a preset angle, and mark a target grinding position of the workpiece to be ground; A grinding attribute information determination module, used to determine the grinding attribute information corresponding to each target grinding position according to the target grinding information of the workpiece to be polished corresponding to each target grinding position; A generating module is used to generate the motion trajectory information of the workpiece to be polished according to the polishing sequence of the target polishing positions and the polishing attribute information corresponding to each target polishing position.
[0014] Optionally, the location information determining module includes: An acquisition submodule, used for acquiring the image through a photographing device, wherein the photographing device is fixedly mounted on a device for grinding and cutting workpieces; The position information determination submodule is used to determine the relative position information of the workpiece to be polished and cut relative to the equipment for polishing and cutting the workpiece based on the image, and use the relative position information as the position information.
[0015] Optionally, the polishing attribute information determination module includes: A selection submodule, for selecting a target grinding position as a first target grinding position from the marked target grinding positions of the workpiece to be ground in sequence according to the order of the target grinding position markings; Establishing a submodule, for establishing a spatial coordinate system according to the position information corresponding to the workpiece to be ground and cut at the first target grinding position; A finished product contour coordinate determination submodule, used to determine the finished product contour coordinates of the workpiece to be polished and cut at the first target polishing position corresponding to the acquired finished product workpiece corresponding to the workpiece to be polished and cut in the spatial coordinate system; A contour coordinate determination submodule, used to determine the contour coordinates of the workpiece to be ground and cut at the first target grinding position in the spatial coordinate system; A difference determination submodule, configured to determine a difference between the contour of the workpiece to be ground and cut and the contour of the finished workpiece based on the finished workpiece contour coordinates and the contour coordinates; The polishing attribute information determination submodule is used to determine the polishing attribute information corresponding to the first target polishing position according to the difference.
[0016] Optionally, the equipment for grinding and cutting a workpiece includes a grinding and cutting table, a workpiece fixing device and a vertical and horizontal rotating mechanism, and the device also includes: A control workpiece fixing submodule is used to control the grinding and cutting table to rotate in response to determining that the position corresponding to the position information is a workpiece cutting and grinding position, and adjust the position of the workpiece to be ground and cut on the grinding and cutting table according to the position of the first target grinding position corresponding to the motion trajectory information; A control rotation submodule is used to control a workpiece fixing device in the equipment for grinding and cutting workpieces to fix the workpiece to be ground and cut on the grinding and cutting table, wherein the grinding and cutting table can be controlled by a motor to perform horizontal rotation and angle flipping, and the workpiece fixing device includes a motor and a pressing cylinder, and the pressing cylinder is controlled by the motor to press the workpiece to be ground and cut on the grinding and cutting table; A rotation direction control submodule, used to control the rotation direction of the vertical and horizontal rotating mechanism through a motor installed on the vertical and horizontal rotating mechanism according to the motion trajectory information; The grinding direction determination submodule is used to control the grinding direction and angle of the grinding cut workpiece by the slicer installed on the vertical and horizontal rotating mechanism through the rotation direction.
[0017] Optionally, the equipment for grinding and cutting a workpiece includes a slide, a mechanical arm is mounted on the slide, and the submodule for controlling the workpiece to be fixed includes: a position adjustment submodule, for controlling the up and down movement of a slide in the device for grinding and cutting the workpiece in response to determining that the position corresponding to the position information is a workpiece cutting and grinding position, and adjusting the position of a mechanical arm on the slide, wherein the mechanical arm comprises a No. 1 auxiliary driving arm, a No. 2 main driving arm, a No. 1 auxiliary driving arm and a No. 2 auxiliary driving arm, and the workpiece fixing device is installed on the No. 1 auxiliary driving arm; The control movement submodule is used to control the movement of the second driving main arm, the first auxiliary driving arm and the second auxiliary driving arm through a motor connected to the robotic arm according to the position information, so as to press and fix the workpiece to be ground and cut on the grinding and cutting table.
[0018] Optionally, the number of slices installed on the vertical and horizontal rotating mechanism of the equipment for grinding and cutting workpieces includes multiple, and the device further includes: A function information determination submodule, used to determine the function information of the corresponding slice according to the difference; An attribute information determination submodule, used to determine the attribute information of the corresponding slice according to the workpiece attribute information of the workpiece to be polished and cut; A target slice selection submodule, configured to select a target slice based on the function information and the attribute information; A control grinding submodule is used to control the target slice installed on the vertical and horizontal rotating mechanism to grind the grinding and cutting workpiece according to the difference.
[0019] Optionally, a guide rail is installed on the base of the equipment for grinding and cutting workpieces, a loading workbench is slidably installed on the guide rail, the grinding and cutting table is placed on the loading workbench, the loading workbench includes a first loading workbench and a second loading workbench, and the device further includes: The first sliding submodule is used for controlling the motor installed on the No. 1 loading workbench to control the No. 1 loading workbench to slide toward one end of the initial position of the No. 1 loading workbench on the guide rail in response to determining that the workpiece to be polished and cut on the No. 1 loading workbench has been polished. The initial positions of the No. 1 loading workbench and the No. 2 loading workbench are the two ends of the guide rail; The second sliding submodule is used to control the motor installed on the No. 2 loading workbench located on the other side of the guide rail to control the No. 2 loading workbench to slide to the position for grinding the workpiece.
[0020] In addition, to achieve the above-mentioned purpose, the present invention also provides a motion trajectory generation device, characterized in that the motion trajectory generation device includes: a memory, a processor, and a motion trajectory generation program stored in the memory and executable on the processor, and when the motion trajectory generation program is executed by the processor, the steps of motion trajectory generation as described in any one of the above are implemented.
[0021] In addition, to achieve the above-mentioned purpose, the present invention also provides a computer-readable storage medium, characterized in that a motion trajectory generation program is stored on the computer-readable storage medium, and when the motion trajectory generation program is executed by a processor, the steps of motion trajectory generation as described in any one of the above are implemented.
[0022] Compared with the prior art, the present invention has the following beneficial effects: Based on the acquired image, the position information of the workpiece to be polished and cut is determined; in response to determining that the position corresponding to the position information is the workpiece cutting and polishing position, the workpiece to be polished on the workpiece cutting and polishing position is controlled to rotate according to a preset angle, and the target polishing position of the workpiece to be polished is marked; according to the target polishing information of the workpiece to be polished corresponding to each target polishing position, the polishing attribute information corresponding to each target polishing position is determined; according to the polishing sequence of the target polishing position and the polishing attribute information corresponding to each target polishing position, the motion trajectory information of the workpiece to be polished is generated. The embodiment of the present disclosure realizes that the workpiece can be automatically polished through the generated motion trajectory information, which improves the production efficiency and processing accuracy, is not easy to damage the workpiece, and thus reduces the harm of dust to personal safety and the pollution to the atmospheric environment. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] Figure 1 A schematic diagram of an embodiment of a motion trajectory generation method in an embodiment of the present invention; Figure 2 A schematic diagram of an embodiment of a motion trajectory generating device in an embodiment of the present invention; Figure 3 Schematic diagram of an embodiment of a motion trajectory generating device in an embodiment of the present invention. DETAILED DESCRIPTION
[0024] The main purpose of the present application is to provide a motion trajectory generation method, device and equipment, which can realize mechanical automatic grinding of workpieces through the generated motion trajectory, improve production efficiency and processing accuracy, less likely to damage the workpiece, and reduce the harm of dust to personal safety and pollution to the atmospheric environment.
[0025] The terms "first", "second", "third", "fourth", etc. (if any) in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments described herein can be implemented in an order other than that illustrated or described herein. In addition, the terms "including" or "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0026] The following is a further detailed description of the present application in conjunction with the accompanying drawings. The specific process of the embodiment of the present invention is described below. Please refer to Figure 1 , is a schematic diagram of an embodiment of a motion trajectory generation method in an embodiment of the present invention, comprising: Step 101: Determine the position information of the workpiece to be ground and cut based on the acquired image.
[0027] It is understandable that the execution subject of the present invention may be the motion trajectory generation method, or may be a terminal or a server, which is not limited here. The embodiment of the present invention is described by taking the server as the execution subject as an example.
[0028] The execution subject can determine the position information of the workpiece to be polished and cut based on the acquired image; the acquired image can be acquired locally by the execution subject, and the acquired image can be multiple pictures taken from the same angle at the same location; the workpiece to be polished and cut can be a workpiece with polishing and cutting requirements, and the hardness of the workpiece is high. For example, the workpiece to be polished and cut can be cast from high-strength materials; high-strength materials include many types, mainly divided into two categories: metal materials and non-metallic materials. Among metal materials, light high-strength metal materials such as aluminum-lithium alloys, titanium-aluminum alloys, magnesium alloys, beryllium alloys and titanium alloys, as well as carbon fiber-reinforced carbon-based composite materials among non-metallic materials, all have the characteristics of high strength, light weight and corrosion resistance, and are widely used in aviation, aerospace, automobiles, ships, weapons, nuclear industry and other fields. The above-mentioned position information can be information used to describe the distance of the above-mentioned workpiece to be polished and cut relative to the shooting device that shoots the above-mentioned image.
[0029] Optionally, the image is acquired by a photographing device, wherein the photographing device is fixedly mounted on a device for grinding and cutting workpieces; based on the image, relative position information of the workpiece to be ground and cut relative to the device for grinding and cutting the workpiece is determined, and the relative position information is used as the position information.
[0030] The above-mentioned photographing device may be a terminal device with a photographing function, for example, a camera, etc.; the above-mentioned device for grinding and cutting workpieces may be a machine with grinding and cutting functions.
[0031] Optionally, the equipment for grinding and cutting workpieces includes a grinding and cutting table, a workpiece fixing device and a vertical and horizontal rotating mechanism, and the method also includes: in response to determining that the position corresponding to the position information is a workpiece cutting and grinding position, controlling the grinding and cutting table to rotate, and adjusting the position of the workpiece to be ground and cut on the grinding and cutting table according to the position of the first target grinding position corresponding to the motion trajectory information; controlling the workpiece fixing device in the equipment for grinding and cutting workpieces to fix the workpiece to be ground and cut on the grinding and cutting table, wherein the grinding and cutting table can be horizontally rotated and angularly flipped by a motor control, and the workpiece fixing device includes a motor and a clamping cylinder, and the clamping cylinder is controlled by the motor to press the workpiece to be ground and cut on the grinding and cutting table; according to the motion trajectory information, the rotation direction of the vertical and horizontal rotating mechanism is controlled by a motor installed on the vertical and horizontal rotating mechanism; and the grinding direction and angle of the grinding and cutting workpiece by the slice installed on the vertical and horizontal rotating mechanism are controlled by the rotation direction.
[0032] The executing subject can control the rotation of the grinding and cutting table when it is determined that the position corresponding to the position information is the workpiece cutting and grinding position, and adjust the position of the workpiece to be ground and cut on the grinding and cutting table according to the position of the first target grinding position corresponding to the motion trajectory information; the executing subject can control the retraction of the clamping cylinder through the motor on the workpiece fixing device, and clamp and fix the workpiece to be ground and cut on the grinding and cutting table; wherein a clamping seat is installed on the clamping cylinder, and when the clamping cylinder is retracted, the clamping seat will be retracted together with the clamping cylinder, and the clamping seat will be pressed on the workpiece to be ground and cut, and as the clamping cylinder is retracted, the clamping seat will press the workpiece to be ground and cut on the grinding and cutting table; the motor installed on the vertical and horizontal rotating mechanism is used to control the cutting angle, direction and distance of the slice; the vertical and horizontal rotating mechanism can be rotated, and the angle and direction of the slice fixedly installed thereon can be adjusted by rotation; the slice installed thereon can be replaced at any time as needed, and the slice is generally made of diamond material, which is convenient for grinding and cutting high-rigidity workpieces.
[0033] Optionally, the equipment for grinding and cutting workpieces includes a slide, on which a robotic arm is installed, and in response to determining that the position corresponding to the position information is a workpiece cutting and grinding position, controlling a workpiece fixing device in the equipment for grinding and cutting workpieces to fix the workpiece to be ground and cut on the grinding and cutting table, comprising: in response to determining that the position corresponding to the position information is a workpiece cutting and grinding position, controlling the slide in the equipment for grinding and cutting workpieces to move up and down, and adjusting the position of the robotic arm on the slide, wherein the robotic arm includes a No. 1 auxiliary driving arm, a No. 2 driving main arm, a No. 1 auxiliary driving arm and a No. 2 auxiliary driving arm, and the workpiece fixing device is installed on the No. 1 auxiliary driving arm; according to the position information, controlling the No. 2 driving main arm, the No. 1 auxiliary driving arm and the No. 2 auxiliary driving arm to move through a motor connected to the robotic arm, so as to press and fix the workpiece to be ground and cut on the grinding and cutting table.
[0034] The execution subject can control the up and down movement of the slide in the equipment for grinding and cutting the workpiece and adjust the position of the mechanical arm on the slide when determining that the position corresponding to the position information is the workpiece cutting and grinding position, wherein the mechanical arm includes a No. 1 auxiliary driving arm, a No. 2 driving main arm, a No. 1 auxiliary driving arm and a No. 2 auxiliary driving arm, and the No. 1 auxiliary driving arm is installed with the workpiece fixing device; wherein the above-mentioned slide can be installed on the vertical column mechanism in the equipment for grinding and cutting the workpiece; the above-mentioned vertical column mechanism can be used to install the slide; the execution subject can control the up and down movement of the slide on the vertical column mechanism through the motor installed on the above-mentioned vertical column mechanism, adjust the up and down position of the slide on the linear guide rail on the vertical column mechanism, and then adjust the position of the No. 1 driving main arm and the No. 2 driving main arm installed on the slide, so as to press and fix the workpiece to be ground and cut on the grinding and cutting table. The above-mentioned motor installed on the above-mentioned vertical column mechanism can be a motor connected to the mechanical arm.
[0035] Optionally, the number of slices installed on the vertical and horizontal rotating mechanism of the equipment for grinding and cutting workpieces includes multiple, and the method further includes: determining functional information of the corresponding slice according to the difference; determining attribute information of the corresponding slice according to workpiece attribute information of the workpiece to be ground and cut; selecting a target slice based on the functional information and the attribute information; and controlling the target slice installed on the vertical and horizontal rotating mechanism to grind the grinding and cutting workpiece according to the difference.
[0036] The functions of the above-mentioned slices may be different, for example, one may be used to cut the workpiece, another may be used to grind the workpiece, and they may be used to grind with different precisions; the above-mentioned functional information may be used to describe the role of the slice, for example, it is used to cut the workpiece or to grind the workpiece, or it may be used to describe the different materials of the workpiece to be cut or grinded, and the different grinding precisions; in response to the difference meeting the cutting requirement, the function of the above-mentioned corresponding slice may be used for cutting; when the difference does not meet the cutting requirement but meets the grinding requirement, the function of the above-mentioned corresponding slice may be used for grinding; when the difference does not meet the grinding requirement, the grinding step of this point may be skipped; the above-mentioned workpiece attribute information may be information used to describe the strength of the above-mentioned workpiece to be grinded and cut, or it may be description information used to describe what material the above-mentioned workpiece to be grinded and cut is cast by and through what steps. The corresponding slice is selected according to the material and hardness of the workpiece to be grinded and cut, and the above-mentioned attribute information may be information used to describe the material corresponding to the slice; according to the difference, the target slice installed on the vertical and horizontal rotating mechanism is controlled to grind the grinding and cutting workpiece.
[0037] Step 102, in response to determining that the position corresponding to the position information is a workpiece cutting and grinding position, controlling the workpiece to be ground on the workpiece cutting and grinding position to rotate according to a preset angle, and marking a target grinding position of the workpiece to be ground.
[0038] The executing entity can, when determining that the position corresponding to the position information is the workpiece cutting and polishing position, control the workpiece to be polished on the workpiece cutting and polishing position to rotate according to a preset angle, and mark the target polishing position of the workpiece to be polished; the position represented by the above-mentioned workpiece cutting and polishing position can be the position where the workpiece is fixed for polishing; the above-mentioned preset angle can be set manually, and can be determined by the staff according to the angle of the workpiece to be polished that the above-mentioned equipment can polish, and the above-mentioned target polishing position is the position on the workpiece to be polished that needs to be cut or polished; a motor can be installed on the polishing and cutting table for placing the workpiece to be polished in the above-mentioned equipment for polishing and cutting workpieces, and the rotation of the polishing and cutting table can be controlled by the motor.
[0039] Step 103: determining the polishing attribute information corresponding to each target polishing position according to the target polishing information of the workpiece to be polished corresponding to each target polishing position.
[0040] The execution entity can determine the grinding attribute information corresponding to each target grinding position according to the target grinding information of the workpiece to be polished corresponding to each target grinding position; the above-mentioned target grinding information can be information used to describe the state into which the above-mentioned target grinding position needs to be polished, that is, the information of the target grinding position corresponding to the workpiece after grinding is completed; the above-mentioned grinding attribute information is information used to describe whether the above-mentioned target grinding position needs to be polished, needs to be cut, and how much grinding is required.
[0041] Optionally, according to the order of the target grinding position markings, the target grinding positions are selected from the marked target grinding positions of the workpiece to be polished as the first target grinding position; a spatial coordinate system is established according to the position information corresponding to the workpiece to be polished and cut at the first target grinding position; the finished contour coordinates of the workpiece to be polished and cut at the first target grinding position corresponding to the acquired finished workpiece to be polished and cut in the spatial coordinate system are determined; the contour coordinates of the workpiece to be polished and cut at the first target grinding position in the spatial coordinate system are determined; based on the finished contour coordinates and the contour coordinates, the difference between the contour of the workpiece to be polished and cut and the contour of the finished workpiece is determined; according to the difference, the polishing attribute information corresponding to the first target grinding position is determined.
[0042] The execution subject can select any target grinding position from the target grinding positions as the first target grinding position, and then perform grinding in sequence with the first target grinding position as the first target grinding position according to the order of the target grinding position marks; the above-mentioned spatial coordinate system can be a spatial rectangular coordinate system, and the execution subject can use the position corresponding to the workpiece to be ground and cut at the first target grinding position as the origin of the spatial rectangular coordinate system, or use the position of the shooting device as the origin of the spatial rectangular coordinate system to establish the spatial rectangular coordinate system; respectively determine the position coordinates of each point on the contour of the workpiece to be ground and cut in the above-mentioned spatial rectangular coordinate system; the above-mentioned contour coordinates can be a coordinate set; the above-mentioned finished product contour coordinates are the same as the position of the finished workpiece in the above-mentioned spatial rectangular coordinate system and the position of the workpiece to be ground and cut in the above-mentioned spatial rectangular coordinate system; the above-mentioned finished product contour coordinates are used to describe the position coordinates of each point on the contour of the above-mentioned finished workpiece in the above-mentioned spatial rectangular coordinate system; according to the finished product contour coordinates and the contour coordinates, determine the difference in coordinates corresponding to the coordinates of the same point on the workpiece, and determine the grinding attribute information corresponding to the first target grinding position according to the difference.
[0043] Step 104 : generating motion trajectory information of the workpiece to be polished according to the polishing sequence of the target polishing positions and the polishing attribute information corresponding to each target polishing position.
[0044] The execution subject can generate the motion trajectory information of the workpiece to be polished according to the polishing sequence of the target polishing positions and the polishing attribute information corresponding to each target polishing position. The polishing and cutting steps for each target polishing position are combined according to the polishing sequence to obtain the motion trajectory information corresponding to the workpiece to be polished.
[0045] Optionally, a guide rail is installed on the base of the equipment for grinding and cutting workpieces, and a loading workbench is slidably installed on the guide rail. The grinding and cutting table is placed on the loading workbench, and the number of the loading workbenches includes loading workbench No. 1 and loading workbench No. 2. The method also includes: in response to determining that the grinding of the workpiece to be ground and cut on loading workbench No. 1 is completed, controlling the motor installed on the loading workbench No. 1 to control the loading workbench No. 1 to slide toward one end of the initial position of the loading workbench No. 1 on the guide rail, wherein the initial positions of the loading workbench No. 1 and the loading workbench No. 2 are the two ends of the guide rail; controlling the motor installed on the loading workbench No. 2 on the other side of the guide rail to control the loading workbench No. 2 to slide to the position for grinding the workpiece.
[0046] A motor is installed on each loading workbench; when the workpiece to be polished and cut on the No. 1 loading workbench is polished, the No. 1 loading workbench is controlled to slide to one side of the guide rail; then, the No. 2 loading workbench is controlled to slide to the position of the polishing workpiece; in this way, the polishing efficiency can be improved, and there is no need to wait for the workpiece to be moved off the loading workbench after the polishing of one workpiece is completed, and then move the new workpiece to be polished.
[0047] In an embodiment of the present invention, based on the acquired image, the position information of the workpiece to be polished and cut is determined; in response to determining that the position corresponding to the position information is the workpiece cutting and polishing position, the workpiece to be polished on the workpiece cutting and polishing position is controlled to rotate according to a preset angle, and the target polishing position of the workpiece to be polished is marked; according to the target polishing information of the workpiece to be polished corresponding to each target polishing position, the polishing attribute information corresponding to each target polishing position is determined; according to the polishing sequence of the target polishing position and the polishing attribute information corresponding to each target polishing position, the motion trajectory information of the workpiece to be polished is generated. The embodiment of the present disclosure realizes that the workpiece can be automatically polished through the generated motion trajectory information, thereby improving production efficiency and processing accuracy, not easily damaging the workpiece, and thereby reducing the harm of dust to personal safety and pollution to the atmospheric environment.
[0048] The above describes the motion trajectory generation method in the embodiment of the present invention. The following describes the motion trajectory generation device 200 in the embodiment of the present invention. Figure 2 , an embodiment of the motion trajectory generating device in the embodiment of the present invention includes: A position information determination module 201 is used to determine the position information of the workpiece to be ground and cut based on the acquired image; A marking module 202 is used for controlling the workpiece to be polished on the workpiece cutting and polishing position to rotate according to a preset angle in response to the position corresponding to the position information being a workpiece cutting and polishing position, and marking a target polishing position of the workpiece to be polished; A grinding attribute information determination module 203 is used to determine the grinding attribute information corresponding to each target grinding position according to the target grinding information of the workpiece to be polished corresponding to each target grinding position; The generating module 204 is used to generate the motion trajectory information of the workpiece to be polished according to the polishing sequence of the target polishing positions and the polishing attribute information corresponding to each target polishing position.
[0049] Optionally, the location information determining module 201 includes: An acquisition submodule, used for acquiring the image through a photographing device, wherein the photographing device is fixedly mounted on a device for grinding and cutting workpieces; The position information determination submodule is used to determine the relative position information of the workpiece to be polished and cut relative to the equipment for polishing and cutting the workpiece based on the image, and use the relative position information as the position information.
[0050] Optionally, the polishing attribute information determination module 203 includes: A selection submodule, for selecting a target grinding position as a first target grinding position from the marked target grinding positions of the workpiece to be ground in sequence according to the order of the target grinding position markings; Establishing a submodule, for establishing a spatial coordinate system according to the position information corresponding to the workpiece to be ground and cut at the first target grinding position; A finished product contour coordinate determination submodule, used to determine the finished product contour coordinates of the workpiece to be polished and cut at the first target polishing position corresponding to the acquired finished product workpiece corresponding to the workpiece to be polished and cut in the spatial coordinate system; A contour coordinate determination submodule, used to determine the contour coordinates of the workpiece to be ground and cut at the first target grinding position in the spatial coordinate system; A difference determination submodule, configured to determine a difference between the contour of the workpiece to be ground and cut and the contour of the finished workpiece based on the finished workpiece contour coordinates and the contour coordinates; The polishing attribute information determination submodule is used to determine the polishing attribute information corresponding to the first target polishing position according to the difference.
[0051] Optionally, the equipment for grinding and cutting a workpiece includes a grinding and cutting table, a workpiece fixing device and a vertical and horizontal rotating mechanism, and the device also includes: A control workpiece fixing submodule is used to control the grinding and cutting table to rotate in response to determining that the position corresponding to the position information is a workpiece cutting and grinding position, and adjust the position of the workpiece to be ground and cut on the grinding and cutting table according to the position of the first target grinding position corresponding to the motion trajectory information; A control rotation submodule is used to control a workpiece fixing device in the equipment for grinding and cutting workpieces to fix the workpiece to be ground and cut on the grinding and cutting table, wherein the grinding and cutting table can be controlled by a motor to perform horizontal rotation and angle flipping, and the workpiece fixing device includes a motor and a pressing cylinder, and the pressing cylinder is controlled by the motor to press the workpiece to be ground and cut on the grinding and cutting table; A rotation direction control submodule, used to control the rotation direction of the vertical and horizontal rotating mechanism through a motor installed on the vertical and horizontal rotating mechanism according to the motion trajectory information; The grinding direction determination submodule is used to control the grinding direction and angle of the grinding cut workpiece by the slicer installed on the vertical and horizontal rotating mechanism through the rotation direction.
[0052] Optionally, the equipment for grinding and cutting a workpiece includes a slide, a mechanical arm is mounted on the slide, and the submodule for controlling the workpiece to be fixed includes: a position adjustment submodule, for controlling the up and down movement of a slide in the device for grinding and cutting the workpiece in response to determining that the position corresponding to the position information is a workpiece cutting and grinding position, and adjusting the position of a mechanical arm on the slide, wherein the mechanical arm comprises a No. 1 auxiliary driving arm, a No. 2 main driving arm, a No. 1 auxiliary driving arm and a No. 2 auxiliary driving arm, and the workpiece fixing device is installed on the No. 1 auxiliary driving arm; The control movement submodule is used to control the movement of the second driving main arm, the first auxiliary driving arm and the second auxiliary driving arm through a motor connected to the robotic arm according to the position information, so as to press and fix the workpiece to be ground and cut on the grinding and cutting table.
[0053] Optionally, the number of slices installed on the vertical and horizontal rotating mechanism of the equipment for grinding and cutting workpieces includes multiple, and the device further includes: A function information determination submodule, used to determine the function information of the corresponding slice according to the difference; An attribute information determination submodule, used to determine the attribute information of the corresponding slice according to the workpiece attribute information of the workpiece to be polished and cut; A target slice selection submodule, configured to select a target slice based on the function information and the attribute information; A control grinding submodule is used to control the target slice installed on the vertical and horizontal rotating mechanism to grind the grinding and cutting workpiece according to the difference.
[0054] Optionally, a guide rail is installed on the base of the equipment for grinding and cutting workpieces, a loading workbench is slidably installed on the guide rail, the grinding and cutting table is placed on the loading workbench, the loading workbench includes a first loading workbench and a second loading workbench, and the device further includes: The first sliding submodule is used for controlling the motor installed on the No. 1 loading workbench to control the No. 1 loading workbench to slide toward one end of the initial position of the No. 1 loading workbench on the guide rail in response to determining that the workpiece to be polished and cut on the No. 1 loading workbench has been polished. The initial positions of the No. 1 loading workbench and the No. 2 loading workbench are the two ends of the guide rail; The second sliding submodule is used to control the motor installed on the No. 2 loading workbench located on the other side of the guide rail to control the No. 2 loading workbench to slide to the position for grinding the workpiece.
[0055] In an embodiment of the present invention, based on the acquired image, the position information of the workpiece to be polished and cut is determined; in response to determining that the position corresponding to the position information is the workpiece cutting and polishing position, the workpiece to be polished on the workpiece cutting and polishing position is controlled to rotate according to a preset angle, and the target polishing position of the workpiece to be polished is marked; according to the target polishing information of the workpiece to be polished corresponding to each target polishing position, the polishing attribute information corresponding to each target polishing position is determined; according to the polishing sequence of the target polishing position and the polishing attribute information corresponding to each target polishing position, the motion trajectory information of the workpiece to be polished is generated. The embodiment of the present disclosure realizes that the workpiece can be automatically polished through the generated motion trajectory information, thereby improving production efficiency and processing accuracy, not easily damaging the workpiece, and thereby reducing the harm of dust to personal safety and pollution to the atmospheric environment.
[0056] above Figure 2 The motion trajectory generating device in the embodiment of the present invention is described in detail from the perspective of modular functional entities. The motion trajectory generating device in the embodiment of the present invention is described in detail from the perspective of hardware processing.
[0057] Figure 33 is a schematic diagram of the structure of a motion trajectory generating device provided by an embodiment of the present invention. The motion trajectory generating device 300 may have relatively large differences due to different configurations or performances, and may include one or more processors (central processing units, CPU) 310 (for example, one or more processors) and a memory 320, and one or more storage media 330 (for example, one or more mass storage devices) storing application programs 333 or data 332. Among them, the memory 320 and the storage medium 330 may be short-term storage or permanent storage. The program stored in the storage medium 330 may include one or more modules (not shown in the figure), and each module may include a series of computer program operations in the motion trajectory generating device 300. Furthermore, the processor 310 may be configured to communicate with the storage medium 330 to execute a series of computer program operations in the storage medium 330 on the motion trajectory generating device 300.
[0058] The motion trajectory generating device 300 may also include one or more power supplies 340, one or more wired or wireless network interfaces 350, one or more input and output interfaces 360, and / or one or more operating systems 331, such as Windows Serve, Mac OS X, Unix, Linux, FreeBSD, etc. It will be appreciated by those skilled in the art that Figure 3 The structure of the motion trajectory generating device shown does not constitute a limitation on the motion trajectory generating device, and may include more or less components than shown in the figure, or combine certain components, or arrange the components differently.
[0059] The present invention also provides a motion trajectory generation device, comprising: a memory and at least one processor, wherein a computer program is stored in the memory, and the memory and the at least one processor are interconnected through a line; the at least one processor calls the computer program in the memory so that the motion trajectory generation device performs the steps in the above-mentioned motion trajectory generation.
[0060] The present invention also provides a computer-readable storage medium, which may be a non-volatile computer-readable storage medium or a volatile computer-readable storage medium. A computer program is stored in the computer-readable storage medium. When the computer program runs on a computer, the computer executes the steps of generating a motion trajectory.
[0061] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0062] 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 technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium and includes several computer programs to enable a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods of various embodiments of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk, etc., various media that can store program codes.
[0063] The above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, 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 thereof may be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A motion trajectory generation method, characterized in that: include: Based on the acquired image, determine the position information of the workpiece to be ground and cut; In response to determining that the position corresponding to the position information is a workpiece cutting and polishing position, controlling the workpiece to be polished on the workpiece cutting and polishing position to rotate according to a preset angle, and marking a target polishing position of the workpiece to be polished; Determine the polishing attribute information corresponding to each target polishing position according to the target polishing information of the workpiece to be polished corresponding to each target polishing position; According to the grinding sequence of the target grinding positions and the grinding attribute information corresponding to each target grinding position, the motion trajectory information of the workpiece to be ground is generated.
2. A motion trajectory generation method according to claim 1, characterized in that: The step of determining the position information of the workpiece to be ground and cut based on the acquired image includes: Acquiring the image by means of a photographing device, wherein the photographing device is fixedly mounted on a device for grinding and cutting a workpiece; Based on the image, relative position information of the workpiece to be ground and cut relative to the equipment for grinding and cutting the workpiece is determined, and the relative position information is used as the position information.
3. A motion trajectory generation method according to claim 1, characterized in that: The step of determining the grinding attribute information corresponding to each target grinding position according to the target grinding information of the workpiece to be ground corresponding to each target grinding position includes: According to the order of the target grinding position marks, a target grinding position is selected from the marked target grinding positions of the workpiece to be ground as the first target grinding position; Establishing a spatial coordinate system according to the position information corresponding to the workpiece to be ground and cut at the first target grinding position; Determine the finished product contour coordinates of the workpiece to be polished and cut at the first target polishing position corresponding to the finished product workpiece corresponding to the acquired workpiece to be polished and cut in the spatial coordinate system; Determine the contour coordinates of the workpiece to be ground and cut at the first target grinding position in the spatial coordinate system; Determining the difference between the contour of the workpiece to be ground and cut and the contour of the finished workpiece based on the finished product contour coordinates and the contour coordinates; According to the difference, the polishing attribute information corresponding to the first target polishing position is determined.
4. A motion trajectory generation method according to claim 2, characterized in that: The equipment for grinding and cutting workpieces comprises a grinding and cutting table, a workpiece fixing device and a vertical and horizontal rotating mechanism, and the method further comprises: In response to determining that the position corresponding to the position information is a workpiece cutting and grinding position, controlling the grinding and cutting table to rotate, and adjusting the position of the workpiece to be ground and cut on the grinding and cutting table according to the position of the first target grinding position corresponding to the motion trajectory information; Controlling a workpiece fixing device in the equipment for grinding and cutting workpieces to fix the workpiece to be ground and cut on the grinding and cutting table, wherein the grinding and cutting table can be controlled by a motor to perform horizontal rotation and angle flipping, and the workpiece fixing device includes a motor and a clamping cylinder, and the clamping cylinder is controlled by the motor to clamp the workpiece to be ground and cut on the grinding and cutting table; According to the motion trajectory information, the rotation direction of the vertical and horizontal rotating mechanism is controlled by a motor installed on the vertical and horizontal rotating mechanism; The rotation direction is used to control the grinding direction and angle of the cut workpiece by the slicer installed on the vertical and horizontal rotating mechanism.
5. A motion trajectory generation method according to claim 4, characterized in that: The device for grinding and cutting a workpiece includes a slide, and a mechanical arm is installed on the slide. In response to determining that the position corresponding to the position information is a workpiece cutting and grinding position, a workpiece fixing device in the device for grinding and cutting a workpiece is controlled to fix the workpiece to be ground and cut on the grinding and cutting table, including: In response to determining that the position corresponding to the position information is a workpiece cutting and grinding position, controlling the slide in the equipment for grinding and cutting the workpiece to move up and down, and adjusting the position of the mechanical arm on the slide, wherein the mechanical arm includes a No. 1 auxiliary driving arm, a No. 2 main driving arm, a No. 1 auxiliary driving arm and a No. 2 auxiliary driving arm, and the workpiece fixing device is installed on the No. 1 auxiliary driving arm; According to the position information, the second driving main arm, the first auxiliary driving arm and the second auxiliary driving arm are controlled to move through a motor connected to the robot arm, so that the workpiece to be ground and cut is pressed and fixed on the grinding and cutting table.
6. A motion trajectory generation method according to claim 4, characterized in that: The number of slices installed on the vertical and horizontal rotating mechanism of the equipment for grinding and cutting workpieces includes multiple, and the method further includes: Determining functional information of a corresponding slice according to the difference; Determining the attribute information of the corresponding slice according to the workpiece attribute information of the workpiece to be ground and cut; Selecting a target slice based on the function information and the attribute information; According to the difference, the target slice installed on the vertical and horizontal rotating mechanism is controlled to grind the grinding and cutting workpiece.
7. A motion trajectory generation method according to claim 1, characterized in that: A guide rail is installed on the base of the equipment for grinding and cutting workpieces, a loading workbench is slidably installed on the guide rail, the grinding and cutting table is placed on the loading workbench, the loading workbench includes a first loading workbench and a second loading workbench, and the method further includes: In response to determining that the workpiece to be polished and cut on the No. 1 loading workbench has been polished, the motor installed on the No. 1 loading workbench is controlled to control the No. 1 loading workbench to slide toward one end of the initial position of the No. 1 loading workbench on the guide rail, wherein the initial positions of the No. 1 loading workbench and the No. 2 loading workbench are the two ends of the guide rail; The motor installed on the No. 2 loading workbench located on the other side of the guide rail is controlled to control the No. 2 loading workbench to slide to the position for grinding the workpiece.
8. A motion trajectory generating device, characterized in that: include: A position information determination module, used to determine the position information of the workpiece to be ground and cut based on the acquired image; a marking module, configured to, in response to determining that the position corresponding to the position information is a workpiece cutting and grinding position, control the workpiece to be ground on the workpiece cutting and grinding position to rotate according to a preset angle, and mark a target grinding position of the workpiece to be ground; A grinding attribute information determination module, used to determine the grinding attribute information corresponding to each target grinding position according to the target grinding information of the workpiece to be polished corresponding to each target grinding position; A generating module is used to generate the motion trajectory information of the workpiece to be polished according to the polishing sequence of the target polishing positions and the polishing attribute information corresponding to each target polishing position.
9. A motion trajectory generating device, characterized in that: The motion trajectory generation device comprises: a memory, a processor, and a motion trajectory generation program stored in the memory and executable on the processor. When the motion trajectory generation program is executed by the processor, the steps of motion trajectory generation according to any one of claims 1 to 7 are implemented.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a motion trajectory generation program, and when the motion trajectory generation program is executed by the processor, the steps of motion trajectory generation according to any one of claims 1 to 7 are implemented.
Citation Information
Patent Citations
Automatic calibrating and detecting method for executing end of robot based on ruby probe
CN109848989A
Member grinding track generating method, device and equipment
CN110315431A
Workpiece polishing system and method based on 3D vision camera
CN112318320A
Machining path generation method and device, machine tool and readable storage medium
CN118052959A
Polishing track correction method and system based on vision measurement and storage medium
CN118404501A
