Automatic control method and system for detecting workpiece processing quality

By automatically adjusting the orientation and angle of the camera and combining the image processor to identify the gap between the workpiece and the mold, the problem of slow workpiece detection speed and low accuracy is solved, and efficient and accurate judgment of workpiece quality is achieved.

CN116787721BActive Publication Date: 2025-09-02BENXI IRON & STEEL (GROUP) INFORMATION AUTOMATION CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310771819.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-06-27
Publication Date
2025-09-02
Estimated Expiration
2043-06-27

AI Technical Summary

Technical Problem

In the prior art, there are problems such as slow detection speed and inaccurate detection during workpiece processing, especially due to poor recognition effects due to camera performance differences and shooting angle problems.

Method used

By continuously collecting workpiece images, the camera's orientation, height and pitch angle are automatically adjusted to ensure that the camera's central axis is facing the maximum surface gap between the workpiece and the mold, and the image processor is used to identify the processing quality.

Benefits of technology

It realizes automatic and accurate detection of workpiece processing quality, avoids the calculation complexity and error caused by manual intervention and single image recognition, and improves detection efficiency and accuracy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116787721B_ABST
    Figure CN116787721B_ABST
Patent Text Reader

Abstract

The present disclosure provides an automatic control method and system for detecting the processing quality of a workpiece, including: continuously acquiring a first image of the workpiece on the detection station, while driving a control system to adjust the orientation of the camera center axis and / or the orientation of the workpiece, and identifying the surface gap between the workpiece and the mold based on the first image, and stopping adjusting the orientation of the camera center axis and / or the orientation of the workpiece when the surface gap is maximum; acquiring a second image of the workpiece on the detection station, and based on the second image, driving the control system to adjust the height and pitch angle of the camera so that the center axis of the camera is facing the largest surface gap; acquiring a third image of the workpiece on the detection station, and judging whether the workpiece meets the processing quality requirements based on the third image. The present disclosure solves the problem that accurate detection cannot be achieved using video acquisition because the detection equipment cannot be automatically adjusted and manual intervention is required.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of automatic control technology, and in particular to an automatic control method and system for detecting workpiece processing quality based on image recognition technology. Background Art

[0002] In the conventional workpiece manufacturing process, the workpiece is formed in a mold through a molding method such as injection molding. Due to various factors, such as the design method, mold processing, and processing conditions, the final workpiece may have certain deviations from the original design. Furthermore, various gaps may exist between the final workpiece and the mold due to various factors, including the machining process.

[0003] To identify these machining errors, manual inspection and other quality control methods are often used. However, manual inspection is slow and often requires individual judgment. However, with the rapid development of imaging technology, image acquisition and recognition technologies are widely used in industrial production. Therefore, introducing image acquisition and recognition technology to assess workpiece machining quality is a technical approach worth exploring and applying.

[0004] However, different cameras typically have different performance parameters and designs, resulting in varying image acquisition and recognition performance. Furthermore, due to factors such as the camera's installation distance, relative position to the workpiece being inspected, and shooting angle, the adjustment and control options are limited, leading to poor recognition performance and inaccurate data, making accurate inspection impossible. Therefore, this disclosure proposes an automatic control method and system for inspecting workpiece processing quality based on image recognition technology. Summary of the Invention

[0005] The present disclosure provides an automatic control method for detecting workpiece processing quality, which is used to solve the problems of slow detection speed, inability to automatically detect and inaccurate detection in the prior art.

[0006] In a first aspect, the present disclosure provides an automatic control method for detecting workpiece processing quality, comprising:

[0007] continuously capturing a first image of a workpiece at an inspection station, while driving a control system to adjust the orientation of a camera center axis and / or the orientation of the workpiece, and identifying a surface gap between the workpiece and a mold based on the first image, and stopping adjusting the orientation of the camera center axis and / or the orientation of the workpiece when the surface gap is maximized;

[0008] capturing a second image of the workpiece on the inspection station, and driving the control system based on the second image to adjust the height and pitch angle of the camera so that the central axis of the camera faces the location with the largest surface gap;

[0009] A third image of the workpiece on the inspection station is collected, and based on the third image, it is determined whether the workpiece meets the processing quality requirements.

