Online visual detection device and method for traditional Chinese medicine

By designing a cleaning mechanism and coordinating multiple cleaning components, the problem of visual inspection misjudgment caused by impurity adhesion during the transportation of traditional Chinese medicine was solved, and effective cleaning of the conveyor belt and reliability of the inspection results were achieved.

CN120741352APending Publication Date: 2025-10-03TIANJIN DARENTANG JINGWANHONG PHARMA
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510887166.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-06-30
Publication Date
2025-10-03

AI Technical Summary

Technical Problem

During the transportation of traditional Chinese medicine, impurities are easily adhered due to the lack of cleaning mechanisms on the conveyor belt, resulting in misjudgment during visual inspection and affecting the inspection effect.

Method used

An online visual inspection device for traditional Chinese medicine including a cleaning mechanism is designed. The cleaning force is adjusted by cooperating with the extrusion component and the elastic telescopic component, and multiple cleaning components are used for cleaning, including a cleaning component, a first cleaning component, a second cleaning component and a third cleaning component, to achieve effective cleaning of the conveyor belt.

Benefits of technology

It effectively removes impurities on the conveyor belt, improves the accuracy of visual inspection, reduces the frequency of manual cleaning, and has self-cleaning capabilities to ensure the reliability of inspection results.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120741352A_ABST
    Figure CN120741352A_ABST
Patent Text Reader

Abstract

The invention discloses an online visual detection device and method for traditional Chinese medicine, and relates to the technical field of traditional Chinese medicine detection.The online visual detection device comprises a base, a visual detection mechanism is arranged on the side edge of the base, the visual detection mechanism comprises a conveying belt, and the conveying belt is fixedly connected to the top of the base and used for conveying traditional Chinese medicine; the visual detection device body is arranged on one side of the conveying belt, the visual camera is installed at the bottom of the visual detection device body, the LED lamp is arranged on one side of the visual camera, the visual camera is used for shooting traditional Chinese medicine, the display screen is fixedly installed on one side of the visual detection device body, and the cleaning mechanism is arranged at the bottom of the conveying belt. According to the cleaning mechanism, the cleaning force of the cleaning assembly is adjusted through cooperation of the extrusion assembly and the elastic telescopic assembly, so that the outer surface of the conveying belt can be well cleaned, and the cleaning assembly is cleaned through cooperation of the first cleaning assembly, the second cleaning assembly and the third cleaning assembly.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of traditional Chinese medicine detection, and in particular to an online visual detection device and method for traditional Chinese medicine. Background Art

[0002] At present, during the production and manufacturing process of traditional Chinese medicine, the raw materials of traditional Chinese medicine need to be tested, so traditional Chinese medicine visual inspection equipment is used to detect the external surface characteristics of traditional Chinese medicine. The traditional Chinese medicine is photographed by industrial cameras and identified and analyzed by the inspection system to detect characteristics such as the size, mud or mildew of the traditional Chinese medicine.

[0003] However, since traditional Chinese medicine itself carries certain impurities, when it is transported on the conveyor belt, the conveyor belt does not have a cleaning mechanism and cannot clean the impurities. The impurities are easily adhered to the conveyor belt, thereby forming false features, resulting in misjudgment and affecting the normal visual inspection of traditional Chinese medicine. For this reason, we propose an online visual inspection device and method for traditional Chinese medicine. Summary of the Invention

[0004] The purpose of the present invention is to provide an online visual inspection device and method for traditional Chinese medicine. By setting up the cleaning mechanism and utilizing the cooperation of the extrusion component and the elastic telescopic component, the cleaning force of the cleaning component can be adjusted, so that the outer surface of the conveyor belt can be better cleaned, and the cleaning component can be cleaned by utilizing the cooperation of the first cleaning component, the second cleaning component and the third cleaning component.

[0005] To achieve the above object, the present invention provides the following technical solutions: In a first aspect, the present invention provides an online visual inspection device for traditional Chinese medicine, comprising a base, a visual inspection mechanism being provided on a side of the base, the visual inspection mechanism comprising: A conveyor belt, wherein the conveyor belt is fixedly connected to the top of the base and is used to transport traditional Chinese medicine; A visual inspection device body, the visual inspection device body is arranged on one side of the conveyor belt, a visual camera is installed at the bottom of the visual inspection device body, an LED light is provided on one side of the visual camera, the visual camera is used to photograph traditional Chinese medicine, and a display screen is fixedly installed on one side of the visual inspection device body; The cleaning mechanism is arranged at the bottom of the conveyor belt and is used to clean the conveyor belt.

