Method for marking workpiece defects in production process using digital virtual space
Through the digital virtual space and machine vision system, the bending defects of high-precision bending workpieces are detected and corrected in real time, which solves the cumbersome and time-consuming detection problems in the existing technology and improves the processing efficiency and product qualification rate.
Patent Information
- Application Number
- CN202211624943.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-12-16
- Publication Date
- 2024-09-10
- Estimated Expiration
- 2042-12-16
AI Technical Summary
It is difficult to detect and correct the bending defects of high-precision bending workpieces in real time with the existing technology, which makes the detection cumbersome and time-consuming, affecting the processing efficiency and product qualification rate.
Use digital virtual space to mark workpiece defects during the production process. By constructing a processing tool model and a workpiece model, the actual processing process is synchronized, and the machine vision system is combined to obtain the dial indicator pointer reading, calculate the bending angle, determine the bending defects, and digitally The defective parts are calibrated in the virtual space and corrected in real time.
It achieves accurate, fast and real-time calibration and correction of high-precision bending workpieces, improves processing efficiency and product qualification rate, avoids subsequent inspection tools and manual calibration processes, and reduces the risk of errors.
Smart Images

Figure CN115965592B
Abstract
Description
Technical Field
[0001] The invention belongs to the technical field of high-precision bent plate production, and in particular relates to a method for marking workpiece defects in a production process by using digital virtual space. Background Art
[0002] With the development of digital technology and computer control technology, the use of digital virtual space to monitor the workpiece processing process has gradually been applied. For example, the digital twin system can simultaneously monitor the actual processing process and the virtual processing process to achieve virtual reproduction of the actual processing process, simulate the behavior of the object in the real environment, and predict its future development status and trend.
[0003] High-precision bending plate (workpiece) refers to a precision bending plate with high bending requirements and high processing accuracy, especially the bending angle allowable deviation should not exceed 2°, which is very difficult for thin plates with good elasticity (such as stainless steel sheets with a thickness of 0.5-3mm and beryllium copper alloy sheets with a thickness of 0.5-3mm). In order to accurately control the bending angle of high-precision bending plates, precision bending stamping dies are currently mainly used to meet the bending requirements, but the more precise the bending stamping dies, the higher the cost.
[0004] For high-precision bent workpieces with a large number of regular and continuous bends, the difficulty currently existing in the processing process is that it is impossible to detect the bending defects of each bending part in real time (the bending defect described in the present invention refers to the bending angle deviation after the processed part of the workpiece is bent and rebounded, that is, the deviation between the actual angle of the bending part and the theoretical angle). In this regard, the existing detection method is to use a standard inspection tool for detection after the processing is completed, manually measure the bending angle deviation during the detection, and then manually calibrate each defective part. After the detection is completed, the defective part is corrected. This has the problem of cumbersome detection procedures and time-consuming and labor-intensive problems. Under normal circumstances, it takes about two to three minutes to detect and mark each bending defect.
[0005] Therefore, how to accurately, quickly and in real time calibrate the bending defects of high-precision bent workpieces and correct them based on digital virtual technology is of great significance to the processing of high-precision bent workpieces. Summary of the invention
[0006] The purpose of the present invention is to provide a method for marking workpiece defects in a production process using digital virtual space, which can accurately, quickly and in real time calibrate the bending defects of high-precision bent workpieces and provide guidance for the processing of high-precision bent workpieces.
[0007] In order to achieve the above-mentioned purpose, the present invention adopts the following technical solution.
[0008] A method for marking workpiece defects in a production process using a digital virtual space, the steps comprising:
[0009] Step 1, constructing a processing tool model and a workpiece model in a digital virtual space;
[0010] Step 2, synchronizing the actual machining process of the workpiece into the digital virtual space;
[0011] Step 3, using a machine vision system to obtain the pointer reading of the dial gauge during the actual processing process, and calculating the height Δh of the dial gauge probe tip that moves downward from the initial state after being pressed according to the relative height of the dial gauge probe tip corresponding to the pointer reading and formula (I);
[0012] Δh=h-h0……………… (Ⅰ)
[0013] In the formula, h0 represents the height of the dial gauge probe tip relative to the reference point when it is in the initial state, h represents the height of the dial gauge probe tip relative to the reference point when it is at the low point of the bending groove, and the reference point refers to the position of the dial gauge probe tip corresponding to the reading of the dial gauge pointer being zero;
[0014] Step 4: Calculate the actual bending angle A of the workpiece according to the obtained downward movement height Δh and formula (II).
[0015] tan(A*1 / 2) = a / (b-Δh)……………… (II)
[0016] In the formula, A represents the actual bending angle of the workpiece after being bent and rebounded, a represents the horizontal distance from the center of the bending groove of the bending die to its vertex, and b represents the vertical distance from the vertex of the bending die to the center of the bending groove;
[0017] Step 5, comparing the actual bending angle A obtained with a preset threshold value A′, and determining the bending defect according to the comparison result;
[0018] Step 6: Mark the obtained bending defects at corresponding positions on the workpiece model in the digital virtual space.
[0019] In the present invention, the processing tools used in the actual processing process include a bending mold, which has a first bending groove, a second bending groove, and a third bending groove of the same specification and arranged from left to right. A first bending pressure head is arranged directly above the first bending groove, a second bending pressure head is arranged directly above the second bending groove, and a third bending pressure head is arranged directly above the third bending groove. The first bending pressure head, the second bending pressure head, and the third bending pressure head are independent of each other and arranged closely; a vertically arranged through hole is arranged below the third bending groove, and a dial indicator is fixedly installed in the through hole, and the dial indicator probe extends upward into the third bending groove, and when the dial indicator pointer reads zero, the height difference between the top of the dial indicator probe and the low point of the third bending groove is h.
[0020] In the present invention, the angle corresponding to the preset threshold value A′ is the bending groove angle.
[0021] In the present invention, the bending defect level is determined in the following manner: when the actual bending angle A = A′ + (0~2°), it is defined as a Class III bending defect; when the actual bending angle A = A′ + (2~5°), it is defined as a Class II bending defect; when the actual bending angle A = A′ + (5~20°), it is defined as a Class I bending defect.
[0022] Furthermore, the machine vision system used includes a camera terminal located on the side of the dial indicator; the process of using the machine vision system to obtain the pointer reading of the dial indicator during the actual processing process in step 3 is:
[0023] S1, when the bottom end of the bent portion of the workpiece is in the third bending groove and just contacts the top end of the dial gauge probe, the first image of the dial gauge is acquired through the camera terminal, and then the pointer reading one on the first image is acquired. At this time, the relative height corresponding to the pointer reading one is h0, that is, the height of the top end of the dial gauge probe relative to the reference point when it is in the initial state;
[0024] S2, when the third bending pressure head moves down to the limit position, the second image of the dial indicator is obtained through the camera terminal, and then the pointer reading two on the second image is obtained. At this time, the relative height corresponding to the pointer reading two is h, that is, the height relative to the reference point when the top end of the dial indicator probe is at the low point of the bending groove.
[0025] The present invention further includes step 7: when a non-class I bending defect is calibrated on the monitored workpiece model, the corresponding actual bending position is corrected.
[0026] To improve production efficiency, the correction process includes:
[0027] S11, control the third bending pressure head to press down to the limit position, hold for 3-5 seconds and then reset;
[0028] S12, obtaining the third image of the dial indicator through the camera terminal again, and then obtaining the pointer reading three on the third image. If the relative height h1 corresponding to the pointer reading three is equal to h at this time, it means that the correction is qualified;
[0029] S13, on the contrary, re-calibrate the corresponding bending defects and perform corrections according to steps S11-S12 again; if the workpiece is still unqualified after three corrections, the workpiece is discarded.
[0030] Beneficial effect: By adopting the scheme of the present invention, the bending defects of high-precision bent workpieces can be calibrated accurately, quickly and in real time. The bending defects can be calibrated and corrected in time during the processing, thereby greatly improving the processing efficiency and product qualification rate of high-precision bent workpieces, and eliminating the subsequent inspection fixtures and manual calibration procedures; by adopting the scheme of the present invention, not only can the calibration errors of bending defects be avoided, but also the defective locations can be clearly known to quality inspectors / operators. BRIEF DESCRIPTION OF THE DRAWINGS
[0031] Figure 1 3D schematic diagram of the processing state of the high-precision bending plate in the embodiment;
[0032] Figure 2 This is a schematic diagram of the main processing state of the high-precision bending plate in the embodiment Figure 1 ;
[0033] Figure 3 This is a schematic diagram of the main processing state of the high-precision bending plate in the embodiment Figure 2 . DETAILED DESCRIPTION
[0034] The present invention is further described below in conjunction with the accompanying drawings and specific embodiments, but the description of the following embodiments is only used to help understand the principle and core idea of the present invention, and is not intended to limit the scope of protection of the present invention. It should be pointed out that for ordinary technicians in this technical field, without departing from the principle of the present invention, improvements made to the present invention also fall within the scope of protection of the claims of the present invention. Example
[0035] Take the processing of high-precision bending plates (made of stainless steel, with a thickness of 1 mm, and each workpiece having ten V-shaped bending grooves with the mouth facing upward) as an example.
[0036] The processing tools used in the actual processing process are as follows: Figure 1 , Figure 2 and Figure 3As shown, it includes a bending die 3, which has a first bending groove 12, a second bending groove 13, and a third bending groove 14 of the same specification and arranged from left to right. A first bending pressure head 11 is arranged directly above the first bending groove 12, a second bending pressure head 10 is arranged directly above the second bending groove 13, and a third bending pressure head 15 is arranged directly above the third bending groove 14. The first bending pressure head 11, the second bending pressure head 10, and the third bending pressure head 15 are independent of each other and arranged closely. The first bending head 11, the second bending head 10 and the third bending head 15 are collectively referred to as the bending head 5, and the first bending groove 12, the second bending groove 13 and the third bending groove 14 are collectively referred to as the bending groove; a vertically arranged through hole is provided below the third bending groove 14, and a dial gauge 2 is fixedly installed in the through hole, and the probe of the dial gauge 2 extends upward into the third bending groove 14, and when the pointer reading of the dial gauge 2 is zero, the height difference between the top of the probe of the dial gauge 2 and the low point of the third bending groove 14 is h. The machine vision system used includes a camera terminal 1 located directly to the side of the dial gauge 2.
[0037] The entire processing equipment also includes a computer control system, which is respectively connected to a bending head drive mechanism, a machine vision system, and a robot for shifting the workpiece; the computer control system includes a memory, a processor, and a program stored in the memory and executable on the processor, and the processor implements the following functions when executing the program: controlling the bending head drive mechanism to move the first bending head 11 and / or the second bending head 10 and / or the third bending head 15 down to a set height; controlling the robot to move the workpiece to a target position; controlling the machine vision system to take pictures at a set time point (taking pictures of the pointer reading of dial indicator 2), and identifying the measurement value corresponding to the pointer of dial indicator 2.
[0038] In this embodiment, the method for marking workpiece defects in a production process using a digital virtual space comprises the following steps:
[0039] Step 1, constructing a processing tool model and a workpiece model in a digital virtual space;
[0040] Step 2: Synchronize the actual machining process of the workpiece into the digital virtual space. The digital twin technology can be used to synchronize the actual machining process.
[0041] Step 3, Combine Figure 2 As shown, the pointer reading of dial gauge 2 is obtained by using a machine vision system during the actual processing process, and the height Δh of the top of the dial gauge 2 probe that moves downward from the initial state after the top of the dial gauge 2 probe is pressed is calculated according to the relative height of the top of the dial gauge 2 probe corresponding to the pointer reading and formula (I);
[0042] Δh=h-h0……………… (Ⅰ)
[0043] Wherein, h0 represents the height of the top of the probe of dial gauge 2 relative to the reference point 9 when it is in the initial state (the position indicated by number 8 in the figure represents the top of the probe is in the initial state), h represents the height of the top of the probe of dial gauge 2 relative to the reference point 9 when it is at the low point 7 of the bending groove, and the reference point 9 refers to the position of the top of the probe of dial gauge 2 corresponding to the reading of the pointer of dial gauge 2 is zero;
[0044] In this step, the process of using the machine vision system to obtain the pointer reading of the dial indicator 2 during the actual processing is as follows:
[0045] S1, when the bottom end of the bending portion of the workpiece 4 is in the third bending groove 14 and just contacts the top end of the dial gauge 2, the first image of the dial gauge 2 is acquired through the camera terminal 1, and then the pointer reading 1 on the first image is identified (i.e., the measurement value corresponding to the pointer of the dial gauge 2 is identified). At this time, the relative height corresponding to the pointer reading 1 is h0, i.e., the height of the top end of the dial gauge relative to the reference point 9 when the dial gauge is in the initial state;
[0046] S2, when the third bending pressure head 15 moves down to the limit position, the second image of the dial gauge 2 is obtained through the camera terminal 1, and then the pointer reading 2 on the second image is obtained. At this time, the relative height corresponding to the pointer reading 2 is h, that is, the height relative to the reference point 9 when the top end of the dial gauge probe is located at the low point 7 of the bending groove;
[0047] Step 4: Calculate the actual bending angle A of the workpiece according to the obtained downward movement height Δh and formula (II).
[0048] tan(A*1 / 2) = a / (b-Δh)……………… (II)
[0049] In the formula, A represents the actual bending angle of the workpiece after it is bent and rebounds, such as Figure 2 As shown, a represents the horizontal distance from the center of the bending groove of the bending die 3 to its vertex 6 (i.e., the vertex of the bending die 3, which will fit with the lower wall of the workpiece 4), and b represents the vertical distance from the vertex of the bending die 3 to the center of the bending groove;
[0050] Step 5, comparing the actual bending angle A obtained with a preset threshold value A′, and determining the bending defect according to the comparison result;
[0051] Among them, the angle corresponding to the preset threshold value A′ is the bending groove angle; when the actual bending angle A= A′+0~2°, it is defined as a third-class bending defect; when the actual bending angle A= A′+2~5°, it is defined as a second-class bending defect; when the actual bending angle A= A′+5~20°, it is defined as a first-class bending defect;
[0052] Step 6, calibrating the obtained bending defects at corresponding positions on the workpiece model in the digital virtual space;
[0053] Step 7: When a non-class I bending defect is detected on the workpiece model, the corresponding actual bending part is corrected. The correction process includes:
[0054] S11, control the third bending pressure head 15 to be pressed down to the limit position, hold for 3-5 seconds and then reset;
[0055] S12, obtaining the third image of the dial gauge 2 again through the camera terminal 1, and then obtaining the pointer reading three on the third image. If the relative height h1 corresponding to the pointer reading three is equal to h at this time, it means that the correction is qualified;
[0056] S13, on the contrary, re-calibrate the corresponding bending defects and perform corrections according to steps S11-S12 again; if the workpiece is still unqualified after three corrections, the workpiece is discarded.
[0057] Next, we will further explain the bending defects that occur during the actual processing. Figure 2 and Figure 3 shown.
[0058] During the processing, Figure 2 The rightmost bending part of the workpiece 4 shows obvious rebound. When the bending part is placed in the third bending groove 14 and the second bending ram 10 is pressed down to the limit position, the rightmost bending part of the workpiece 4 will press down the probe of the dial gauge 2, so that the top of the probe of the dial gauge 2 moves down from the reference point 9 to the position shown by number 8 in the figure, indicating that the top of the probe of the dial gauge 2 is in the initial state. At this time, the dial of the dial gauge 2 corresponds to a measurement value, and the measurement value corresponds to the height h0=5mm of the top of the probe of the dial gauge 2 relative to the reference point 9 when it is in the initial state; and before the rightmost bending part of the workpiece 4 is placed in the third bending groove 14, the top of the probe of the dial gauge 2 is located at the reference point 9. At this time, the dial of the dial gauge 2 corresponds to the zero position. Subsequently, the third bending ram 15 is controlled to move down to the limit position, and its state is referred to Figure 3 As shown, at this time, the probe of dial gauge 2 is further pressed down, and the dial of dial gauge 2 corresponds to another measurement value, which corresponds to the height h=10mm relative to the reference point 9 when the top end of the probe of dial gauge 2 is located at the low point 7 of the bending groove.
[0059] Combined with formula (I), calculate the height Δh of the top of the probe of dial gauge 2 moving down from the initial state after being compressed, that is,
[0060] Δh=h-h0=10mm-5mm=5mm; the bending grooves on the bending die 3 used have the same specifications, wherein the horizontal distance a from the center of the bending groove of the bending die 3 to its vertex 6 is 15mm, and the vertical distance b from the vertex of the bending die 3 to the center of the bending groove is 22mm.
[0061] The actual bending angle A of the workpiece 4 is calculated based on the obtained downward movement height Δh and formula (II), that is,
[0062] tan(A*1 / 2) = a / (b-Δh)= 15mm / (22mm-5mm),A=82.82°
[0063] According to the specifications of the bending groove on the bending die 3, the preset threshold value A′ (i.e., the bending groove angle) can be calculated according to the formula tan (α) = 15 mm / 22 mm, and the bending groove angle 2α = 2*arctan15 / 22 = 68.27°. It can be seen that the angle deviation of the bending part is A-2α = 82.82°-68.27° = 14.55°, which belongs to a type of bending defect. Accordingly, the obtained bending defect (a type of bending defect, bending deviation 14.55°) is calibrated at the corresponding part of the workpiece model in the digital virtual space.
[0064] Since the third bending pressure head 15 presses the workpiece 4 once when calibrating the bending defect (this process is equivalent to correcting the workpiece 4 once), the reading of the dial gauge 2 can be obtained again after the third bending pressure head 15 is reset, and the bending angle deviation can be calculated again with reference to steps 3 and 4. By implementing a correction once each time the bending angle deviation is detected and calibrated, the correction efficiency and correction effect can be greatly improved.
[0065] By adopting the scheme of the embodiment, the bending defects of high-precision bent workpieces can be calibrated accurately, quickly and in real time. The bending defects can be calibrated and corrected in time during the processing, thereby greatly improving the processing efficiency and product qualification rate of high-precision bent workpieces, and eliminating subsequent inspection fixtures and manual calibration processes; by adopting the scheme of the present invention, not only can bending defect calibration errors be avoided, but also quality inspectors / operators can know the defective locations at a glance.
Claims
1. A method for marking workpiece defects in a production process using digital virtual space, characterized in that the steps include: Step 1, constructing a processing tool model and a workpiece model in a digital virtual space; Step 2, synchronizing the actual machining process of the workpiece into the digital virtual space; Step 3, using a machine vision system to obtain the pointer reading of the dial gauge during the actual processing process, and calculating the height Δh of the dial gauge probe tip that moves downward from the initial state after being pressed according to the relative height of the dial gauge probe tip corresponding to the pointer reading and formula (I); Δh=h-h0……………… (Ⅰ) In the formula, h0 represents the height of the dial gauge probe tip relative to the reference point when it is in the initial state, h represents the height of the dial gauge probe tip relative to the reference point when it is at the low point of the bending groove, and the reference point refers to the position of the dial gauge probe tip corresponding to the reading of the dial gauge pointer being zero; Step 4: Calculate the actual bending angle A of the workpiece according to the obtained downward movement height Δh and formula (II). tan(A*1 / 2) = a / (b-Δh)……………… (Ⅱ) In the formula, A represents the actual bending angle of the workpiece after being bent and rebounded, a represents the horizontal distance from the center of the bending groove of the bending die to its vertex, and b represents the vertical distance from the vertex of the bending die to the center of the bending groove; Step 5, comparing the actual bending angle A obtained with a preset threshold value A′, and determining the bending defect according to the comparison result, wherein the angle corresponding to the preset threshold value A′ is the bending groove angle; Step 6, calibrating the obtained bending defects at corresponding positions on the workpiece model in the digital virtual space; The processing tools used in the actual processing process include a bending die (3), the bending die (3) having a first bending groove (12), a second bending groove (13), and a third bending groove (14) of the same specification and arranged from left to right, a first bending pressure head (11) being arranged directly above the first bending groove (12), a second bending pressure head (10) being arranged directly above the second bending groove (13), and a third bending pressure head (15) being arranged directly above the third bending groove (14), the first bending pressure head (11), the second bending pressure head (10), and the third bending pressure head (15) being independent of each other and arranged closely together; a vertically arranged through hole is arranged below the third bending groove (14), a dial gauge (2) being fixedly installed in the through hole, a probe of the dial gauge (2) extending upward into the third bending groove (14), and when the pointer reading of the dial gauge (2) is zero, the height difference between the top of the probe of the dial gauge (2) and the lowest point of the third bending groove (14) is h.
2. The method according to claim 1, characterized in that The bending defect level is determined in the following manner: when the actual bending angle A is 0°~2° larger than the preset threshold value A′, it is defined as a Class III bending defect; when the actual bending angle A is 2°~5° larger than the preset threshold value A′, it is defined as a Class II bending defect; when the actual bending angle A is 5°~20° larger than the preset threshold value A′, it is defined as a Class I bending defect.
3. The method according to any one of claims 1 to 2, characterized in that: The machine vision system used includes a camera terminal (1) located on the side of the dial indicator (2). The process of using the machine vision system to obtain the pointer reading of the dial indicator during the actual processing process in step 3 is as follows: S1, when the bottom end of the bent portion of the workpiece (4) is in the third bending groove (14) and just contacts the top end of the dial gauge (2), a first image of the dial gauge (2) is obtained through the camera terminal (1), and then a pointer reading of one on the first image is obtained. At this time, the relative height corresponding to the pointer reading of one is h0, that is, the height of the top end of the dial gauge relative to the reference point when the dial gauge is in an initial state; S2, when the third bending pressure head (15) moves down to the limit position, a second image of the dial indicator (2) is obtained through the camera terminal (1), and then the pointer reading 2 on the second image is obtained. At this time, the relative height corresponding to the pointer reading 2 is h, that is, the height relative to the reference point when the top end of the dial indicator probe is located at the low point of the bending groove.
4. The method according to claim 2, characterized in that: The method also includes step 7: when the monitored workpiece model is marked with a second-class bending defect or a third-class bending defect, the corresponding actual bending position is corrected.
5. The method according to claim 4, characterized in that Corrective treatment procedures include: S11, controlling the third bending pressure head (15) to be pressed down to the limit position, maintaining it for 3-5 seconds and then resetting it; S12, obtaining a third image of the dial gauge (2) again through the camera terminal (1), and then obtaining the pointer reading three on the third image. If the relative height h1 corresponding to the pointer reading three is equal to h at this time, it indicates that the correction is qualified; S13, on the contrary, re-calibrate the corresponding bending defects and perform corrections according to steps S11-S12 again; if the workpiece is still unqualified after three corrections, the workpiece is discarded.
