A grinding and polishing method with position compensation

By using the position compensation fine-tuning device and neural network model in the five-axis grinding and polishing machine, the three-dimensional force and torque of the workpiece can be monitored and adjusted in real time, which solves the problem of the five-axis grinding and polishing machine being unable to independently adjust the workpiece and improves the stability of the grinding force. and overall effect.

CN118143759BActive Publication Date: 2024-08-30NANJING BIO INSPIRED INTELLIGENT TECH
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
CN202410565854.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-05-09
Publication Date
2024-08-30
Estimated Expiration
2044-05-09

AI Technical Summary

Technical Problem

The existing five-axis grinding and polishing machine cannot independently adjust a single workpiece, resulting in an inability to maintain stable grinding force and affecting the overall grinding and polishing effect.

Method used

A position compensation fine-tuning device is used to monitor the XYZ three-dimensional force and XYZ three-dimensional moment of the workpiece in real time through a six-dimensional force sensor. The neural network model is used to calculate and execute the XYZ axis position compensation amount, and each workstation is independently fine-tuned to ensure stable grinding force.

Benefits of technology

Improves the stability and effect of the grinding force during the grinding and polishing process, and optimizes the overall grinding effect.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118143759B
    Figure CN118143759B
Patent Text Reader

Abstract

The present invention discloses a grinding and polishing method with position compensation, comprising the following steps: step 1, preparation; step 2, start work, obtain grinding trajectory planning, pressure setting value and consumable loss degree; step 3, plan the three-dimensional position fine-tuning default value at each moment in the whole grinding process; step 4, obtain the trajectory start time from the numerical control system; step 5, the position compensation fine-tuning device monitors the grinding process of the workpiece in real time; step 6, record the XYZ three-dimensional force, XYZ three-dimensional torque and / or the XYZ axis position compensation of the workpiece in step 5, and the work is finished. Advantages: The product corresponding to this scheme is integrated at the end of the workpiece station of the five-axis grinding and polishing machine, and the position of each station can be fine-tuned independently according to the force and torque data received by each station during the grinding and polishing process, thereby improving the stability of the grinding force during the grinding and polishing process and optimizing the grinding effect.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of polishing, in particular to a grinding and polishing method with position compensation. Background Art

[0002] Polishing and grinding machines are widely used in various industries, such as automobile manufacturing, bathroom products, kitchen products, hardware furniture, 3C industry, etc. At present, polishing and grinding robots are mainly used for surface grinding of workpieces, deburring of edges and corners, grinding of welds, deburring of inner cavities, etc. Appropriate intelligent manufacturing solutions for polishing and grinding can not only improve the quality and efficiency of polishing, but also reduce production costs.

[0003] During the grinding and polishing process, there may be problems such as insufficient surface roughness, obvious grinding marks, over-grinding, and uneven polishing. These problems will affect the appearance and quality of the product, reduce the product's aesthetics and market competitiveness. Therefore, during the grinding and polishing process, it is necessary to strictly control the process parameters to ensure that the product quality meets the standard requirements. If the polishing pressure is uneven, some areas will be over-polished and some areas will be under-polished, thus affecting the polishing effect.

[0004] The existing technical solutions are as follows:

[0005] In the utility model patent "A grinding device for automatic compensation of torque" (authorization number CN210968390U), a grinding device for automatic compensation of torque is provided. The grinding device for automatic compensation of torque makes the force of the product tend to be uniform during the grinding process. When the product rotates and tilts at a certain angle, one end of the product and the grinding head will have excessive pressure. The pressure sensor (combined in the composite torque sensor) and the automatic adjustment device (slide) are used to correct the product relative to the grinding head to move in the plane composed of the X and Y axes (it can move in any direction in the plane), so that the product grinding force is more uniform and the processing is stable. The motor that drives the slide to move is assembled on the side of the slide in a rectangular shape. The rotation of the bearing around the Z axis can make the slide move in any direction in the plane composed of the XY axes. The device is installed on the A axis. The main components are a pressure sensor, a left and right moving slider, a front and back moving slider, a rotating spindle and some positioning and protection components. The pressure sensor plays a monitoring and control role, and the slider in the slide plays an adjustment role, so that the force of the product tends to be constant during the grinding process.

[0006] In the utility model patent "A multi-directional force control and compensation structure for grinding and polishing equipment" (authorization number CN213352045), a multi-directional force control and compensation structure for grinding and polishing equipment is disclosed. When the workpiece is being ground, the mechanism will deviate from the contact with the grinding head and generate a pressure difference. After the force control sensor senses the pressure signal from the fixed part of the workpiece in real time, the pressure signal is fed back to the control module for analysis and processing. The control module then gives work instructions to the X-axis drive unit, the Y-axis drive unit and the Z-axis drive unit respectively, so as to automatically adjust the various angles of the workpiece and make the force on the workpiece more uniform. When multiple utility models work at the same time, the positions of multiple products can be corrected at the same time to ensure the consistency of multi-station output, reduce the precision error of each station of the multi-station grinding and polishing equipment, and improve the quality of grinding and polishing.