[0006] Preferably, the cleaning mechanism comprises: A collection box, the collection box is located at the bottom of one end of the conveyor belt, and a mounting assembly is provided between the collection box and the conveyor belt; A cleaning assembly, located inside the collection box, for cleaning the conveyor belt; A rotating assembly, the rotating assembly being disposed on one side of the cleaning assembly and being used to drive the cleaning assembly to rotate; An elastic telescopic component, wherein the elastic telescopic component is fixedly connected to the side of the cleaning component, and an extrusion component is provided between the elastic telescopic component and the rotating component, and the extrusion component is used to extrude the elastic telescopic component; A limiting component, the limiting component is arranged between the elastic telescopic component and the collection box; a first cleaning assembly, the first cleaning assembly being fixedly connected to one side of the interior of the collection box; a second cleaning assembly, the second cleaning assembly being fixedly connected to the bottom of the collection box; a third cleaning assembly, the third cleaning assembly being fixedly connected to the other side of the interior of the collection box; A collection box, which is plugged into the bottom end of the collection box, and a connecting component is provided between the collection box and the collection box; A baffle, the baffle being fixedly connected to the top of the collection box and being arranged at an angle; A sealing plate is arranged on the outside of the collecting box.

[0007] Preferably, the rotating assembly includes two rotating shafts rotatably arranged in the middle of the collection box, a limiting circular block fixedly connected between the two rotating shafts, and a motor fixedly connected to one end of one of the rotating shafts extending to the outside of the collection box.

[0008] Preferably, the elastic telescopic component includes: A bracket, the bracket being fixedly connected to one side of the rotating shaft, one end of the bracket being fixedly connected to a fixed sleeve, an interior of the fixed sleeve being plugged with a movable rod, and one end of the movable rod being fixedly connected to the cleaning assembly; A fixed frame, the fixed frame being fixedly connected to the middle portion of the movable rod; A push spring, wherein the push spring is sleeved on the outer surface of the movable rod; The pressure sleeve is inserted between the movable rods, and the end of the pressure sleeve is fixedly connected with a pressure block.

[0009] Preferably, the extrusion assembly comprises: A rotating circular tube, wherein the rotating circular tube is rotatably arranged outside the rotating shaft; A movable circular tube, wherein the movable circular tube is threadedly connected to the outer surface of the rotating circular tube; A through slot is provided in the middle of the rotating shaft, wherein a limit block is slidably connected to the interior of the through slot, and the limit block is fixedly connected to the interior of one end of the movable circular tube; A connecting block is fixedly connected to the end of the movable circular tube, one end of the connecting block is fixedly connected to an extrusion block, one side of the extrusion block is stepped, a plurality of positioning grooves are provided on the outer surface of the extrusion block, and the cross-sectional profile inside the positioning groove and the cross-sectional profile outside the pressure block are both set to be triangular.

[0010] Preferably, the limiting component includes: A slide groove is provided on one side of the fixed sleeve, a slide rod is slidably connected to the interior of the slide groove, one end of the slide rod is fixedly connected to one side of the fixed frame, and the other end of the slide rod is fixedly connected to a fixed round block; A limiting ring is fixedly connected to the inner wall surface of the middle part of the collecting box. A notch is provided on the top of the limiting ring, and the width inside the notch is larger than the outer diameter of the fixed round block.

[0011] Preferably, the cleaning assembly includes a horizontal plate fixedly connected to the end of the elastic telescopic assembly, a cleaning brush fixedly connected to one side of the horizontal plate, and a semicircular block fixedly connected to both sides of the cleaning brush, with the arc-shaped side of the semicircular block facing upward.

[0012] Preferably, the first cleaning component comprises: A long plate, the long plate being fixedly connected to one side of the inner wall of the collection box; A long needle, wherein the long needle is fixedly connected to one side of the long board; The second cleaning component includes: An arc-shaped block, the arc-shaped block being fixedly connected to the inner wall surface of the bottom of the collection box; An inclined protrusion, the inclined protrusion is fixedly connected to the top of the arc-shaped block, and one side of the inclined protrusion is fixedly connected to a lateral protrusion; The third cleaning component includes: A fixed shaft, the fixed shaft being fixedly connected to the other side of the inner wall of the collecting box, the outer surface of the fixed shaft being sleeved with an outer sleeve, the bottom of the outer sleeve being fixedly connected to a positioning block; A push rod is fixedly connected to one side of the bottom of the outer sleeve, one side of the top of the outer sleeve is fixedly connected to a fixing rod, and one end of the fixing rod is fixedly connected to a knocking block.

