Automatic detection device for ball pin type workpieces

By designing automatic detection devices and using technical means such as conveyor belts and rotating components, the problem of inefficient traditional manual inspection is solved, and efficient automatic detection of ball pin-type workpieces is realized, which is suitable for large-scale production.

CN222013017UActive Publication Date: 2024-11-15宁波聚华光学科技有限公司
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202420724357.3
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2024-04-09
Publication Date
2024-11-15
Estimated Expiration
2034-04-09

Smart Images

  • Figure CN222013017U_ABST
    Figure CN222013017U_ABST
Patent Text Reader

Abstract

The utility model relates to the technical field of non-standard automation equipment, and provides an automatic detection device for ball pin workpieces, which comprises a workbench, a first conveyor belt, a second conveyor belt, a rotating assembly, a flat position detection assembly, a ball diameter detection assembly and a feeding assembly. Compared with the prior art, the workpiece size detection device has the advantages that the first conveying belt, the second conveying belt, the rotating assembly, the flat position detection assembly, the sphere diameter detection assembly and the feeding assembly are matched, the workpiece size detection is automatically completed, the workpiece detection efficiency is improved, and the workpiece size detection device is particularly suitable for workpiece detection in a large-batch production scene.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The utility model relates to the technical field of non-standard automation equipment, in particular to an automatic detection device for ball pin workpieces. Background Art

[0002] like Figure 1 The ball pin workpiece shown in the figure has a ball head 1 at the head and a shaft body 2 connected to the ball head 1. The shaft body 2 is processed with multiple flattened parts 3 arranged in a circle. After the workpiece is processed, the diameter of the ball head 1 and the size of the flattened parts 3 need to be detected. The conventional method relies on manual measurement, that is, the operator uses a handheld caliper to detect the size of the part. This kind of traditional detection method has the disadvantage of being time-consuming. The measurement of each workpiece needs to be manually operated one by one. It may be acceptable for a single workpiece, but when facing a large number of workpieces in large-scale production, the accumulated measurement time increases significantly, resulting in low overall detection efficiency.

[0003] In summary, the traditional manual inspection method is inefficient when dealing with the dimensional inspection of ball pin workpieces, especially in mass production scenarios. Utility Model Content

[0004] The technical problem to be solved by the utility model is to provide an automatic detection device for ball pin type workpieces in view of the current status of the prior art.

[0005] The technical solution adopted by the utility model to solve the above technical problems is: to propose an automatic detection device for ball pin workpieces, the workpiece has a ball head and a shaft body, the outer wall of the shaft body has a plurality of flat positions arranged along the circumferential direction of the shaft body, the automatic detection device comprises:

[0006] Workbench;

[0007] A first conveyor belt and a second conveyor belt are arranged in parallel on the workbench, the first conveyor belt is used to transport the workpieces to be inspected, and the second conveyor belt is used to transport the workpieces that have passed the inspection, and pallets are placed on the first conveyor belt and the second conveyor belt, and the workpieces are stacked flat on the pallets;

[0008] A rotating assembly, which is arranged on the workbench and between the first conveyor belt and the second conveyor belt, and is used to drive the workpiece to rotate so that the axis direction of the workpiece is in a horizontal or vertical state;

[0009] A flat position detection component is arranged on the workbench and is located on the side of the rotating component, and the flat position detection component is used to detect the distance between two oppositely arranged flat positions;

[0010] A ball diameter detection assembly is arranged on the workbench and is located between the flat position detection assembly and the second conveyor belt, and the ball diameter detection assembly is used to detect the outer diameter of the ball head;

[0011] The loading component comprises a vacuum suction cup movably arranged on the workbench and at least one first pneumatic clamping jaw, wherein the vacuum suction cup is used for adsorbing the workpiece on the first conveyor belt, and the first pneumatic clamping jaw is used for transporting the workpiece.

[0012] In the above-mentioned automatic detection device for ball pin workpieces, the flatness detection component and the ball diameter detection component both include:

[0013] A first support base, which is fixed on the workbench;