[0007] In the utility model patent "A structure for compensating multi-station errors of polishing equipment" (authorization number CN213673445U), a structure for compensating multi-station errors of grinding and polishing equipment is provided. During operation, the force control sensor and the drive unit are electrically connected to the control module respectively, and the force control sensor is fed back to the control module. Then the control module adjusts the drive unit to give instructions for compensation, so as to correct the position of the product and even ensure the consistency of multi-station output; multiple stations can work independently, and independent stations can reduce energy consumption. The force control sensor is used in conjunction with the drive unit, and the workpiece can overcome the error factor to achieve consistency; multiple stations can work independently and simultaneously, reducing energy consumption, and having the advantages of reducing the accuracy error of each station of the multi-station grinding and polishing equipment, making the force size of the workpiece more uniform, and the grinding and polishing quality higher. The force control sensor can actively realize small compensation of small displacements (several millimeters) on the X-axis, Y-axis, and Z-axis.

[0008] In the invention patent "A full-closed-loop control method suitable for a force control platform and its force control platform" (unauthorized, application publication number CN116330107A), a full-closed-loop control method suitable for a force control platform and its force control platform are provided. The control method detects the real-time contact force and compares it with the target value to obtain the deviation value; the deviation value is converted into a control signal through a control algorithm, and fed back to the drive end through the control end; the corresponding trigger drive end is selected to the working thousand-speed mode, so as to quickly respond to the received control signal to make the drive end move relatively, and the contact force is adjusted accordingly to compensate and monitor the external friction and inertia force, so that the control end can accurately control the constant torque output by the drive end. Thus, a full-closed-loop control system is formed, which can accurately and constantly control the output torque, and improve the accuracy and high response characteristics during operation.

[0009] In the invention patent "An automatic compensation mechanism based on constant pressure polishing", an automatic compensation mechanism based on constant pressure polishing is proposed. By utilizing the characteristics that the cylinder stroke is fixed and the thrust is only related to the air pressure, and utilizing the floating of the cylinder, by precisely controlling the pressure of the first cylinder and the second cylinder, the polishing wheel can always be in contact with the concave surface of the 3D glass with a constant force, automatically compensating for the loss of the polishing wheel, and better solving the problems of polishing wheel wear and polishing consistency during the concave surface polishing of 3D glass, ensuring efficient and stable polishing effects.

[0010] In the utility model patent "A multi-station grinding machine fine-tuning mechanism" (authorized CN213828500U), a multi-station grinding fine-tuning mechanism is proposed. The force control sensor detects the slight movement of the workpiece clamping part to ensure that the force applied to each workpiece during grinding is equal, and indirectly ensures that the distance between the workpiece and the grinding disc is the same; in addition, the force control sensor can actively realize small compensation of small displacements (several millimeters) on the X-axis, Y-axis and Z-axis. The force control sensor is used to measure the reaction force when the workpiece contacts the grinding disc. The control module calculates and converts the reaction force into the number of revolutions of the motor. The motor drives the small bottom plate to move forward or backward slightly, thereby changing the size of the reaction force and stabilizing the force within the set range. The force is stable within the set range, which can ensure that the grinding amount of the workpieces at each station is the same. The grinding amount is the same, and the final grinding product has a high consistency.

[0011] In the invention patent "A multi-station polishing pressure feedback compensation mechanism" (unauthorized, application publication number CN113370052A), a multi-station polishing pressure feedback compensation mechanism is proposed. Since a pressure sensor is connected between the first slide and the second slide of each working unit, the pressure sensor can detect the pressure of the polishing head on the workpiece during polishing. When the workpieces of each station have inconsistent pressure due to assembly errors and thickness tolerances of the polishing head, the pressure sensor will detect the pressure change to form pressure feedback. The pressure feedback system controls the servo motor to drive the first slide and the second slide to move back and forth according to the pressure feedback value, so that each independent workpiece moves to its own appropriate position, ensuring that the polishing pressure on the side of the workpieces of multiple stations processed simultaneously is consistent, ensuring processing quality, improving the yield rate, and solving the problem of different polishing pressures on the workpieces of each station affecting product quality and resulting in a high defective rate.

[0012] In the invention patent "A multi-station independent force control compensation control system with RTCP function", a multi-station independent force control compensation control system with RTCP function is proposed. The five-axis CNC system sets the grinding process control path program and sets the pressure value in the grinding path accordingly. When the grinding tool contacts the grinding point, the pressure sensor detects the corresponding pressure value; and feeds back the signal to the CNC force control after processing. The CNC system analyzes and calculates, processes and forms displacement instructions to the compensation servo motor, and the compensation servo motor makes precise micro-movements to adjust the grinding contact distance from the positive and negative directions of the corresponding pressure to achieve the purpose of adjusting the pressure value; this is a compensation cycle. During the precision grinding and polishing process, this cycle is circulated to ensure real-time force throughout the grinding process.