[0013] Preferably, a sealing strip is fixedly connected to the top of the collection box, and the connecting assembly includes: An outer frame, the outer frame being fixedly connected to the outer surface of the bottom of the collection box, an inner groove being formed in the middle of the outer frame, and a fixing column being fixedly connected to the interior of the inner groove; A return spring, the return spring being sleeved on the outer surface of the fixing column; A slide, the slide being sleeved on one end of the fixed column, and one end of the slide being fixedly connected to a folding block; A triangular block is fixedly connected to the side of the collection box.

[0014] In a second aspect, the present invention provides a method for an online visual inspection device for traditional Chinese medicine, which implements the above-mentioned online visual inspection device for traditional Chinese medicine, and the specific steps of the method are as follows: Step 1: Real-time collection of surface feature data of Chinese medicine, including moldy area features, broken area features, and external dimensions, and establishment of a historical database; Step 2: Filter the surface feature data of traditional Chinese medicine to remove abnormal data and interference data; Step 3: Process and analyze the surface feature data of the traditional Chinese medicine, set regional values ​​for different external dimensions of the traditional Chinese medicine, set different external dimension levels according to the external dimensions of the traditional Chinese medicine from small to large, and analyze the fracture and mildew conditions of various parts of the traditional Chinese medicine within different external dimension region values, thereby forming analysis priorities for fracture regions and mildew regions at different external dimension levels, and further forming a first priority for fracture region analysis, a second priority for fracture region analysis, a third priority for fracture region analysis, and a fourth priority for fracture region analysis, as well as a first priority for mildew region analysis, a second priority for mildew region analysis, a third priority for mildew region analysis, and a fourth priority for mildew region analysis; Step 4: For the Chinese medicine collected for testing, first extract the external dimension features to determine the external dimension level of the Chinese medicine. Then, based on the external dimension level, prioritize the first priority of the fracture area analysis and the first priority of the moldy area analysis to determine whether the Chinese medicine is qualified. If it is unqualified, there is no need to continue the analysis. If it is qualified, continue to follow the subsequent fracture area analysis priority and moldy area analysis priority.

[0015] Technical effects and advantages of the present invention: By rotating the circular tube, the movable circular tube moves, thereby driving the connecting block and its extruding block to move, and the extruding block will squeeze the pressure block, thereby driving the pressure block and the pressure sleeve to move upward, thereby squeezing the push-up spring, and the push-up spring will further squeeze the fixed frame, thereby increasing the pressure of the movable rod on the cleaning assembly until the pressure block is engaged with the corresponding positioning groove, thereby stably increasing the cleaning force of the cleaning assembly. Later, the circular tube can be rotated in the opposite direction to move the extruding block back, thereby reducing the cleaning force of the cleaning assembly. This design is convenient for adjusting the cleaning force of the cleaning assembly according to actual conditions. The cleaning assembly is driven to rotate by the rotating assembly, and the impurities caught in the cleaning brush are removed when the cleaning brush passes the long needle. When the semicircular block contacts and passes over the lateral protrusion or the inclined protrusion, the cleaning assembly is vibrated, thereby removing the impurities on the cleaning assembly. When the cleaning semicircular block contacts the ejector rod, the knocking block is driven to tilt up. When the semicircular block passes over the ejector rod, the outer sleeve is reset and the knocking block falls, thereby knocking and vibrating the cleaning assembly, thereby removing the impurities on the cleaning brush. This design can facilitate the removal of impurities on the cleaning assembly, avoids the trouble of frequent manual cleaning, and has a certain self-cleaning ability. By moving the collection box downward, the triangular block squeezes the folding block, thereby driving the slide to move along the fixed column, and then squeezing the return spring until the triangular block is separated from the folding block. At this time, the collection box is disassembled, which is convenient for cleaning. During the later installation, the collection box is inserted into the collection box so that the triangular block and the folding block are snapped into place. This design facilitates the disassembly of the collection box and thus the cleaning of the collection box. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] Figure 1 It is a schematic diagram of the three-dimensional structure of the present invention; Figure 2 This is a schematic diagram of the cleaning mechanism structure of the present invention; Figure 3 For the present invention Figure 2 A schematic diagram of the partially enlarged structure at center A; Figure 4 This is a schematic diagram of the internal structure of the collection box of the present invention; Figure 5 For the present invention Figure 4 A schematic diagram of the partially enlarged structure at point B in the middle; Figure 6 For the present invention Figure 5 A schematic diagram of the partially enlarged structure at point C in the middle; Figure 7 Schematic diagram of the limiting ring structure of the present invention; Figure 8 It is a schematic structural diagram of the knocking block of the present invention.

