Workpiece detection control method and device

By designing workpiece inspection equipment and using a conveyor belt and turntable mechanism to take multi-angle photos and process images of workpieces, the problem of manual inspection in existing technologies that is labor-intensive and error-prone is solved, and the automation and efficient classification of workpiece parameter consistency detection are achieved.

CN120644385APending Publication Date: 2025-09-16SHENZHEN DERSIEG INTELLIGENT TECH CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202511001275.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-07-21
Publication Date
2025-09-16

Smart Images

  • Figure CN120644385A_ABST
    Figure CN120644385A_ABST
Patent Text Reader

Abstract

The invention relates to a workpiece detection control method and device, and the method comprises the steps: a first conveying belt of a feeding mechanism transfers a material disc from the upper part of a first jacking platform to a feeding working region, a first moving module transfers a to-be-detected workpiece to a detection belt, and the first conveying belt transfers the material disc to a second jacking platform for stacking and placing; a first photographing mechanism, a second photographing mechanism and a linear scanning photographing mechanism of the detection part sequentially shoot images of the detected workpieces passing through respective working ranges and detect the images, qualified workpieces and unqualified workpieces are obtained, and the unqualified workpieces are classified and marked; unqualified workpieces are classified and temporarily stored in a first discharging mechanism by the discharging mechanism, and qualified workpieces are temporarily stored in a second discharging mechanism by the discharging mechanism; and repeating the steps until the test is finished. The workpiece detection equipment can take a picture of a top view, a side view and a top view line scanning picture of a detected product, qualified and unqualified products are obtained through processing of the processing mechanism, and the technical effect of automatic visual detection is achieved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of automated detection, and in particular to a workpiece detection control method and device thereof. Background Art

[0002] As visual inspection is increasingly used in product surface inspection, it photographs products and performs image analysis and processing to screen out qualified and unqualified products. However, it also requires multi-angle inspection of a large number of products at the same time, and there is currently a lack of standardized inspection equipment.

[0003] When strict parameter consistency of small workpieces is required, such as when inspecting a worm gear in an engine, errors in the length and thread parameters will seriously affect the normal operation of the entire machine. In particular, serious problems such as chipped teeth and gaps may cause failure or even damage to the entire machine. Such key parts must be strictly inspected before assembly. If manual inspection is required one by one, it will consume a lot of manpower and material resources, be prone to errors, and have no traceability. Summary of the Invention

[0004] The present invention provides a workpiece detection device, aiming to solve at least one of the technical problems existing in the prior art.

[0005] The technical solution of the present invention is a workpiece detection control method, which is applied to a workpiece detection device, the workpiece detection device including a base, a processing mechanism disposed inside the base; a loading mechanism disposed at one end of the base; a conveying mechanism disposed in the middle of the base, the conveying mechanism including a detection belt, a detection belt motor for driving the detection belt to rotate, a first turntable mechanism for transferring the workpiece on the loading mechanism to the detection belt, and a second turntable mechanism for transferring the workpiece outward, the first turntable mechanism, the detection belt, and the second turntable mechanism being sequentially disposed on the base along a first direction; a detection unit disposed between the first turntable mechanism and the second turntable mechanism, the detection unit including a front-facing camera mechanism disposed along the first direction for photographing an image of the workpiece and a lifting and rotating mechanism for clamping, lifting, and rotating the workpiece placed on the conveying mechanism, and also including a line scanning camera mechanism disposed directly above the lifting and rotating mechanism; a discharge mechanism for temporarily storing workpieces classified based on the detection results of the detection unit, the discharge mechanism being disposed at the rear end of the detection unit, the workpiece detection control method comprising the following steps: S100: The first conveyor belt of the loading mechanism sequentially transfers the trays containing the workpieces to be tested from above the first lifting platform to the loading work area. The first moving module transfers the workpieces to be tested to the detection belt through the first turntable mechanism. The first conveyor belt transfers the emptied trays to the second lifting platform for stacking. S200: The first photographing mechanism, the second photographing mechanism, and the line scanning photographing mechanism of the inspection unit sequentially capture images of the workpiece passing through their respective working ranges and perform inspections to obtain qualified and unqualified workpieces, and classify and mark the unqualified workpieces; S300, the unloading mechanism classifies and temporarily stores unqualified workpieces in the first unloading mechanism, and temporarily stores qualified workpieces in the second unloading mechanism; S400 , repeating steps S100 to S300 until all workpieces are tested.

[0006] Furthermore, before step S100, the following steps are also included: The first side push plate of the loading mechanism is in an extended state, and at least one material tray loaded with workpieces to be tested is placed above the first side push plate; The processing mechanism enters the preparation state, and the positions of the loading mechanism, the conveying mechanism, and the unloading mechanism are corrected so that the first pressing plate group in the loading work area is aligned with the first slot of the material tray, the first lever of the first moving module is set above the gap of the first pressing plate group, the first turntable inlet of the first turntable mechanism is aligned with the outlet of the first slot of the material tray, and the first turntable outlet of the first turntable mechanism is aligned with the jig of the detection belt; The front-facing camera mechanism and the line-scanning camera mechanism in the detection section are respectively aligned with the detection belt, and the first camera device, the second camera device and the line-scanning camera device are respectively focused through the first camera device mounting frame, the second camera device mounting frame and the line-scanning camera device mounting frame, and enter the working state; The entrance of each slot of the first unloading tray of the first unloading mechanism in the unloading mechanism is aligned with the corresponding first unloading cylinder, and the output shaft of the ninth cylinder is perpendicular to the detection belt and aligned with the entrance of the second turntable mechanism; The two ends of the second pressing plate group in the blanking working area of ​​the blanking mechanism are respectively aligned with the outlet of the second blanking mechanism and the first slot of the material tray.

[0007] Furthermore, step S100 includes: S110: The first cylinder of the first lifting platform pushes the first lifting plate upward to touch the bottom of the lowest material tray. The first side cylinder controls the first side push plate to retract, so that the lowest material tray is stably placed on the first lifting plate. The first cylinder controls the first lifting plate to move downward until the material tray is stably placed between two adjacent first limit blocks of the first conveyor belt. S120: The first conveyor belt drive motor drives the first conveyor belt to rotate the distance between two adjacent first limit blocks, so that the gap between the first pressing plate group is aligned with the material trough on the edge of the material tray. The fourth cylinder controls the first pressing plate group to move downward until it contacts the material trough on the material tray and stops moving. At this time, the lower side of the first lifting plate is facing the adjacent first limit block, and step S110 is repeated, so that the lower side of the first lifting platform supports the next material tray. S130: The first moving module controls the first lever to move to the beginning of the first slot of the material tray, and pushes the workpieces to be tested placed in the first slot of the material tray onto the first turntable of the first turntable mechanism in sequence from back to front. S140: After the first turntable receives a preset number of workpieces to be tested, the second motor drives the first turntable to rotate so that the workpieces to be tested are aligned with the jig of the detection belt. The fifth cylinder drives the second shifting rod to transfer the workpiece to be tested at the front end to the jig from the back to the front. After each jig receives a workpiece to be tested, the detection belt motor drives the detection belt to move forward by the distance of one jig. S150. Whenever all the workpieces to be tested in a certain slot of the material tray in the loading work area are emptied, the fourth cylinder controls the first pressing plate group to move upward until it breaks contact with the material slot on the material tray and stops at a preset height. The first conveyor belt drive motor drives the first conveyor belt to rotate so that the next slot of the material tray is aligned with the gap of the first pressing plate group. Steps S130 and S140 are repeated until all the workpieces to be tested in the material slots of the current material tray are emptied. S160: The first conveyor belt drive motor drives the first conveyor belt to rotate so that the current material tray completely leaves the loading work area and reaches the second jacking platform; S170: When the next material tray completely reaches the loading work area, steps S120 to S160 are repeated to push the workpiece to be tested on the first jacking platform in sequence.