[0010] According to the automatic control method for detecting workpiece processing quality provided by the present disclosure, the third image of the workpiece on the detection station is collected, and based on the third image, whether the workpiece meets the processing quality requirements is determined, including:

[0011] The side tolerance of the workpiece and the mold clearance between the workpiece and the mold are calculated based on the third image; the side tolerance and the mold clearance are compared with the standard tolerance and standard mold clearance stored in the control system to determine whether the workpiece meets the processing quality requirements.

[0012] According to the automatic control method for detecting workpiece processing quality provided by the present disclosure, the method continuously acquires a first image of the workpiece on the detection station and simultaneously drives the control system to adjust the orientation of the camera center axis and / or the orientation of the workpiece, including:

[0013] Continuously capture the first image and simultaneously transmit a signal to the workstation to rotate the workstation to adjust the orientation of the workpiece; and / or send a signal to a first motor of a top plate located on top of a movable plate on the control system to drive a turntable connected to the top plate to rotate and adjust the orientation of the central axis of the camera.

[0014] According to the automatic control method for detecting workpiece processing quality provided by the present disclosure, the method includes: collecting a second image of the workpiece on the detection station, and driving the control system based on the second image to adjust the height and pitch angle of the camera so that the central axis of the camera faces the maximum surface gap, including:

[0015] Send a signal to the second motor located on the base in the detection system to drive the movable plate on the base to move to adjust the height of the camera; and / or send a signal to the electric push rod on the top plate on top of the movable plate to adjust the pitch angle of the camera.

[0016] In a second aspect, the present disclosure further provides an automatic control system for detecting workpiece processing quality, comprising:

[0017] A base, a second motor and a moving plate located on the base, a top plate located on top of the moving plate, a first motor and a turntable connected to the top plate, a camera and an electric push rod arranged on the turntable, characterized in that it also includes an image processor located on the base,

[0018] Sending a signal to the workstation to adjust the orientation of the workpiece, and / or sending a signal to the first motor to drive the turntable to adjust the orientation of the central axis of the camera; identifying the surface gap between the workpiece and the mold based on the first image of the workpiece captured by the camera, and stopping adjusting the orientation of the central axis of the camera and / or the orientation of the workpiece when the surface gap is maximized;

[0019] Based on the second image of the workpiece captured by the camera, a signal is sent to the second motor to drive the movable plate to move, so as to adjust the height of the camera; and / or a signal is sent to the electric push rod to adjust the pitch angle of the camera;

[0020] Based on the third image of the workpiece captured by the camera, it is determined whether the workpiece meets the processing quality requirements.

[0021] According to the automatic control system for detecting the processing quality of workpieces provided in the present disclosure, a fixed rod is fixedly connected to the top of the turntable, a sleeve is provided on the outside of the fixed rod, one end of the camera is rotatably connected to the sleeve, the bottom of the camera is rotatably connected to one end of the electric push rod, and the other end of the electric push rod is rotatably connected to the sleeve.

[0022] According to the automatic control system for detecting the processing quality of workpieces provided by the present disclosure, through holes are provided on the sleeve and the fixing rod, a screw is inserted into the through hole, and nuts are connected to both ends of the screw.

[0023] According to the automatic control system for detecting workpiece processing quality provided by the present disclosure, the output shaft of the second motor is connected to the screw through a belt drive, and the screw rotates to drive the movable plate to move up and down.

[0024] According to the automatic control system for detecting the processing quality of workpieces provided in the present disclosure, the output shaft of the second motor is connected to the screw rod through a belt transmission, specifically: the output shaft of the second motor extends to the bottom of the base and is fixedly connected to a driving wheel, the bottom of the base close to the driving wheel is rotatably connected to two symmetrically distributed first driven wheels, the bottom of the base away from the driving wheel is rotatably connected to two symmetrically distributed second driven wheels, the bottom of the screw rod is fixedly connected to the rotating shaft of the second driven wheel, and the driving wheel, the first driven wheel and the second wheel are connected through the belt transmission.

[0025] According to the automatic control system for detecting the processing quality of workpieces provided in the present invention, two fixed plates are connected on both sides of the movable plate, and guide grooves are opened on opposite sides of the two fixed plates. A guide rod is slidably connected to the inner side of the guide groove, and the guide rod is fixedly connected to the side wall of the movable plate away from the guide groove.