[0017] In the figure: 1. Visual inspection device body; 2. Conveyor belt; 3. Display screen; 4. Collection box; 5. Rotating assembly; 501. Motor; 502. Rotating shaft; 503. Limiting circular block; 6. Extrusion assembly; 601. Rotating tube; 602. Moving tube; 603. Through slot; 604. Limiting block; 605. Connecting block; 606. Extrusion block; 607. Positioning slot; 7. Elastic telescopic assembly; 701. Bracket; 702. Fixed sleeve; 703. Movable rod; 704. Fixed frame; 705. Push spring; 706. Pressure sleeve; 707. Pressure block; 8. Limiting assembly; 801. Slide slot; 802. Slide rod; 803. Fixed circular block; 804. Limiting ring; 805. Notch; 9. Cleaning assembly; 901. Horizontal plate; 902, cleaning brush; 903, semicircular block; 10, first cleaning component; 1001, long plate; 1002, long needle; 11, second cleaning component; 1101, arc block; 1102, inclined protrusion; 1103, lateral protrusion; 12, third cleaning component; 1201, fixed shaft; 1202, outer sleeve; 1203, positioning block; 1204, ejector rod; 1205, fixed rod; 1206, knocking block; 13, collecting box; 14, connecting component; 1401, outer frame; 1402, inner groove; 1403, fixed column; 1404, triangular block; 1405, reset spring; 1406, slide; 1407, folding block; 15, sealing strip; 16, baffle; 17, installation component; 18, sealing plate. DETAILED DESCRIPTION

[0018] The following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of the present invention.

[0019] The present invention provides Figure 1-8 An online visual inspection device for traditional Chinese medicine is shown.

[0020] Example 1: It includes a base, and a visual detection mechanism is provided on the side of the base. The visual detection mechanism includes a conveyor belt 2, which is fixedly connected to the top of the base, and the conveyor belt 2 is used to convey Chinese medicine. The visual detection device body 1 is provided on one side of the conveyor belt 2, and a visual camera is installed at the bottom of the visual detection device body 1. An LED light is provided on one side of the visual camera, and the visual camera is used to photograph Chinese medicine. A display screen 3 is fixedly installed on one side of the visual detection device body 1. A cleaning mechanism is provided at the bottom of the conveyor belt 2, and the cleaning mechanism is used to clean the conveyor belt 2; Chinese medicine is transported by the conveyor belt 2. When the Chinese medicine is located below the visual detection device body 1, it will be photographed by the visual camera and transferred to the visual detection device body 1, so as to be inspected according to the appearance of the Chinese medicine, wherein the LED light is used to provide more light. When the conveyor belt 2 moves to the cleaning mechanism, the conveyor belt 2 will be cleaned by the cleaning mechanism. How the visual detection device body 1, the visual camera and the display screen 3 cooperate to perform visual inspection can be obtained from the existing technology and will not be repeated here.

[0021] Furthermore, the cleaning mechanism includes a collection box 4, which is located at the bottom of one end of the conveyor belt 2, and a mounting assembly 17 is provided between the collection box 4 and the conveyor belt 2, a cleaning assembly 9 is located inside the collection box 4, and the cleaning assembly 9 is used to clean the conveyor belt 2, a rotating assembly 5 is provided on one side of the cleaning assembly 9, and the rotating assembly 5 is used to drive the cleaning assembly 9 to rotate, an elastic telescopic assembly 7 is fixedly connected to the side of the cleaning assembly 9, an extrusion assembly 6 is provided between the elastic telescopic assembly 7 and the rotating assembly 5, and the extrusion assembly 6 is used to extrude the elastic telescopic assembly 7, a limiting assembly 8 is provided between the elastic telescopic assembly 7 and the collection box 4, a first cleaning assembly 10 is fixedly connected to one side of the inside of the collection box 4, and a second cleaning assembly 11 is fixedly connected to the bottom of the collection box 4, the third cleaning component 12 is fixedly connected to the other side of the collection box 4, the collection box 13 is plugged into the bottom end of the collection box 4, and a connecting component 14 is provided between the collection box 13 and the collection box 4. The baffle 16 is fixedly connected to the top of the collection box 4, and the baffle 16 is inclined, and the sealing plate 18 is provided on the outside of the collection box 4; the baffle 16 is used to guide the impurities on the conveyor belt 2 to fall into the collection box 4 along the baffle 16, and the baffle 16 can also block the dust in the collection box 4. When the conveyor belt 2 is continuously transported and moved, it will be swept and cleaned by the cleaning component 9, thereby cleaning the adhered impurities and then collecting them using the collection box 13.