[0013] During the operation of the five-axis grinding and polishing machine, the grinding force cannot be kept stable due to the wear of the grinding head consumables, the discontinuity of the CNC system path planning, the lag of the CNC system position adjustment and other problems, thus affecting the grinding and polishing effect. In the actual polishing process, it is necessary to fine-tune the workpiece or the grinding head position according to the force of each axis to ensure the stability of the grinding force.

[0014] At present, the five-axis grinding and polishing machine can only uniformly adjust the position of each driving axis according to the force feedback of the one-dimensional force sensor on each driving axis (executing motion axis X-axis, executing motion axis Y-axis, executing motion axis Z-axis, executing motion axis A-axis, and workpiece rotation axis C-axis). The control method adopts PID control, and it is impossible to adjust a single workpiece independently, which affects the overall grinding and polishing effect. Summary of the invention

[0015] The technical problem to be solved by the present invention is that the five-axis grinding and polishing machine in the prior art cannot independently adjust a single workpiece, thereby affecting the overall grinding and polishing effect.

[0016] The purpose of the present invention is to provide a grinding and polishing method with position compensation, comprising the following steps:

[0017] Step 1. Preparation: Install a position compensation fine-tuning device at the workpiece fixing position of the polishing machine. The position compensation fine-tuning device is used to provide real-time feedback of the XYZ three-dimensional force and XYZ three-dimensional moment exerted on the workpiece;

[0018] Step 2: Start working, the position compensation fine-tuning device obtains the grinding trajectory planning, pressure setting value and consumable loss degree from the CNC system of the polishing machine;

[0019] Step 3: During the pre-run process, plan the default values ​​of the three-dimensional position fine-tuning at each moment in the entire polishing process;

[0020] Step 4, the trajectory start time is obtained from the numerical control system of the polishing machine, and the position compensation fine-tuning device synchronously executes the three-dimensional position fine-tuning default value;

[0021] Step 5: The position compensation fine-tuning device monitors the XYZ three-dimensional force and XYZ three-dimensional moment exerted on the workpiece at each moment in real time, and compares them with the three-dimensional position fine-tuning default values ​​at each moment planned in step 3 in real time;

[0022] If the measured XYZ three-dimensional force and / or XYZ three-dimensional moment does not match the predicted value in step 3, the position compensation fine-tuning device calculates the XYZ axis position compensation amount of the workpiece, and the position compensation fine-tuning device executes the compensation amount, and then enters step 5;

[0023] If the measured XYZ three-dimensional force and / or XYZ three-dimensional moment is consistent with the predicted value in step 3, proceed to step 6;

[0024] Step 6: Record the XYZ three-dimensional force, XYZ three-dimensional moment and / or XYZ axis position compensation of the workpiece in step 5.

[0025] In a further optimization of the technical solution of the present invention, during the execution of the pre-running process, the position compensation fine-tuning device is not fine-tuned, and the six-dimensional force sensor in the position compensation fine-tuning device reads and records the XYZ three-dimensional force and XYZ three-dimensional moment at each moment during the pre-running process, and the three-dimensional fine-tuning default value at the corresponding moment is obtained according to the following formula: ; The subscript i represents the x, y, and z directions, and each direction is calculated independently;

[0026] is the proportional constant. It should be noted that since the adjustment ratio in each direction is different, the proportional constant in each direction is also different.

[0027] is the force in the corresponding direction measured by the six-dimensional force sensor, The grinding force in this direction set by the user. is the difference between the actual force at the current moment and the grinding setting force, It is the difference between the actual force measured at the last moment and the grinding setting force;

[0028] The target position of the actuator in this direction, that is, the default value of the three-dimensional position fine-tuning, It is the zero position of the motion actuator.

[0029] As a further optimization of the technical solution of the present invention, the specific method of step 4 is: when the numerical control system starts to execute the grinding task, a start signal is sent to the central control of the position compensation fine-tuning device, and the position compensation fine-tuning device starts to execute the task synchronously.

[0030] Further optimization of the technical solution of the present invention, the specific method for the position compensation fine-tuning device in step 5 to calculate the XYZ-axis position compensation amount of the workpiece is: using a trained neural network model to input the measured XYZ three-dimensional force, XYZ three-dimensional torque, three-dimensional position fine-tuning default value, the current of the position compensation fine-tuning device, the speed of the three-axis motion actuator of the position compensation fine-tuning device, the actual position of the three-axis motion actuator of the position compensation fine-tuning device and the degree of wear of consumables, and the output is the XYZ-axis position compensation amount of the workpiece.

[0031] Further optimization of the technical solution of the present invention is that the training method of the neural network model is as follows: the input layer receives x, the input is modeled using weights w, each hidden layer calculates the output, and the data is ready in the output layer, that is, the XYZ axis position compensation of the workpiece is obtained; the neural network model is used to perform actual grinding several times, and the total deviation value of the grinding force in a single complete grinding process is used as the loss function, and then the hidden layer is returned and the weight is adjusted before re-conducting the grinding experiment to obtain the loss function value; multiple iterations are performed until the trained network loss function is less than the set value, the training is completed, and a trained neural network model is obtained.