[0014] A positioning seat, which is arranged on the first supporting seat and is used to position the workpiece;

[0015] A first driving member connected to the first supporting seat;

[0016] A movable frame connected to the output end of the first driving member and movably disposed on the first supporting seat;

[0017] Two first movable seats movably arranged on the movable frame, each of the first movable seats is provided with a clamping member, the clamping member moves synchronously with the first movable seat and movably clamps the outer side wall of the workpiece;

[0018] a second driving member connected to one of the first moving seats and an output end of the second driving member connected to another of the first moving seats, the second driving member being used to drive the two first moving seats to move closer to or farther from each other;

[0019] A measuring piece is connected to the first movable seat, and is used to read the distance between the two clamping members after the two clamping members are clamped on the outer side wall of the workpiece.

[0020] In the above-mentioned automatic detection device for ball pin-type workpieces, the measuring component includes a displacement sensor connected to one of the first movable seats, and a clamping rod connected to the other first movable seat, and the clamping rod movably abuts against the displacement sensor.

[0021] In the above-mentioned automatic detection device for ball pin workpieces, the flat position detection component also includes:

[0022] A first support frame, wherein the first support frame is connected to the first support seat;

[0023] A third driving member connected to the first supporting frame;

[0024] A second pneumatic clamping jaw connected to an output end of the third driving member, the third driving member is used to drive the second pneumatic clamping jaw to rotate, the positioning seat is rotatably arranged on the first supporting seat, and the second pneumatic clamping jaw is used to clamp the positioning seat;

[0025] A visual sensor is arranged on the workbench, the visual sensor is electrically connected to the third driving member and is used to detect the position of the flat part on the workpiece.

[0026] In the above-mentioned automatic detection device for ball and pin workpieces, the ball diameter detection component includes:

[0027] a fourth driving member, which is erected on the first supporting seat and is located directly below the positioning seat;

[0028] a limiting rod connected to an output end of the fourth driving member, the limiting rod movably abutting against the shaft of the workpiece;

[0029] a fifth driving member, which is vertically arranged on the first supporting seat;

[0030] A pressing rod is connected to an output end of the fifth driving member, and the fifth driving member is used to drive the pressing rod to press on the ball head of the workpiece.

[0031] In the above-mentioned automatic detection device for ball pin workpieces, the rotating assembly includes:

[0032] A second support seat;

[0033] a sixth driving member connected to the second supporting seat;

[0034] The third pneumatic clamp is connected to the sixth driving member, and the sixth driving member is used to drive the third pneumatic clamp to rotate.

[0035] The above-mentioned automatic detection device for ball pin-type workpieces also includes a third conveyor belt, which is arranged on the workbench and is located on the side of the ball diameter detection component. The third conveyor belt is used to receive the workpiece that fails the inspection and is transported by the first pneumatic clamp.

[0036] In the above-mentioned automatic detection device for ball pin workpieces, the feeding assembly includes:

[0037] A second support frame;

[0038] A first linear module, which is horizontally connected to the second support frame and is located above the workbench;

[0039] A second moving seat connected to the first linear module;

[0040] A second linear module, which is horizontally connected to the second movable seat and vertically arranged with the first linear module;

[0041] A third moving seat connected to the second linear module;

[0042] A fourth linear module, which is connected to the third movable seat and is vertically arranged;

[0043] A fifth movable seat connected to the fourth linear module;

[0044] a seventh driving member connected to the fifth moving seat;

[0045] An eighth driving member is connected to the output end of the seventh driving member, the seventh driving member is used to drive the eighth driving member to rotate, and the vacuum suction cup is connected to the output end of the eighth driving member.

[0046] Compared with the prior art, the advantage of the utility model is that through the coordination between the first conveyor belt, the second conveyor belt, the rotating assembly, the flatness detection assembly, the ball diameter detection assembly and the feeding assembly, the size detection of the workpiece is automatically completed, the detection efficiency of the workpiece is improved, and it is particularly suitable for the detection of workpieces in mass production scenarios. BRIEF DESCRIPTION OF THE DRAWINGS