[0022] Furthermore, the rotating assembly 5 includes two rotating shafts 502 rotatably arranged in the middle of the collection box 4, a limiting circle 503 fixedly connected between the two rotating shafts 502, and a motor 501 fixedly connected to one end of the rotating shafts 502 extending to the outside of the collection box 4; the rotating shaft 502 is driven to rotate by the motor 501, thereby driving the cleaning assembly 9 to rotate.

[0023] Furthermore, the elastic telescopic component 7 includes a bracket 701, which is fixedly connected to one side of the rotating shaft 502, one end of the bracket 701 is fixedly connected to a fixed sleeve 702, a movable rod 703 is inserted into the interior of the fixed sleeve 702, and one end of the movable rod 703 is fixedly connected to the cleaning component 9, a fixed frame 704 is fixedly connected to the middle of the movable rod 703, a push spring 705 is sleeved on the outer surface of the movable rod 703, and a pressure sleeve 706 is inserted between the movable rod 703 and the movable rod 703. The end of the sleeve 706 is fixedly connected to the pressure block 707, the extrusion assembly 6 includes a rotating tube 601, the rotating tube 601 is rotatably arranged on the outside of the rotating shaft 502, the mobile tube 602 is threadedly connected to the outer surface of the rotating tube 601, the through groove 603 is opened in the middle of the rotating shaft 502, the internal sliding connection of the through groove 603 is limited to the block 604, and the block 604 is fixedly connected to the inside of one end of the mobile tube 602, the connecting block 605 is fixedly connected to the end of the mobile tube 602, and one end of the connecting block 605 is fixedly connected to the end of the mobile tube 602. The extrusion block 606 is fixedly connected, and one side of the extrusion block 606 is stepped. The outer surface of the extrusion block 606 is provided with a plurality of positioning grooves 607, and the cross-sectional profile inside the positioning groove 607 and the cross-sectional profile outside the pressure block 707 are both set to be triangular. By rotating the rotating tube 601, due to the limitation of the limit block 604 and the through groove 603, the limit block 604 will not rotate, and the rotating rotating tube 601 drives the moving tube 602 to move, thereby driving the connecting block 605 and its extrusion block 606 to move. The extrusion block 606 will squeeze the pressure block 707, thereby driving the pressure block 707 and the pressure sleeve 706 to move upward, thereby squeezing the push spring 705, and the push spring 705 will further squeeze the fixed frame 704, thereby increasing the pressure of the movable rod 703 on the cleaning component 9 until the pressure block 707 is engaged with the corresponding positioning groove 607, thereby stably increasing the cleaning force of the cleaning component 9. Later, the rotating tube 601 can be rotated in the opposite direction to move the extrusion block 606 back, thereby reducing the cleaning force of the cleaning component 9.

[0024] The cam 802 is fixed to the upper end of the frame 704 so that the cam 802 can be rotated to move the cam 803 upwards. 4, so that when the cleaning assembly 9 rotates again in the later stage, the fixed round block 803 is squeezed and moved.

[0025] Example 2: Example 2 further discloses on the basis of Example 1 that the first cleaning assembly 10 includes a long plate 1001, the long plate 1001 is fixedly connected to one side of the inner wall of the collection box 4, and the long needle 1002 is fixedly connected to one side of the long plate 1001; The second cleaning assembly 11 includes an arc-shaped block 1101, which is fixedly connected to the inner wall surface of the bottom of the collection box 4. An inclined protrusion 1102 is fixedly connected to the top of the arc-shaped block 1101, and a lateral protrusion 1103 is fixedly connected to one side of the inclined protrusion 1102. The third cleaning component 12 includes a fixed shaft 1201, which is fixedly connected to the other side of the inner wall of the collection box 4. The outer surface of the fixed shaft 1201 is provided with an outer sleeve 1202. The bottom of the outer sleeve 1202 is fixedly connected to a positioning block 1203. The top rod 1204 is fixedly connected to one side of the bottom of the outer sleeve 1202. The side of the top of the outer sleeve 1202 is fixedly connected to a fixed rod 1205. One end of the fixed rod 1205 is fixedly connected to a knocking block 1206.