[0008] Further, in step S130, The first beam sensor arranged at the end of the first pressure plate and the second pressure plate detects the length of each workpiece to be measured pushed into the first turntable in real time. If it is found that the length of the workpiece to be measured currently pushed into the first turntable is greater than or less than the preset length, it is fed back to the processing mechanism and the workpiece to be measured is marked.

[0009] Further, step S200 includes: S210: The detection belt rotates. When the workpiece placed on the fixture passes through the shooting range of the first camera mechanism and the second camera mechanism in sequence, the first camera mechanism captures a top view image of the workpiece, and the second camera mechanism captures a side view image of the workpiece. S220: When the workpiece placed on the fixture passes through the lifting section of the lifting and rotating mechanism in sequence, the detection belt stops rotating, the first clamping cylinder and the second clamping cylinder clamp the workpiece from both sides of the workpiece, and the third motor of the lifting and rotating mechanism drives the eccentric shaft to start rotating. After the lifting block rises to a preset height relative to the lifting base, the third motor stops rotating, and the rotating motor drives the workpiece to start rotating. S230, the line scanning device of the line scanning photographing mechanism photographs a circumferential line scanning image of the workpiece to be measured; S240: After the line scanning device completes the shooting, the rotating motor stops rotating, the third motor of the lifting rotating mechanism drives the eccentric shaft to start rotating in the opposite direction, the lifting block descends relative to the lifting base until the workpiece is re-placed on the fixture, the third motor stops rotating, and the first clamping cylinder and the second clamping cylinder release the workpiece from both sides of the workpiece; S250. The processing mechanism on the base determines whether the workpiece is qualified based on the top view image, the side view image and the circumferential line scan image of the workpiece. If the workpiece is unqualified, the unqualified type is distinguished.

[0010] Furthermore, step S300 includes: S310: When the classified unqualified workpiece passes through a preset slot of the first unloading tray, a first unloading cylinder provided on the opposite side of the preset slot pushes the unqualified workpiece into the designated slot of the first unloading tray; S320. If the workpiece is marked by the first beam sensor, that is, the workpiece does not meet the preset length, the workpiece will be pushed into the preset slot of the first unloading tray with a cover by the first unloading cylinder, and the workpiece will enter the sealing box through the unloading notch and the unloading pipe.

[0011] Further, in step S310, The second beam sensor arranged at the end of the first unloading tray detects in real time whether there is a slot in the first unloading tray that is full of unqualified workpieces. If it is found that a slot is full of unqualified workpieces, it will feedback to the processing device and send out an alarm signal.

[0012] Furthermore, step S300 further includes: S330: The seventh cylinder of the third lifting platform of the second unloading mechanism pushes the third lifting plate upward to touch the bottom of the empty tray at the bottom. The second side cylinder controls the second side push plate to retract, so that the tray at the bottom is stably placed on the third lifting plate. The seventh cylinder controls the third lifting plate to move downward until the empty tray is stably placed between two adjacent second limit blocks of the second conveyor belt. S340: The second conveyor belt rotates the distance between two adjacent second limit blocks so that the gap between the second pressing plate group is aligned with the trough at the edge of the tray. The eighth cylinder controls the second pressing plate group to move downward until it contacts the trough on the empty tray and stops. At this time, the bottom of the third lifting plate is facing the two adjacent second limit blocks. Repeat step S330 so that the bottom of the third lifting platform supports the next empty tray. S350: The second moving module controls the fourth lever to move to the beginning of the first slot of the empty tray, and sequentially places the qualified workpieces transferred from the second turntable of the second turntable mechanism onto the corresponding slots of the tray from front to back. S360: Whenever all the workpieces to be tested in a slot of the tray in the unloading work area are filled, the eighth cylinder controls the second pressing plate group to move upward until it breaks contact with the slot on the tray and stops at a preset height. The second conveyor belt rotates so that the next slot of the tray is aligned with the gap of the second pressing plate group. Steps S340 and S350 are repeated until all the slots of the current tray are filled with qualified workpieces. S370: The second conveyor belt rotates so that the current material tray completely leaves the loading work area and reaches the fourth lifting platform. The first zero cylinder controls the fourth lifting plate to lift the material tray filled with qualified workpieces upward until the second hinge is opened to a preset height, then stops and slowly descends. The material tray filled with qualified workpieces is stuck by the second hinge and cannot move downward. S380. At the same time, the next material tray completely reaches the unloading work area, and steps S330 to S370 are repeated to transfer all qualified workpieces on the inspection belt to the second unloading mechanism in turn.

[0013] Furthermore, the present invention also provides a workpiece detection device for implementing the workpiece detection control method, the workpiece detection device comprising: A base, wherein a processing mechanism is provided inside the base; A feeding mechanism, the feeding mechanism being arranged at one end of the base and electrically connected to the processing mechanism; A conveying mechanism, the conveying mechanism being arranged in the middle of the base, the conveying mechanism comprising a detection belt, a detection belt motor for driving the detection belt to rotate, a first turntable mechanism for transferring the workpiece on the feeding mechanism to the detection belt, and a second turntable mechanism for transferring the workpiece outward, the first turntable mechanism, the detection belt, and the second turntable mechanism being arranged on the base in sequence along a first direction, and the conveying mechanism being electrically connected to the processing mechanism; a detection unit disposed between the first turntable mechanism and the second turntable mechanism, comprising a front-facing photographing mechanism disposed along a first direction for photographing an image of a workpiece, and a lifting and rotating mechanism for clamping, lifting, and rotating the workpiece placed on the conveying mechanism, and further comprising a line scanning photographing mechanism disposed directly above the lifting and rotating mechanism, wherein the detection unit is electrically connected to the processing mechanism; The unloading mechanism is used for temporarily storing the workpieces classified based on the detection results of the detection unit. The unloading mechanism is arranged at the rear end of the detection unit and is electrically connected to the processing mechanism.

[0014] Furthermore, the present invention also provides a computer-readable storage medium having program instructions stored thereon, wherein the program instructions implement the workpiece detection control method when executed by a processor.

[0015] The beneficial effects of the present invention are: The workpiece inspection equipment can sequentially capture a top view, side view, and top-view line of sight of the product being inspected. The top view primarily detects whether the length of the product meets requirements, while the side view and top-view line of sight primarily detect whether the thread of the product meets requirements. A processing mechanism processes the photographed images to determine qualified and unqualified products. Unqualified products are classified and temporarily stored according to their type, and qualified products are separated and stacked, achieving the technical effect of automated visual inspection. The workpiece inspection equipment can improve the efficiency of automated product inspection. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] Figure 1 Schematic diagram of the overall structure of the workpiece detection equipment (without the outer shell).

[0017] Figure 2 This is a schematic diagram of the overall structure of the workpiece detection equipment (including the casing).

[0018] Figure 3 This is a schematic diagram of the loading mechanism in the workpiece detection equipment.

[0019] Figure 4 Schematic diagram of the conveying mechanism and detection part in the workpiece detection equipment.

[0020] Figure 5 Schematic diagram of the lifting and rotating mechanism in the workpiece inspection equipment.

[0021] Figure 6 This is a schematic diagram of the conveying mechanism, detection unit and first blanking mechanism in the workpiece detection equipment.

[0022] Figure 7 This is a schematic diagram of the unloading mechanism in the workpiece detection equipment.

[0023] Figure 8This is a schematic diagram of the other side of the overall structure of the workpiece detection equipment (with the outer shell removed).

[0024] Figure 9 This is the overall flow chart of the workpiece detection control method.