[0026] Compared with the prior art, the beneficial effect of the present disclosure is that the present disclosure can automatically adjust the shooting angle of the camera according to the image of the workpiece to be inspected captured and identified by the camera, that is, it can judge whether the camera is in a position suitable for capturing the surface gap between the workpiece and the mold while shooting, thereby gradually adjusting the shooting angle of the camera, and automatically and accurately judging the processing quality of the workpiece to be inspected based on the image of the workpiece to be inspected that is finally captured. No manual intervention is required in the intermediate process to judge and adjust, and the computational complexity and / or detection error caused by performing image recognition based on only the workpiece image captured in one shot is avoided. BRIEF DESCRIPTION OF THE DRAWINGS

[0027] In order to more clearly illustrate the technical solutions in the present disclosure, a brief introduction will be given below to the drawings required for use in the embodiments or descriptions of the prior art. Obviously, the drawings described below are some embodiments of the present disclosure. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.

[0028] Figure 1 is a flow chart of the automatic control method for detecting workpiece processing quality provided by the present disclosure;

[0029] Figure 2 is a three-dimensional diagram of an automatic control system for detecting workpiece processing quality provided by the present disclosure;

[0030] Figure 3 is a top view of the automatic control system for detecting workpiece processing quality provided by the present disclosure;

[0031] Figure 4 For this disclosure Figure 3 Cross-sectional view at AA in the middle;

[0032] Figure 5 For this disclosure Figure 3 Cross-sectional view at the middle BB;

[0033] Figure 6 For this disclosure Figure 5 The enlarged structural diagram at C in the middle;

[0034] Figure 7 A bottom view of the automatic control system for detecting workpiece processing quality provided by the present disclosure;

[0035] Figure 8 This is a structural diagram of the image processor provided by the present invention.

[0036] In the figure: 1. Base; 2. Fixed plate; 3. Moving plate; 4. Top plate; 5. Second motor; 6. Turntable; 7. Sleeve; 8. Camera; 9. Screw; 10. Fixed rod; 11. Belt; 12. Image processor; 13. First motor; 14. Second driven wheel; 15. Driving wheel; 16. First driven wheel; 17. Screw; 18. Connecting shaft; 19. Nut; 20. Electric push rod. DETAILED DESCRIPTION

[0037] To make the objectives, technical solutions, and advantages of this disclosure more clear, the technical solutions of this disclosure will be clearly and completely described below in conjunction with the accompanying drawings. Obviously, the embodiments described are only part of the embodiments of this disclosure, not all of them. All other embodiments obtained by persons of ordinary skill in the art based on the embodiments of this disclosure without creative effort shall fall within the scope of protection of this disclosure.

[0038] Figure 1 This is a flow chart of the automatic control method for detecting workpiece processing quality provided by the present disclosure, such as Figure 1 As shown, the method includes:

[0039] Step 110: continuously capture the first image of the workpiece on the inspection station, and at the same time drive the control system to adjust the orientation of the camera center axis and / or the workpiece orientation, and identify the surface gap between the workpiece and the mold based on the first image, and stop adjusting the orientation of the camera center axis and / or the workpiece orientation when the surface gap is the largest.

[0040] In the embodiments disclosed herein, a workpiece is processed and manufactured in a mold on a workstation, and processing errors may occur during the manufacturing process. Specifically, the workpiece usually has a mold surface that contacts the mold surface, but due to factors such as the processing technology and conditions, there will be varying degrees of surface gap between the above-mentioned surface of the workpiece and the mold surface. In addition, the processed surface of the workpiece itself will also have certain side tolerances due to the presence of burrs, protrusions, grooves, etc. After the workpiece is processed in the mold, in order to identify the processing errors based on the image, the control system is first set to a detection position at a certain distance from the workpiece. The camera is then driven to shoot the workpiece on the detection station, especially the above-mentioned surface gap between the workpiece and the mold. However, usually in the initial shooting position of the camera, the camera is not well aligned with the above-mentioned surface gap, so that the workpiece image obtained by the shooting itself has deviations due to the shooting angle problem, which is inconsistent with the actual situation and cannot be directly used to evaluate the processing error of the workpiece. Therefore, at this time, it is first necessary to adjust the relative orientation of the workpiece and the camera in the detection system.