[0047] Figure 1 It is a three-dimensional image of a ball and pin;

[0048] Figure 2 It is a three-dimensional diagram of this scheme;

[0049] Figure 3 It is a three-dimensional diagram of the loading assembly;

[0050] Figure 4 is a stereogram of the rotating assembly;

[0051] Figure 5 It is a stereoscopic diagram of the flat position detection component;

[0052] Figure 6 yes Figure 5 A three-dimensional diagram of the structure of the middle part;

[0053] Figure 7 It is a stereogram of the ball diameter detection assembly;

[0054] Figure 8 yes Figure 7 A three-dimensional diagram of the structure of the middle part;

[0055] Fig. 9 It is a three-dimensional diagram of the ball diameter detection component connected to the third transmission member.

[0056] In the figure, 1, ball head; 2, shaft; 3, flat position; 4, workbench; 5, first conveyor belt; 6, second conveyor belt; 7, tray; 8, rotating assembly; 9, flat position detection assembly; 10, ball diameter detection assembly; 11, feeding assembly; 12, first pneumatic clamp; 13, vacuum suction cup; 14, first support seat; 15, positioning seat; 16, first driving member; 17, moving frame; 18, first moving seat; 19, clamping member; 20, second driving member; 21, displacement sensor; 22, clamping rod; 23, first support frame; 24, first Three driving members; 25. Second pneumatic gripper; 26. Visual sensor; 27. Fourth driving member; 28. Limit rod; 29. ​​Fifth driving member; 30. Press rod; 31. Second supporting seat; 32. Sixth driving member; 33. Third pneumatic gripper; 34. Third conveyor belt; 35. Second supporting frame; 36. First linear module; 37. Second moving seat; 38. Second linear module; 39. Third moving seat; 40. Fourth linear module; 41. Fifth moving seat; 42. Seventh driving member; 43. Eighth driving member; 44. Workpiece. DETAILED DESCRIPTION

[0057] The following are specific embodiments of the present invention and the accompanying drawings to further describe the technical solution of the present invention, but the present invention is not limited to these embodiments.

[0058] The automatic detection device of this scheme is mainly used to detect Figure 1 The dimensions of the workpiece 44 are shown, wherein the workpiece 44 has a ball head 1 and a shaft body 2 , and the outer wall of the shaft body 2 has a plurality of flattened portions 3 arranged along the circumferential direction of the shaft body 2 .

[0059] An automatic inspection device for ball pin workpieces 44, comprising: a workbench 4; a first conveyor belt 5 and a second conveyor belt 6 arranged in parallel on the workbench 4, the first conveyor belt 5 is used to transport the workpieces 44 to be inspected, and the second conveyor belt 6 is used to transport the workpieces 44 that have passed the inspection, both conveyor belts are equipped with trays 7, and the workpieces 44 are arranged on the trays 7 in a lying posture; a rotating assembly 8, which is arranged on the workbench 4 and located between the first conveyor belt 5 and the second conveyor belt 6, and the function of the rotating assembly 8 is to drive the workpiece 44 to rotate to ensure that the axis of the workpiece 44 can be switched to a horizontal or vertical state; a flat The position detection component 9 is arranged on the workbench 4 and is located on one side of the rotating component 8. It is mainly used to detect the distance between two flat positions 3 arranged opposite to each other on the workpiece 44; the ball diameter detection component 10 is also arranged on the workbench 4, located between the flat position detection component 9 and the second conveyor belt 6, and is responsible for detecting the outer diameter of the ball head 1 of the workpiece 44; the loading component 11 is equipped with a vacuum suction cup 13 movably mounted on the workbench 4 and at least one first pneumatic clamp 12. The vacuum suction cup 13 is used to absorb the workpiece 44 on the first conveyor belt 5, and the first pneumatic clamp 12 is used to transfer the workpiece 44.

[0060] In addition, a third conveyor belt 34 is provided, which is arranged on the workbench 4 and located on one side of the ball diameter detection component 10 , and is used to receive the unqualified workpiece 44 transmitted by the first pneumatic clamp 12 .