[0032] Further optimization of the technical solution of the present invention is that the position compensation fine-tuning device includes a six-axis force sensor, a three-axis position fine-tuning mechanism and a base. The base of the six-axis force sensor is arranged above the three-axis position fine-tuning mechanism, and the workpiece is clamped above the sensing end of the six-axis force sensor by a workpiece clamp; during the polishing and grinding process of the workpiece, the six-axis force sensor provides real-time feedback on the XYZ three-dimensional force and XYZ three-dimensional torque exerted on the workpiece; the lower part of the three-axis position fine-tuning mechanism is arranged on the base, and the base is connected to the polishing machine.

[0033] Further optimization of the technical solution of the present invention is that the three-axis position fine-tuning mechanism includes an X-axis drive device, a Y-axis drive device and a Z-axis drive device. The X-axis drive device is connected to the base of the six-axis force sensor and is also connected to the Y-axis drive device through a first mounting plate. The Y-axis drive device is also connected to the Z-axis drive device through a second mounting plate, and the Z-axis drive device is arranged on the base.

[0034] Further optimization of the technical solution of the present invention is that the X-axis drive device drives two X-axis linear guide pairs to move in the X-axis direction, the two X-axis linear guide pairs are arranged in parallel on the first mounting plate, the sliders on the two X-axis linear guide pairs are connected to the base of the six-axis force sensor, the Y-axis drive device drives two Y-axis linear guide pairs to move in the Y-axis direction, the two Y-axis linear guide pairs are arranged in parallel on the second mounting plate, the Y-axis linear guide pairs and the X-axis linear guide pairs are vertically distributed in space, and the Z-axis drive device drives four Z-axis optical axis guides to move in the Z-axis direction, and the four Z-axis optical axis guides are vertically arranged between the second mounting plate and the base.

[0035] In a further optimization of the technical solution of the present invention, the six-dimensional force sensor, the three-axis position fine-tuning mechanism and the base are all central hole structures. The central hole design can be directly installed at the end of the workpiece station, and the original fixture or workpiece fixing device can be used without structural modification.

[0036] Compared with the prior art, the present invention has the following beneficial effects:

[0037] The method of the present invention integrates the product corresponding to the scheme at the end of the workpiece station of the five-axis grinding and polishing machine, and can independently fine-tune the position of each station according to the force and torque data received by each station during the grinding and polishing process, thereby improving the stability of the grinding force during the grinding and polishing process and optimizing the grinding effect. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] Figure 1 is a flowchart of a grinding and polishing method with position compensation in this embodiment;

[0039] Figure 2 This is a control principle diagram of the grinding and polishing position compensation of the position compensation fine-tuning device of this embodiment;

[0040] Figure 3 is an architecture diagram of the neural network model in step 5 of the method of this embodiment;

[0041] Figure 4 is a three-dimensional schematic diagram of the position compensation fine-tuning device of this embodiment;

[0042] Figure 5 yes Figure 4 Explosion diagram.

[0043] Among them: 1-six-dimensional force sensor, 2-three-axis position fine-tuning mechanism, 3-base, 201-X-axis driving device, 202-Y-axis driving device, 203-Z-axis driving device, 204-X-axis linear guide pair, 205-Y-axis linear guide pair, 206-Z-axis optical axis guide. DETAILED DESCRIPTION

[0044] In order to make the purpose, technical solutions and advantages of the present invention more clearly understood, the following Figure 1 -Attached Figure 4 The present invention is further described in detail with reference to the embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention. In addition, the technical features involved in each embodiment of the present invention described below can be combined with each other as long as they do not conflict with each other.

[0045] like Figure 1 As shown, this embodiment is a grinding and polishing method with position compensation, comprising the following steps:

[0046] Step 1. Preparation: Install a position compensation fine-tuning device at the workpiece fixing position of the polishing machine. The position compensation fine-tuning device is used to provide real-time feedback of the XYZ three-dimensional force and XYZ three-dimensional moment exerted on the workpiece;

[0047] Step 2: Start working, the position compensation fine-tuning device obtains the grinding trajectory planning, pressure setting value and consumable loss degree from the numerical control system of the polishing machine;

[0048] Step 3: During the pre-run process, plan the default values ​​of the three-dimensional position fine-tuning at each moment in the entire polishing process;

[0049] Step 4, the trajectory start time is obtained from the numerical control system of the polishing machine, and the position compensation fine-tuning device synchronously executes the three-dimensional position fine-tuning default value;

[0050] Step 5: The position compensation fine-tuning device monitors the XYZ three-dimensional force and XYZ three-dimensional moment exerted on the workpiece at each moment in real time, and compares them with the three-dimensional position fine-tuning default values ​​at each moment planned in step 3 in real time;