[0041] See Figure 2 and Figure 5The camera 8 installed on the inspection system is electrically connected to the image processor 12. The direction of the central axis of the camera 8 itself can be identified by the sensor on the control system and transmitted to the image processor 12. At the same time, the first image of the workpiece continuously captured by the camera 8 is also transmitted to the image processor 12. The first image can be multiple images or videos of the workpiece captured by the camera from different shooting angles. The multiple images or videos of the workpiece captured by the camera 8 from different shooting angles can be: the image processor 12 sends Figure 5 The first motor 13 in the image processing apparatus sends a start signal and drives the turntable 6 to rotate horizontally, thereby adjusting the direction of the central axis of the camera 8; the image processor 12 may send a signal to the work station and drive the work station to rotate, resulting in a different shooting angle of the camera 8; or the above two methods may be executed simultaneously.

[0042] After receiving the first image, the image processor 12 identifies the surface gap images between the workpiece and the mold captured at different shooting angles. It will be appreciated that because the side of the workpiece has a certain length, the surface gap obtained at different shooting angles is a line segment with different widths. Furthermore, due to side tolerances, the width of the line segment along its length varies at a specific angle. Therefore, the surface gap at that specific angle is the width of the line segment at its widest point. After capturing the surface gap image, to further accurately identify the size of the surface gap, the surface gap image can be first amplified, and then the surface gaps obtained at different shooting angles can be compared to determine the maximum surface gap. When the maximum surface gap between the workpiece and the mold is identified, the direction of the surface gap between the workpiece and the mold is substantially coplanar with the central axis of the camera 8. At this point, the turntable and / or workstation are stopped. In this manner, the direction of the surface gap between the workpiece and the mold can be automatically adjusted to be substantially coplanar with the central axis of the camera based on the image recognition results, facilitating subsequent testing and thereby improving the accuracy of the test results.

[0043] Step 120 , capturing a second image of the workpiece on the inspection station, and driving the control system based on the second image to adjust the height and pitch angle of the camera so that the central axis of the camera faces the largest surface gap.

[0044] After step 110, the extension direction of the surface gap between the workpiece and the mold and the center axis of camera 8 are aligned. However, at the current shooting angle, the point of maximum surface gap may not be aligned with the center axis of camera 8. In other words, the image captured by the camera still contains deviations caused by the shooting angle and does not conform to the actual situation, making it unsuitable for directly assessing workpiece machining errors. Therefore, it is necessary to further adjust the center axis of camera 8, that is, to align the center axis of camera 8 with the maximum surface gap.

[0045] Specifically, the direction of the central axis of the camera 8 can be identified by the sensor on the detection system and transmitted to the image processor 12. At the same time, the camera 8 captures a second image of the workpiece again and transmits the second image to the image processor 12. The second image can be acquired continuously or acquired multiple times. After receiving the second image, the image processor 12 determines whether the direction of the central axis of the camera 8 is facing the maximum surface gap mentioned above. If not, the image processor 12 Figure 2 The second motor 5 in the image processor 12 sends a start signal, which drives the movable plate 3 to move up and down, thereby adjusting the height of the camera 8; at the same time, the image processor 12 sends a start signal to the movable plate 3 to move up and down, thereby adjusting the height of the camera 8; Figure 6 The electric push rod 20 in the control panel sends a start signal to adjust the pitch angle of the camera 8. The specific driving method is described later, and the height and pitch angle of the camera 8 are continuously adjusted until it is facing the camera.

[0046] Step 130 : Acquire a third image of the workpiece on the inspection station, and calculate the side tolerance of the workpiece and the mold clearance between the workpiece and the mold based on the acquired third image of the workpiece on the inspection station.

[0047] After step 120, the central axis of the camera 8 is facing the above-mentioned maximum surface gap. At this time, the side image of the workpiece relative to the mold can also be well captured by the camera 8, thereby improving the accuracy of subsequent image recognition. At this time, the camera 8 captures a third image of the workpiece again. This third image basically eliminates or avoids the situation where the workpiece does not conform to the actual situation due to the deviation of the shooting angle, so it can be directly used to evaluate the processing error of the workpiece. After receiving the third image, the image processor 12 performs image recognition, calculates the actual side tolerance of the workpiece and the actual mold clearance between the workpiece and the mold, for subsequent workpiece processing quality judgment. The specific method of identifying and calculating the actual mold clearance is similar to the method of identifying and calculating the surface clearance in step 110, and will not be repeated here.