[0061] According to an example of an implementation scheme, Figures 2 to 9 As shown, the rotating assembly 8 is equipped with two, one of which is located on the side of the first conveyor belt 5 and is responsible for steering the workpiece 44 transported from the first conveyor belt 5 by the loading assembly 11 through the vacuum suction cup 13; the other is set on the side of the second conveyor belt 6, for receiving and steering the qualified workpiece 44 transferred from the ball diameter detection assembly 10 by the loading assembly 11. The vacuum suction cup 13 can apply suction force to the workpiece 44 after connecting to the air source, so as to grab the workpiece 44 on the first conveyor belt 5.

[0062] In the working process, the workpiece 44 to be inspected lies flat and steady on the tray 7 of the first conveyor belt 5. This loading method ensures the stability of the workpiece 44 during transportation. Subsequently, the vacuum suction cup 13 of the loading component 11 grabs the workpiece 44 on the tray 7 and transports it to the rotating component 8. After receiving the workpiece 44, the rotating component 8 turns it so that its axis becomes vertical. Next, the first pneumatic clamp 12 of the loading component 11 is started to send the workpiece 44 that has completed the turn to the flat position detection component 9 for flat position 3 size detection. After the flat position 3 detection is completed, the loading component 11 uses the first pneumatic clamp 12 again to grab the workpiece 44 and move it to the ball diameter detection component 10 to detect the outer diameter of the ball head 1. If any of the above two tests does not meet the standard, the workpiece 44 will be sent to the third conveyor belt 34. For the workpiece 44 that has passed the inspection, the loading component 11 sends it to another rotating component 8 through the first pneumatic clamp 12, and the vertical workpiece 44 is turned into a horizontal state. Finally, the first pneumatic clamp 12 neatly stacks the workpiece 44 that has completed the inspection on the pallet 7 on the second conveyor belt 6.

[0063] This solution realizes the automated detection of the size of the workpiece 44 through the coordinated work among the first conveyor belt 5, the second conveyor belt 6, the rotating assembly 8, the flatness detection assembly 9, the ball diameter detection assembly 10 and the loading assembly 11. Compared with the traditional manual detection method, the detection efficiency is greatly improved, and it is particularly suitable for the detection link of workpieces 44 in large-scale batch production.

[0064] In the present embodiment, the flat position detection assembly 9 and the ball diameter detection assembly 10 both include: a first support seat 14, fixed on the workbench 4; a positioning seat 15, arranged on the first support seat 14, for positioning the workpiece 44; a first driving member 16, connected to the first support seat 14; a moving frame 17, which is connected to the output end of the first driving member 16 and moves on the first support seat 14; two first moving seats 18 movably mounted on the moving frame 17, each of the first moving seats 18 is equipped with a clamping member 19, the clamping member 19 moves synchronously with the first moving seat 18 and can be movably clamped on the outer wall of the workpiece 44; a second driving member 20, which is connected to one first moving seat 18, and its output end is connected to the other first moving seat 18, and the second driving member 20 is responsible for driving the two first moving seats 18 to move closer to or away from each other; a measuring member, connected to the first moving seat 18, when the two clamping members 19 clamp the ball head 1 or the relative flat position 3 of the workpiece 44, the measuring member is used to read the distance between the two.

[0065] In the initial state, the first driving member 16 drives the moving frame 17 away from the positioning seat 15 so that the first pneumatic clamp 12 of the loading assembly 11 can place the workpiece 44 on the positioning seat 15. After the loading assembly 11 places the workpiece 44 rotated to an upright state on the positioning seat 15 through the first pneumatic clamp 12, the first driving member 16 drives the moving frame 17 to move toward the positioning seat 15, so that the clamping member 19 moves to both sides of the workpiece 44. Subsequently, the second driving member 20 drives the two first moving seats 18 to approach each other, so that the two clamping members 19 are tightly clamped on the ball head 1 or the flat part 3 of the workpiece 44, and finally the distance between the two clamping members 19 is measured by the measuring member, thereby obtaining the required measurement size.