[0025] 1. The first lifting platform; 2. The first cylinder; 2. The first lifting plate; 2. The first side cylinder; 2. The first side push plate; 2. The first movable module; 2. The first motor; 2. The first push block; 2. The second cylinder; 2. The first lever; 2. The second lifting platform; 2. The third cylinder; 2. The second lifting plate; 2. The first hinge member; 2. The first conveyor belt; 2. The first conveyor belt drive motor; 2. The first limiting block; 2. The first loading work area; 2. The first pressing plate group; 2. The fourth cylinder; 2. The first pressing plate ... Second pressure plate; 265, first beam sensor; 300, transmission mechanism; 310, detection belt; 311, detection belt motor; 312, fixture; 320, first turntable mechanism; 321, first turntable; 322, second motor; 323, fifth cylinder; 324, second shift lever; 330, second turntable mechanism; 331, second turntable; 332, fourth motor; 333, sixth cylinder; 334, third shift lever; 335, ninth cylinder; 400, detection unit; 410, front-facing camera mechanism; 411, first camera mechanism; 412, first camera device; 413, first camera device mounting bracket; 414, second camera mechanism; 415, second camera device; 416, second camera device mounting bracket Mounting rack; 420, lifting and rotating mechanism; 421, lifting and rotating mounting rack; 422, lifting base; 423, lifting block; 424, eccentric shaft; 425, third motor; 426, first clamping cylinder; 427, first spring buffer; 428, first clamping finger; 429, second clamping cylinder; 430, second spring buffer; 431, rotating motor; 440, line scanning mechanism; 441, line scanning device; 442, mounting rack for line scanning device; 500, unloading mechanism; 510, first unloading mechanism; 511, first unloading tray; 512, first unloading cylinder; 513, second beam sensor; 514, sealing cover; 515, sealing box; 516, unloading pipe; 517, unloading Material gap; 520, second unloading mechanism; 522, unloading bracket; 530, third jacking platform; 531, seventh cylinder; 532, third jacking plate; 533, second side cylinder; 534, second side push plate; 540, second moving module; 541, fifth motor; 542, second push block; 543, ninth cylinder; 544, fourth shift rod; 550, fourth jacking platform; 551, first zero cylinder; 552, fourth jacking plate; 553, second hinge part; 560, second conveyor belt; 561, second conveyor belt drive motor; 562, second limit block; 570, unloading working area; 571, second pressure plate group; 572, third pressure plate; 573, fourth pressure plate; 580, eighth cylinder. DETAILED DESCRIPTION

[0026] The following will be combined with the embodiments and drawings to clearly and completely describe the concept, specific structure and technical effects of the present invention so as to fully understand the purpose, scheme and effect of the present invention. It should be noted that the embodiments and features in the embodiments of this application can be combined with each other unless there is a conflict.

[0027] It should be noted that, unless otherwise specified, when a feature is referred to as being "fixed" or "connected" to another feature, it may be directly fixed or connected to the other feature or indirectly fixed or connected to the other feature. Furthermore, terms such as "upper," "lower," "left," "right," "top," and "bottom" used in this disclosure are intended solely to describe the relative positions of the components of the disclosure as shown in the accompanying drawings.

[0028] In addition, unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by those skilled in the art. The terms used in this specification are only for describing specific embodiments and are not intended to limit the present invention. The term "and / or" as used herein includes any combination of one or more of the related listed items.

[0029] It should be understood that although the terms first, second, third, etc. may be used to describe various elements in the present disclosure, these elements should not be limited to these terms. These terms are only used to distinguish elements of the same type from each other. For example, a first element may also be referred to as a second element, and similarly, a second element may also be referred to as a first element without departing from the scope of the present disclosure.

[0030] Reference Figures 1 to 9In some embodiments, the technical solution of the present invention is a workpiece detection control method, which is applied to a workpiece detection device, wherein the workpiece detection device includes a base 100, wherein a processing mechanism is provided inside the base 100; a loading mechanism 200, wherein the loading mechanism 200 is provided at one end of the base 100; a conveying mechanism 300, wherein the conveying mechanism 300 is provided in the middle of the base 100, and the conveying mechanism 300 includes a detection belt 310, a detection belt motor 311 for driving the detection belt 310 to rotate, a first turntable mechanism 320 for transferring the workpiece on the loading mechanism 200 to the detection belt 310, and a second turntable mechanism 330 for transferring the workpiece outward, wherein the first The turntable mechanism 320, the detection belt 310 and the second turntable mechanism 330 are sequentially arranged on the base 100 along the first direction; the detection part 400 is arranged between the first turntable mechanism 320 and the second turntable mechanism 330, and the detection part 400 includes a front-facing photography mechanism 410 arranged along the first direction for photographing the image of the workpiece and a lifting and rotating mechanism 420 for clamping, lifting and rotating the workpiece placed on the conveying mechanism 300, and also includes a line scanning photography mechanism 440 arranged directly above the lifting and rotating mechanism 420; a blanking mechanism 500 for temporarily storing the workpieces classified based on the detection results of the detection part 400, and the blanking mechanism 500 is arranged at the rear end of the detection part 400, with reference to Figure 9 , the workpiece detection control method comprises the following steps: S100: The first conveyor belt 250 of the loading mechanism 200 sequentially transfers the trays containing the workpieces to be tested from above the first lifting platform 220 to the loading work area 260. The first moving module 230 transfers the workpieces to be tested to the detection belt 310 via the first turntable mechanism 320. The first conveyor belt 250 transfers the emptied trays to the second lifting platform 240 for stacking. S200: The first photographing mechanism 411, the second photographing mechanism 414, and the line scanning photographing mechanism 440 of the inspection unit 400 sequentially capture images of the workpieces passing through their respective working ranges and inspect them, obtaining qualified and unqualified workpieces, and classifying and marking the unqualified workpieces. S300, the unloading mechanism classifies and temporarily stores unqualified workpieces in the first unloading mechanism 510, and temporarily stores qualified workpieces in the second unloading mechanism 520; S400 , repeating steps S100 to S300 until all workpieces are tested.

[0031] Furthermore, before step S100, the following steps are also included: The first side push plate 224 of the loading mechanism 200 is in an extended state, and at least one tray loaded with workpieces to be tested is placed above the first side push plate 224; The processing mechanism enters the preparation state and adjusts the positions of the loading mechanism 200, the conveying mechanism 300, and the unloading mechanism 500 so that the first pressure plate group 261 in the loading work area 260 is aligned with the first slot of the material tray, the first lever 234 of the first movable module 230 is set above the gap of the first pressure plate group 261, the inlet of the first turntable 321 in the first turntable mechanism 320 is aligned with the outlet of the first slot of the material tray, and the outlet of the first turntable 321 in the first turntable mechanism 320 is aligned with the fixture 312 of the detection belt 310; The front-facing camera mechanism 410 and the line-scanning camera mechanism 440 of the detection unit 400 are respectively aligned with the detection belt 310. The first camera mounting frame 413, the second camera mounting frame 416, and the line-scanning camera mounting frame 442 are used to focus the first camera 412, the second camera 415, and the line-scanning camera 441, respectively, and enter the working state. The entrance of each slot of the first unloading tray 511 of the first unloading mechanism 510 in the unloading mechanism 500 is aligned with the corresponding first unloading cylinder 512, and the output shaft of the ninth cylinder 335 is perpendicular to the detection belt 310 and aligned with the entrance of the second turntable mechanism 330; The two ends of the second pressing plate group 571 of the unloading working area 570 in the unloading mechanism 500 are aligned with the outlet of the second unloading mechanism 520 and the first slot of the material tray respectively.

[0032] The beneficial effects of the present invention are: The workpiece inspection equipment can sequentially capture a top view, side view, and top-view line of sight of the product being inspected. The top view primarily detects whether the length of the product meets requirements, while the side view and top-view line of sight primarily detect whether the thread of the product meets requirements. A processing mechanism processes the photographed images to determine qualified and unqualified products. Unqualified products are classified and temporarily stored according to their type, and qualified products are separated and stacked, achieving the technical effect of automated visual inspection. The workpiece inspection equipment can improve the efficiency of automated product inspection.