[0051] If the measured XYZ three-dimensional force and / or XYZ three-dimensional moment does not match the predicted value in step 3, the position compensation fine-tuning device calculates the XYZ axis position compensation amount of the workpiece, and the position compensation fine-tuning device executes the compensation amount, and then enters step 5;

[0052] If the measured XYZ three-dimensional force and / or XYZ three-dimensional moment is consistent with the predicted value in step 3, proceed to step 6;

[0053] Step 6: Record the XYZ three-dimensional force, XYZ three-dimensional moment and / or XYZ axis position compensation of the workpiece in step 5.

[0054] like Figure 4 and 5 As shown, the position compensation fine-tuning device mentioned in the compensation method is installed on the fixed position of the workpiece of the polishing machine, specifically: the position compensation fine-tuning device includes a six-dimensional force sensor 1, a three-axis position fine-tuning mechanism 2 and a base 3, the base of the six-dimensional force sensor 1 is arranged above the three-axis position fine-tuning mechanism 2, and the workpiece is clamped above the sensing end of the six-dimensional force sensor 1 by a workpiece clamp; during the polishing and grinding process of the workpiece, the six-dimensional force sensor 1 provides real-time feedback on the XYZ three-dimensional force and XYZ three-dimensional torque exerted on the workpiece; the bottom of the three-axis position fine-tuning mechanism 2 is arranged on the base 3, and the base 3 is connected to the polishing machine.

[0055] The position compensation fine-tuning device is integrated at the end of the workpiece station of the five-axis grinding and polishing machine. According to the force and torque data of each station during the grinding and polishing process, the position of each station can be fine-tuned independently, thereby improving the stability of the grinding force during the grinding and polishing process and optimizing the grinding effect.

[0056] like Figure 5 As shown, the three-axis position fine-tuning mechanism 2 in the position compensation fine-tuning device in this embodiment, the X-axis driving device 201, the Y-axis driving device 202, the Z-axis driving device 203, the X-axis linear guide 204, the Y-axis linear guide 205, and the Z-axis optical axis guide 206. The three-axis position fine-tuning mechanism 2 can adjust the position in three directions, and the single-axis adjustment range is within 10 mm.

[0057] like Figure 5 As shown, the X-axis driving device 201 is responsible for driving the linear motion in the X direction. The Y-axis driving device 202 is responsible for driving the linear motion in the Y direction. The Z-axis driving device 203 is responsible for driving the linear motion in the Z direction. The X-axis linear guide 204 is responsible for providing an accurate linear motion track along the X-axis, so that the device can move accurately on the predetermined X-direction path. The Y-axis linear guide 205 is responsible for providing an accurate linear motion track along the Y-axis, so that the device can move accurately on the predetermined Y-direction path. The four Z-axis optical axis guides 206 are responsible for providing an accurate linear motion track along the Z-axis, so that the device can move accurately on the predetermined Z-direction path.

[0058] like Figure 4 and 5 As shown, the six-dimensional force sensor 1, the three-axis position fine-tuning mechanism 2 and the base 3 are all center-hole structures. The center-hole design can be directly installed at the end of the workpiece station, and the original fixture or workpiece fixture can be used without structural modification, so that this embodiment can be quickly adapted to various workpiece fixtures. However, the existing technical solution does not use the center-hole design, and the original fixture or workpiece fixture of the commonly used five-axis grinding and polishing machine cannot be directly used.

[0059] like Figure 2 As shown, the control principle of the grinding and polishing position compensation of the position compensation fine-tuning device of this embodiment is: the input of the position compensation fine-tuning device is the actual measurement value of the XYZ three-dimensional force and XYZ three-dimensional torque at each moment, which is monitored and acquired by the six-dimensional force sensor 1. At the same time, the position compensation fine-tuning device also inputs a feedforward signal, which is the current grinding and polishing motion trajectory. The current grinding and polishing motion trajectory is the three-dimensional position fine-tuning default value planned for each moment in the entire grinding process during the execution of the pre-run process.

[0060] After data fusion of the actual force / torque value and the predicted force / torque value, the relative compensation value is obtained through the pre-trained neural network model, and the relative compensation value is coupled with the fine-tuning default value to obtain the actual compensation value.

[0061] The actual compensation value is sent to the three-axis drive device (X-axis drive device 201, Y-axis drive device 202 and Z-axis drive device 203) in the position compensation fine-tuning device to perform position compensation fine-tuning in three directions, thereby ensuring that the grinding force meets the stability requirements and improving the grinding and polishing effect.

[0062] The position compensation fine-tuning device of this embodiment has a control system that is independent of the numerical control system and only needs to interact with the numerical control system in the polishing machine regarding user settings and result data before and after the process begins, without having to be integrated into the control system of the numerical control system.

[0063] Furthermore, the position compensation fine-tuning device of the present embodiment uses feedforward control + neural network control to adjust the position of the workpiece, thereby reducing the hysteresis of the position compensation and effectively improving the effect of workpiece grinding.