[0026] The cleaning component 9 is driven to rotate by the rotating component 5. When the cleaning brush 902 passes through the long needle 1002, the long needle 1002 is composed of needle bodies distributed at intervals in the longitudinal and transverse directions, which is convenient for removing impurities clamped in the cleaning brush 902. When the semicircular block 903 contacts the lateral protrusion 1103, the semicircular block 903 drives the cleaning component 9 to move backward, thereby squeezing the push spring 705. After passing the lateral protrusion 1103, the push spring 705 drives the cleaning component 9 to reset, causing the cleaning component 9 to vibrate, thereby removing impurities in the cleaning brush 902 by vibration. When the semicircular block 903 contacts the inclined protrusion 1102, the semicircular block 903 will also drive the cleaning component 9 to move backward, thereby compressing the push spring 705. After passing over the inclined protrusion 1102, the cleaning component 9 is quickly reset, thereby generating a larger vibration, thereby removing the impurities on the cleaning component 9 by vibration. When the cleaning semicircular block 903 contacts the top rod 1204, it will drive the top rod 1204 and its outer sleeve 1202 to rotate, thereby driving the knocking block 1206 to tilt up. When the semicircular block 903 passes over the top rod 1204, the outer sleeve 1202 is reset, and the knocking block 1206 falls, thereby knocking and vibrating the cleaning component 9, and then removing the impurities on the cleaning brush 902 until the positioning block 1203 is against the inner wall of the collection box 4. This design can facilitate the removal of impurities on the cleaning component 9 and avoid the trouble of frequent manual cleaning.

[0027] Furthermore, a sealing strip 15 is fixedly connected to the top of the collection box 13, and the connecting assembly 14 includes an outer frame 1401, which is fixedly connected to the outer surface of the bottom of the collection box 4. An inner groove 1402 is opened in the middle of the outer frame 1401, and a fixed column 1403 is fixedly connected to the interior of the inner groove 1402. A return spring 1405 is sleeved on the outer surface of the fixed column 1403, a slide 1406 is sleeved on one end of the fixed column 1403, and a folding block 1407 is fixedly connected to one end of the slide 1406. The triangular block 1404 is fixedly connected to the side of the collection box 13 ; The impurities in the collection box 4 will eventually be collected by the collection box 13. When the impurities in the collection box 13 need to be cleaned, the collection box 13 is moved down so that the triangular block 1404 squeezes the folding block 1407, thereby driving the slide 1406 to move along the fixed column 1403, and then squeezing the return spring 1405 until the triangular block 1404 is separated from the folding block 1407. At this time, the disassembly of the collection box 13 is completed, which is convenient for cleaning. During the later installation, the collection box 13 is inserted into the collection box 4 so that the triangular block 1404 is engaged with the folding block 1407.

[0028] Example 3: Example 3 is further disclosed on the basis of Example 2. The mounting assembly 17 is composed of a mounting threaded rod and a mounting nut, which facilitates the installation of the collection box 4 on the conveyor belt 2. The sealing plate 18 is also connected to the collection box 4 by connecting the threaded rod and the connecting nut. After removing the sealing plate 18, you can put your hand into the collection box 4 to rotate the rotating tube 601.

[0029] At the same time, a plurality of corresponding extrusion components 6, elastic telescopic components 7, cleaning components 9 and partial limiting components 8 connected to the elastic telescopic components 7 can be set at the end of the movable circular tube 602, so as to facilitate the recycling of the cleaning components 9.

[0030] A method for an online visual inspection device for traditional Chinese medicine, which implements the above-mentioned online visual inspection device for traditional Chinese medicine, and the specific steps of the method are as follows: Step 1: Real-time collection of surface feature data of Chinese medicine, including moldy area features, broken area features, and external dimensions, and establishment of a historical database; Step 2: Filter the surface feature data of traditional Chinese medicine to remove abnormal data and interference data; Step 3: Process and analyze the surface feature data of the traditional Chinese medicine, set regional values ​​for different external dimensions of the traditional Chinese medicine, set different external dimension levels according to the external dimensions of the traditional Chinese medicine from small to large, and analyze the fracture and mildew conditions of various parts of the traditional Chinese medicine within different external dimension region values, thereby forming analysis priorities for fracture regions and mildew regions at different external dimension levels, and further forming a first priority for fracture region analysis, a second priority for fracture region analysis, a third priority for fracture region analysis, and a fourth priority for fracture region analysis, as well as a first priority for mildew region analysis, a second priority for mildew region analysis, a third priority for mildew region analysis, and a fourth priority for mildew region analysis; Step 4: For the Chinese medicine collected for testing, first extract the external dimension features to determine the external dimension level of the Chinese medicine. Then, based on the external dimension level, prioritize the first priority of the fracture area analysis and the first priority of the moldy area analysis to determine whether the Chinese medicine is qualified. If it is unqualified, there is no need to continue the analysis. If it is qualified, continue to follow the subsequent fracture area analysis priority and moldy area analysis priority.

[0031] Finally, it should be noted that the above are only preferred embodiments of the present invention and are not intended to limit the present invention. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art can still modify the technical solutions described in the aforementioned embodiments or make equivalent replacements for some of the technical features therein. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present invention should be included in the scope of protection of the present invention.

Claims