[0033] Furthermore, step S100 includes: S110, the first cylinder 221 of the first lifting platform 220 pushes the first lifting plate 222 upward to touch the bottom of the lowest material tray, and the first side cylinder 223 controls the first side push plate 224 to retract, so that the lowest material tray is stably placed on the first lifting plate 222. The first cylinder 221 controls the first lifting plate 222 to move downward until the material tray is stably placed between two adjacent first limit blocks 252 of the first conveyor belt 250; S120, the first conveyor belt drive motor 251 drives the first conveyor belt 250 to rotate the distance between the two adjacent first limit blocks 252, so that the gap between the first pressing plate group 261 is aligned with the material trough on the edge of the material tray, and the fourth cylinder 262 controls the first pressing plate group 261 to move downward until it contacts the material trough on the material tray and stops moving. At this time, the lower side of the first lifting plate 222 is facing the adjacent first limit block 252, and step S110 is repeated, so that the lower side of the first lifting platform 220 supports the next material tray; S130: The first moving module 230 controls the first lever 234 to move to the beginning of the first slot of the material tray, and pushes the workpieces to be tested placed in the first slot of the material tray onto the first turntable 321 of the first turntable mechanism 320 from the back to the front. S140: After the first turntable 321 receives a preset number of workpieces to be tested, the second motor 322 drives the first turntable 321 to rotate so that the workpieces to be tested are aligned with the jig 312 of the detection belt 310. The fifth cylinder 323 drives the second shifting rod 324 to transfer the workpiece to be tested at the front end to the jig 312 from the back to the front. After each jig 312 receives a workpiece to be tested, the detection belt motor 311 drives the detection belt 310 to move forward by the distance of the jig 312. S150: Whenever all the workpieces to be tested in a certain slot of the material tray in the loading work area 260 are emptied, the fourth cylinder 262 controls the first pressing plate group 261 to move upward until it stops at a preset height after breaking contact with the material slot on the material tray. The first conveyor belt drive motor 251 drives the first conveyor belt 250 to rotate so that the next slot of the material tray is aligned with the gap of the first pressing plate group 261. Steps S130 and S140 are repeated until all the workpieces to be tested in all the material slots of the current material tray are emptied. S160: The first conveyor belt drive motor 251 drives the first conveyor belt 250 to rotate, so that the current material tray completely leaves the loading work area 260 and reaches the second jacking platform 240; S170 , the next material tray completely reaches the loading work area 260 , and steps S120 to S160 are repeated to push the workpiece to be tested on the first jacking platform 220 in sequence.

[0034] Further, in step S130, The first beam sensor 265 provided at the ends of the first pressing plate 263 and the second pressing plate 264 detects in real time the length of each workpiece to be measured pushed into the first turntable. If it is found that the length of the workpiece to be measured currently pushed into the first turntable is greater than or less than the preset length, feedback is given to the processing mechanism and the workpiece to be measured is marked.

[0035] Further, step S200 includes: S210: The detection belt 310 rotates. When the workpiece placed on the fixture 312 passes through the shooting ranges of the first camera mechanism 411 and the second camera mechanism 414, the first camera mechanism 411 captures a top view image of the workpiece, and the second camera mechanism 414 captures a side view image of the workpiece. S220: When the workpiece placed on the fixture 312 passes through the lifting section of the lifting and rotating mechanism 420 in sequence, the detection belt 310 stops rotating, the first clamping cylinder 426 and the second clamping cylinder 429 clamp the workpiece from both sides of the workpiece, respectively, and the third motor 425 of the lifting and rotating mechanism 420 drives the eccentric shaft 424 to start rotating. After the lifting block 423 rises to a preset height relative to the lifting base 422, the third motor 425 stops rotating, and the rotating motor 431 drives the workpiece to start rotating. S230, the line scanning device 441 of the line scanning photographing mechanism 440 photographs a circumferential line scanning image of the workpiece to be measured; S240: After the line scanning device 441 completes the shooting, the rotating motor 431 stops rotating, and the third motor 425 of the lifting and rotating mechanism 420 drives the eccentric shaft 424 to start rotating in the opposite direction. The lifting block 423 descends relative to the lifting base 422 until the workpiece is re-placed on the fixture 312. The third motor 425 stops rotating, and the first clamping cylinder 426 and the second clamping cylinder 429 release the workpiece from both sides of the workpiece. S250. The processing mechanism on the base 100 determines whether the workpiece is qualified based on the top view image, the side view image and the circumferential line scan image of the workpiece. If the workpiece is unqualified, the unqualified type is distinguished.

[0036] Furthermore, step S300 includes: S310: When the classified unqualified workpiece passes through the preset slot of the first unloading tray 511, the first unloading cylinder 512 provided on the opposite side of the preset slot pushes the unqualified workpiece into the designated slot of the first unloading tray 511; S320. If the workpiece is marked by the first beam sensor 265, that is, the workpiece does not meet the preset length, the workpiece will be pushed into the preset slot of the first unloading tray 511 with the sealing cover 514 by the first unloading cylinder 512, and the workpiece will enter the sealing box 515 through the unloading notch 517 and the unloading pipe 516.

[0037] Further, in step S310, The second beam sensor 513 provided at the end of the first unloading tray 511 detects in real time whether a slot in the first unloading tray 511 is full of unqualified workpieces. If a slot is found to be full of unqualified workpieces, it feeds back to the processing device and sends an alarm signal.

[0038] Furthermore, step S300 further includes: S330, the seventh cylinder 531 of the third lifting platform 530 of the second unloading mechanism 520 pushes the third lifting plate 532 to move upward to touch the bottom of the empty tray at the bottom, and the second side cylinder 533 controls the second side push plate 534 to retract, so that the tray at the bottom is stably placed on the third lifting plate 532, and the seventh cylinder 531 controls the third lifting plate 532 to move downward until the empty tray is stably placed between two adjacent second limit blocks 562 of the second conveyor belt 560; S340: The second conveyor belt 560 rotates the distance between the two adjacent second limit blocks 562 so that the gap between the second pressing plate group 571 is aligned with the trough at the edge of the tray. The eighth cylinder 580 controls the second pressing plate group 571 to move downward until it contacts the trough on the empty tray and stops. At this time, the bottom of the third lifting plate 532 is facing the two adjacent second limit blocks 562. Repeat step S330 so that the bottom of the third lifting platform 530 supports the next empty tray. S350: The second moving module 540 controls the fourth lever 544 to move to the beginning of the first slot of the empty tray, and sequentially places the qualified workpieces transferred from the second turntable 331 of the second turntable mechanism 330 onto the corresponding slots of the tray from front to back. S360: Whenever all the workpieces to be tested in a slot of the tray in the unloading work area 570 are filled, the eighth cylinder 580 controls the second pressing plate group 571 to move upward until it breaks contact with the slot on the tray and stops at a preset height. The second conveyor belt 560 rotates so that the next slot of the tray is aligned with the gap of the second pressing plate group 571. Steps S340 and S350 are repeated until all the slots of the current tray are filled with qualified workpieces. S370: The second conveyor belt 560 rotates, causing the current tray to completely leave the loading work area 260 and arrive at the fourth lifting platform 550. The first zero cylinder 551 controls the fourth lifting plate 552 to lift the tray filled with qualified workpieces upward until the second hinge 553 is opened to a preset height, then stops and slowly descends. The tray filled with qualified workpieces is stuck by the second hinge 553 and cannot move downward. S380. At the same time, the next material tray completely reaches the unloading work area 570, and steps S330 to S370 are repeated to transfer all qualified workpieces on the inspection belt 310 to the second unloading mechanism 520 in turn.

[0039] Regarding step S400, in a specific embodiment, the motion control device and the image recognition system execute the workpiece detection control method.