[0066] The measuring member further includes a displacement sensor 21 connected to one of the first movable seats 18 , and a clamping rod 22 connected to the other first movable seat 18 , wherein the clamping rod 22 movably abuts against the displacement sensor 21 .

[0067] When the second driving member 20 drives the two first moving seats 18 to approach each other, the clamping rod 22 is in close contact with the displacement sensor 21. By calculating the moving distance of the clamping rod 22 on the first moving seat 18 after contacting the displacement sensor 21, the actual distance between the two clamping members 19 can be obtained.

[0068] In addition, the flat position detection component 9 also includes: a first support frame 23, connected to the first support seat 14; a third driving member 24, installed on the first support frame 23; a second pneumatic clamp 25, connected to the output end of the third driving member 24, the third driving member 24 drives the second pneumatic clamp 25 to rotate, and the positioning seat 15 is rotatably installed on the first support seat 14, and the second pneumatic clamp 25 is used to clamp the positioning seat 15; a visual sensor 26, arranged on the workbench 4, the visual sensor 26 is electrically connected to the third driving member 24, and is used to detect the specific position of the flat position 3 on the workpiece 44.

[0069] After the first pneumatic clamp 12 places the workpiece 44 on the positioning seat 15, the visual sensor 26 is first activated and detects the position of the flat part 3 on the workpiece 44 to ensure that the bottom surfaces of the two relative flat parts 3 remain parallel to the plane of the clamp 19, thereby improving the accuracy of the measurement of the size of the flat part 3. Specifically, after the visual sensor 26 first captures the position of the flat part 3 on the workpiece 44, the third driving member 24 electrically connected thereto drives the second pneumatic clamp 25 to rotate. Since the positioning seat 15 is clamped by the second pneumatic clamp 25, the rotation of the second pneumatic clamp 25 will drive the positioning seat 15 to rotate together, thereby adjusting the position of the workpiece 44.

[0070] Since the surface of the ball head 1 is relatively smooth, if the clamping force of the clamping member 19 is too large when clamping the ball head 1, the workpiece 44 may be displaced in the vertical direction, affecting the ball head 1.

[0071] Accurately measure the outer diameter of the head. To this end, the ball diameter detection component 10 of the present solution includes: a fourth driving member 27, which is vertically mounted on the first support seat 14 and is located directly below the positioning seat 15; a limiting rod 28, which is connected to the output end of the fourth driving member 27 and is fitted with the shaft 2 of the workpiece 44 for limiting position; a fifth driving member 29, which is vertically arranged on the first support seat 14; a pressing rod 30, which is connected to the output end of the fifth driving member 29, and the fifth driving member 29 drives the pressing rod 30 to apply pressure to the top of the ball head 1 of the workpiece 44.

[0072] After the first pneumatic clamp 12 places the workpiece 44 on the positioning seat 15, the fourth driving member 27 drives the limiting rod 28 to be close to the lower end of the workpiece 44, and at the same time the fifth driving member 29 drives the pressing rod 30 to press downward on the top of the ball head 1, thereby effectively limiting the displacement of the workpiece 44 in the vertical direction and ensuring the accuracy of the outer diameter detection of the ball head 1.

[0073] In addition, the rotating assembly 8 in this solution mainly includes: a second supporting seat 31; a sixth driving member 32 connected to the second supporting seat 31; and a third pneumatic clamp 33 connected to the sixth driving member 32 and driven to rotate by the sixth driving member 32.

[0074] When the vacuum suction cup 13 moves the horizontal workpiece 44 onto the rotating assembly 8, the third pneumatic clamp 33 grabs the workpiece 44 on the vacuum suction cup 13, and then the sixth driving member 32 drives the workpiece 44 to rotate 90°, completing the operation of transforming the workpiece 44 from a horizontal state to a vertical state.