[0048] Step 140 : Compare the side tolerance and the mold clearance with the standard tolerance and standard mold clearance stored in the detection system to determine whether the workpiece meets the processing quality requirements.

[0049] After completing step 130, the image processor 12 can calculate the actual side tolerance of the workpiece and the actual mold clearance between the workpiece and the mold. At this time, the stored standard tolerance and standard mold clearance can be read, and the actual side tolerance of the workpiece and the actual mold clearance between the workpiece and the mold can be compared with the standard tolerance and standard mold clearance respectively to determine whether the deviation value exceeds a reasonable threshold range, thereby determining whether the workpiece meets the processing quality requirements. Of course, it is also possible to directly determine whether the actual side tolerance of the workpiece and the actual mold clearance between the workpiece and the mold fall within a reasonable side tolerance value range and / or mold clearance value range, and whether the correlation between the actual side tolerance and the actual mold clearance is reasonable. The present disclosure is not limited to this, as long as it can be determined whether the workpiece meets the processing quality after the third image recognition.

[0050] To sum up, the automatic control method for detecting the processing quality of the workpiece provided by the present invention basically eliminates or avoids the situation where the identified workpiece is inconsistent with the actual situation due to the deviation of the shooting angle, and can gradually and automatically adjust the shooting angle of the camera, that is, it can judge whether the camera is in a position suitable for shooting the surface gap between the workpiece and the mold while shooting, thereby gradually adjusting the shooting angle of the camera, and automatically and accurately judging the processing quality of the workpiece to be inspected based on the image of the workpiece to be inspected that is finally captured. The intermediate process does not require manual intervention, judgment and adjustment, and also avoids the computational complexity and / or detection error caused by performing image recognition based only on the workpiece image captured by one shot.

[0051] The automatic control system for detecting the processing quality of workpieces provided by the present invention is described below. The automatic control system for detecting the processing quality of workpieces described below and the automatic control method for detecting the processing quality of workpieces described above can be referenced to each other, and the specific driving structure is described in the following automatic control system.

[0052] Based on the above embodiments, Figure 2 is a three-dimensional diagram of the automatic control system for detecting workpiece processing quality provided by the present disclosure, such as Figure 2 As shown, the system includes a base 1, with two symmetrically distributed, height-adjustable movable plates 3 slidably connected to the top of the base 1, and a top plate 4 fixedly connected to the top of the two movable plates 3. The form, position, and number of movable plates 3 are not limited here. They can be any supporting structure that can move up and down, such as a plate structure or a block structure, and there can be one, two, or more, as long as they can be driven to move up and down.

[0053] A turntable 6 is rotatably connected to the top of the top plate 4, and a camera 8 with adjustable pitch angle is rotatably connected to the top of the turntable 6. Adjusting the height of the movable plate 3 drives the top plate 4 up and down, which in turn drives the turntable 6 up and down, and thus drives the camera 8 up and down, thereby adjusting the camera's height. Driving the turntable 6 to rotate, in turn, drives the camera 8 to rotate, thereby adjusting the horizontal angle of the camera 8. Driving the electric push rod 20 further adjusts the pitch angle of the camera 8.

[0054] Specifically, see Figure 2-6 The top of the base 1 is located in the accommodating space of the detection system and an image processor 12 is fixedly installed. In one embodiment, the image processor 12 performs Figure 1 The method described in steps 110-140 in the embodiment of the present invention is as follows. The image processor 12 sends a signal to the workstation to adjust the orientation of the workpiece, and / or sends a signal to the first motor 13 to drive the turntable 6 to adjust the orientation of the central axis of the camera 8. Based on the first image of the workpiece continuously captured by the camera 8, the surface gap between the workpiece and the mold is identified, and when the surface gap is maximized, the orientation of the central axis of the camera 8 and / or the orientation of the workpiece is stopped. Then, based on the second image of the workpiece captured by the camera, a signal is sent to the second motor 5 to drive the movable plate 3 to move to adjust the height of the camera 8; and / or a signal is sent to the electric push rod 20 to adjust the pitch angle of the camera 8. Finally, based on the third image of the workpiece captured by the camera 8, it is determined whether the workpiece meets the processing quality requirements.