[0040] Furthermore, the present invention also provides a workpiece detection device for implementing the workpiece detection control method, the workpiece detection device comprising: A base 100, wherein a processing mechanism is provided inside the base 100; A loading mechanism 200, which is disposed at one end of the base 100 and is electrically connected to the processing mechanism; A conveying mechanism 300 is provided in the middle of the base 100 and includes a detection belt 310, a detection belt motor 311 for driving the detection belt 310, a first turntable mechanism 320 for transferring the workpiece from the feeding mechanism 200 to the detection belt 310, and a second turntable mechanism 330 for transferring the workpiece outward. The first turntable mechanism 320, the detection belt 310, and the second turntable mechanism 330 are sequentially provided on the base 100 along a first direction. The conveying mechanism 300 is electrically connected to the processing mechanism. An inspection unit 400 is disposed between the first turntable mechanism 320 and the second turntable mechanism 330. The inspection unit 400 includes a front-facing photographing mechanism 410 disposed along a first direction for photographing an image of a workpiece, a lifting and rotating mechanism 420 for clamping, lifting, and rotating the workpiece placed on the conveying mechanism 300, and a line scanning photographing mechanism 440 disposed directly above the lifting and rotating mechanism 420. The inspection unit 400 is electrically connected to the processing mechanism. The unloading mechanism 500 is used to temporarily store the workpieces classified based on the detection results of the detection unit 400 . The unloading mechanism 500 is arranged at the rear end of the detection unit 400 . Specifically, the workpiece to be measured is placed on the material tray of the loading mechanism 200, and a plurality of slots are provided on the material tray. The workpiece to be measured is arranged in each slot in turn. When the inspection is carried out, each slot of each material tray is transferred by the loading mechanism 200 to the first turntable mechanism 320. The first turntable mechanism 320 transfers the workpiece to be measured one by one to the fixture 312 on the detection belt 310. The workpiece to be measured passes through the front-view camera mechanism 410, the lifting and rotating mechanism 420 and the line scanning camera mechanism 440 of the detection part 400 in turn. The front-view camera mechanism 410, the lifting and rotating mechanism 420 and the line scanning camera mechanism 440 collect the image of the workpiece to be measured and the processing mechanism determines whether the workpiece is qualified, and classifies and marks the unqualified type. Finally, the tested workpiece to be measured is placed back on the corresponding classification tray through the unloading mechanism, and the unloading mechanism 500 is electrically connected to the processing mechanism.

[0041] Specifically, refer to Figure 1 and Figure 3The feeding mechanism 200 includes a feeding bracket 210, a first lifting platform 220, a first moving module 230, a second lifting platform 240, a first conveyor belt 250 and a first conveyor belt driving motor 251 for driving the first conveyor belt 250 to rotate. The feeding bracket 210 is arranged along a second direction perpendicular to the first direction. The first lifting platform 220 and the second lifting platform 240 are respectively arranged at both ends of the feeding bracket 210. A feeding working area 260 is provided between the first lifting platform 220 and the second lifting platform 240. The first conveyor belt 250 is arranged inside the feeding bracket 210 and passes through the first lifting platform 220, the feeding working area 260 and the second lifting platform 240 in sequence along the second direction. The first lifting platform 220 includes a first cylinder 221 provided on the base 100, a first lifting plate 222 connected to the output shaft of the first cylinder 221, first side cylinders 223 provided on both sides of the loading bracket 210, and first side push plates 224 connected to the output shaft of the first side cylinder 223. There are two first side cylinders 223 and two first side push plates 224 respectively. The loading work area 260 is provided with a first pressing plate group 261 for pressing the material trough and a fourth cylinder 262 for lifting and lowering the first pressing plate group 261. The first pressing plate group 261 includes a first pressing plate 263 and a second pressing plate 264 arranged in parallel. The width between the first pressing plate 263 and the second pressing plate 264 is the width of a single material trough of the material tray. The output shaft of the second cylinder 233 of the first moving module 230 can extend into the gap between the first pressing plate group 261. The ends of the first pressing plate 263 and the second pressing plate 264 are respectively provided with a first beam sensor 265 for detecting the length of the workpiece. The first movable module 230 is arranged along a first direction. The first movable module 230 is provided with a first push block 232 driven by a first motor 231 and moving along the first direction. The first push block 232 is provided with a second cylinder 233 moving along a third direction, which is a vertical direction. The output shaft of the second cylinder 233 is provided with a first shifting rod 234. The first shifting rod 234 is arranged directly above the first pressing plate 263 and the second pressing plate 264 and can shift the workpiece placed on the trough to the first turntable mechanism 320. The second lifting platform 240 includes a third cylinder 241 provided on the base 100, a second lifting plate 242 connected to the output shaft of the third cylinder 241, and a plurality of first hinge members 243 provided on both sides of the loading bracket 210; A plurality of first limiting blocks 252 are provided on the first conveyor belt 250 , and the spacing between each first limiting block 252 is equal to the width of the material tray.

[0042] Specifically, a plurality of material trays with workpieces to be measured are provided on the first jacking platform 220, and the first cylinder 221 controls the first jacking plate 222 to rise. After the first side cylinder 223 is released, the material tray at the bottom falls smoothly on the first jacking plate 222, and the first cylinder 221 controls the first jacking plate 222 to descend until the material tray in the upper grid moves down to the height of the output shaft of the first side cylinder 223, and the first side cylinder 223 continues to move downward until the material tray is placed on the first conveyor belt 250. The first conveyor belt 250 moves, and aligns the material trough on the material tray with the gap of the first pressure plate group 261 and the first turntable 321 in turn. At this time, the first moving module 230 moves to the starting end of the material trough, and the first push block 232 and the first shift rod 234 move the workpiece on the material trough. The parts are pushed into the first turntable 321 in sequence along the direction of the first pressure plate group 261, and the first turntable 321 transfers the workpieces to the detection belt 310 in sequence. When all the workpieces of a material trough are pushed in, the first conveyor belt 250 drives the material tray to move to the next material trough, and repeats the above operation until the workpieces of all the material troughs are transferred. The first conveyor belt 250 drives the material tray to the position of the second jacking platform 240. At this time, the first jacking platform 220 repeats the above work to transfer the material tray at the lower end position to the first conveyor belt 250, and the second jacking plate 242 of the second jacking platform 240 raises the material tray and pushes open the first hinge part 243. When the material tray rises into place, the second jacking plate 242 begins to descend and return to its original position. At this time, the first hinge part 243 clamps the material tray to prevent the material tray from falling down.

[0043] The first limiting block 252 is used to limit the position of the material tray, so as to solve the problem of alignment between the material tray, the material trough and other components.

[0044] The first beam sensor 265 detects the length of each workpiece passing through the first beam sensor 265 , and can promptly detect and mark any mixing of materials, such as mixing of workpieces having a different length from the current one.

[0045] In another embodiment, specific configuration components of the second jacking platform 240 are consistent with specific configuration components of the first jacking platform 220 .

[0046] Specifically, refer to Figure 4 and Figure 6 The first turntable mechanism 320 includes a first turntable 321, a second motor 322 for driving the first turntable 321 to rotate, a fifth cylinder 323 for transferring the workpiece from the first turntable 321 to the detection belt 310, and a second shifting rod 324 connected to the output shaft of the fifth cylinder 323; The detection belt 310 is provided with a plurality of jigs 312 for placing the workpiece to be detected. Whenever the detection belt 310 rotates to a jig 312 position, the second shifting rod 324 transfers the workpiece from the first turntable 321 to the corresponding jig 312; The second turntable mechanism 330 includes a second turntable 331, a fourth motor 332 for driving the second turntable 331 to rotate, a sixth cylinder 333 for transferring the workpiece from the second turntable 331 to the unloading mechanism 500, and a third shifting rod 334 connected to the output shaft of the sixth cylinder 333.

[0047] Specifically, the first turntable mechanism 320 and the second turntable mechanism 330 both rotate to send the workpiece to be measured into or out of the fixture 312. The specific number of workpieces to be measured stacked on the corresponding turntable slots before each rotation is determined according to actual needs, and the specific angle of each rotation is determined according to the number of slots on the turntable.

[0048] Specifically, refer to Figure 1 and Figure 4 The front-view photographing mechanism 410 includes a first photographing mechanism 411 for photographing an image directly above the workpiece and a second photographing mechanism 414 for photographing an image of the side of the workpiece. The second photographing mechanism 414 is separated from the first photographing mechanism 411 by the transmission mechanism 300 and is arranged on the opposite side of the first photographing mechanism 411. The first photographing mechanism 411 includes a first photographing device 412 and a first photographing device mounting bracket 413 for mounting and enabling vertical movement of the first photographing device 412. The second photographing mechanism 414 includes a second photographing device 415 and a second photographing device mounting bracket 416 for mounting and enabling horizontal movement of the second photographing device 415. The line scanning mechanism 440 includes a line scanning device 441 and a line scanning device mounting frame 442 for mounting and enabling the line scanning device 441 to move vertically.