[0075] Finally, the loading assembly 11 is configured with: a second support frame 35; a first linear module 36, horizontally connected to the second support frame 35 and located above the workbench 4; a second movable seat 37, installed on the first linear module 36; a second linear module 38, horizontally connected to the second movable seat 37 and arranged vertically with the first linear module 36; a third movable seat 39, connected to the second linear module 38; a fourth linear module 40, connected to the third movable seat 39 and vertically arranged; a fifth movable seat 41, installed on the fourth linear module 40; a seventh driving member 42, connected to the fifth movable seat 41; an eighth driving member 43, which is connected to the output end of the seventh driving member 42, and the seventh driving member 42 is used to drive the eighth driving member 43 to rotate, and the vacuum suction cup 13 is connected to the output end of the eighth driving member 43.

[0076] The first linear module 36 and the second linear module 38 work together to realize the horizontal movement of the vacuum suction cup 13 and the first pneumatic clamp 12, ensuring that the vacuum suction cup 13 can smoothly transfer the workpiece 44 between the various detection components. The fourth linear module 40 on the third moving seat 39 is responsible for the long-distance rapid movement of the vacuum suction cup 13 in the vertical direction, while the eighth driving member 43 is responsible for the short-distance fine movement of the vacuum suction cup 13 in the vertical direction. The seventh driving member 42 and the eighth driving member 43 are set to reduce the vertical movement time of the vacuum suction cup 13, thereby speeding up the size detection speed of the workpiece 44. The seventh driving member 42 provides the rotation function of the vacuum suction cup 13, so that the vacuum suction cup 13 can more flexibly complete the task of transferring the workpiece 44 from the first conveyor belt 5 to the rotating component 8.

[0077] Preferably, the first driving member 16, the second driving member 20, the fourth driving member 27, the fifth driving member 29 and the eighth driving member 43 are cylinders, and the third driving member 24, the sixth driving member 32 and the seventh driving member 42 are rotary cylinders.

[0078] It should be noted that all directional indications in the embodiments of the present invention (such as up, down, left, right, front, back...) are only used to explain the relative position relationship, movement status, etc. between the components under a certain specific posture (as shown in the accompanying drawings). If the specific posture changes, the directional indication will also change accordingly.

[0079] In addition, in the present invention, the descriptions of "first", "second", "one", etc. are only used for descriptive purposes and cannot be understood as indicating or implying their relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" or "second" may explicitly or implicitly include at least one of the features. In the description of the present invention, the meaning of "plurality" is at least two, such as two, three, etc., unless otherwise clearly and specifically defined.

[0080] In the present invention, unless otherwise clearly specified and limited, the terms "connection", "fixation", etc. should be understood in a broad sense. For example, "fixation" can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, it can be the internal connection of two elements or the interaction relationship between two elements, unless otherwise clearly defined. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0081] In addition, the technical solutions between the various embodiments of the present invention can be combined with each other, but it must be based on the fact that ordinary technicians in the field can implement it. When the combination of technical solutions is contradictory or cannot be implemented, it should be deemed that such combination of technical solutions does not exist and is not within the scope of protection required by the present invention.

[0082] The specific embodiments described herein are merely examples of the spirit of the present invention. Those skilled in the art may make various modifications or additions to the specific embodiments described or replace them in similar ways, but they will not deviate from the scope defined by the spirit of the present invention.

Claims

1. An automatic detection device for ball and pin workpieces, the workpiece having a ball head and a shaft body, the outer wall of the shaft body having a plurality of flattened portions arranged along the circumferential direction of the shaft body, characterized in that: The automatic detection device comprises: Workbench; A first conveyor belt and a second conveyor belt are arranged in parallel on the workbench, the first conveyor belt is used to transport the workpieces to be inspected, and the second conveyor belt is used to transport the workpieces that have passed the inspection, and pallets are placed on the first conveyor belt and the second conveyor belt, and the workpieces are stacked flat on the pallets; A rotating assembly, which is arranged on the workbench and between the first conveyor belt and the second conveyor belt, and is used to drive the workpiece to rotate so that the axis direction of the workpiece is in a horizontal or vertical state; A flat position detection component is arranged on the workbench and is located on the side of the rotating component, and the flat position detection component is used to detect the distance between two oppositely arranged flat positions; A ball diameter detection assembly is arranged on the workbench and is located between the flat position detection assembly and the second conveyor belt, and the ball diameter detection assembly is used to detect the outer diameter of the ball head; The loading component comprises a vacuum suction cup movably arranged on the workbench and at least one first pneumatic clamping jaw, wherein the vacuum suction cup is used for adsorbing the workpiece on the first conveyor belt, and the first pneumatic clamping jaw is used for transporting the workpiece.