[0055] On the other hand, the image processor 12 identifies the actual side tolerance of the workpiece and the actual mold clearance between the workpiece and the mold after receiving the workpiece image captured by the camera 8. Specifically, the method for identifying the actual side tolerance of the workpiece can be: first identify the number, height or depth of burrs, protrusions or grooves contained in the captured workpiece image, then calculate the side height or depth of each burr, protrusion or groove, and use the maximum side height or depth as the actual side tolerance of the workpiece. This method can be used to comprehensively evaluate the side processing quality of the workpiece, rather than judging based on a single burr, protrusion or groove, thereby further improving the accuracy of the detection. The above is only an example of an identification method for the actual side tolerance of the workpiece, and other identification methods may also be used, which will not be described in detail here. In addition, the present disclosure protects the application of the image recognition method in the scenario of the present disclosure, rather than the specific image recognition technology itself, which will not be further expanded here. All identification methods that meet the above principles are protected by the present disclosure.

[0056] Furthermore, the image processor 12 determines whether the side tolerance and the mold clearance of the workpiece are qualified by comparing the actual side tolerance and the actual mold clearance with the standard tolerance of the workpiece side and the standard mold clearance of the workpiece and the mold in the normal mold closing state stored in the image processor 12. This solves the problem that when the processing tolerance of the workpiece needs to be detected in the existing technology, visual measurement is generally used, which is difficult and has low accuracy. In addition, video or image acquisition is prone to large errors due to distance and shooting angle, making accurate monitoring impossible.

[0057] See also Figure 2 and Figure 4 The top of the base 1 is rotatably connected to two symmetrically distributed screw rods 17, and the two movable plates 3 are respectively threadedly connected to the outer sides of the two screw rods 17. Through the rotation of the screw rods 17, the movable plates 3 slide up and down on the outer sides of the screw rods 17.

[0058] See also Figure 2 、 Figure 4 、 Figure 5 and Figure 7 A second motor 5 is fixedly connected to one side of the top of the base 1, and the output shaft of the second motor 5 extends to the bottom of the base 1 and is fixedly connected to a driving wheel 15. The bottom of the base 1 is rotatably connected to the side close to the driving wheel 15 with two symmetrically distributed driven wheels 16, and the bottom of the base 1 is rotatably connected to the side away from the driving wheel 15 with two symmetrically distributed driven wheels 2 14. The bottoms of the two screw rods 17 are respectively fixedly connected to the rotating shafts of the two driven wheels 2 14. The driving wheel 15, the two driven wheels 16 and the two driven wheels 2 14 are connected through a belt 11. The motor 5 drives the driving wheel 15 to rotate, and through the belt 11, it drives the two driven wheels 1 16 to rotate, and then drives the two driven wheels 2 14 to rotate, and then drives the screw rod 17 to rotate.

[0059] See also Figure 2-4 Two symmetrically distributed fixed plates 2 are fixedly connected to the top of the base 1 and the same side of the movable plate 3. Guide grooves are opened on the opposite sides of the two fixed plates 2. A guide rod is slidably connected to the inner side of the guide groove. The side of the guide rod away from the guide groove is fixedly connected to the side wall of the movable plate 3. When the movable plate 3 slides up and down, the guide rod slides inside the guide groove, thereby making the movable plate 3 slide up and down smoothly.

[0060] See also Figure 2-5 The top of the top plate 4 is rotatably connected to a connecting shaft 18, the turntable 6 is fixedly connected to the top of the connecting shaft 18, and the bottom of the top plate 4 is fixedly connected to a first motor 13. The output shaft of the first motor 13 extends to the top of the top plate 4 and is fixedly connected to the bottom of the connecting shaft 18. The motor 13 can drive the connecting shaft 18 to rotate, thereby driving the turntable 6 to rotate.

[0061] See also Figure 2-6A fixing rod 10 is fixedly connected to the top of the turntable 6, and a sleeve 7 is provided on the outside of the fixing rod 10. A through hole is provided on the sleeve 7 and the fixing rod 10, and a screw 9 is inserted into the inside of the through hole. Nuts 19 are threadedly connected at both ends of the screw 9. The camera 8 is rotatably connected to the sleeve 7. The sleeve 7 and the camera 8 are on the same side and are located at the bottom of the camera 8 and are rotatably connected to an electric push rod 20. The output end of the electric push rod 20 is rotatably connected to the bottom of the camera 8, and the sleeve 7 is slidably connected to the fixing rod 10. The screw 9 is inserted into the through hole, and the two nuts 19 are threadedly connected to the screw 9, so that the sleeve 7 can be limited. The camera 8 is driven to rotate by the electric push rod 20, and the pitch angle of the camera 8 can be adjusted.