[0049] Specifically, the first camera device 412, the second camera device 415, and the line scan camera device 441 are each electrically connected to a processing mechanism within the base 100. All images captured by the first camera device 412, the second camera device 415, and the line scan camera device 441 are transmitted to the processing mechanism for image recognition and analysis, ultimately determining whether the workpiece is qualified. The images captured by the first camera device 412 are used to detect the length of the workpiece and defects such as chipping. The images captured by the second camera device 415 are used to detect defects on the tooth and side surfaces of the workpiece. The images captured by the line scan camera device 441 are used to capture line scan images of the workpiece. When the lifting and rotating mechanism 420 clamps and lifts the workpiece, the workpiece rotates. The line scan camera device 441 captures circumferential images of the workpiece and outputs them to the processing mechanism. The first camera device mounting bracket 413, the second camera device mounting bracket 416, and the line scan camera mounting bracket 442 are primarily used to align and focus the corresponding camera mechanisms.

[0050] Therefore, the processing mechanism is provided with at least hardware and software equipment for image processing and analysis, including but not limited to an image recognition system based on a neural network.

[0051] In addition, the processing mechanism further includes a motion control device for controlling the motion of the loading mechanism 200 , the conveying mechanism 300 , the detecting portion 400 and the unloading mechanism 500 .

[0052] Specifically, refer to Figure 5 The lifting and rotating mechanism 420 includes a lifting and rotating mounting frame 421, an eccentric shaft 424, a third motor 425 for driving the eccentric shaft 424 to rotate, a first clamping cylinder 426, a first spring buffer 427 connected to the output shaft of the first clamping cylinder 426 and a first clamping finger 428, a second clamping cylinder 429, a second spring buffer 430 connected to the output shaft of the second clamping cylinder 429 and a second clamping finger, and a rotating motor 431 arranged on the first clamping finger 428 or the second clamping finger.

[0053] Specifically, refer to Figure 5 The lifting and rotating mounting frame 421 includes a lifting base 422 for mounting an eccentric shaft 424 and a third motor 425, and a lifting block 423 arranged on the lifting base 422. When the third motor 425 drives the eccentric shaft 424 to rotate, the lifting block 423 rises or falls relative to the lifting base 422.

[0054] The first clamping cylinder 426 and the second clamping cylinder 429 are respectively provided at both ends of the lifting block 423. The first clamping cylinder 426 is used to drive the first spring buffer 427 and the first clamping finger 428 to clamp and release one end of the workpiece to be measured, and the second clamping cylinder 429 is used to drive the second spring buffer 430 and the second clamping finger to clamp and release the other end of the workpiece to be measured. When the first clamping finger 428 and the second clamping finger clamp the workpiece to be measured, the eccentric shaft 424 rotates, driving the lifting block 423 to lift up and leave the lifting base 422 to reach a preset height, and the eccentric shaft 424 stops rotating, and the rotating motor 431 drives the first clamping finger 428 or the second clamping finger to rotate, thereby rotating the workpiece to be measured, and the line scanning mechanism 440 continuously captures the circumferential line scan image of the workpiece to be measured. When the circumferential line scan image is completed, the rotating motor 431 stops running, and the third motor 425 drives the eccentric shaft 424 to rotate in the opposite direction, driving the lifting block 423 to move downward to a preset height until the workpiece to be measured is placed again on the fixture 312. The third motor 425 and the eccentric shaft 424 stop rotating, and the first clamping finger 428 and the second clamping finger move in the opposite direction to release the workpiece to be measured.

[0055] Specifically, refer to Figure 7 and Figure 8 The unloading mechanism 500 includes a first unloading mechanism 510 for temporarily storing unqualified workpieces and a second unloading mechanism 520 for temporarily storing qualified workpieces. The first unloading mechanism 510 is arranged between the lifting and rotating mechanism 420 and the second turntable mechanism 330, and the second unloading mechanism 520 is arranged at the rear end of the second turntable mechanism 330.

[0056] Specifically, refer to Figure 6 The first unloading mechanism 510 includes a first unloading tray 511 and a plurality of first unloading cylinders 512 arranged on the opposite side of the first unloading tray 511. The number of the first unloading cylinders 512 is consistent with the number of slots of the first unloading tray 511. Each slot of the first unloading tray 511 is preset as a specific workpiece classification slot. When the workpiece is transferred to the corresponding slot by the detection belt 310, the corresponding first unloading cylinder 512 pushes the workpiece into the corresponding classification slot; A second beam sensor 513 is provided at the end of the first unloading tray 511 for detecting whether the material trough is full of workpieces.

[0057] Specifically, the second beam sensor 513 is arranged at the end of the first unloading tray 511, and can detect whether each slot of the first unloading tray 511 is full. When a slot is filled, the second beam sensor 513 can detect the signal and transmit it to the processing mechanism for alarm and other processing.

[0058] Specifically, refer to Figure 6 , a sealing cover 514 and a sealing box 515 are provided on the first unloading material tray 511; The cover 514 is used to prevent the workpiece from being taken away by mistake, and the cover 514 covers at least one slot in the first unloading tray 511 .

[0059] The sealing box 515 is provided with a discharge pipe 516 connected to the starting end of at least one slot of the first discharge tray 511, and the starting end of at least one slot of the first discharge tray 511 connected to the discharge pipe 516 is provided with a discharge notch 517.

[0060] In a specific embodiment, the purpose of the cover 514 covering at least one slot in the first unloading tray 511 is that a workpiece with serious defects set in the slot will be directly sent into the sealing box 515 through the unloading notch 517 and the unloading pipe 516. The purpose of setting the cover 514 is to prevent the workpiece located in the slot from being taken by mistake.

[0061] Specifically, refer to Figure 7 and Figure 8 The second unloading mechanism 520 includes an unloading bracket 522, a third jacking platform 530, a second movable module 540, a fourth jacking platform 550, a second conveyor belt 560 and a second conveyor belt driving motor 561 for driving the second conveyor belt 560 to rotate. The unloading bracket 522 is arranged along the second direction, the third jacking platform 530 and the fourth jacking platform 550 are respectively arranged at both ends of the unloading bracket 522, and a unloading work area 570 is provided between the third jacking platform 530 and the fourth jacking platform 550. The second conveyor belt 560 is arranged inside the unloading bracket 522 and passes through the third jacking platform 530, the unloading work area 570 and the fourth jacking platform 550 in sequence along the second direction; The conveying mechanism 300 further includes a ninth cylinder 335 disposed on the base, and the ninth cylinder 335 is used to transfer qualified workpieces after the first unloading mechanism 510 removes unqualified workpieces from the detection belt 310 to the second turntable mechanism 330; The third jacking platform 530 includes a seventh cylinder 531 provided on the base 100, a third jacking plate 532 connected to the output shaft of the seventh cylinder 531, second side cylinders 533 provided on both sides of the blanking bracket 522, and second side push plates 534 connected to the output shaft of the second side cylinders 533. There are two second side cylinders 533 and two second side push plates 534 respectively. The unloading work area 570 is provided with a second pressing plate group 571 for pressing the trough and an eighth cylinder 580 for lifting and lowering the second pressing plate group 571. The second pressing plate group 571 includes a third pressing plate 572 and a fourth pressing plate 573 arranged in parallel. The width between the third pressing plate 572 and the fourth pressing plate 573 is the width of a single trough of the material tray. The output shaft of the eighth cylinder 580 can extend into the gap between the second pressing plate group 571. The second movable module 540 is arranged along the first direction, and is provided with a second push block 542 driven by a fifth motor 541 and moving along the first direction. The second push block 542 is provided with a ninth cylinder 543 moving along the third direction. A fourth shifting rod 544 is provided on the output shaft of the ninth cylinder 543. The fourth shifting rod 544 is arranged directly above the third pressing plate 572 and the fourth pressing plate 573. The fourth shifting rod 544 shifts the workpiece from the second turntable mechanism 330 to the material trough of the material tray. The fourth lifting platform 550 includes a first zero cylinder 551 provided on the base 100 , a fourth lifting plate 552 connected to the output shaft of the first zero cylinder 551 , and a plurality of second hinge members 553 provided on both sides of the loading bracket 210 ; The second conveyor belt 560 is provided with a plurality of second limiting blocks 562 , and the spacing between each second limiting block 562 is equal to the width of the material tray.