1. An online visual inspection device for traditional Chinese medicine, comprising a base, characterized in that: A visual detection mechanism is provided on the side of the base, and the visual detection mechanism includes: A conveyor belt (2), wherein the conveyor belt (2) is fixedly connected to the top of the base, and the conveyor belt (2) is used to convey traditional Chinese medicine; A visual inspection device body (1), the visual inspection device body (1) is arranged on one side of the conveyor belt (2), a visual camera is installed at the bottom of the visual inspection device body (1), an LED light is provided on one side of the visual camera, and the visual camera is used to photograph Chinese medicine, and a display screen (3) is fixedly installed on one side of the visual inspection device body (1); A cleaning mechanism is provided at the bottom of the conveyor belt (2), and is used to clean the conveyor belt (2).

2. The online visual inspection device for traditional Chinese medicine according to claim 1, characterized in that: The cleaning mechanism comprises: A collection box (4), the collection box (4) being located at the bottom of one end of the conveyor belt (2), and a mounting assembly (17) being provided between the collection box (4) and the conveyor belt (2); A cleaning assembly (9), the cleaning assembly (9) being located inside the collecting box (4), and the cleaning assembly (9) being used to clean the conveyor belt (2); A rotating assembly (5), the rotating assembly (5) being arranged on one side of the cleaning assembly (9), and the rotating assembly (5) being used to drive the cleaning assembly (9) to rotate; An elastic telescopic component (7), the elastic telescopic component (7) being fixedly connected to a side of the cleaning component (9), an extrusion component (6) being provided between the elastic telescopic component (7) and the rotating component (5), and the extrusion component (6) being used to extrude the elastic telescopic component (7); A limiting component (8), the limiting component (8) being arranged between the elastic telescopic component (7) and the collection box (4); A first cleaning assembly (10), the first cleaning assembly (10) being fixedly connected to one side of the interior of the collection box (4); A second cleaning assembly (11), the second cleaning assembly (11) being fixedly connected to the bottom of the collection box (4); a third cleaning assembly (12), the third cleaning assembly (12) being fixedly connected to the other side of the interior of the collection box (4); A collection box (13), the collection box (13) is plugged into the bottom end of the collection box (4), and a connecting assembly (14) is provided between the collection box (13) and the collection box (4); a baffle (16), wherein the baffle (16) is fixedly connected to the top of the collection box (4), and the baffle (16) is arranged in an inclined manner; A sealing plate (18) is provided on the outside of the collecting box (4).

3. The online visual inspection device for traditional Chinese medicine according to claim 2, characterized in that: The rotating assembly (5) comprises two rotating shafts (502) rotatably arranged in the middle of the collection box (4), a limiting circular block (503) fixedly connected between the two rotating shafts (502), and a motor (501) fixedly connected to one end of one of the rotating shafts (502) extending to the outside of the collection box (4).

4. The online visual inspection device for traditional Chinese medicine according to claim 3, characterized in that: The elastic telescopic component (7) comprises: A bracket (701), the bracket (701) is fixedly connected to one side of the rotating shaft (502), one end of the bracket (701) is fixedly connected to a fixed sleeve (702), a movable rod (703) is inserted into the interior of the fixed sleeve (702), and one end of the movable rod (703) is fixedly connected to the cleaning assembly (9); A fixed frame (704), the fixed frame (704) being fixedly connected to the middle portion of the movable rod (703); A push spring (705), wherein the push spring (705) is sleeved on the outer surface of the movable rod (703); A pressure sleeve (706) is inserted between the movable rod (703) and the movable rod (703), and the end of the pressure sleeve (706) is fixedly connected to a pressure block (707).

5. The online visual inspection device for traditional Chinese medicine according to claim 4, characterized in that: The extrusion assembly (6) comprises: A rotating circular tube (601), wherein the rotating circular tube (601) is rotatably disposed outside the rotating shaft (502); A movable circular tube (602), wherein the movable circular tube (602) is threadedly connected to the outer surface of the rotating circular tube (601); A through groove (603), wherein the through groove (603) is provided in the middle of the rotating shaft (502), the interior of the through groove (603) is slidably connected to a limit block (604), and the limit block (604) is fixedly connected to the interior of one end of the movable circular tube (602); A connecting block (605) is fixedly connected to the end of the movable circular tube (602), and one end of the connecting block (605) is fixedly connected to an extrusion block (606), one side of the extrusion block (606) is stepped, and a plurality of positioning grooves (607) are provided on the outer surface of the extrusion block (606), and the cross-sectional profile inside the positioning groove (607) and the cross-sectional profile outside the pressure block (707) are both set to be triangular.