[0062] On the other hand, the image processor 12 may also include an information processing module, an information comparison module, an information storage module, and a display panel. The output of the camera 8 is electrically connected to the input of the information processing module, the output of the information storage module is electrically connected to the input of the information processing module, the information processing module is electrically connected to the information comparison module, the information processing module is electrically connected to the display panel, and the display panel is bidirectionally connected to the processing module. The information storage module stores the standard tolerance of the workpiece side and the standard mold clearance between the workpiece and the mold in the normal mold closing state. First, the third image information captured by the camera 8 is transmitted to the information processing module. The information processing module processes the third image information and converts it into the actual side tolerance of the workpiece and the actual mold clearance between the workpiece and the mold, and sends it to the information comparison module. Second, the information comparison module compares the actual side tolerance of the workpiece with the standard tolerance stored in the information storage module. The information comparison module compares the actual mold clearance with the standard mold clearance stored in the information storage module. Based on whether the comparison result exceeds a threshold range, it is determined whether the processing quality requirements are met. Then, the information comparison module feeds the comparison result back to the information processing module, and the processing module transmits the information to the display panel to display whether it is qualified.

[0063] In yet another embodiment, Figure 8 is a schematic diagram of the structure of the image processor provided by the present disclosure, such as Figure 8As shown, the image processor may include: a processor 810, a communication interface 820, a memory 830, and a communication bus 840, wherein the processor 810, the memory 830, and the communication interface 820 communicate with each other via the communication bus 840. The processor 810 may call the logic instructions in the memory 830 to execute the automatic control method for detecting the processing quality of a workpiece provided by the present disclosure, the method comprising: continuously acquiring a first image of the workpiece on the detection station, while driving the control system to adjust the direction of the central axis of the camera 8 and / or the direction of the workpiece, and identifying the surface gap between the workpiece and the mold based on the first image, and stopping adjusting the direction of the central axis of the camera 8 and / or the direction of the workpiece when the surface gap is the largest; acquiring a second image of the workpiece on the detection station, and based on the second image, driving the control system to adjust the height and pitch angle of the camera 8 so that the central axis of the camera 8 faces the largest surface gap; acquiring a third image of the workpiece on the detection station, and judging whether the workpiece meets the processing quality requirements based on the third image.

[0064] In addition, the logic instructions in the above-mentioned memory 830 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when sold or used as an independent product. Based on this understanding, the technical solution of the present disclosure is essentially or the part that contributes to the prior art or the part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present disclosure. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program code.

[0065] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, i.e., they may be located in one location or distributed across multiple network units. Some or all of the modules may be selected based on actual needs to achieve the objectives of the present embodiment. Persons of ordinary skill in the art will be able to understand and implement the present invention without inventive effort.

[0066] Through the description of the above embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus a necessary general hardware platform, or of course, by hardware. Based on this understanding, the essence of the above technical solution or the part that contributes to the existing technology can be embodied in the form of a software product. The computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a magnetic disk, an optical disk, etc., and includes a number of instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or certain parts of the embodiments.

[0067] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present disclosure, rather than to limit them. Although the present disclosure has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the various embodiments of the present disclosure.

Claims

1. An automatic control method for detecting workpiece processing quality, comprising: continuously capturing a first image of a workpiece at an inspection station, while driving a control system to adjust the orientation of a camera center axis and / or the orientation of the workpiece, and identifying a surface gap between the workpiece and a mold based on the first image, and stopping adjusting the orientation of the camera center axis and / or the orientation of the workpiece when the surface gap is maximized; capturing a second image of the workpiece on the inspection station, and driving the control system based on the second image to adjust the height and pitch angle of the camera so that the central axis of the camera faces the location with the largest surface gap; A third image of the workpiece on the inspection station is collected, and based on the third image, it is determined whether the workpiece meets the processing quality requirements.