[0064] like Figure 1 As shown, in the method of this embodiment, the grinding trajectory planning mentioned in step 2 is determined according to the sampling frequency of the entire grinding process. Usually, the sampling frequency of the entire grinding process is 1000Hz. The pressure setting value mentioned in step 2 refers to the grinding force. The degree of consumable loss mentioned in step 2 is determined according to different consumables, and the consumable supplier can provide corresponding test data support.

[0065] In the method of this embodiment, the planned grinding path is obtained in advance, and the workpiece position is pre-compensated using feedforward control to reduce the lag of position compensation.

[0066] In the method of this embodiment, the specific method of step 3 is: during the execution of the pre-running process, the position compensation fine-tuning device is not fine-tuned, and the six-dimensional force sensor in the position compensation fine-tuning device reads and records the XYZ three-dimensional force and XYZ three-dimensional moment at each moment during the pre-running process, and obtains the three-dimensional fine-tuning default value at the corresponding moment according to the following formula: ; The subscript i represents the x, y, and z directions, and each direction is calculated independently;

[0067] is the proportional constant. It should be noted that since the adjustment ratio in each direction is different, the proportional constant in each direction is also different.

[0068] is the force in the corresponding direction measured by the six-dimensional force sensor, The grinding force in this direction set by the user. is the difference between the actual force at the current moment and the grinding setting force, It is the difference between the actual force measured at the last moment and the grinding setting force;

[0069] The target position of the actuator in this direction, that is, the default value of the three-dimensional position fine-tuning, It is the zero position of the motion actuator.

[0070] In the method of this embodiment, during the execution of the pre-run process, the default value of the three-dimensional position fine-tuning at each moment in the entire grinding process is planned. This method obtains the planned grinding path in advance, uses feedforward control to pre-compensate the workpiece position, and reduces the hysteresis of position compensation.

[0071] In the method of this embodiment, the specific method of step 4 is: when the numerical control system starts to execute the grinding task, a start signal is sent to the central control of the position compensation fine-tuning device, and the position compensation fine-tuning device starts to execute the task synchronously.

[0072] In the method of this embodiment, the specific method for the position compensation fine-tuning device in step 5 to calculate the XYZ-axis position compensation amount of the workpiece is: using a trained neural network model to input the measured XYZ three-dimensional force, XYZ three-dimensional torque, three-dimensional position fine-tuning default value, the current of the position compensation fine-tuning device, the speed of the three-axis motion actuator of the position compensation fine-tuning device, the actual position of the three-axis motion actuator of the position compensation fine-tuning device and the degree of wear of consumables, and the output is the XYZ-axis position compensation amount of the workpiece.

[0073] like Figure 3 As shown in the above figure, xn is the three-axis force, three-axis torque, fine-tuning default value, three-axis motion actuator current, three-axis motion actuator speed, three-axis motion actuator actual position, consumable wear degree and other data, oj is the three-axis secondary compensation value, and the weights between each layer are obtained by model training.

[0074] The training method of the neural network model is as follows: the input layer receives x, the input is modeled using weights w, each hidden layer calculates the output, and the data is ready at the output layer, that is, the XYZ axis position compensation of the workpiece is obtained;

[0075] Use the neural network model to perform actual grinding several times, take the total deviation of the grinding force in a single complete grinding process as the loss function, then return to the hidden layer and adjust the weights to re-perform the grinding experiment to obtain the loss function value; perform multiple iterations until the trained network loss function is less than the set value, which is related to the grinding quality requirements. The higher the grinding quality requirements, the smaller the value. After the training is completed, a trained neural network model is obtained.

[0076] In step 6 of the method of this embodiment, during the entire polishing process, the central control will communicate with the six-dimensional force sensor 1 and the three-axis position fine-tuning mechanism 2 in real time. The six-dimensional force sensor 1 and the three-axis position fine-tuning mechanism 2 send the force / torque data (from the six-dimensional force sensor) and the compensation amount (that is, the displacement of the three-dimensional position fine-tuning mechanism in XYZ) to the central control, and the central control records these data in the log file and the matrix for subsequent data processing.

[0077] Furthermore, in the method of this embodiment, during use, the training data set will gradually increase with the working time. The neural network model will perform reinforcement learning and online optimization on the original model based on the newly obtained data to improve the accuracy of the model relative to the actual state.

[0078] Furthermore, in the method of this embodiment, the six-dimensional force sensor will monitor and record the force / torque data in real time during the entire grinding and polishing process. These data will be used for iterative processes such as estimating the degree of wear of consumables, correcting the force / torque prediction value, and optimizing the three-axis default fine-tuning value. The details are as follows:

[0079] The data obtained in step 6 can be imported into the consumable wear degree prediction model to obtain the current consumable wear degree estimation value, and the value is fed back to the numerical control system to facilitate the user to manage the consumables. The consumable wear degree prediction model described here is provided by the consumable supplier.