6. The online visual inspection device for traditional Chinese medicine according to claim 5, characterized in that: The limiting component (8) includes: A slide groove (801), wherein the slide groove (801) is provided on one side of the fixed sleeve (702), a slide rod (802) is slidably connected to the interior of the slide groove (801), and one end of the slide rod (802) is fixedly connected to one side of the fixed frame (704), and the other end of the slide rod (802) is fixedly connected to a fixed round block (803); A limiting ring (804) is fixedly connected to the inner wall surface of the middle portion of the collecting box (4); a notch (805) is provided on the top of the limiting ring (804); and the width of the inside of the notch (805) is greater than the outer diameter of the fixed round block (803).

7. The online visual inspection device for traditional Chinese medicine according to claim 2, characterized in that: The cleaning assembly (9) comprises a horizontal plate (901) fixedly connected to the end of the elastic telescopic assembly (7), a cleaning brush (902) fixedly connected to one side of the horizontal plate (901), and semicircular blocks (903) fixedly connected to both sides of the cleaning brush (902), with the arc-shaped side of the semicircular blocks (903) facing upwards.

8. The online visual inspection device for traditional Chinese medicine according to claim 7, characterized in that: The first cleaning component (10) comprises: A long plate (1001), wherein the long plate (1001) is fixedly connected to one side of the inner wall surface of the collection box (4); A long needle (1002), wherein the long needle (1002) is fixedly connected to one side of the long plate (1001); The second cleaning component (11) comprises: An arc-shaped block (1101), the arc-shaped block (1101) is fixedly connected to the inner wall surface of the bottom of the collection box (4); An inclined protrusion (1102), the inclined protrusion (1102) being fixedly connected to the top of the arc-shaped block (1101), and a lateral protrusion (1103) being fixedly connected to one side of the inclined protrusion (1102); The third cleaning component (12) comprises: A fixed shaft (1201), the fixed shaft (1201) is fixedly connected to the other side of the inner wall of the collection box (4), an outer sleeve (1202) is sleeved on the outer surface of the fixed shaft (1201), and a positioning block (1203) is fixedly connected to the bottom of the outer sleeve (1202); A top rod (1204) is fixedly connected to one side of the bottom of the outer sleeve (1202); a fixing rod (1205) is fixedly connected to one side of the top of the outer sleeve (1202); and a knocking block (1206) is fixedly connected to one end of the fixing rod (1205).

9. The online visual inspection device for traditional Chinese medicine according to claim 7, characterized in that: A sealing strip (15) is fixedly connected to the top of the collection box (13), and the connecting assembly (14) includes: An outer frame (1401), the outer frame (1401) is fixedly connected to the outer surface of the bottom of the collection box (4), an inner groove (1402) is provided in the middle of the outer frame (1401), and a fixing column (1403) is fixedly connected to the interior of the inner groove (1402); A return spring (1405), wherein the return spring (1405) is sleeved on the outer surface of the fixed column (1403); A slide (1406), wherein the slide (1406) is sleeved on one end of the fixed column (1403), and one end of the slide (1406) is fixedly connected to a folding block (1407); A triangular block (1404), wherein the triangular block (1404) is fixedly connected to a side of the collection box (13).

10. A method for an online visual inspection device for traditional Chinese medicine, which implements the online visual inspection device for traditional Chinese medicine according to any one of claims 1 to 9, characterized in that: The specific steps of the method are as follows: Step 1: Real-time collection of surface feature data of Chinese medicine, including moldy area features, broken area features, and external dimensions, and establishment of a historical database; Step 2: Filter the surface feature data of traditional Chinese medicine to remove abnormal data and interference data; Step 3: Process and analyze the surface feature data of the traditional Chinese medicine, set regional values ​​for different external dimensions of the traditional Chinese medicine, set different external dimension levels according to the external dimensions of the traditional Chinese medicine from small to large, and analyze the fracture and mildew conditions of various parts of the traditional Chinese medicine within different external dimension region values, thereby forming analysis priorities for fracture regions and mildew regions at different external dimension levels, and further forming a first priority for fracture region analysis, a second priority for fracture region analysis, a third priority for fracture region analysis, and a fourth priority for fracture region analysis, as well as a first priority for mildew region analysis, a second priority for mildew region analysis, a third priority for mildew region analysis, and a fourth priority for mildew region analysis; Step 4: For the Chinese medicine collected for testing, first extract the external dimension features to determine the external dimension level of the Chinese medicine. Then, based on the external dimension level, prioritize the first priority of the fracture area analysis and the first priority of the moldy area analysis to determine whether the Chinese medicine is qualified. If it is unqualified, there is no need to continue the analysis. If it is qualified, continue to follow the subsequent fracture area analysis priority and moldy area analysis priority.