The subject matter relates to workpiece reshaping technologies, particularly to a reshaping method for metal product and an electronic device.
During production and processing, workpieces are prone to deformation. It is often necessary to reshape the workpieces with unacceptable flatness.
Since the degree of deformation varies for each workpiece, the corresponding reshaping method required also differs. Currently, a common method for reshaping metal products is to manually reshape the workpiece based on the degree of deformation, which is determined by the naked eye. However, such manner requires high labor costs and low reshaping efficiency.
In light of the above, it is necessary to provide a reshaping method for metal product and an electronic device to solve the technical problems of large investment in labor costs and low shaping efficiency due to a manual shaping method which relying on the manual eye to determine the degree of deformation of the workpiece.
The disclosure provides a reshaping method for metal product, including:
Therefore, the disclosure acquires position data information of the workpiece by using the measuring system to measure the surface of the workpiece, converts the position data information into coordinate information, fits the coordinate information to obtain the surface contour curve of the workpiece, compares the surface contour curve with the standard contour curve to obtain deformation situation to obtain the comparison result, obtains the reshaping information, and controls the reshaping system to reshape the workpiece according to the reshaping information. The disclosure automatic reshapes the workpiece according to the reshaping information based on deformation situation of the workpiece obtained by comparing the surface contour curve with the standard contour curve, which improves efficiency of workpiece reshaping and reducing labor costs.
According to some embodiments, converting the position data information into coordinate information, and fitting the coordinate information to obtain a surface contour curve of the workpiece further includes:
Therefore, the position information of the workpiece is bound with the measurement coordinate system to convert the position data information into coordinate information. The coordinate information is fitted to obtain the surface contour curve of the workpiece, such that the contour curve of the workpiece surface is obtained by measurement and calculations. This facilitates analysis of the deformation of the workpiece and enables visualization of the deformation of the workpiece. In this embodiment, the surface contour curve represents contour line of the workpiece surface.
According to some embodiments, fitting the coordinate information to obtain the surface contour curve of the workpiece further includes:
Therefore, the planarity deviation value of each position point on the workpiece can be obtained by calculating an ideal plane equation Z=AX+BY+C using the multi-point least squares method. Then the surface contour curve of the workpiece can be obtained by fitting based on the calculated planarity deviation value of each position point on the workpiece, which enables visualization of the deformation of the workpiece.
According to some embodiments, comparing the surface contour curve with a standard contour curve to generate a comparison result further includes:
Therefore, the deformation amount of each target position point on the workpiece is obtained by comparing the surface contour curve with the standard contour curve, and the judgment result can be obtained by determining whether the deformation amount of each target position point falls within the predetermined range. The comparison result is generated according to the judgment result to enable an automatically comparison between the deformation amount of each target position point falls and the predetermined range.
According to some embodiments, generating the judgment result by determining whether the deformation amount of each target position point falls within the predetermined range further including:
Therefore, the workpiece can be determined to be qualified or unqualified by comparing the deformation amount of each target position point with the predetermined range and determining whether the deformation amount of each target position point falls within the predetermined range.
According to some embodiments, obtaining the reshaping information of the workpiece based on the comparison result further includes:
Therefore, the reshaping information can be obtained by matching the comparison result with a predetermined reshaping information set, the predetermined reshaping information set includes reshaping information corresponding to various deformation situations.
According to some embodiments, the reshaping information is provided with a reshaping method, reshaping amount, and pressure holding time.
Therefore, the workpiece can be reshaped precisely as the reshaping information includes a reshaping method, reshaping amount, and pressure holding time for matching with various deformation situations of workpiece.
According to some embodiments, acquiring position data information of the workpiece, where the position data information is obtained by the measurement system measuring the workpiece further includes:
Therefore, by binding the coordinate system with the position information of the workpiece, the multiple target position points and the position information can be related when the measurement system is moved to sequentially measure position data information of the multiple target position points, and the position data information of the multiple target position points can be acquired accurately.
According to some embodiments, controlling the reshaping system to reshape the workpiece according to the reshaping information further includes:
Therefore, by generating reshaping instructions based on the reshaping information and sending the reshaping instructions to the reshaping system, the reshaping system reshapes each position point of the workpiece subsequently according to the reshaping instructions. This enables automatic reshaping of the workpiece, reduces manual labor input, and improves the efficiency of workpiece reshaping.
According to some embodiments, the reshaping method further includes:
Therefore, by evaluating reshaping effect of the workpiece, the qualified workpiece and the unqualified workpiece can be processed differently. The deformation amount of the unqualified workpiece is reevaluated, and another reshaping process is performed, until it meets the qualification criteria. This improves the qualification rate of workpiece reshaping.
According to some embodiments, an electronic device is provided by the disclosure, the electronic device includes:
Therefore, the electronic device achieves electronic control during workpiece reshaping by the processor and the memory. The memory stores the computer program, which can be loaded by the processor to execute the reshaping method for metal product. This simplifies the control procedure and improves reshaping efficiency.
Implementations of the present technology will now be described, by way of example only, with reference to the attached figures.
It will be appreciated that for simplicity and clarity of illustration, where appropriate, reference numerals have been repeated among the different figures to indicate corresponding or analogous elements. In addition, numerous specific details are set forth in order to provide a thorough understanding of the embodiments described herein. However, it will be understood by those of ordinary skill in the art that the embodiments described herein can be practiced without these specific details. In other instances, methods, procedures, and components have not been described in detail so as not to obscure the related relevant feature being described. Also, the description is not to be considered as limiting the scope of the embodiments described herein. The drawings are not necessarily to scale and the proportions of certain parts have been exaggerated to better illustrate details and features of the disclosure.
It should be understood that, the terms “first” and “second” are used to distinguish between elements and are not used to denote a particular order or imply a number of technical features, therefore, unless specifically defined otherwise, features described with “first” and “second” may expressly or implicitly include one or more of the stated features. In the description of the present application, “plurality” means two or more, unless otherwise expressly and specifically defined.
In addition, numerous specific details are set forth in order to provide a thorough understanding of the embodiments described herein. However, it will be understood by those of ordinary skill in the art that the embodiments described herein can be practiced without these specific details. In other instances, methods, procedures, and components have not been described in detail so as not to obscure the related relevant feature being described.
The term “comprising,” when utilized, means “including, but not necessarily limited to”; it specifically indicates open-ended inclusion or membership in the so-described combination, group, series, and the like.
The disclosure provides a reshaping method for metal product, including: acquiring position data information of a workpiece, where the position data information is obtained by a measurement system measuring the workpiece; converting the position data information into coordinate information, and fitting the coordinate information to obtain a surface contour curve of the workpiece; comparing the surface contour curve with a standard contour curve to generate a comparison result;
Therefore, the disclosure acquires position data information of the workpiece by using the measuring system to measure the surface of the workpiece, converts the position data information into coordinate information, fits the coordinate information to obtain the surface contour curve of the workpiece, compares the surface contour curve with the standard contour curve to obtain deformation situation to obtain the comparison result, obtains the reshaping information, and controls the reshaping system to reshape the workpiece according to the reshaping information. The disclosure automatic reshapes the workpiece according to the reshaping information based on deformation situation of the workpiece obtained by comparing the surface contour curve with the standard contour curve, which improves efficiency of workpiece reshaping and reducing labor costs.
According to some embodiments, an electronic device is provided by the disclosure, the electronic device includes:
Therefore, the electronic device achieves electronic control during workpiece reshaping by the processor and the memory. The memory stores the computer program, which can be loaded by the processor to execute the reshaping method for metal product. This simplifies the control procedure and improves reshaping efficiency.
The hereinafter-described embodiments of the disclosure are presented herein by way of exemplification and not limitation, with reference to the figures.
S1: Acquiring position data information of the workpiece, where the position data information is obtained by the measurement system 30 measuring the workpiece.
The position data information of the workpiece includes height values between multiple target position points on the workpiece surface and the measurement system 30. Specifically, the workpiece is fixed in a predetermined position, and the measurement system 30 is moved above the workpiece, and the measurement system 30 moves in a predetermined plane to measure a surface of the workpiece to acquire the position data information of the workpiece. For example, there is a target position point A on the workpiece surface, the measurement system 30 measures the position of point A to obtain a height value between point A and the measurement system 30. In this embodiment, the measurement system 30 may be a laser measurement system.
According to this embodiment, the measurement system 30 is connected to the processor 10, and the processor 10 directly retrieves the position data information of the workpiece measured by the measurement system 30 through a serial communication protocol. Specifically, the serial communication protocol used is Modbus/TCP. It should be understood that the measurement system 30 can also send the measured position data information to the processor 10 in real-time.
According to some embodiments, step S1 includes: establishing a coordinate system of the measurement system 30 and binding the coordinate system with the position information of the workpiece; and moving the measurement system 30 to sequentially measure position data information of the multiple target position points on the workpiece surface.
The coordinate system is a three-dimensional coordinate system. Specifically, the coordinate system is bound with the position information of the workpiece to establish a one-to-one correspondence between coordinate values in the coordinate system and position points on the workpiece.
In specific, the measurement system 30 moves along a predetermined trajectory to measure position of the multiple target position points on the workpiece surface to acquire the position data information of the multiple target position points.
The predetermined trajectory may be a trajectory of moving along a lengthwise direction of the workpiece.
S2: converting the position data information into coordinate information, and fitting the coordinate information to obtain a surface contour curve of the workpiece.
In this step, the processor 10 establishes a predetermined coordinate system, the predetermined coordinate system is bound with the position information of the workpiece to establish a correspondence between coordinate points in the coordinate system and the multiple position points on the workpiece, such that each position point has a corresponding coordinate point in the predetermined coordinate system. Based on this one-to-one correspondence, the known position data information of different position points on the workpiece is used to determine corresponding coordinate information. The coordinate information represents coordinate values of the respective position points on the workpiece. For example, the position data information of a target position point A on the workpiece surface is a height value Ha between the target position point A and the measurement system 30. According to the one-to-one correspondence between the position points on the workpiece and the coordinate values in the coordinate system, the target position point A has a unique coordinate value (Xa, Ya, Za) in the coordinate system.
According to this embodiment, the fitting process utilizes a least squares method to obtain the contour curve of the workpiece surface based on the coordinate values corresponding to multiple position points on the surface of the workpiece.
The fitting process in this embodiment connects coordinate values of multiple discrete position points using a curve to visualize the contour of the workpiece surface, making the contour clearer and more intuitive.
According to some embodiments, S2 includes: establishing a measurement coordinate system and binding the measurement coordinate system with the position information of the workpiece; converting the position data information into coordinate information based on the binding between the measurement coordinate system and the position information of the workpiece; fitting the coordinate information to obtain the surface contour curve of the workpiece.
The measurement coordinate system is established within the processor 10, and it is bound with the position information of the workpiece to establish a correspondence between the position points on the workpiece surface and the corresponding coordinate values in the measurement coordinate system, allowing a one-to-one correspondence between the position points on the workpiece surface and the corresponding coordinate values in the measurement coordinate system. Based on this correspondence, the known position information of different position points on the workpiece is used to obtain corresponding coordinate information of the different position points. The coordinate information represents the coordinate values corresponding to the position points on the workpiece. The least squares method is utilized to fit the coordinate information to obtain the surface contour curve of the workpiece, such that the contour curve of the workpiece surface is obtained by measurement and calculations. This facilitates analysis of the deformation of the workpiece and enables visualization of the deformation of the workpiece. In this embodiment, the surface contour curve represents contour line of the workpiece surface.
According to some embodiments, fitting the coordinate information to obtain the surface contour curve of the workpiece includes: obtaining the coordinate values (X, Y, Z) of each target position point on the workpiece based on the correspondence between the coordinate information and each position point; calculating an ideal plane equation Z=AX+BY+C to obtain a planarity deviation value of each position point on the workpiece by the multi-point least squares method; fitting and obtaining the surface contour curve of the workpiece based on the calculated planarity deviation value of each position point on the workpiece.
For example, assuming there are nine target position points (N=9), the coordinate values of the nine target position points are respectively (Xi, Yi, Zi), (i=1, 2, 3, . . . , 9).
According to the multi-point least squares method, the objective function is: F(A, B, C)=Σi=1n(AXi+BYi+C−Zi)2, according to the extremum principle, when F(A, B, C) has a minimum value,
that is,
Under the condition of knowing (Xi, Yi, Zi), plane parameters A, B, C corresponding to each target position point can be obtained based on the above formula.
The planarity deviation value represents the distance between the actual surface of the workpiece and ideal plane of the workpiece, the surface contour curve refers to the actual workpiece surface.
Specifically, the surface contour curve of the workpiece is obtained by the fitting process based on the obtained planarity parameters A, B, C of each target position point, and the deformation of the workpiece is visualized.
The fitting process connects multiple discrete target position points on the workpiece surface with a smooth curve to graphically display the contour of the workpiece surface, making the surface contour of the workpiece clearer.
S3: comparing the surface contour curve with a standard contour curve to generate a comparison result.
Deformation amount corresponding to each target position point on the workpiece can be obtained by comparing the surface contour curve with the standard contour curve. The deformation amount of each position point is judged to determine whether it falls within a predetermined range, and corresponding judgement results are generated, then the comparison result is generated based on the judgement results of the target position points whose deformation amount is beyond the predetermined range.
In this embodiment, the deformation amount refers to the distance between the target position points on the surface contour curve of the workpiece and the corresponding position points on the standard contour curve of the standard workpiece. For example, if the distance between a target position point A on the surface contour curve of the workpiece and a position point A′ corresponding to the target position point A on the standard contour curve of the standard workpiece is 0.2 mm, then the deformation amount of target position point A after comparison is 0.2 mm. The predetermined range refers to a pre-set acceptable limit, such as 0.25 mm, then the deformation amount is within 0.25 mm, and the workpiece is considered acceptable and does not require reshaping. Otherwise, the workpiece is considered unacceptable.
According to some embodiments, the step S3 includes: comparing the surface contour curve with the standard contour curve to generate the deformation amount of each target position point on the workpiece; generating a judgment result by determining whether the deformation amount of each target position point falls within the predetermined range; generating the comparison result based on the judgment result.
Specifically, the standard contour curve refers to the contour curve of the standard workpiece. By comparing the surface contour curve of the workpiece with the standard contour curve of the standard workpiece, the deformation amount corresponding to each target position point on the workpiece is obtained.
It should be understood that the workpiece and the standard workpiece belong to the same type of product, and there is a one-to-one correspondence between the position points of the workpiece and the position points of the standard workpiece.
The predetermined range is a criterion for determining the acceptability of the workpiece. For example, the predetermined range is 0.25 mm. Based on this setting, if the deformation amount of position point A on the workpiece surface exceeds 0.25 mm, then the deformation of point A is beyond the predetermined range.
Further, generating a judgment result by determining whether the deformation amount of each target position point on the workpiece falls within the predetermined range includes: if the deformation amount of each target position point falls within the predetermined range, then the workpiece is determined to be qualified; if the deformation amount of at least one position point is outside the predetermined range, then the workpiece is determined to be unqualified.
As an example, a plane of the predefined position where the workpiece is placed is parallel to the X/Y plane in the three-dimensional coordinate system, the deformation of the workpiece at each target position point can be determined by examining the Z-axis coordinate values of the coordinate information of each target position point on the workpiece. For example, if the acceptable range of deformation is set to (±0.25 mm), and the Z-axis coordinate of the target position point A is 0.3 mm, then the target position point A exceeds the acceptable deformation range by 0.25 mm, indicating an upward bulge deformation. If the Z-axis coordinate of a target position point B is −0.3 mm, then the target position point B exceeds the acceptable deformation range of −0.25 mm, indicating a downward concave deformation.
In
Specifically, by comparing the deformation amount of each target position point with the predetermined range, the result of whether the deformation amount of each target position point falls within the predetermined range is obtained. Based on the judgment result, the comparison result is obtained to acquire the deformation situation of different target position points on the surface of the workpiece. For example, there are nine target position points on the workpiece surface, the deformation amount of each of the nine position points is compared with the predetermined range to determine whether the deformation amount of each of the nine position points falls within the predetermined range.
S4: obtaining reshaping information of the workpiece based on the comparison result.
Specifically, the reshaping information includes a reshaping method, reshaping amount, and pressure holding time. These parameters are matched with the deformation situation of different workpieces to achieve precise reshaping of each workpiece.
For example, there are nine target position points on the workpiece, and the deformation amounts of four of them exceed the predetermined range, then the best reshaping method, reshaping amount, and pressure holding time are selected from a predetermined reshaping information set based on the deformation amounts at the four target position points.
It should be understood that the pressure holding time refers to duration of applying pressure to the workpiece after reshaping, which helps eliminate the stress in the reshaped workpiece and improve the reshaping effectiveness.
S5: controlling the reshaping system 40 to reshape the workpiece according to the reshaping information.
In this embodiment, the processor 10 obtains the reshaping information and sends the reshaping information to the reshaping system 40. The reshaping system 40 reshapes the surface of the workpiece based on the received reshaping information.
In
In this embodiment, the drive members 431 are servos, and the transmission members 432 are lead screws.
According to some embodiments, referring to
In this embodiment, the reshaping system 40 further includes a controller (not shown). Specifically, the processor 10 is connected to the controller via Modbus/TCP communication to send the reshaping information to the controller. The controller automatically generates reshaping instructions based on the received reshaping information. The controller is a PLC controller. The controller is connected to the reshaping system 40 via the CANlink protocol. The controller sends the reshaping instructions to the reshaping system 40, and the reshaping system 40 sequentially reshapes each target position point of the workpiece based on the reshaping instructions. This enables automatic reshaping of the workpiece, reduces manual labor input, and improves the efficiency of workpiece reshaping.
S6: determining the reshaping effect of the workpiece, outputting a first signal if the reshaping is qualified, and outputting a second signal if the reshaping is unqualified.
After reshaping the workpiece once, the measurement system 30 reacquires the position data information of the reshaped workpiece surface, which is transformed into the coordinate information of the reshaped workpiece surface based on the reshaped position data information. The coordinate information is fitted to obtain the surface contour curve of the reshaped workpiece. The reshaped surface contour curve is then compared with the standard contour curve of the standard workpiece to determine the reshaping effect of the reshaped workpiece. If the reshaping is qualified, a first signal is output. If the reshaping is unqualified, a second signal is output.
Referring to
Based on the first signal indicating that the reshaped workpiece is qualified, the processor 10 sends the first command signal to return the reshaping system 40 to its initial position, preparing for reshaping the next workpiece.
Referring to
Based on the second signal indicating that the reshaped workpiece is unqualified, the processor 10 sends the second command signal to initiate another reshaping of the same workpiece.
By evaluating the reshaping effect of the workpiece after each reshaping process, the qualified and unqualified workpieces are processed differently. The deformation amount of the unqualified workpiece is reevaluated, and another reshaping process is performed, until it meets the qualification criteria. This improves the qualification rate of workpiece reshaping.
Please refer to
In this way, the electronic device 100 achieves electronic control during workpiece reshaping by the processor 10 and the memory 20. The memory 20 stores the computer program 21, which can be loaded by the processor 10 to execute the reshaping method for metal product. This simplifies the control procedure and improves reshaping efficiency.
Those skilled in the art will understand that the schematic diagram is merely an example of the electronic device 100 and does not limit the electronic device 100. It may include more or fewer components, or a combination of certain components, or different components. For example, the electronic device 100 may also include input/output devices, network access devices, buses, and so on.
The processor 10 can be a Central Processing Unit (CPU) or other general-purpose processors such as a Digital Signal Processor (DSP), Application Specific Integrated Circuit (ASIC), Field-Programmable Gate Array (FPGA), or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc. The general-purpose processor can be a microprocessor or any conventional processor. The processor 10 serves as the control center of the electronic device 100 and is connected to various parts of the electronic device 100 through various interfaces and lines.
The memory 20 can be used to store computer programs 21 and/or modules/units. The processor 10 runs or executes the computer programs 21 and/or modules/units stored in the memory 20, and accesses data stored in the memory 20 to implement various functions of the electronic device 100. The memory 20 can mainly include a program storage area and a data storage area. The program storage area can store an operating system, at least one application program required for the functions, etc. The data storage area can store data created based on the usage of the electronic device 100. In addition, the memory 20 can include volatile and non-volatile memory, such as a hard disk, memory, plug-in hard disk, Smart Media Card (SMC), Secure Digital (SD) card, flash card, at least one disk storage device, flash memory device, or other storage devices.
The reshaping method for metal product and electronic device 100 provided in this application can obtain position data information of the workpiece by using the measurement system 30 to measure the workpiece surface. The position data information is converted into coordinate information. The coordinate information is then fitted using the least squares method to obtain the surface contour curve of the workpiece. The obtained surface contour curve is compared with the standard contour curve to obtain a comparison result. Based on the comparison result, the reshaping information of the workpiece is obtained. The reshaping system 40 is then controlled based on the reshaping information to reshape the workpiece. This process evaluates the degree of deformation of the workpiece based on the comparison between the surface contour curves and standard contour curve, and automatically reshapes the workpiece according to the degree of deformation, thereby improving the efficiency of workpiece reshaping and reducing labor costs.
While the invention has been described in detail in connection with only a limited number of embodiments, it should be readily understood for the skilled in the art that the invention is not limited to such disclosed embodiments. Rather, the invention can be modified to incorporate any number of variations, alterations, substitutions, or equivalent arrangements not heretofore described, but which are commensurate with the spirit and scope of the invention. Additionally, while various embodiments of the invention have been described, it is to be understood that aspects of the invention may include only some of the described embodiments. Accordingly, the invention is not to be seen as limited by the foregoing description, but is only limited by the scope of the appended claims.
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/CN2021/122389 | 9/30/2021 | WO |