Disclosure of Invention
Therefore, the invention provides a metal surface stamping process capable of automatically controlling and adjusting, which is used for overcoming the problem of low quality of stamped parts caused by low control precision of a stamping device in the reprocessing process in the prior art.
In order to achieve the purpose, the invention provides a metal surface stamping process capable of automatically controlling and adjusting, which comprises the following steps:
s1, placing the workpiece to be stamped on a conveying platform and pre-shooting the workpiece by a first shooting device;
step S2, the image processing module processes the pre-shot image and obtains the thickness and the flatness of the part to be stamped;
step S3, the image processing module judges whether the thickness of the piece to be punched is qualified according to the shot image of the piece to be punched, and when the thickness is qualified, the image processing module determines the punching pressure of a punching mechanism on the piece to be punched according to the flatness of the piece to be punched;
step S4, when the image processing module determines the stamping pressure and judges that the thickness is qualified, the control module controls to move the piece to be stamped to the workbench and controls the stamping mechanism to stamp the piece to be stamped;
step S5, the control module obtains the pressure of the pressure sensor in the stamping process, compares the pressure with the stamping pressure and judges whether to adjust the stamping pressure according to the comparison result;
step S6, the second shooting device shoots the punched workpiece and compares the shot image with the standard part image, and the image processing module judges whether the punched workpiece is qualified according to the comparison result;
in the step S3, when the image module determines that the thickness of the to-be-stamped part is not qualified, the image processing module calculates a thickness difference of the to-be-stamped part, and adjusts the stamping pressure of the stamping mechanism according to a comparison result between the thickness difference of the to-be-stamped part and the thickness difference of a preset stamped part and a preset thickness difference;
in the step S5, when the control module determines that the stamping pressure is not qualified according to the comparison result between the pressure of the pressure sensor and the stamping pressure, the control module calculates the pressure difference between the pressure of the pressure sensor and the stamping pressure, and adjusts the stamping pressure according to the pressure difference;
in the step S6, when the image processing module determines that the stamping part is not qualified according to the comparison result between the shot image and the standard part image, the image processing module adjusts the preset flatness or corrects the stamping pressure according to the comparison result between the area of the stamping part of the shot image and the area of the standard stamping part of the standard part image.
Further, in step S3, the image processing module analyzes the captured image to obtain a plurality of thicknesses of the positions to be stamped, compares the thicknesses of the positions to obtain a maximum thickness value Dmax and a minimum thickness value Dmin therein, when the obtaining is completed, the image processing module calculates a thickness difference Δ D between the maximum thickness value Dmax and the minimum thickness value Dmin, sets Δ D to be Dmax-Dmin, and compares the thickness difference with a first preset thickness difference Δ D1 and a second preset thickness difference Δ D2, if Δ D1 is less than Δ D and less than Δ D2, the image processing module determines that the stamped part is qualified in thickness, and if Δ D is less than or equal to Δ D1 or Δ D is greater than or equal to Δ D2, the image processing module determines that the stamped part is unqualified in thickness;
when the image processing module judges that the thickness of the stamping part is qualified, the image processing module determines the stamping pressure of the stamping mechanism according to the comparison result of the flatness U of the part to be stamped and the preset flatness,
the image processing module is provided with a first preset flatness U1, a second preset flatness U2, a third preset flatness U3, a first stamping pressure P1, a second stamping pressure P2 and a third stamping pressure P3, wherein U1 is more than U2 and less than U3, P1 is more than P2 and less than P3,
when U1 is more than or equal to U < U2, the image processing module sets the stamping pressure of the stamping mechanism as a first stamping pressure P1;
when U2 is more than or equal to U < U3, the image processing module sets the stamping pressure of the stamping mechanism as a second stamping pressure P2;
when U is larger than or equal to U3, the image processing module sets the stamping pressure of the stamping mechanism to be a third stamping pressure P3.
Further, when the image module determines that the thickness of the workpiece to be stamped is unqualified, the image processing module sets the stamping pressure of the stamping mechanism to Pi, sets i to 1, 2, 3, calculates a first thickness difference value Ca between the thickness difference Δ D and a first preset thickness difference Δ D1 or a second thickness difference value Cb between the thickness difference Δ D and a second preset thickness difference Δ D2, and selects a corresponding pressure adjustment amount to adjust the stamping pressure of the stamping mechanism according to a comparison result of the first thickness difference value Ca or the second thickness difference value Cb and the preset thickness difference value,
the image processing module is further provided with a first preset thickness difference value C1, a second preset thickness difference value C2, a third preset thickness difference value C3, a first pressure adjustment quantity delta P1, a second pressure adjustment quantity delta P2 and a third pressure adjustment quantity delta P3, wherein C1 is more than C2 and less than C3, delta P1 is more than delta P2 and less than delta P3,
when the delta D is less than or equal to the delta D1, the image processing module selects a corresponding pressure regulating quantity to regulate and reduce the stamping pressure of the stamping mechanism according to the comparison result of the first thickness difference value Ca and the preset thickness difference value,
when Ca is larger than or equal to C1 and smaller than C2, the image processing module selects a first pressure adjustment amount delta P1 to adjust and reduce the stamping pressure of the stamping mechanism;
when Ca is larger than or equal to C2 and smaller than C3, the image processing module selects a second pressure regulating quantity delta P2 to regulate and reduce the stamping pressure of the stamping mechanism;
when Ca is larger than or equal to C3, the image processing module selects a third pressure regulating quantity delta P3 to regulate and reduce the stamping pressure of the stamping mechanism;
and when the image processing module selects the jth pressure adjustment quantity delta Pj to adjust and reduce the stamping pressure of the stamping mechanism, setting j to be 1, 2 and 3, and setting Pa to be Pi-delta Pj by the image processing module, wherein the adjusted stamping pressure of the stamping mechanism is set to be Pa.
Further, when the delta D is larger than or equal to the delta D2, the image processing module selects a corresponding pressure regulating quantity according to the comparison result of the first thickness difference value Ca and a preset thickness difference value to regulate and increase the stamping pressure of the stamping mechanism,
when Ca is larger than or equal to C1 and smaller than C2, the image processing module selects a first pressure adjustment amount delta P1 to adjust and increase the stamping pressure of the stamping mechanism;
when Ca is larger than or equal to C2 and smaller than C3, the image processing module selects a second pressure adjustment amount delta P2 to adjust and increase the stamping pressure of the stamping mechanism;
when Ca is larger than or equal to C3, the image processing module selects a third pressure regulating quantity delta P3 to regulate and increase the stamping pressure of the stamping mechanism;
and when the image processing module selects the jth pressure adjustment amount delta Pj to adjust and increase the stamping pressure of the stamping mechanism, setting j to be 1, 2 and 3, and setting Pb to be Pi + delta Pj by the adjusted stamping pressure of the stamping mechanism.
Further, in step S5, the control module compares a pressure Q of the press ram to be pressed during the pressing process detected by the pressure sensor with a pressing pressure P determined by the image control module, if Q is greater than P, the control module determines that the pressing pressure is not qualified, and adjusts the pressing pressure according to a first pressure difference Δ Qa between the pressure Q and the pressing pressure P, if Q is equal to P, the control module determines that the pressing pressure is qualified, if Q is less than P, the control module calculates a second pressure difference between the pressure Q and the pressing pressure P, and determines whether the pressing pressure is qualified or not according to a comparison result between the second pressure difference Δ Qb and a preset pressure difference, and sets Δ Qb-P.
Further, when Q is greater than P, the control module calculates a first pressure difference Δ Q between the pressure Q and the stamping pressure P, sets Δ Qa to Q-P, selects a corresponding pressure adjustment coefficient according to a comparison result of the first pressure difference and a preset pressure difference to adjust the stamping pressure,
the control module is provided with a first preset pressure difference value delta Q1, a second pressure difference value delta Q2, a third preset pressure difference value delta Q3, a first pressure regulating coefficient K1, a second pressure regulating coefficient K2 and a third pressure regulating coefficient K3, wherein delta Q1 is larger than delta Q2 is smaller than delta Q3, 1 is larger than K1 is smaller than K2 is smaller than K3 is smaller than 2,
when the delta Q1 is not less than delta Q and is less than delta Q2, the control module selects a first pressure regulating coefficient K1 to regulate the stamping pressure;
when the delta Q2 is not less than delta Q and is less than delta Q3, the control module selects a second pressure regulating coefficient K2 to regulate the stamping pressure;
when the delta Q is larger than or equal to the delta Q3, the control module selects a third pressure adjusting coefficient K3 to adjust the stamping pressure;
when the control module selects the nth pressure adjustment coefficient Kn to adjust the stamping pressure, setting n to be 1, 2 and 3, and setting the adjusted stamping pressure to be Pc and setting Pc to be P multiplied by Kn.
Further, when the delta Qb is less than the delta Q1, the control module judges that the stamping pressure is qualified, when the delta Qb is more than or equal to the delta Q1, the control module judges that the stamping pressure is unqualified, and selects a corresponding pressure regulating coefficient to regulate the stamping pressure according to the comparison result of the second pressure difference and the preset pressure difference,
the control module is also provided with a fourth pressure regulating coefficient K4, a fifth pressure regulating coefficient K5 and a sixth pressure regulating coefficient K6, wherein K6 is more than 0.5 and more than K5 and more than K4 and less than 1,
when the delta Q1 is more than or equal to the delta Qb which is less than or equal to the delta Q2, the control module selects a fourth pressure regulating coefficient K4 to regulate the stamping pressure;
when the delta Q2 is more than or equal to the delta Qb which is less than or equal to the delta Q3, the control module selects a fifth pressure regulating coefficient K5 to regulate the punching pressure;
when the delta Qb is larger than or equal to the delta Q3, the control module selects a sixth pressure regulating coefficient K6 to regulate the punching pressure;
when the control module selects the mth pressure adjustment coefficient Km to adjust the punching pressure, setting m to be 4, 5 and 6, and setting the adjusted punching pressure to be Pc and setting Pc to be P × Km.
Further, in step S6, when the image processing module determines whether the stamping part is qualified according to the comparison result between the shot image of the second camera and the standard part image, the image processing module compares the stamping part area S of the shot image with the corresponding standard part stamping part area S0 in the standard part image, if S > S0, the image processing module determines that the stamping part is not qualified and adjusts the pressure adjustment amount, if S < S0, the image processing module determines that the stamping part is not qualified and corrects the stamping pressure, and if S0, the image processing module determines that the stamping part is qualified.
Further, when S > S0, the image processing module calculates a first area difference Δ Sa between the stamping part area S and the standard stamping part area S0, sets Δ Sa to S-S0, selects a corresponding flatness adjustment coefficient to adjust the preset flatness according to a comparison result between the first area difference and the preset area difference,
the image processing module is also provided with a first preset area difference value delta S1, a second preset area difference value delta S2, a third preset area difference value delta S3, a first flatness adjustment coefficient R1, a second flatness adjustment coefficient R2 and a third flatness adjustment coefficient R3, wherein delta S1 is more than delta S2 is more than delta S3, 0.5 is more than R3 is more than R2 is more than R1 is more than 1,
when the delta Sa is more than or equal to delta S1 and less than the delta S2, the image processing module selects a first flatness adjusting coefficient R1 to adjust the preset flatness;
when the delta Sa is more than or equal to delta S2 and less than the delta S3, the image processing module selects a second flatness adjusting coefficient R2 to adjust the preset flatness;
when the delta Sa is larger than or equal to the delta S3, the image processing module selects a third flatness adjustment coefficient R3 to adjust the preset flatness;
when the image processing module selects the y-th flatness adjustment coefficient Ry to adjust the preset flatness, setting y to be 1, 2 and 3, and setting Us 'to be Us' and Us × Ry by the image processing module, wherein Us is the s-th preset flatness and s is 1, 2 and 3.
Further, when S is less than S0, the image processing module calculates a second area difference Δ Sb between the stamping part area S and the standard stamping part area S0, sets Δ Sb to S0-S, selects a corresponding pressure correction coefficient according to a comparison result between the second area difference and a preset area difference to correct the stamping pressure,
the image processing module is also provided with a first pressure correction coefficient X1, a second pressure correction coefficient X2 and a third pressure correction coefficient X3, wherein X is more than 1 and less than X and less than 2 are set,
when the delta Sb is larger than or equal to delta S1 and smaller than the delta S2, the image processing module selects a first pressure correction coefficient X1 to correct the preset flatness;
when the delta Sb is more than or equal to delta S2 and less than the delta S3, the image processing module selects a second pressure correction coefficient X2 to correct the preset flatness;
when the delta Sb is larger than or equal to the delta S3, the image processing module selects a third pressure correction coefficient X3 to correct the preset flatness;
and when the image processing module selects a z-th pressure correction coefficient Xz to correct the preset flatness, setting z to be 1, 2 and 3, and setting the corrected stamping pressure to be Pd, wherein Pd is Pc multiplied by Xz.
Compared with the prior art, the method has the advantages that the pre-shooting is carried out on the to-be-stamped part, the thickness and the flatness of the to-be-stamped part are obtained from the pre-shot image of the to-be-stamped part, the thickness and the flatness of the to-be-stamped part are analyzed through the image processing module, the stamping pressure of the stamping mechanism on the to-be-stamped part is determined according to the analysis result, the thickness difference of the thickness of the to-be-stamped part is calculated when the analysis result judges that the thickness is unqualified, and the stamping pressure is adjusted according to the thickness difference of the to-be-stamped part, so that the control precision of the stamping mechanism is guaranteed, and the quality of the stamped part is improved.
Particularly, the pressure of the stamping part on the stamping head 4 in the stamping process is detected through the pressure sensor, the further judgment is carried out according to the comparison result of the pressure sensor and the stamping pressure, and the stamping pressure is adjusted according to the judgment result, so that the control precision of the stamping mechanism is further improved, and the quality of the stamping part is further improved;
particularly, when the stamping of the stamping part is finished, the stamping part which is stamped is shot according to the second shooting device, the shot image is compared with the standard part image, whether the stamping part is qualified or not is further judged according to the comparison result, the control precision of the stamping mechanism is further improved, and the quality of the stamping part is further improved.
Furthermore, the invention carries out pre-shooting through the first shooting device and carries out detection shooting on the stamping part through the second shooting device when the stamping is finished, carries out qualified detection judgment on the stamping part according to the shooting results at two sides, and adjusts the stamping pressure according to the actual judgment result when the judgment result is unqualified, so that the quality of the stamping part can be preferentially ensured even when the mechanical part of the stamping mechanism is slightly worn, the material waste caused by unqualified produced stamping parts can not be caused, and the cost is saved from another aspect.
Furthermore, the thickness of the multiple positions is obtained, the maximum value and the minimum value are extracted from the thicknesses of the multiple positions, the thickness difference value is calculated, and the qualified thickness judgment is carried out on the workpiece to be stamped according to the comparison result of the thickness difference value and the preset thickness difference value, so that the detection precision of the workpiece to be stamped is improved, and the quality of the stamped workpiece is further improved.
Furthermore, a plurality of stamping mechanism stamping pressures corresponding to the preset flatness are arranged on the image processing module, and the corresponding stamping pressures are selected according to the comparison result of the flatness of the actually shot image and the preset flatness, so that the control precision of the stamping mechanism is further improved, and the quality of the stamped part is further improved.
Furthermore, a preset thickness difference value and a pressure regulating quantity are set in the image processing module, and when the image processing module judges that the thickness is unqualified, the corresponding pressure regulating quantity is selected according to the comparison result of the actual thickness difference value and the preset thickness difference value to regulate the stamping pressure, so that the control precision of the stamping mechanism is further improved, and the quality of the stamped parts is further improved.
Furthermore, a preset pressure difference value and a pressure adjusting coefficient are set in the control module, when the stamping pressure is judged to be adjusted, the difference value between the pressure detected by the pressure sensor and the stamping pressure is calculated, and the corresponding pressure adjusting coefficient is selected to adjust the stamping pressure according to the comparison result of the pressure difference value and the preset pressure difference value, so that the control precision of the stamping mechanism is further improved, and the quality of the stamped parts is further improved.
Further, when the stamping is finished, the stamping part is shot again, whether the stamping part is qualified or not is further judged according to the comparison result of the stamped stamping part image and the standard part image, the detection precision of the stamping part is further improved, and therefore the quality of the stamping part is further improved.
Furthermore, a preset area difference value, a flatness adjusting coefficient and a pressure correcting coefficient are arranged on the image processing module, and when the image processing module selects a corresponding flatness adjusting coefficient to adjust the preset flatness or selects a corresponding pressure correcting coefficient to correct the punching pressure according to a comparison result of the difference value between the area of the punching part in the image of the punching part shot by the second shooting device and the area of the punching part of the standard part and the preset area difference value, the control precision of the punching mechanism is further improved, and the quality of the punching part is further improved.
Detailed Description
In order that the objects and advantages of the invention will be more clearly understood, the invention is further described below with reference to examples; it should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
Preferred embodiments of the present invention are described below with reference to the accompanying drawings. It should be understood by those skilled in the art that these embodiments are only for explaining the technical principle of the present invention, and do not limit the scope of the present invention.
In the description of the present invention, unless otherwise expressly specified or limited, the terms "mounted," "connected," and "connected" are to be construed broadly, e.g., as meaning a fixed connection, a removable connection, or an integral connection; can be mechanically or electrically connected; they may be connected directly or indirectly through intervening media, or they may be interconnected between two elements. The specific meanings of the above terms in the present invention can be understood by those skilled in the art according to specific situations.
Referring to fig. 1 and 2, fig. 1 is a flow chart of a stamping process for automatically controlling and adjusting a metal surface according to the present invention; fig. 2 is a schematic structural diagram of the metal surface stamping device capable of automatically controlling and adjusting according to the invention.
The invention relates to a metal surface stamping process capable of automatically controlling and adjusting, which comprises the following steps:
step S1, placing the workpiece to be punched on the conveying platform 1 and pre-shooting the workpiece by the first shooting device 2;
step S2, the image processing module 5 processes the pre-shot image and obtains the thickness and the flatness of the piece to be stamped;
step S3, the image processing module 5 determines whether the thickness of the to-be-stamped part is qualified according to the shot image of the to-be-stamped part, and determines the stamping pressure of the stamping mechanism 3 on the to-be-stamped part according to the flatness of the to-be-stamped part when the thickness of the to-be-stamped part is qualified;
step S4, when the image processing module 5 determines the stamping pressure and judges that the thickness is qualified, the control module 6 controls to move the workpiece to be stamped to the workbench and controls the stamping mechanism 3 to stamp the workpiece to be stamped;
step S5, the control module 6 obtains a pressure of a pressure sensor (not shown in the figure) during the stamping process, compares the pressure with the stamping pressure, and determines whether to adjust the stamping pressure according to a comparison result;
step S6, the second photographing device 7 photographs the stamped stamping part and compares the photographed image with the standard part image, and the image processing module 5 determines whether the stamping part is qualified according to the comparison result;
in the step S3, when the image module determines that the thickness of the to-be-stamped part is not qualified, the image processing module 5 calculates a thickness difference of the to-be-stamped part, and adjusts the stamping pressure of the stamping mechanism 3 according to a comparison result between a thickness difference between the thickness difference of the to-be-stamped part and the thickness of a preset stamped part and a preset thickness difference;
in the step S5, when the control module 6 determines that the pressing pressure is not qualified according to the comparison result between the pressure of the pressure sensor and the pressing pressure, the control module 6 calculates the pressure difference between the pressure of the pressure sensor and the pressing pressure, and adjusts the pressing pressure according to the pressure difference;
in the step S6, when the image processing module 5 determines that the stamping part is not qualified according to the comparison result between the shot image and the standard part image, the image processing module 5 adjusts the preset flatness or corrects the stamping pressure according to the comparison result between the area of the stamping part of the shot image and the area of the standard stamping part of the standard part image.
Particularly, through treating the stamping workpiece and shoot in advance to through obtaining the thickness and the roughness of treating the stamping workpiece from treating the stamping workpiece image of shooting in advance, treat the thickness and the roughness of stamping workpiece and analyze through image processing module, confirm the punching press pressure of stamping workpiece and calculate the thickness difference of treating the stamping workpiece thickness when the analysis result judges that thickness is unqualified according to the analysis result of punching press mechanism, adjust punching press pressure according to the thickness difference of treating the stamping workpiece, thereby guaranteed the control accuracy to punching press mechanism, the quality of stamping workpiece has been improved.
Particularly, the pressure of the stamping part on the stamping head 4 in the stamping process is detected through the pressure sensor, the further judgment is carried out according to the comparison result of the pressure sensor and the stamping pressure, and the stamping pressure is adjusted according to the judgment result, so that the control precision of the stamping mechanism is further improved, and the quality of the stamping part is further improved;
particularly, when the stamping of the stamping part is finished, the stamping part which is stamped is shot according to the second shooting device, the shot image is compared with the standard part image, whether the stamping part is qualified or not is further judged according to the comparison result, the control precision of the stamping mechanism is further improved, and the quality of the stamping part is further improved.
Specifically, the invention carries out pre-shooting through the first shooting device and carries out detection shooting on the stamping part through the second shooting device when the stamping is finished, carries out qualified detection judgment on the stamping part according to the shooting results of two sides, and adjusts the stamping pressure according to the actual judgment result when the judgment result is unqualified, so that the quality of the stamping part can be preferentially ensured even when the mechanical part of the stamping mechanism is slightly worn, the material waste caused by unqualified produced stamping parts can not be caused, and the cost is saved from another aspect.
Specifically, in step S1, the first shooting device pre-shoots the to-be-stamped part including the first shooting device rotates along the runner of the rotating device to shoot the to-be-stamped part to obtain a first shot image, and the first shooting device shoots the upper surface of the to-be-stamped part to obtain a second shot image after the rotation shooting is completed.
Specifically, in step S2, the image processing module analyzes the first shot image to obtain the thicknesses of the positions of the to-be-stamped part, and analyzes the second shot image to obtain the flatness of the to-be-stamped part.
In the embodiment of the invention, the obtaining of the thicknesses of the plurality of positions comprises obtaining the end point position thickness and the inflection point position thickness of each edge of the piece to be stamped, and the middle point position thickness of each edge or the thickness of each equal division point after the edge of the piece to be stamped is equally divided.
Specifically, in step S3, the image processing module analyzes the captured image to obtain a plurality of position thicknesses of the to-be-stamped part, compares the plurality of position thicknesses to obtain a maximum thickness value Dmax and a minimum thickness value Dmin therein, when the obtaining is completed, the image processing module calculates a thickness difference Δ D between the maximum thickness value Dmax and the minimum thickness value Dmin, sets Δ D to be Dmax-Dmin, and compares the thickness difference with a first preset thickness difference Δ D1 and a second preset thickness difference Δ D2, if Δ D1 is smaller than Δ D and smaller than Δ D2, the image processing module determines that the to-be-stamped part is qualified in thickness, and if Δ D is smaller than or equal to Δ D1 or Δ D is larger than or equal to Δ D2, the image processing module determines that the to-be-stamped part is unqualified in thickness.
Specifically, the thickness of the multiple positions is obtained, the maximum value and the minimum value are extracted from the thicknesses of the multiple positions, the thickness difference is calculated, and the qualified thickness judgment is carried out on the workpiece to be stamped according to the comparison result of the thickness difference and the preset thickness difference, so that the detection precision of the workpiece to be stamped is improved, and the quality of the stamped workpiece is further improved.
Specifically, in step S3, when the image processing module determines that the thickness of the workpiece is acceptable, the image processing module determines the stamping pressure of the stamping mechanism according to the comparison result between the flatness U of the workpiece to be stamped and the preset flatness,
the image processing module is provided with a first preset flatness U1, a second preset flatness U2, a third preset flatness U3, a first stamping pressure P1, a second stamping pressure P2 and a third stamping pressure P3, wherein U1 is more than U2 and less than U3, P1 is more than P2 and less than P3,
when U1 is more than or equal to U < U2, the image processing module sets the stamping pressure of the stamping mechanism as a first stamping pressure P1;
when U2 is more than or equal to U < U3, the image processing module sets the stamping pressure of the stamping mechanism as a second stamping pressure P2;
when U is larger than or equal to U3, the image processing module sets the stamping pressure of the stamping mechanism to be a third stamping pressure P3.
Particularly, the stamping mechanism stamping pressure corresponding to a plurality of preset planeness is set in the image processing module, and the corresponding stamping pressure is selected according to the comparison result of the planeness of the actually shot image and the preset planeness, so that the control precision of the stamping mechanism is further improved, and the quality of the stamped part is further improved.
Specifically, in step S3, when the image module determines that the thickness of the workpiece is not acceptable, the image processing module sets the stamping pressure of the stamping mechanism to Pi, sets i to 1, 2, 3, and calculates a first thickness difference Ca between the thickness difference Δ D and a first preset thickness difference Δ D1 or a second thickness difference Cb between the thickness difference Δ D and a second preset thickness difference Δ D2, and the image processing module selects a corresponding pressure adjustment amount according to a comparison result between the first thickness difference Ca or the second thickness difference Cb and the preset thickness difference to adjust the stamping pressure of the stamping mechanism,
the image processing module is further provided with a first preset thickness difference value C1, a second preset thickness difference value C2, a third preset thickness difference value C3, a first pressure adjustment amount delta P1, a second pressure adjustment amount delta P2 and a third pressure adjustment amount delta P3, wherein C1 is more than C2 and less than C3, and delta P1 is more than delta P2 and less than delta P3.
Specifically, when Δ D is less than or equal to Δ D1, the image processing module selects a corresponding pressure adjustment amount according to the comparison result between the first thickness difference Ca and the preset thickness difference to adjust and reduce the stamping pressure of the stamping mechanism,
when Ca is larger than or equal to C1 and smaller than C2, the image processing module selects a first pressure adjustment amount delta P1 to adjust and reduce the stamping pressure of the stamping mechanism;
when Ca is larger than or equal to C2 and smaller than C3, the image processing module selects a second pressure regulating quantity delta P2 to regulate and reduce the stamping pressure of the stamping mechanism;
when Ca is larger than or equal to C3, the image processing module selects a third pressure regulating quantity delta P3 to regulate and reduce the stamping pressure of the stamping mechanism;
and when the image processing module selects the jth pressure adjustment quantity delta Pj to adjust and reduce the stamping pressure of the stamping mechanism, setting j to be 1, 2 and 3, and setting Pa to be Pi-delta Pj by the image processing module, wherein the adjusted stamping pressure of the stamping mechanism is set to be Pa.
Specifically, when Δ D is greater than or equal to Δ D2, the image processing module selects a corresponding pressure adjustment amount according to the comparison result between the first thickness difference Ca and the preset thickness difference to adjust and increase the stamping pressure of the stamping mechanism,
when Ca is larger than or equal to C1 and smaller than C2, the image processing module selects a first pressure adjustment amount delta P1 to adjust and increase the stamping pressure of the stamping mechanism;
when Ca is larger than or equal to C2 and smaller than C3, the image processing module selects a second pressure adjustment amount delta P2 to adjust and increase the stamping pressure of the stamping mechanism;
when Ca is larger than or equal to C3, the image processing module selects a third pressure regulating quantity delta P3 to regulate and increase the stamping pressure of the stamping mechanism;
and when the image processing module selects the jth pressure adjustment amount delta Pj to adjust and increase the stamping pressure of the stamping mechanism, setting j to be 1, 2 and 3, and setting Pb to be Pi + delta Pj by the adjusted stamping pressure of the stamping mechanism.
Specifically, the preset thickness difference value and the pressure regulating quantity are set in the image processing module, and when the image processing module judges that the thickness is unqualified, the corresponding pressure regulating quantity is selected according to the comparison result of the actual thickness difference value and the preset thickness difference value to regulate the stamping pressure, so that the control precision of the stamping mechanism is further improved, and the quality of the stamped parts is further improved.
Specifically, in the step S5, the pressure sensor is disposed on the stamping head of the stamping mechanism, and is used for detecting the pressure Q of the stamping part to be stamped on the stamping head in the stamping process; the control module compares the pressure Q with the stamping pressure P determined by the image control module, if Q is larger than P, the control module judges that the stamping pressure is unqualified, adjusts the stamping pressure according to a first pressure difference delta Qa between the pressure Q and the stamping pressure P, if Q is equal to P, the control module judges that the stamping pressure is qualified, if Q is smaller than P, the control module calculates a second pressure difference between the pressure Q and the stamping pressure P, judges whether the stamping pressure is qualified according to a comparison result between the second pressure difference delta Qb and a preset pressure difference, and sets delta Qb to be equal to P-Q.
Specifically, the pressure of the stamping part on the stamping head in the stamping process is detected through the pressure sensor, the pressure is compared with the stamping pressure determined to be completed according to the flatness and/or the thickness, whether the stamping pressure is adjusted or not is further judged in the stamping process according to the comparison result, the control precision of the stamping mechanism is further improved, and therefore the quality of the stamping part is further improved.
Specifically, when Q > P, the control module calculates a first pressure difference Δ Q between the pressure Q and the stamping pressure P, sets Δ Qa to Q-P, selects a corresponding pressure adjustment coefficient according to a comparison result between the first pressure difference and a preset pressure difference to adjust the stamping pressure,
the control module is provided with a first preset pressure difference value delta Q1, a second pressure difference value delta Q2, a third preset pressure difference value delta Q3, a first pressure regulating coefficient K1, a second pressure regulating coefficient K2 and a third pressure regulating coefficient K3, wherein delta Q1 is larger than delta Q2 is smaller than delta Q3, 1 is larger than K1 is smaller than K2 is smaller than K3 is smaller than 2,
when the delta Q1 is not less than delta Q and is less than delta Q2, the control module selects a first pressure regulating coefficient K1 to regulate the stamping pressure;
when the delta Q2 is not less than delta Q and is less than delta Q3, the control module selects a second pressure regulating coefficient K2 to regulate the stamping pressure;
when the delta Q is larger than or equal to the delta Q3, the control module selects a third pressure adjusting coefficient K3 to adjust the stamping pressure;
when the control module selects the nth pressure adjustment coefficient Kn to adjust the stamping pressure, setting n to be 1, 2 and 3, and setting the adjusted stamping pressure to be Pc and setting Pc to be P multiplied by Kn.
Specifically, when the delta Qb is less than the delta Q1, the control module judges that the stamping pressure is qualified, when the delta Qb is more than or equal to the delta Q1, the control module judges that the stamping pressure is unqualified, and selects a corresponding pressure regulating coefficient to regulate the stamping pressure according to the comparison result of the second pressure difference and the preset pressure difference,
the control module is also provided with a fourth pressure regulating coefficient K4, a fifth pressure regulating coefficient K5 and a sixth pressure regulating coefficient K6, wherein K6 is more than 0.5 and more than K5 and more than K4 and less than 1,
when the delta Q1 is more than or equal to the delta Qb which is less than or equal to the delta Q2, the control module selects a fourth pressure regulating coefficient K4 to regulate the stamping pressure;
when the delta Q2 is more than or equal to the delta Qb which is less than or equal to the delta Q3, the control module selects a fifth pressure regulating coefficient K5 to regulate the punching pressure;
when the delta Qb is larger than or equal to the delta Q3, the control module selects a sixth pressure regulating coefficient K6 to regulate the punching pressure;
when the control module selects the mth pressure adjustment coefficient Km to adjust the punching pressure, setting m to be 4, 5 and 6, and setting the adjusted punching pressure to be Pc and setting Pc to be P × Km.
Specifically, a preset pressure difference value and a pressure adjusting coefficient are set in the control module, when the stamping pressure is judged to be adjusted, the difference value between the pressure detected by the pressure sensor and the stamping pressure is calculated, and the corresponding pressure adjusting coefficient is selected to adjust the stamping pressure according to the comparison result of the pressure difference value and the preset pressure difference value, so that the control precision of the stamping mechanism is further improved, and the quality of the stamped parts is further improved.
Specifically, in step S6, when the image processing module determines whether the workpiece is qualified according to the comparison result between the shot image of the second camera and the standard workpiece image, the image processing module compares the area S of the pressed part of the shot image with the area S0 of the corresponding standard workpiece pressed part in the standard workpiece image, if S > S0, the image processing module determines that the workpiece is not qualified and adjusts the pressure adjustment amount, if S < S0, the image processing module determines that the workpiece is not qualified and corrects the pressing pressure, and if S0, the image processing module determines that the workpiece is qualified.
Specifically, when the stamping is completed, the stamping part is shot again, whether the stamping part is qualified or not is further judged according to the comparison result of the stamped stamping part image and the standard part image, the detection precision of the stamping part is further improved, and the quality of the stamping part is further improved.
Specifically, when S > S0, the image processing module calculates a first area difference Δ Sa between the stamping part area S and the standard stamping part area S0, sets Δ Sa to S-S0, selects a corresponding flatness adjustment coefficient according to a comparison result between the first area difference and a preset area difference to adjust a preset flatness,
the image processing module is also provided with a first preset area difference value delta S1, a second preset area difference value delta S2, a third preset area difference value delta S3, a first flatness adjustment coefficient R1, a second flatness adjustment coefficient R2 and a third flatness adjustment coefficient R3, wherein delta S1 is more than delta S2 is more than delta S3, 0.5 is more than R3 is more than R2 is more than R1 is more than 1,
when the delta Sa is more than or equal to delta S1 and less than the delta S2, the image processing module selects a first flatness adjusting coefficient R1 to adjust the preset flatness;
when the delta Sa is more than or equal to delta S2 and less than the delta S3, the image processing module selects a second flatness adjusting coefficient R2 to adjust the preset flatness;
when the delta Sa is larger than or equal to the delta S3, the image processing module selects a third flatness adjustment coefficient R3 to adjust the preset flatness;
when the image processing module selects the y-th flatness adjustment coefficient Ry to adjust the preset flatness, setting y to be 1, 2 and 3, and setting Us 'to be Us' and Us × Ry by the image processing module, wherein Us is the s-th preset flatness and s is 1, 2 and 3.
Specifically, when S is less than S0, the image processing module calculates a second area difference Δ Sb between the stamping part area S and the standard stamping part area S0, sets Δ Sb to S0-S, selects a corresponding pressure correction coefficient according to a comparison result between the second area difference and a preset area difference to correct the stamping pressure,
the image processing module is also provided with a first pressure correction coefficient X1, a second pressure correction coefficient X2 and a third pressure correction coefficient X3, wherein X is more than 1 and less than X and less than 2 are set,
when the delta Sb is larger than or equal to delta S1 and smaller than the delta S2, the image processing module selects a first pressure correction coefficient X1 to correct the preset flatness;
when the delta Sb is more than or equal to delta S2 and less than the delta S3, the image processing module selects a second pressure correction coefficient X2 to correct the preset flatness;
when the delta Sb is larger than or equal to the delta S3, the image processing module selects a third pressure correction coefficient X3 to correct the preset flatness;
and when the image processing module selects a z-th pressure correction coefficient Xz to correct the preset flatness, setting z to be 1, 2 and 3, and setting the corrected stamping pressure to be Pd, wherein Pd is Pc multiplied by Xz.
Specifically, the preset area difference value, the flatness adjusting coefficient and the pressure correcting coefficient are set in the image processing module, and when the image processing module selects the corresponding flatness adjusting coefficient to adjust the preset flatness or selects the corresponding pressure correcting coefficient to correct the punching pressure according to the comparison result of the difference value between the area of the punching part in the image of the punching part shot by the second shooting device and the area of the punching part of the standard part and the preset area difference value, the control precision of the punching mechanism is further improved, and therefore the quality of the punching part is further improved.
So far, the technical solutions of the present invention have been described in connection with the preferred embodiments shown in the drawings, but it is easily understood by those skilled in the art that the scope of the present invention is obviously not limited to these specific embodiments. Equivalent changes or substitutions of related technical features can be made by those skilled in the art without departing from the principle of the invention, and the technical scheme after the changes or substitutions can fall into the protection scope of the invention.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention; various modifications and alterations to this invention will become apparent to those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.