[0080] When the degree of wear of the consumables is consistent, the average value of the position fine-tuning for the same workpiece should be roughly the same. Wear of the consumables will cause the fine-tuning value to increase. Therefore, the average value can be obtained by taking the position fine-tuning (including the fine-tuning default value) during a grinding process. The larger the value, the more serious the wear. The specific corresponding relationship is related to the characteristics of different consumables. The consumables supplier can provide corresponding test data support.

[0081] Based on the data obtained in step 6 of this embodiment, it can be seen that the method of this embodiment monitors the grinding force and torque during the grinding and polishing process throughout the process. The consumable wear degree prediction model obtained through pre-training can monitor the wear degree of consumables all the time and optimize the grinding consumables management program.

[0082] Specific application examples

[0083] Use this method and device to grind a rectangular shell. The CNC system will generate a grinding trajectory based on the three-dimensional model of the workpiece. The user sets the grinding pressure to 20N. The estimated wear of the consumables after the previous grinding is stored in the CNC system. The current wear of the consumables is 80%.

[0084] Perform the polishing and grinding pre-run process. At this time, the grinding wheel remains prohibited, and the CNC system executes the polishing trajectory. After the trajectory is executed, the default value of three-dimensional position fine-tuning is obtained.

[0085] Since the data at each moment of the entire process is different, this application embodiment discusses the specific data at a certain moment.

[0086] After the actual grinding process begins, the grinding and polishing position compensation device will synchronously start the fine-tuning process. At a certain moment, the fine-tuning value in the x direction is 0.1mm, in the y direction is 0.05mm, and no fine-tuning is required in the z direction. The data of the six-dimensional force sensor on the six components are 10N, 9.7N, -0.5N, 0.05Nm, -0.04Nm, and 3.4Nm, respectively. The current data obtained from the fine-tuning of the three positions are 0.57A, 1.61A, and 0.23A, respectively. The current speeds are 0.1m / s, 0.004m / s, and 0m / s, respectively. The current positions are 0.5mm, -0.2mm, and 0.1mm, respectively.

[0087] According to the grinding posture of the grinding head, the current actual grinding pressure is calculated as: ;

[0088] The pressure value does not meet the set pressure, and it needs to be fine-tuned again based on the fine-tuning default value. Through the trained neural network model, the fine-tuning amount of the three positions is calculated to be 0.7mm, -0.01mm, and 0.1mm. This value is added to the fine-tuning default value to get the fine-tuning amount that the current three-axis fine-tuning device needs to perform: ; ; ;

[0089] According to the above results, the x-axis actuator will move from 0.5mm to 0.8mm, the y-axis actuator will move from -0.2mm to 0.04mm, and the z-axis actuator will keep its position unchanged.

[0090] After the grinding and polishing process is completed, the grinding direction position compensation is averaged, and the average value of the grinding direction position secondary compensation (excluding the fine-tuning default value) is 0.4mm. Assuming that the wear curve of the consumable is a straight line, the ratio of the wear degree to the secondary compensation average value is 0.1, then the wear degree of the consumable after grinding is: ;

[0091] The new consumable wear will be uploaded to the CNC system, and the consumable wear in the CNC system will be updated.

[0092] It will be easily understood by those skilled in the art that the above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the protection scope of the present invention.

Claims