[0062] In a specific embodiment, the second unloading mechanism 520 is used to unload and stack workpieces that have been detected to be normal. An empty material tray is stored above the third jacking platform 530. After the empty material tray moves down to the second conveyor belt 560, the second moving module 540 transfers the workpiece of the second turntable mechanism 330 to the corresponding material trough of the material tray below the second pressure plate group 571. When the current material trough is full, the second conveyor belt 560 moves forward one material trough position until all material troughs are full. The second conveyor belt 560 transfers the material tray to the fourth jacking platform 550, and then the fourth jacking platform 550 lifts the material tray upward and is supported by the second hinge part 553 above.

[0063] Reference Figure 1The present invention also provides a computer-readable storage medium having program instructions stored thereon, and when the program instructions are executed by a processor, the workpiece detection control method is implemented.

[0064] The above description is merely a preferred embodiment of the present invention. The present invention is not limited to the above-described embodiments. As long as the technical effects of the present invention are achieved by the same means, any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of this disclosure shall be included within the scope of protection of this disclosure. Various modifications and variations of the technical solutions and / or implementation methods may be made within the scope of protection of the present invention.

Claims

1. A workpiece detection control method, wherein the workpiece detection control method is applied to a workpiece detection device, wherein the workpiece detection device comprises a base (100), wherein a processing mechanism is provided inside the base (100); a feeding mechanism (200), wherein the feeding mechanism (200) is provided at one end of the base (100); a conveying mechanism (300), wherein the conveying mechanism (300) is provided at the middle of the base (100), wherein the conveying mechanism (300) comprises a detection belt (310), a detection belt motor (311) for driving the detection belt (310) to rotate, a first turntable mechanism (320) for transferring the workpiece on the feeding mechanism (200) to the detection belt (310), and a second turntable mechanism (330) for transferring the workpiece outward, wherein the first turntable mechanism (320), the detection belt motor (311) for driving the detection belt (310) to rotate, and the detection belt motor (311) for driving the detection belt (310) to rotate, wherein the detection belt motor (311) is provided at the middle of the base (100), and the detection belt motor (311) is provided at the middle of the base (100). The detection belt (310) and the second turntable mechanism (330) are sequentially arranged on the base (100) along the first direction; the detection part (400) is arranged between the first turntable mechanism (320) and the second turntable mechanism (330), the detection part (400) includes a front-view photographing mechanism (410) arranged along the first direction for photographing an image of a workpiece and a lifting and rotating mechanism (420) for clamping, lifting and rotating the workpiece placed on the conveying mechanism (300), and also includes a line scanning photographing mechanism (440) arranged directly above the lifting and rotating mechanism (420); a blanking mechanism (500) is used for temporarily storing workpieces classified based on the detection results of the detection part (400), the blanking mechanism (500) is arranged at the rear end of the detection part (400), and is characterized in that, The workpiece detection control method comprises the following steps: S100, the first conveyor belt (250) of the loading mechanism (200) sequentially transfers the tray containing the workpiece to be tested from above the first lifting platform (220) to the loading work area (260), the first moving module (230) transfers the workpiece to be tested to the detection belt (310) through the first turntable mechanism (320), and the first conveyor belt (250) transfers the emptied tray to the second lifting platform (240) for stacking; S200: the first photographing mechanism (411), the second photographing mechanism (414), and the line scanning photographing mechanism (440) of the inspection unit (400) sequentially photograph images of the workpieces passing through their respective working ranges and perform inspections to obtain qualified workpieces and unqualified workpieces, and classify and mark the unqualified workpieces; S300, the unloading mechanism classifies and temporarily stores unqualified workpieces in the first unloading mechanism (510), and temporarily stores qualified workpieces in the second unloading mechanism (520); S400 , repeating steps S100 to S300 until all workpieces are tested.

2. The workpiece detection control method according to claim 1, characterized in that: Before step S100, the following steps are also included: The first side push plate (224) of the loading mechanism (200) is in an extended state, and at least one material tray loaded with workpieces to be tested is placed above the first side push plate (224); The processing mechanism enters a ready state, and the positions of the feeding mechanism (200), the conveying mechanism (300) and the unloading mechanism (500) are corrected so that the first pressure plate group (261) in the feeding working area (260) is aligned with the first slot of the material tray, the first shifting rod (234) of the first moving module (230) is set above the gap of the first pressure plate group (261), the inlet of the first turntable (321) in the first turntable mechanism (320) is aligned with the outlet of the first slot of the material tray, and the outlet of the first turntable (321) in the first turntable mechanism (320) is aligned with the fixture (312) of the detection belt (310); The front-facing photographing mechanism (410) and the line-scanning photographing mechanism (440) in the detection section (400) are respectively aligned with the detection belt (310), and the first photographing device (412), the second photographing device (415) and the line-scanning photographing device (441) are respectively focused through the first photographing device mounting frame (413), the second photographing device mounting frame (416) and the line-scanning photographing device mounting frame (442), and enter a working state; The entrance of each slot of the first unloading tray (511) of the first unloading mechanism (510) in the unloading mechanism (500) is aligned with the corresponding first unloading cylinder (512), and the output shaft of the ninth cylinder (335) is perpendicular to the detection belt (310) and aligned with the entrance of the second turntable mechanism (330); The two ends of the second pressing plate group (571) of the material unloading working area (570) in the material unloading mechanism (500) are aligned with the outlet of the second material unloading mechanism (520) and the first slot of the material tray respectively.

3. The workpiece detection control method according to claim 1, characterized in that: Step S100 includes: S110, the first cylinder (221) of the first lifting platform (220) pushes the first lifting plate (222) to move upward to touch the bottom of the material tray at the bottom, the first side cylinder (223) controls the first side push plate (224) to retract, so that the material tray at the bottom is stably placed on the first lifting plate (222), and the first cylinder (221) controls the first lifting plate (222) to move downward until the material tray is stably placed between two adjacent first limit blocks (252) of the first conveyor belt (250); S120, the first conveyor belt driving motor (251) drives the first conveyor belt (250) to rotate the distance between the two adjacent first limit blocks (252), so that the gap of the first pressing plate group (261) is aligned with the material trough on the edge of the material tray, and the fourth cylinder (262) controls the first pressing plate group (261) to move downward until it contacts the material trough on the material tray and stops moving. At this time, the bottom of the first lifting plate (222) is facing the adjacent first limit block (252), and step S110 is repeated, so that the bottom of the first lifting platform (220) supports the next material tray; S130, the first moving module (230) controls the first lever (234) to move to the beginning of the first slot of the material tray, and pushes the workpieces to be tested placed in the first slot of the material tray onto the first turntable (321) of the first turntable mechanism (320) in sequence from back to front; S140, after the first turntable (321) receives a preset number of workpieces to be tested, the second motor (322) drives the first turntable (321) to rotate so that the workpieces to be tested are aligned with the fixture (312) of the detection belt (310), and the fifth cylinder (323) drives the second shifting rod (324) to transfer the workpiece to be tested at the front end to the fixture (312) from the back to the front. After each fixture (312) receives the workpiece to be tested, the detection belt motor (311) drives the detection belt (310) to move forward by the distance of one fixture (312); S150, whenever all the workpieces to be tested in a certain slot of the material tray in the loading work area (260) are emptied, the fourth cylinder (262) controls the first pressure plate group (261) to move upward until it stops at a preset height after breaking contact with the material slot on the material tray, and the first conveyor belt drive motor (251) drives the first conveyor belt (250) to rotate so that the next slot of the material tray is opposite to the gap of the first pressure plate group (261), and steps S130 and S140 are repeated until the workpieces to be tested on all the material slots of the current material tray are emptied; S160, the first conveyor belt drive motor (251) drives the first conveyor belt (250) to rotate, so that the current material tray completely leaves the loading work area (260) and reaches the second jacking platform (240); S170: The next material tray completely reaches the loading work area (260), and steps S120 to S160 are repeated to push the workpiece to be tested on the first jacking platform (220) in sequence.

