A valve appearance inspection device based on automatic sorting by machine vision
By introducing machine vision and automation into the valve appearance detection device, the adjustable camera angle and servo motor are used to solve the problem of sealing test blind spots, and comprehensive inspection of the valve side wall is achieved, and detection accuracy and product are improved. quality.
Patent Information
- Application Number
- CN202411067712.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-06
- Publication Date
- 2024-11-05
- Estimated Expiration
- 2044-08-06
AI Technical Summary
The existing valve appearance detection device has blind spots during sealing testing, resulting in errors in detection data and may cause defective products to be put into use.
A valve appearance detection device based on machine vision automatic sorting is designed. By installing a connecting rod, rotating shaft and camera on the base, the camera angle is automatically adjusted to ensure a comprehensive inspection of the valve side wall, including horizontal and vertical. The shooting position is combined with the servo motor and friction wheel to achieve dynamic adjustment of the camera position to avoid blind spots.
A comprehensive inspection of the appearance of the valve is achieved, which avoids detection data errors, improves the accuracy and completeness of the inspection, and ensures the product yield.
Smart Images

Figure CN118577520B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of detection devices, and in particular to a valve appearance detection device based on automatic sorting by machine vision. Background Art
[0002] Valves are pipe accessories used to open and close pipes, control flow direction, and adjust and control the parameters (temperature, pressure, and flow) of the conveying medium. According to their functions, they can be divided into shut-off valves, check valves, regulating valves, etc. Before the valves are put into use after production, they often need to be inspected for damaged or defective products. Visual inspection is a common method and means of inspection, which uses visual cameras to inspect the appearance of the product;
[0003] For example, the invention patent with application number CN202310397198.0 and name "A Multifunctional Valve Detection Device" includes: an installation base plate, a valve transmission mechanism, a valve sealing detection mechanism, a valve classification and transmission mechanism, a valve appearance detection mechanism and a re-sealing performance detection mechanism; the device is provided with a valve sealing detection mechanism and a valve appearance detection mechanism, which can not only detect the sealing of the valve, but also the appearance of the valve, greatly ensuring the yield rate of the valve and avoiding defective products from entering the market; the device is also provided with a re-sealing performance detection mechanism to further detect defective products and avoid losses caused by errors in the previous detection step.
[0004] When inspecting the appearance of a valve, visual inspection is usually used. As shown in the above-mentioned patent, some existing visual inspections usually use different cameras to inspect different positions. However, when conducting other tests such as sealing, cameras in fixed positions often have blind spots, which may cause omissions during the inspection process, resulting in erroneous inspection data and the use of defective products. Summary of the invention
[0005] The purpose of the present invention is to provide a valve appearance detection device based on automatic sorting by machine vision to solve the above-mentioned deficiencies in the prior art.
[0006] In order to achieve the above-mentioned purpose, the present invention provides the following technical solutions: a valve appearance detection device based on automatic sorting by machine vision, comprising a base, a valve body and a manipulator for clamping the valve body, a connecting rod is vertically slidably installed on the base, one end of the connecting rod is fixedly installed with a support seat, the end of the connecting rod away from the support seat is fixedly installed with a vertical frame, and the side wall of the vertical frame is fixedly installed with a side rod; a square plate is horizontally slidably installed on the base, and an abutment is fixedly installed on the square plate; a rotating shaft is rotatably installed on the base, a limit frame is fixedly installed on the rotating shaft, a swivel is rotatably installed on the limit frame, and a camera is fixedly installed on the swivel; also includes a test pipe; the camera has a first position for horizontal shooting, and a second position for vertical shooting; in the process of placing the valve body on the support seat, it has a first stroke for detecting the side wall and a second stroke for performing a sealing test.
[0007] Preferably, in the first stroke, the support seat moves downward, but the swivel maintains the horizontal first position so as to perform visual analysis and inspection on the descending side wall of the valve body;
[0008] In the second stroke, the support seat moves downward, but at this time the connecting rod and the vertical frame drive the rotating shaft to rotate, so that the rotating ring rotates toward the vertical position to enter the second position, so that it can rotate in a circle to perform circumferential detection on the side wall of the valve.
[0009] Preferably, a spiral plate is fixedly mounted on the rotating shaft, a vertical rod is fixedly mounted on the base, the rotating shaft is rotatably mounted in the vertical rod, an inclined groove is opened on the square plate, and the side rod is inserted into the inclined groove.
[0010] Preferably, a coil spring is fixedly installed between the rotating shaft and the vertical rod.
[0011] Preferably, a pressure block is horizontally slidably installed on the base, a bevel is provided on the pressure block, a connecting frame is fixedly installed on the pressure block, a fixing rod is fixedly installed on the base, a rotating plate is rotatably installed on the fixing rod, a round rod is fixedly installed on the test pipe, grooves are provided on both sides of the rotating plate, and the round rod and the connecting frame are both arranged in the grooves.
[0012] Preferably, the abutment member is concave in shape.
[0013] Preferably, a receiving plate is vertically slidably installed in the base, a servo motor is fixedly installed on the receiving plate, a friction wheel is rotatably installed on the receiving plate, and the output end of the servo motor is fixedly connected to the friction wheel;
[0014] A notch is arranged on the rotating ring.
[0015] Preferably, a connecting spring is fixedly installed between the upper bottom end of the receiving plate and the base, a long rod is fixedly installed on the side wall of the receiving plate, an abutment strip is fixedly installed on the long rod, and a follower rod is horizontally slidably installed on the side wall of the connecting rod.
[0016] Preferably, a return spring is fixedly installed between one end of the follower rod located inside the connecting rod and the connecting rod, an oblique hole is opened on the follower rod, and a connecting strip is fixedly installed in the base.
[0017] Preferably, each of the spiral plates is arranged on the same side of the corresponding rotating shaft, and the two rotating rings are arranged alternately.
[0018] In the above technical scheme, the present invention provides a valve appearance inspection device based on automatic sorting by machine vision, which has the following beneficial effects: when inspecting the valve, as the valve is sent into the support seat by the robot, the angle position of the camera will be adjusted during the descending stroke of the support seat to facilitate subsequent cameras to perform more comprehensive inspections without blind spots. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in the present invention. For ordinary technicians in this field, other drawings can also be obtained based on these drawings.
[0020] Figure 1 A schematic diagram of a three-dimensional structure provided by an embodiment of the present invention;
[0021] Figure 2 The embodiment of the present invention provides Figure 1 Schematic diagram of some structures;
[0022] Figure 3 The embodiment of the present invention provides Figure 2 Schematic diagram of some structures;
[0023] Figure 4 A schematic diagram of a portion of the structure of an abutment member provided in an embodiment of the present invention;
[0024] Figure 5 The embodiment of the present invention provides Figure 3 A schematic diagram of the structure at A;
[0025] Figure 6 A schematic diagram of a portion of the structure of a swivel provided in an embodiment of the present invention;
[0026] Figure 7 A schematic diagram of the rotating state structure of a swivel provided in an embodiment of the present invention.
[0027] Description of reference numerals:
[0028] 1. Base; 21. Support seat; 22. Connecting rod; 23. Vertical frame; 24. Side rod; 25. Square plate; 251. Inclined groove; 26. Abutment; 31. Pressure block; 32. Connecting frame; 33. Rotating plate; 34. Round rod; 35. Test pipe; 36. First spring; 37. Fixed rod; 41. Rotating shaft; 42. Spiral plate; 43. Vertical rod; 44. Limiting frame; 45. Rotating ring; 46. Camera; 51. Adapter plate; 52. Servo motor; 53. Friction wheel; 54. Transmission belt; 55. Long rod; 56. Follow-up rod; 57. Abutment strip; 58. Connecting strip; 6. Valve body; 7. Manipulator. DETAILED DESCRIPTION
[0029] In order to enable those skilled in the art to better understand the technical solution of the present invention, the present invention will be further described in detail below with reference to the accompanying drawings.
[0030] See also Figure 1-Figure 7 A valve appearance inspection device based on machine vision automatic sorting includes a base 1, a valve body 6 and a manipulator 7 for clamping the valve body 6, a connecting rod 22 is vertically slidably mounted on the base 1, a support seat 21 is fixedly mounted on one end of the connecting rod 22, a vertical frame 23 is fixedly mounted on the end of the connecting rod 22 away from the support seat 21, and a side rod 24 is fixedly mounted on the side wall of the vertical frame 23;
[0031] A square plate 25 is horizontally slidably mounted on the base 1, and an abutment member 26 is fixedly mounted on the square plate 25;
[0032] A rotating shaft 41 is rotatably mounted on the base 1, a limit frame 44 is fixedly mounted on the rotating shaft 41, a rotating ring 45 is rotatably mounted on the limit frame 44, and a camera 46 is fixedly mounted on the rotating ring 45;
[0033] Also included is a test pipeline 35;
[0034] The camera 46 has a first position for horizontal shooting and a second position for vertical shooting;
[0035] When the valve body 6 is placed on the support seat 21, there is a first stroke for detecting the side wall and a second stroke for performing a sealing test;
[0036] The valve is gripped by a robot 7 for movement.
[0037] In another embodiment of the present invention: in the first stroke, the support seat 21 moves downward, but at this time the swivel 45 maintains the horizontal first position so as to perform visual analysis and inspection on the side wall of the descending valve body 6;
[0038] In the second stroke, the support seat 21 moves downward, but at this time the connecting rod 22 and the vertical frame 23 drive the rotating shaft 41 to rotate, so that the rotating ring 45 rotates toward the vertical position to enter the second position, so that it can rotate in a circle to perform circumferential detection on the side wall of the valve.
[0039] In another embodiment of the present invention: a spiral plate 42 is fixedly mounted on the rotating shaft 41, a vertical rod 43 is fixedly mounted on the base 1, the rotating shaft 41 is rotatably mounted in the vertical rod 43, an inclined groove 251 is opened on the square plate 25, and the side rod 24 is inserted into the inclined groove 251;
[0040] Among them, in the first stroke, the valve body 6 drives the support seat 21, the connecting rod 22, and the vertical frame 23 to descend. At this time, the side rod 24 descends in the inclined groove 251, and the square plate 25 will move toward the direction of the support seat 21, thereby driving the abutment 26 to move, but at this time the abutment 26 has not yet contacted the spiral plate 42, so the rotating shaft 41 will not rotate until entering the second stroke, at which time the abutment 26 and the spiral plate 42 are in contact. At this time, the abutment 26 contacts the inclined surface of the spiral plate 42, thereby pushing the rotating shaft 41 to rotate in the vertical rod 43, and the rotating shaft 41 will drive the rotating ring 45 to rotate through the limit frame 44, so that the rotating ring 45 rotates from the horizontal state to the vertical second position.
[0041] In another embodiment of the present invention: a coil spring is fixedly installed between the rotating shaft 41 and the vertical rod 43;
[0042] When the rotating shaft 41 rotates, the coil spring will accumulate force until the abutment member 26 moves away from the spiral plate 42, and then the coil spring will drive the rotating shaft 41 to rotate and return to its original position.
[0043] In another embodiment of the present invention: a pressure block 31 is horizontally slidably mounted on the base 1, a bevel is provided on the pressure block 31, a connecting frame 32 is fixedly mounted on the pressure block 31, a fixing rod 37 is fixedly mounted on the base 1, a rotating plate 33 is rotatably mounted on the fixing rod 37, a round rod 34 is fixedly mounted on the test pipe 35, grooves are provided on both sides of the rotating plate 33, and the round rod 34 and the connecting frame 32 are both arranged in the grooves;
[0044] When the abutment 26 squeezes and moves the spiral plate 42, the abutment 26 will squeeze the bevel of the pressure block 31 at the same time. At this time, the pressure block 31 will move in the direction away from the rotating shaft 41, and when the pressure block 31 moves, it will drive the rotating plate 33 to rotate through the connecting frame 32. At this time, the rotating plate 33 rotates with the fixed rod 37 as the axis, wherein the fixed rod 37 is close to the connecting frame 32, so that the rotating plate 33 close to the connecting frame 32 One end rotates a small angle and can drive the other end to rotate a large angle. With the rotation of the rotating plate 33, the round rod 34 on the rotating plate 33 will drive the test pipe 35 to move, which also includes a limit frame, and the test pipe 35 is horizontally slidably installed on the limit frame, and the end of the test pipe 35 away from the valve body 6 is fixedly installed with a bellows hose, so that the test pipe 35 is able to move horizontally, and at the same time, a first spring 36 is fixedly installed on the surface of the test pipe 35, and the other end of the first spring 36 is fixedly connected to the limit frame. When the pressure block 31 moves away from the rotating shaft 41, the pressure block 31 will drive the test pipe 35 to move in the direction of the valve body 6 through the rotating plate 33 until the test pipe 35 and the valve body 6 abut. At the same time, a sealing ring is fixedly installed on the test pipe 35. After the two abut, the sealing ring will be squeezed to seal. At this time, water can be passed into the valve through the test pipe 35, so as to detect the sealing of the connection, check the sealing condition when the sealing ring is tightly fitted, and check whether there is any damage at the port at this time. When the abutment 26 is away from the pressure block 31, the first spring 36 will pull the test pipe 35 to reset, and at the same time, the pressure block 31 will also be reset through the rotating plate 33.
[0045] In another embodiment of the present invention: the abutment member 26 is in a "concave" shape;
[0046] The “concave” shaped abutment member 26 can be in contact with the pressure block 31 and the spiral plate 42 at the same time.
[0047] In another embodiment of the present invention: a receiving plate 51 is vertically slidably installed in the base 1, a servo motor 52 is fixedly installed on the receiving plate 51, a friction wheel 53 is rotatably installed on the receiving plate 51, and an output end of the servo motor 52 is fixedly connected to the friction wheel 53;
[0048] A notch is provided on the rotating ring 45;
[0049] Among them, as the swivel 45 rotates, the notch provided on it ensures that the swivel 45 will not get stuck with the manipulator 7, the connecting rod 22 and other objects during rotation. When the swivel 45 is in a horizontal state, the camera 46 thereon shoots horizontally and is aimed at the middle position, so that the valve can be visually inspected when it descends. As the valve continues to descend, the camera 46 in the horizontal state has already inspected the entire side wall. At this time, the swivel 45 will rotate toward the vertical state through the shaft 41, and the horizontal state of the swivel 45 is away from the test pipe 35, and the two do not contact each other. When the swivel 45 rotates toward the vertical state, the test pipe 35 also moves horizontally, and at this time the test pipe 35 will never be in contact with the swivel. The ring 45 abuts against the valve 46, thereby ensuring the position adjustment of the camera 46, until the camera 46 rotates to a vertical state, at which time the rotating ring 45 contacts the friction wheel 53, and the servo motor 52 is started. The servo motor 52 drives the friction wheel 53 to rotate, thereby driving the rotating ring 45 to rotate. At this time, the rotating ring 45 drives the camera 46 to rotate around the valve on the vertical plane, thereby detecting the overall defects of the horizontal pipeline of the valve. At the same time, the test pipeline 35 is connected to the valve pipeline, and the sealing can also be detected. The detection of the camera 46 can feed back data to the detection system to mark whether the product has defects such as damage, so as to control the movement direction of the subsequent manipulator 7, so that the defective products and the complete products are separated for automatic sorting;
[0050] Furthermore, two friction wheels 53 are provided on a receiving plate 51, and the servo motor 52 is connected to one of the friction wheels 53, and the two friction wheels 53 are connected by a transmission belt 54, so that the two friction wheels 53 rotate synchronously in the same direction, and the setting interval of the two friction wheels 53 is greater than the length of the gap, so that when the gap is close to one of the friction wheels 53, the other friction wheel 53 will still rotate the swivel 45 by friction, so as to prevent the swivel 45 from stopping.
[0051] In another embodiment of the present invention: a connecting spring is fixedly installed between the bottom upper part of the receiving plate 51 and the base 1, a long rod 55 is fixedly installed on the side wall of the receiving plate 51, an abutment strip 57 is fixedly installed on the long rod 55, and a follower rod 56 is horizontally slidably installed on the side wall of the connecting rod 22;
[0052] Among them, when the connecting rod 22 moves downward, it will contact the top of the abutment bar 57 through the follower rod 56 of the side wall, thereby driving the long rod 55 and the receiving plate 51 to move downward. At this time, the friction wheel 53 on the receiving plate 51 is away from the swivel 45, so that the swivel 45 can be smoothly rotated to a vertical state when it is close to the friction wheel 53, avoiding being blocked by the friction wheel 53.
[0053] In another embodiment of the present invention: a return spring is fixedly installed between one end of the follower rod 56 located inside the connecting rod 22 and the connecting rod 22, an oblique hole is opened on the follower rod 56, and a connecting strip 58 is fixedly installed in the base 1;
[0054] When the follower rod 56 drives the receiving plate 51 to descend, until the connecting strip 58 abuts against the oblique side of the inclined hole, the follower rod 56 will slowly move away from the abutting rod until it is completely separated. At this time, the swivel 45 rotates to a vertical state, and the connecting spring on the receiving plate 51 will pull the receiving plate 51 up, so that the friction wheel 53 and the swivel 45 fit tightly to facilitate subsequent friction rotation. A second spring is fixedly installed between the bottom end of the connecting rod 22 and the base 1. As the valve body 6 leaves, the second spring will push the support seat 21 to rise and reset. At the same time, the connecting rod 22 will drive the follower rod 56 to rise and reset until the follower rod 56 is away from the side wall of the abutting strip 57. At this time, the reset spring will push the follower rod 56 out of the connecting rod 22 to reset.
[0055] In another embodiment of the present invention: each spiral plate 42 is arranged on the same side of the corresponding rotating shaft 41, and the two rotating rings 45 are arranged alternately;
[0056] Among them reference Figure 6 and 7 When the abutment member 26 abuts against the spiral plate 42, since the two spiral plates 42 are located on the same side of the corresponding rotating shaft 41, the two rotating rings 45 rotate in the same direction. At the same time, since the two rotating rings 45 are staggered, the two rotating rings 45 will not collide or interfere with each other when rotating.
[0057] The above description is only by way of illustration of certain exemplary embodiments of the present invention. It is undoubted that those skilled in the art can modify the described embodiments in various ways without departing from the spirit and scope of the present invention. Therefore, the above drawings and descriptions are illustrative in nature and should not be construed as limiting the scope of protection of the claims of the present invention.
Claims
1. A valve appearance inspection device based on machine vision automatic sorting, comprising a base (1), a valve body (6) and a manipulator (7) for clamping the valve body (6), characterized in that: A connecting rod (22) is vertically slidably mounted on the base (1), a support seat (21) is fixedly mounted on one end of the connecting rod (22), a vertical frame (23) is fixedly mounted on one end of the connecting rod (22) away from the support seat (21), and a side rod (24) is fixedly mounted on the side wall of the vertical frame (23); A square plate (25) is horizontally slidably mounted on the base (1), and an abutment member (26) is fixedly mounted on the square plate (25); A rotating shaft (41) is rotatably mounted on the base (1), a limit frame (44) is fixedly mounted on the rotating shaft (41), a rotating ring (45) is rotatably mounted on the limit frame (44), and a camera (46) is fixedly mounted on the rotating ring (45); Also included is the test pipeline (35); The camera (46) has a first position for horizontal shooting and a second position for vertical shooting; During the process of placing the valve body (6) on the support seat (21), there are a first stroke and a second stroke for detecting the side wall; In the first stroke, the support seat (21) moves downward, but at this time the rotating ring (45) maintains a horizontal first position so as to perform visual analysis and inspection on the side wall of the descending valve body (6); In the second stroke, the support seat (21) moves downward, but at this time the connecting rod (22) and the vertical frame (23) drive the rotating shaft (41) to rotate, so that the rotating ring (45) rotates toward the vertical position to enter the second position, so that it can rotate in a circular manner to perform circumferential detection on the side wall of the valve; A spiral plate (42) is fixedly mounted on the rotating shaft (41), a vertical rod (43) is fixedly mounted on the base (1), the rotating shaft (41) is rotatably mounted in the vertical rod (43), an inclined groove (251) is formed on the square plate (25), and the side rod (24) is inserted into the inclined groove (251); A coil spring is fixedly installed between the rotating shaft (41) and the vertical rod (43); In the first stroke, the valve body (6) drives the support seat (21), the connecting rod (22), and the vertical frame (23) to descend. At this time, the side rod (24) descends in the inclined groove (251). At this time, the square plate (25) will move in the direction of the support seat (21), thereby driving the abutment member (26) to move. However, at this time, the abutment member (26) has not yet contacted the spiral plate (42), so the rotating shaft (41) will not rotate until entering the second stroke. At this time, the abutment member (26) and the spiral plate (42) are in contact. At this time, the abutment member (26) contacts the inclined surface of the spiral plate (42), thereby driving the rotating shaft (41) to rotate in the vertical rod (43). At this time, the rotating shaft (41) will drive the rotating ring (45) to rotate through the limiting frame (44), so that the rotating ring (45) rotates from the horizontal state to the vertical second position; A second spring is fixedly installed between the bottom end of the connecting rod (22) and the base (1).
2. A valve appearance detection device based on machine vision automatic sorting according to claim 1, characterized in that: A pressure block (31) is horizontally slidably mounted on the base (1), the pressure block (31) is provided with a bevel, a connecting frame (32) is fixedly mounted on the pressure block (31), a fixing rod (37) is fixedly mounted on the base (1), a rotating plate (33) is rotatably mounted on the fixing rod (37), a round rod (34) is fixedly mounted on the test pipe (35), grooves are provided on both sides of the rotating plate (33), and the round rod (34) and the connecting frame (32) are both arranged in the grooves.
3. The valve appearance detection device based on machine vision automatic sorting according to claim 1 is characterized in that: The abutment member (26) is in a concave shape.
4. The valve appearance detection device based on machine vision automatic sorting according to claim 1 is characterized in that: A receiving plate (51) is vertically slidably mounted in the base (1), a servo motor (52) is fixedly mounted on the receiving plate (51), a friction wheel (53) is rotatably mounted on the receiving plate (51), and an output end of the servo motor (52) and the friction wheel (53) are fixedly connected; The rotating ring (45) is provided with a notch.
5. The valve appearance detection device based on machine vision automatic sorting according to claim 4 is characterized in that: A connecting spring is fixedly mounted above the bottom end of the receiving plate (51) and between the base (1), a long rod (55) is fixedly mounted on the side wall of the receiving plate (51), an abutment strip (57) is fixedly mounted on the long rod (55), and a follower rod (56) is horizontally slidably mounted on the side wall of the connecting rod (22).
6. The valve appearance detection device based on machine vision automatic sorting according to claim 5 is characterized in that: A return spring is fixedly mounted between one end of the follower rod (56) located inside the connecting rod (22) and the connecting rod (22); an oblique hole is formed on the follower rod (56); and a connecting strip (58) is fixedly mounted inside the base (1).
7. The valve appearance detection device based on machine vision automatic sorting according to claim 1 is characterized in that: Each of the spiral plates (42) is arranged on the same side of the corresponding rotating shaft (41), and the two rotating rings (45) are arranged alternately.