2. The automatic control method for detecting workpiece processing quality according to claim 1, characterized in that: The collecting of a third image of the workpiece on the inspection station and judging whether the workpiece meets the processing quality requirements based on the third image include: The side tolerance of the workpiece and the mold clearance between the workpiece and the mold are calculated based on the third image; the side tolerance and the mold clearance are compared with the standard tolerance and standard mold clearance stored in the control system to determine whether the workpiece meets the processing quality requirements.

3. The automatic control method for detecting workpiece processing quality according to claim 1, characterized in that: The method of continuously acquiring a first image of a workpiece on a detection station and simultaneously driving a control system to adjust the orientation of a central axis of a camera and / or the orientation of the workpiece includes: Continuously capture the first image and simultaneously transmit a signal to the workstation to rotate the workstation to adjust the orientation of the workpiece; and / or send a signal to a first motor of a top plate located on top of a movable plate on the control system to drive a turntable connected to the top plate to rotate and adjust the orientation of the central axis of the camera.

4. The automatic control method for detecting workpiece processing quality according to claim 1, characterized in that: The method of collecting a second image of the workpiece on the inspection station and driving the control system based on the second image to adjust the height and pitch angle of the camera so that the central axis of the camera faces the position with the largest surface gap comprises: Send a signal to the second motor located on the base in the control system to drive the movable plate on the base to move to adjust the height of the camera; and / or send a signal to the electric push rod on the top plate on top of the movable plate to adjust the pitch angle of the camera.

5. An automatic control system for detecting workpiece processing quality, comprising: A base, a second motor and a moving plate located on the base, a top plate located on top of the moving plate, a first motor and a turntable connected to the top plate, a camera and an electric push rod arranged on the turntable, characterized in that it also includes an image processor located on the base, Sending a signal to the workstation to adjust the orientation of the workpiece, and / or sending a signal to the first motor to drive the turntable to adjust the orientation of the camera center axis; identifying the surface gap between the workpiece and the mold based on the first image of the workpiece continuously captured by the camera, and stopping adjusting the orientation of the camera center axis and / or the workpiece orientation when the surface gap is maximized; Based on the second image of the workpiece captured by the camera, a signal is sent to the second motor to drive the movable plate to move, so as to adjust the height of the camera; and / or a signal is sent to the electric push rod to adjust the pitch angle of the camera; Based on the third image of the workpiece captured by the camera, it is determined whether the workpiece meets the processing quality requirements.

6. The automatic control system for detecting workpiece processing quality according to claim 5, characterized in that: A fixing rod is fixedly connected to the top of the turntable, a sleeve is provided on the outside of the fixing rod, one end of the camera is rotatably connected to the sleeve, the bottom of the camera is rotatably connected to one end of the electric push rod, and the other end of the electric push rod is rotatably connected to the sleeve.

7. The automatic control system for detecting workpiece processing quality according to claim 6, characterized in that: The sleeve and the fixing rod are both provided with through holes, a screw rod is inserted into the through hole, and nuts are connected to both ends of the screw rod.

8. The automatic control system for detecting workpiece processing quality according to claim 5, characterized in that: The output shaft of the second motor is connected to the screw rod through a belt drive, and the screw rod rotates to drive the movable plate to move up and down.

9. The automatic control system for detecting workpiece processing quality according to claim 8, characterized in that: The output shaft of the second motor is connected to the screw rod through a belt transmission. Specifically, the output shaft of the second motor extends to the bottom of the base and is fixedly connected to a driving wheel. The bottom of the base is rotatably connected to a side close to the driving wheel and has two symmetrically distributed first driven wheels. The bottom of the base is rotatably connected to a side away from the driving wheel and has two symmetrically distributed second driven wheels. The bottom of the screw rod is fixedly connected to the rotating shaft of the second driven wheel. The driving wheel, the first driven wheel and the second driven wheel are connected through the belt transmission.

10. The automatic control system for detecting workpiece processing quality according to claim 5, characterized in that: Two fixed plates are connected to both sides of the movable plate, and guide grooves are provided on opposite sides of the two fixed plates. Guide rods are slidably connected to the inner sides of the guide grooves, and the guide rods are fixedly connected to the side walls of the movable plate away from the guide grooves.

Citation Information

Patent Citations

  • Automatic detection device based on image recognition

    CN108943636A

  • Clearance measuring device

    JP2006064597A