1. A grinding and polishing method with position compensation, characterized in that: The steps include: Step 1. Preparation: Install a position compensation fine-tuning device at the workpiece fixing position of the polishing machine. The position compensation fine-tuning device is used to provide real-time feedback of the XYZ three-dimensional force and XYZ three-dimensional moment exerted on the workpiece; Step 2: Start working, the position compensation fine-tuning device obtains the grinding trajectory planning, pressure setting value and consumable loss degree from the CNC system of the polishing machine; Step 3: During the pre-run process, plan the default values ​​of the three-dimensional position fine-tuning at each moment in the entire polishing process; Step 4, the trajectory start time is obtained from the numerical control system of the polishing machine, and the position compensation fine-tuning device synchronously executes the three-dimensional position fine-tuning default value; Step 5: The position compensation fine-tuning device monitors the XYZ three-dimensional force and XYZ three-dimensional moment exerted on the workpiece at each moment in real time, and compares them with the three-dimensional position fine-tuning default values ​​at each moment planned in step 3 in real time; If the measured XYZ three-dimensional force and / or XYZ three-dimensional moment does not match the default value in step 3, the position compensation fine-tuning device calculates the XYZ axis position compensation amount of the workpiece, and the position compensation fine-tuning device executes the compensation amount, and then enters step 5; If the measured XYZ three-dimensional force and / or XYZ three-dimensional moment is consistent with the default value in step 3, proceed to step 6; Step 6, record the XYZ three-dimensional force, XYZ three-dimensional moment and / or XYZ axis position compensation of the workpiece in step 5, and the work is completed; The specific method of step 3 is as follows: during the execution of the pre-running process, the position compensation fine-tuning device is not fine-tuned, and the six-dimensional force sensor in the position compensation fine-tuning device reads and records the XYZ three-dimensional force and XYZ three-dimensional torque at each moment during the pre-running process, and obtains the three-dimensional position fine-tuning default value at the corresponding moment according to the following formula: ; Among them, the subscript i represents the x, y, and z directions, and each direction is calculated independently; is the proportional constant. It should be noted that since the adjustment ratio in each direction is different, the proportional constant in each direction is also different. is the force in the corresponding direction measured by the six-dimensional force sensor, The grinding force in this direction set by the user. is the difference between the actual force at the current moment and the grinding setting force, It is the difference between the actual force measured at the last moment and the grinding setting force; The target position of the actuator in this direction, that is, the default value of the three-dimensional position fine-tuning, is the zero position of the motion actuator; The specific method for the position compensation fine-tuning device to calculate the XYZ axis position compensation amount of the workpiece in step 5 is: using the trained neural network model to input the measured XYZ three-dimensional force, XYZ three-dimensional torque, three-dimensional position fine-tuning default value, the current of the position compensation fine-tuning device, the speed of the three-axis motion actuator of the position compensation fine-tuning device, the actual position of the three-axis motion actuator of the position compensation fine-tuning device and the degree of wear of the consumables, and the output is the XYZ axis position compensation amount of the workpiece; The training method of the neural network model is as follows: the input layer receives x, and the input is modeled using weights w. Each hidden layer calculates the output, and the data is ready in the output layer, that is, the XYZ axis position compensation of the workpiece is obtained; the neural network model is used to perform actual grinding several times, and the total deviation value of the grinding force in a single complete grinding process is used as the loss function, and then the hidden layer is returned and the weight is adjusted before re-conducting the grinding experiment to obtain the loss function value; multiple iterations are performed until the trained network loss function is less than the set value, the training is completed, and a trained neural network model is obtained.

2. The grinding and polishing method with position compensation according to claim 1, characterized in that: The specific method of step 4 is: when the numerical control system starts to execute the grinding task, it sends a start signal to the central control of the position compensation fine-tuning device, and the position compensation fine-tuning device starts to execute the task synchronously.

3. The grinding and polishing method with position compensation according to claim 1, characterized in that: The position compensation fine-tuning device comprises a six-dimensional force sensor (1), a three-axis position fine-tuning mechanism (2) and a base (3); the base of the six-dimensional force sensor (1) is arranged above the three-axis position fine-tuning mechanism (2); a workpiece is clamped above the sensing end of the six-dimensional force sensor (1) by a workpiece clamp; during the polishing process of the workpiece, the six-dimensional force sensor (1) provides real-time feedback on the XYZ three-dimensional force and XYZ three-dimensional torque exerted on the workpiece; the bottom of the three-axis position fine-tuning mechanism (2) is arranged on the base (3), and the base (3) is connected to a polishing machine.

4. The grinding and polishing method with position compensation according to claim 3, characterized in that: The three-axis position fine-tuning mechanism (2) comprises an X-axis driving device (201), a Y-axis driving device (202) and a Z-axis driving device (203); the X-axis driving device (201) is connected to the base of the six-dimensional force sensor (1) and is also connected to the Y-axis driving device (202) via a first mounting plate; the Y-axis driving device (202) is also connected to the Z-axis driving device (203) via a second mounting plate; and the Z-axis driving device (203) is arranged on the base (3).

5. The grinding and polishing method with position compensation according to claim 4, characterized in that: The X-axis driving device (201) drives two X-axis linear guide pairs (204) to move in the X-axis direction, the two X-axis linear guide pairs (204) are arranged in parallel on a first mounting plate, and the sliders on the two X-axis linear guide pairs (204) are connected to the base of the six-dimensional force sensor (1). The Y-axis driving device (202) drives two Y-axis linear guide pairs (205) to move in the Y-axis direction, the two Y-axis linear guide pairs (205) are arranged in parallel on a second mounting plate, and the Y-axis linear guide pairs (205) and the X-axis linear guide pairs (204) are vertically distributed in space. The Z-axis driving device (203) drives four Z-axis optical axis guides (206) to move in the Z-axis direction, and the four Z-axis optical axis guides (206) are vertically arranged between the second mounting plate and the base (3).

6. The grinding and polishing method with position compensation according to claim 5, characterized in that: The six-dimensional force sensor (1), the three-axis position fine-adjustment mechanism (2) and the base (3) are all central hole structures.

Citation Information

Patent Citations

  • Multi-station polishing pressure feedback compensation mechanism

    CN113370052A

  • Full closed-loop control method suitable for force control platform and force control platform thereof

    CN116330107A

  • Grinding device capable of automatically compensating torque

    CN210968390U

  • Multi-station error compensation structure of grinding and polishing equipment

    CN213673445U

  • Fine adjustment mechanism of multi-station grinding machine

    CN213828500U