4. The workpiece detection control method according to claim 3, characterized in that: In step S130, A first beam sensor (265) provided at the ends of the first pressing plate (263) and the second pressing plate (264) detects in real time the length of each workpiece to be measured that is pushed into the first turntable. If it is found that the length of the workpiece to be measured currently pushed into the first turntable is greater than or less than a preset length, feedback is given to the processing mechanism and the workpiece to be measured is marked.

5. The workpiece detection control method according to claim 1, characterized in that: Step S200 includes: S210, the detection belt (310) rotates, and when the workpiece to be measured placed on the fixture (312) passes through the shooting range of the first photographing mechanism (411) and the second photographing mechanism (414) in sequence, the first photographing mechanism (411) captures a top view image of the workpiece to be measured, and the second photographing mechanism (414) captures a side view image of the workpiece to be measured; S220, when the workpiece to be measured placed on the fixture (312) passes through the lifting interval of the lifting and rotating mechanism (420) in sequence, the detection belt (310) stops rotating, the first clamping cylinder (426) and the second clamping cylinder (429) clamp the workpiece to be measured from both sides of the workpiece to be measured, respectively, the third motor (425) of the lifting and rotating mechanism (420) drives the eccentric shaft (424) to start rotating, and after the lifting block (423) rises to a preset height relative to the lifting base (422), the third motor (425) stops rotating, and the rotating motor (431) drives the workpiece to be measured to start rotating; S230, the line scanning device (441) of the line scanning photographing mechanism (440) photographs a circumferential line scanning image of the workpiece to be measured; S240, after the line scanning device (441) completes the shooting, the rotating motor (431) stops rotating, the third motor (425) of the lifting rotating mechanism (420) drives the eccentric shaft (424) to start rotating in the opposite direction, the lifting block (423) descends relative to the lifting base (422) until the workpiece to be measured is re-placed on the fixture (312), the third motor (425) stops rotating, and the first clamping cylinder (426) and the second clamping cylinder (429) respectively release the workpiece to be measured from both sides of the workpiece to be measured; S250, the processing mechanism on the base (100) determines whether the workpiece to be measured is qualified based on the top view image, the side view image and the circumferential line scan image of the workpiece to be measured, and if the workpiece to be measured is unqualified, distinguishes the type of unqualified.

6. The workpiece detection control method according to claim 1, characterized in that: Step S300 includes: S310, when the classified unqualified workpiece passes through a preset slot of the first unloading tray (511), a first unloading cylinder (512) provided on the opposite side of the preset slot pushes the unqualified workpiece into the designated slot of the first unloading tray (511); S320. If the workpiece is marked by the first beam sensor (265), that is, the workpiece does not meet the preset length, the workpiece will be pushed by the first unloading cylinder (512) into the preset slot of the first unloading tray (511) with the sealing cover (514), and the workpiece will enter the sealing box (515) through the unloading notch (517) and the unloading pipe (516).

7. The workpiece detection control method according to claim 6, characterized in that: In step S310, A second beam sensor (513) disposed at the end of the first unloading tray (511) detects in real time whether a slot in the first unloading tray (511) is full of unqualified workpieces. If a slot is found to be full of unqualified workpieces, feedback is given to the processing device and an alarm signal is issued.

8. The workpiece detection control method according to claim 6, characterized in that: Step S300 also includes: S330, the seventh cylinder (531) of the third lifting platform (530) of the second unloading mechanism (520) pushes the third lifting plate (532) to move upward to touch the bottom of the empty tray at the bottom, the second side cylinder (533) controls the second side push plate (534) to retract, so that the tray at the bottom is stably placed on the third lifting plate (532), and the seventh cylinder (531) controls the third lifting plate (532) to move downward until the empty tray is stably placed between two adjacent second limit blocks (562) of the second conveyor belt (560); S340, the second conveyor belt (560) rotates the distance between the two adjacent second limit blocks (562) so that the gap of the second pressing plate group (571) is aligned with the material trough at the edge of the material tray, and the eighth cylinder (580) controls the second pressing plate group (571) to move downward until it contacts the material trough on the empty material tray and stops moving. At this time, the bottom of the third lifting plate (532) is facing the two adjacent second limit blocks (562), and step S330 is repeated so that the bottom of the third lifting platform (530) supports the next empty material tray; S350, the second moving module (540) controls the fourth shifting rod (544) to move to the beginning of the first slot of the empty tray, and sequentially places the qualified workpieces transferred from the second turntable (331) of the second turntable mechanism (330) on the corresponding slots of the tray from front to back; S360, whenever all the workpieces to be tested in a slot of the tray in the unloading work area (570) are filled, the eighth cylinder (580) controls the second pressing plate group (571) to move upward until it stops at a preset height after breaking contact with the slot on the tray, and the second conveyor belt (560) rotates so that the next slot of the tray is opposite to the gap of the second pressing plate group (571), and steps S340 and S350 are repeated until all the slots of the current tray are filled with qualified workpieces; S370, the second conveyor belt (560) rotates, so that the current material tray completely leaves the loading work area (260) and arrives at the fourth lifting platform (550), and the first zero cylinder (551) controls the fourth lifting plate (552) to lift the material tray filled with qualified workpieces upward until the second hinge member (553) is opened to a preset height, then stops moving and slowly descends, and the material tray filled with qualified workpieces is stuck by the second hinge member (553) and cannot move downward; S380. At the same time, the next material tray completely reaches the unloading work area (570), and steps S330 to S370 are repeated to sequentially transfer all qualified workpieces on the inspection belt (310) to the second unloading mechanism (520).

9. A workpiece detection device, used to implement the workpiece detection control method according to any one of claims 1 to 8, characterized in that: The workpiece detection equipment includes: A base (100), wherein a processing mechanism is provided inside the base (100); a loading mechanism (200), the loading mechanism (200) being arranged at one end of the base (100), the loading mechanism (200) being electrically connected to the processing mechanism; A conveying mechanism (300), wherein the conveying mechanism (300) is arranged in the middle of the base (100), the conveying mechanism (300) comprises a detection belt (310), a detection belt motor (311) for driving the detection belt (310) to rotate, a first turntable mechanism (320) for transferring the workpiece on the feeding mechanism (200) to the detection belt (310), and a second turntable mechanism (330) for transferring the workpiece outward, wherein the first turntable mechanism (320), the detection belt (310), and the second turntable mechanism (330) are sequentially arranged on the base (100) along a first direction, and the conveying mechanism (300) is electrically connected to the processing mechanism; A detection unit (400), the detection unit (400) is arranged between the first turntable mechanism (320) and the second turntable mechanism (330), the detection unit (400) includes a front-view photographing mechanism (410) arranged along a first direction for photographing an image of a workpiece, and a lifting and rotating mechanism (420) for clamping, lifting and rotating the workpiece placed on the conveying mechanism (300), and also includes a line scanning photographing mechanism (440) arranged directly above the lifting and rotating mechanism (420), and the detection unit (400) is electrically connected to the processing mechanism; The unloading mechanism (500) is used for temporarily storing workpieces classified based on the detection results of the detection unit (400), the unloading mechanism (500) is arranged at the rear end of the detection unit (400), and the unloading mechanism (500) is electrically connected to the processing mechanism.

10. A computer-readable storage medium having program instructions stored thereon, characterized in that: When the program instructions are executed by a processor, the method according to any one of claims 1 to 8 is implemented.

Citation Information

Cited By

  • Material conveying device

    CN120679735A