2. An automatic detection device for ball pin workpieces as claimed in claim 1, characterized in that: The flat position detection component and the ball diameter detection component both include: A first support base, which is fixed on the workbench; A positioning seat, which is arranged on the first supporting seat and is used to position the workpiece; A first driving member connected to the first supporting seat; A movable frame connected to the output end of the first driving member and movably disposed on the first supporting seat; Two first movable seats movably arranged on the movable frame, each of the first movable seats is provided with a clamping member, the clamping member moves synchronously with the first movable seat and movably clamps the outer side wall of the workpiece; a second driving member connected to one of the first moving seats and an output end of the second driving member connected to another of the first moving seats, the second driving member being used to drive the two first moving seats to move closer to or farther from each other; A measuring piece is connected to the first movable seat, and is used to read the distance between the two clamping members after the two clamping members are clamped on the outer side wall of the workpiece.

3. An automatic detection device for ball pin workpieces as claimed in claim 2, characterized in that: The measuring member includes a displacement sensor connected to one of the first movable seats, and a clamping rod connected to the other first movable seat, wherein the clamping rod movably abuts against the displacement sensor.

4. An automatic detection device for ball pin workpieces as claimed in claim 2, characterized in that: The flat position detection component also includes: A first support frame, wherein the first support frame is connected to the first support seat; A third driving member connected to the first supporting frame; A second pneumatic clamping jaw connected to an output end of the third driving member, the third driving member is used to drive the second pneumatic clamping jaw to rotate, the positioning seat is rotatably arranged on the first supporting seat, and the second pneumatic clamping jaw is used to clamp the positioning seat; A visual sensor is arranged on the workbench, the visual sensor is electrically connected to the third driving member and is used to detect the position of the flat part on the workpiece.

5. An automatic detection device for ball pin workpieces as claimed in claim 2, characterized in that: The ball diameter detection component comprises: a fourth driving member, which is erected on the first supporting seat and is located directly below the positioning seat; a limiting rod connected to an output end of the fourth driving member, the limiting rod movably abutting against the shaft of the workpiece; a fifth driving member, which is vertically arranged on the first supporting seat; A pressing rod is connected to an output end of the fifth driving member, and the fifth driving member is used to drive the pressing rod to press on the ball head of the workpiece.

6. An automatic detection device for ball pin workpieces as claimed in claim 1, characterized in that: The rotating assembly comprises: A second support seat; a sixth driving member connected to the second supporting seat; The third pneumatic clamp is connected to the sixth driving member, and the sixth driving member is used to drive the third pneumatic clamp to rotate.

7. An automatic detection device for ball pin workpieces as claimed in claim 1, characterized in that: It also includes a third conveyor belt, which is arranged on the workbench and is located on the side of the ball diameter detection component. The third conveyor belt is used to receive the unqualified workpieces transported by the first pneumatic clamp.

8. An automatic detection device for ball pin workpieces as claimed in claim 1, characterized in that: The feeding assembly comprises: A second support frame; A first linear module, which is horizontally connected to the second support frame and is located above the workbench; A second moving seat connected to the first linear module; A second linear module, which is horizontally connected to the second movable seat and vertically arranged with the first linear module; A third moving seat connected to the second linear module; A fourth linear module, which is connected to the third movable seat and is vertically arranged; A fifth movable seat connected to the fourth linear module; a seventh driving member connected to the fifth moving seat; An eighth driving member is connected to the output end of the seventh driving member, the seventh driving member is used to drive the eighth driving member to rotate, and the vacuum suction cup is connected to the output end of the eighth driving member.