Traditional Chinese medicine quality automatic detection method
By calibrating and aligning the Chinese herbal medicine slices with the visual sensor and transporting them separately, the problem of alignment misalignment during the detection of Chinese herbal medicine slices was solved, achieving efficient and accurate automatic detection and improving detection efficiency and data accuracy.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-11-12
- Publication Date
- 2026-03-31
AI Technical Summary
During the detection of Chinese herbal medicine slices, there may be a misalignment between the slices and the sensor, resulting in inaccurate data reading and affecting the accuracy of the detection.
A positioning component is used to calibrate and align the Chinese medicine tablets and the vision sensor. The vision sensor detects surface defects of the tablets, and a sieving component is used for separate conveying. Combined with a dust extraction device and a limiting plate, the tablets are ensured to be parallel to the sensor and dust is removed.
It improves the efficiency and accuracy of traditional Chinese medicine tablet testing, reduces testing errors, ensures the integrity of testing information and signal uniformity, and realizes automated traditional Chinese medicine quality testing.
Smart Images

Figure CN121762852A_ABST
Abstract
Description
Technical Field
[0001] This invention belongs to the field of traditional Chinese medicine quality testing technology, specifically an automatic method for testing the quality of traditional Chinese medicine. Background Technology
[0002] Traditional Chinese medicine (TCM) refers to drugs derived from nature, such as plants, animals, and minerals, and processed according to TCM theory. These drugs are used to prevent, treat, diagnose diseases, and regulate bodily functions. TCM is a core component of the TCM system and is characterized by syndrome differentiation and treatment, properties and meridian tropism, enhanced efficacy through processing, and compound formulation.
[0003] Traditional Chinese medicine (TCM) quality testing refers to the process of comprehensively evaluating the authenticity, quality, safety, and compliance of TCM (such as raw medicinal materials, processed medicinal pieces, and prepared Chinese medicines) based on standards such as the Chinese Pharmacopoeia, using traditional experience and modern scientific technology, from dimensions such as appearance, composition, safety, and process suitability. The core is to ensure safe and effective use of medicines and stable and controllable quality.
[0004] Currently, in the existing technology, when inspecting the surface of Chinese herbal medicine slices for quality, visual sensors are typically used to detect the presence of mold, insect damage, cracks, and chipped edges. However, misalignment between the herbal medicine slices and the sensor can occur during placement, leading to inaccurate data readings and affecting the accuracy of the surface inspection.
[0005] Therefore, the present invention provides an automatic method for detecting the quality of traditional Chinese medicine. Summary of the Invention
[0006] In order to overcome the shortcomings of the prior art, at least one technical problem raised in the background art is solved.
[0007] The technical solution adopted by this invention to solve its technical problem is: an automatic detection method for the quality of traditional Chinese medicine, which includes the following steps: S1: When using, put the Chinese medicine tablets to be tested into the feeding device, and the feeding device will transport the Chinese medicine tablets into the testing box for testing in sequence; S2: When the tablet enters the detection box, the positioning component inside the detection box calibrates and aligns the Chinese medicine tablet and the vision sensor. S3: When the calibration is completed, the vision sensor automatically detects the surface of the Chinese medicine tablets to check for traces such as mold spots and insect infestation, as well as defects such as cracks and chipping, thereby realizing the automatic detection of the surface quality of the Chinese medicine tablets. S4: After the test is completed, the sieving component will transport the Chinese medicine tablets in separate channels for automatic sieving; S5: The Chinese medicine tablets will fall onto the corresponding conveyor belts according to the sieving path of the sieving components. The tablets will be transported by the conveyor belts to the next testing stage for the remaining quality testing operations.
[0008] Preferably, in the automatic detection method for the quality of traditional Chinese medicine, the detection box in S1 includes a base plate, a frame plate is mounted on the top of the base plate, two conveyor belts are symmetrically fixedly installed at the top center of the base plate, both conveyor belts are placed below the frame plate, there are multiple detection boxes, the internal structure of multiple detection boxes is the same, a diversion box is fixedly installed on the outside of multiple detection boxes, the diversion box is fixedly installed on the top of the frame plate, a feeding device is fixedly installed on one side of the top of the frame plate, one end of each of the multiple detection boxes is placed inside the feeding device, and each of the multiple detection boxes is provided with a positioning component and a sieving component.
[0009] Preferably, positioning plates are symmetrically fixedly installed on the inner wall of the testing box, and a slide is formed between the two positioning plates. Two limit blocks are symmetrically slidably connected to the top of the lower positioning plate. Connecting rods are fixedly installed between each pair of the four limit blocks. Telescopic rods are symmetrically fixedly installed on the inner wall of the testing box, and the output ends of the two telescopic rods are fixedly connected to the outer walls of the two limit blocks respectively.
[0010] Preferably, the positioning component includes two shift frames. Each of the two shift frames has a toothed rod fixedly installed at both ends. Limit motors are symmetrically fixedly installed on the inner wall of the distribution box. Gear shafts are fixedly installed at the output ends of both limit motors. The teeth on the two gear shafts mesh with the teeth on the four toothed rods in pairs. Side plate one and side plate two are fixedly installed on the outer walls of the two shift frames, respectively. Side plate one and side plate two are staggered. The outer walls of side plate one and side plate two are slidably connected to the inner walls of the two positioning plates. The outer walls of side plate one and side plate two can contact the outer wall of the Chinese medicine tablet.
[0011] Preferably, detection boxes are symmetrically fixedly installed on the inner wall of the detection box, and the two detection boxes are in a through state. There are multiple vision sensors, which are fixedly installed in the two detection boxes in a ring array. A shaft box is provided on one side of each of the two detection boxes, and a push rod is slidably installed inside each of the two shaft boxes. One end of each push rod can contact the outer walls on both sides of the tablet.
[0012] Preferably, a light-transmitting partition is fixedly installed on the outer wall of each of the two detection boxes, and multiple vision sensors are placed inside the light-transmitting partition. Two shaft boxes are fixedly installed in the middle of the inner wall of the two detection boxes, and an external gear ring is rotatably connected inside each of the two shaft boxes. A brush rod holder is fixedly installed on the outer wall of each of the two external gear rings. The outer walls of the two brush rod holders slide against the outer walls of the two light-transmitting partitions. The positions of the two brush rod holders and the multiple vision sensors are staggered. A dust extraction device is fixedly installed on the top of the diversion box, and a suction pipe is fixedly installed on the outer wall of the dust extraction device. Two suction pipes are placed above the two detection boxes.
[0013] Preferably, a push-position motor is fixedly installed inside the detection box, and a shaft is fixedly installed at the output end of the push-position motor. The top end of the shaft is placed inside the shaft box and is rotatably connected to the inner wall of the shaft box. A screw is fixedly installed at the top end of the shaft, and a cylindrical shaft is threadedly connected to the outer wall of the screw. The outer wall of the cylindrical shaft can be slidably connected to the inner wall of the shaft box. One end of the push rod is slidably connected to the top inner wall of the shaft box. A return spring is provided between the outer wall of the push rod and the inner wall of the shaft box. One end of the cylindrical shaft can be in close contact with one end of the push rod.
[0014] Preferably, an internal gear ring is fixedly installed on the outer wall of the shaft, and multiple gears are rotatably connected to the inner wall of the shaft box. The teeth on both the internal and external gear rings can mesh with the teeth on the multiple gears.
[0015] Preferably, a telescopic cylinder is fixedly installed on the top of each of the two connecting rods, and a limit plate is fixedly installed on the output end of each of the two telescopic cylinders. The outer walls of the two limit plates are slidably connected to the inner walls of the positioning plates, and one side of each of the two positioning plates can be slidably connected to the outer walls of the two limit blocks.
[0016] Preferably, the screening assembly includes a rotary cylinder, which is fixedly installed on the outer wall of the positioning plate. A rotating rod is fixedly installed at the output end of the rotary cylinder, and a placement plate is fixedly connected to the outer wall of the rotating rod. The outer wall of the placement plate is rotatably connected to the inner wall of the positioning plate. A limiting groove frame is fixedly installed below the positioning plate. The limiting groove frame is placed outside the placement plate and above one of the conveyor belts. The tail ends of the two positioning plates are placed above the other conveyor belt.
[0017] The beneficial effects of this invention are as follows: 1. The present invention provides an automatic quality detection method for traditional Chinese medicine (TCM) tablets. Two push rods push the TCM tablets from both sides, and side plates one and two further restrict their movement. The push rods allow the TCM tablets to be positioned horizontally and vertically, ensuring they are parallel to the vision sensor. This parallel placement provides a basis for efficient and uniform detection, enabling the vision sensor to simultaneously inspect both sides of the TCM tablet, avoiding the need to flip it during inspection and improving efficiency. Furthermore, it reduces detection errors caused by tilted placement, enhancing the accuracy of the detection data.
[0018] 2. The automatic detection method for the quality of traditional Chinese medicine as described in this invention involves first rotating an external toothed ring when it is necessary to detect traditional Chinese medicine tablets. The external toothed ring will then drive the brush rod frame to rotate. When the brush rod frame rotates, it will scrape the outer wall of the light-transmitting partition. At the same time, a dust extraction device will use a suction pipe to pull the outside of the brush rod frame. The dust placed on the light-transmitting partition will be absorbed and treated by the dust extraction device, preventing dust from falling on the vision sensor and affecting the visual detection of the vision sensor.
[0019] 3. The automatic detection method for the quality of traditional Chinese medicine described in this invention involves a telescopic cylinder driving a limiting plate to extend as the traditional Chinese medicine tablet rolls down between positioning plates, thus blocking the traditional Chinese medicine tablet from the detection box. On the one hand, the limiting plate, together with the limiting block, limits the downward movement of the traditional Chinese medicine tablet, preventing it from sliding out between the two detection boxes. On the other hand, when the alignment between the traditional Chinese medicine tablet and the two detection boxes is completed, the telescopic cylinder drives the limiting plate to move down and reset, ensuring that the detection box and the traditional Chinese medicine tablet are in a continuous state, facilitating subsequent detection by a visual sensor.
[0020] 4. The automatic detection method for the quality of traditional Chinese medicine described in this invention uses a drive limit motor to rotate a gear shaft. When the gear shaft rotates, two racks drive two shifting frames to perform a lifting and lowering operation. Side plate one rises to block one side of the traditional Chinese medicine tablet, while side plate two descends to push the other side of the traditional Chinese medicine tablet, pushing up the remaining traditional Chinese medicine tablets behind it. This prevents the traditional Chinese medicine tablet from being affected by the tablets behind it during detection. The traditional Chinese medicine tablet is then placed between side plate one and side plate two, which limit the movement of both sides of the tablet.
[0021] 5. The automatic quality detection method for traditional Chinese medicine described in this invention involves rotating and opening a placement plate via a rotating rod. The Chinese medicine tablets then fall onto one of the conveyor belts by gravity through a limiting slot. When the quality of the Chinese medicine tablets is confirmed to be acceptable, side plate two and side plate one open relative to each other. The remaining Chinese medicine tablets placed within the positioning plate are then unrestricted and slide against the Chinese medicine tablet at the end of the positioning plate, pushing it onto another conveyor belt, thus achieving the separate conveying operation of the Chinese medicine tablets. Attached Figure Description
[0022] The invention will now be further described with reference to the accompanying drawings.
[0023] Figure 1 This is an overall diagram of the invention; Figure 2 This is the front view of the present invention; Figure 3 This is a schematic diagram of the structure at the limiting block in this invention; Figure 4 This is a schematic diagram of the structure of the positioning plate in this invention; Figure 5 This is a schematic diagram of the structure of the detection box in this invention; Figure 6 This is a schematic diagram of the push rod structure in this invention; Figure 7 This is a schematic diagram of the structure of the limiting plate in this invention; Figure 8 This is a schematic diagram of the structure at the placement plate location in this invention; Figure 9 This is a schematic diagram of the brush holder structure in this invention; Figure 10 This is a schematic diagram of the structure at the shaft in this invention.
[0024] In the diagram: 1. Base plate; 2. Conveyor belt; 3. Frame plate; 4. Feeding device; 5. Diverter box; 6. Dust extraction device; 601. Suction pipe; 7. Detection box; 701. Positioning plate; 8. Telescopic rod; 801. Connecting rod; 802. Limiting block; 9. Limiting motor; 901. Gear shaft; 10. Telescopic cylinder; 1001. Limiting plate; 11. Detection box; 1101. Light-transmitting partition; 12. Side plate one; 1201. Shifting frame; 1202, Side plate II; 1203, Gear rack; 13, Rotary cylinder; 1301, Placement plate; 1302, Rotating rod; 14, Limiting slot frame; 15, Push rod; 1501, Return spring; 1502, Screw; 1503, Cylindrical shaft; 16, Brush rod frame; 1601, External gear ring; 17, Vision sensor; 18, Push motor; 1801, Internal gear ring; 1802, Shaft; 1803, Gear; 1804, Shaft box. Detailed Implementation
[0025] To make the technical means, creative features, objectives and effects of this invention easier to understand, the invention will be further described below in conjunction with specific embodiments.
[0026] An automated method for detecting the quality of traditional Chinese medicine includes the following steps: S1: When using, put the Chinese medicine tablets to be tested into the feeding device 4, and the Chinese medicine tablets will be conveyed into the testing box 7 in sequence through the feeding device 4 for testing; S2: When the medicine enters the detection box 7, the positioning component in the detection box 7 performs calibration and alignment between the Chinese medicine tablets and the vision sensor 17; S3: When the calibration between the two ends, the vision sensor 17 automatically detects the surface of the Chinese medicine tablets to detect whether there are traces such as mold spots and insect infestation, as well as defects such as cracks and chipping, thereby realizing the automatic detection of the surface quality of the Chinese medicine tablets. S4: When the test is completed, the sieving component automatically sieves the Chinese medicine tablets by conveying them in separate channels. S5: The Chinese medicine tablets will fall onto the corresponding conveyor belt 2 according to the sieving path of the sieving component, and be transported to the next testing stage for the remaining quality testing operations.
[0027] like Figures 1 to 10 As shown, in the automatic detection method for the quality of traditional Chinese medicine, the detection box 7 in S1 includes a base plate 1, a frame plate 3 is mounted on the top of the base plate 1, two conveyor belts 2 are symmetrically fixedly installed at the top middle position of the base plate 1, and both conveyor belts 2 are placed below the frame plate 3. There are multiple detection boxes 7, and the internal structure of multiple detection boxes 7 is the same. A diversion box 5 is fixedly installed on the outside of multiple detection boxes 7, and the diversion box 5 is fixedly installed on the top of the frame plate 3. A feeding device 4 is fixedly installed on one side of the top of the frame plate 3. One end of multiple detection boxes 7 is placed inside the feeding device 4. A positioning component and a sieving component are provided inside multiple detection boxes 7. To address the issue of inaccurate data readings between the sensor and the herbal medicine slices due to potential misalignment during placement, the specific operation is as follows: By placing several pieces of Chinese medicinal herbs to be tested into the feeding device 4 at the top of the rack 3, the feeding device 4 will sequentially convey the Chinese medicinal herbs into multiple testing boxes 7. When the Chinese medicinal herbs enter the testing box 7, the positioning component inside the testing box 7 will restrict and position the Chinese medicinal herbs, ensuring that the Chinese medicinal herbs are aligned with the vision sensor 17. The vision sensor 17 will then visually sense both sides of the Chinese medicinal herbs to perform surface inspection, thereby determining whether the surface quality of the Chinese medicinal herbs is qualified. When the vision sensor 17 finishes its surface inspection of the Chinese medicinal herbs, the sieving component inside the testing box 7 will begin its operation. The sieving component will sort and flow the Chinese medicinal herbs based on the detection results of the vision sensor 17, and the herbs will fall through the diversion box 5 into one of the conveying channels at the top of the base plate 1. Within conveyor belt 2, the herbs are transported in separate lanes. The two work together to achieve automatic detection of the surface quality of the Chinese medicine tablets. Through the setting of the positioning component, when the vision sensor 17 detects the surface of the Chinese medicine, the positioning component can align the Chinese medicine tablet with the vision sensor 17 in parallel, improving the uniformity of the optical detection signal while ensuring the integrity of the detection information. This makes it easier to detect the surface quality of the Chinese medicine tablets. It should be noted that the Chinese medicine tablets detected by this device are round tablets. The feeding device 4 is equipped with a feeding mechanism, which can be composed of a linear feeder and positioning slots, etc. It is mainly used to sequentially feed the tablets into multiple detection boxes 7 for detection. This is existing technology, so it is only described in this solution and the specific structure is not shown.
[0028] like Figures 3 to 5 As shown, positioning plates 701 are symmetrically fixedly installed on the inner wall of the detection box 7, and a slide is formed between the two positioning plates 701. Two limiting blocks 802 are symmetrically slidably connected to the top of the lower positioning plate 701. Connecting rods 801 are fixedly installed between each pair of the four limiting blocks 802. Telescopic rods 8 are symmetrically fixedly installed on the inner wall of the detection box 7, and the output ends of the two telescopic rods 8 are fixedly connected to the outer walls of the two limiting blocks 802 respectively. When it is necessary to feed the tablets into the feeding device 4, the two telescopic rods 8 are first driven to move the two limiting blocks 802 relative to each other on the top of the positioning plate 701 via the connecting rod 801 inside the detection box 7. When the two limiting blocks 802 slide to the same size as the Chinese medicine tablets, the operation of the limiting blocks 802 is stopped. Then, the feeding device 4 can be driven to feed the Chinese medicine tablets into the detection box 7. When the tablets enter the detection box 7, they will slide along the slide formed between the two positioning plates 701 by gravity. With the two limiting blocks 802 limiting the sides of the tablets, the tablets entering the detection box 7 will slide sequentially towards the ends of the two positioning plates 701, thus realizing the effect of the medicine sliding sequentially in the detection box 7. By driving the two limiting blocks 802 to adjust each other on the top of the detection box 7, the device can perform detection operations on Chinese medicine tablets of different thicknesses, increasing the applicability of the device.
[0029] like Figures 4 to 6 As shown, the positioning assembly includes two shift frames 1201. Each of the two shift frames 1201 has a toothed rod 1203 fixedly mounted at both ends. Limit motors 9 are symmetrically fixedly mounted on the inner wall of the distribution box 5. Gear shafts 901 are fixedly mounted on the output ends of the two limit motors 9. The teeth on the two gear shafts 901 mesh with the teeth on the four toothed rods 1203 in pairs. Side plate one 12 and side plate two 1202 are fixedly mounted on the outer walls of the two shift frames 1201 respectively. Side plate one 12 and side plate two 1202 are staggered. The outer walls of side plate one 12 and side plate two 1202 are slidably connected to the inner walls of the two positioning plates 701. The outer walls of side plate one 12 and side plate two 1202 can contact the outer wall of the Chinese medicine tablet. When the tablet moves to the end of the positioning plate 701, the drive limit motor 9 drives the gear shaft 901 to rotate. When the gear shaft 901 rotates, it drives the two racks 1203 to move relative to each other. The two racks 1203 then drive the two shifting frames 1201 to rise and fall. The two shifting frames 1201 then drive the side plate 12 and the side plate 2202 to rise and fall relative to each other. The side plate 12 rises to block one side of the Chinese medicine tablet, and the side plate 2202 falls to push the other side of the Chinese medicine tablet, pushing up the remaining Chinese medicine tablets behind it. This prevents the Chinese medicine tablet from being affected by the tablets behind it during testing. The Chinese medicine tablet is then placed between the side plate 12 and the side plate 2202. The side plate 12 and the side plate 2202 limit the two sides of the tablet, thus limiting the position of the Chinese medicine tablet on both sides.
[0030] like Figures 6 to 10As shown, detection boxes 11 are symmetrically fixedly installed on the inner wall of the detection box 7. The two detection boxes 11 are in a through state. There are multiple vision sensors 17. The multiple vision sensors 17 are fixedly installed in the two detection boxes 11 in a ring array. A shaft box 1804 is provided on one side of each of the two detection boxes 11. A push rod 15 is slidably installed inside each of the two shaft boxes 1804. One end of each push rod 15 can contact the outer walls of both sides of the tablet. When the side plates 12 and 202 finish limiting the two sides of the tablet, the push rods 15 are moved from one side of the detection box 11. The two push rods 15 then slide out from the shaft box 1804 to push the two sides of the Chinese medicine tablet, thus performing a centering push operation. With the side plates 12 and 202 limiting it, the push rods 15 can place the Chinese medicine tablet horizontally and vertically, making it parallel to the multiple vision sensors 17 in the two detection boxes 11, thus aligning the Chinese medicine tablet with the vision sensors 17. The vertical parallel alignment serves two purposes. First, parallel placement provides a foundation for efficient and uniform detection, allowing the vision sensor 17 to simultaneously inspect both sides of the Chinese medicine tablets, avoiding the need to flip them during inspection and improving efficiency. Second, when machine vision inspects the diameter and edge contour of the tablets, tilted placement can cause the collected size data to be too large or too small. In a parallel state, the actual contour can be accurately extracted through image algorithms, reducing system errors, improving the accuracy of the inspection data, and making it more conducive to the surface quality inspection of Chinese medicine tablets.
[0031] like Figures 6 to 10 As shown, a light-transmitting partition 1101 is fixedly installed on the outer wall of each of the two detection boxes 11. Multiple vision sensors 17 are placed inside the light-transmitting partition 1101. Two shaft boxes 1804 are fixedly installed in the middle of the inner wall of the two detection boxes 11. External gear rings 1601 are rotatably connected inside the two shaft boxes 1804. Brush rod holders 16 are fixedly installed on the outer wall of each of the two external gear rings 1601. The outer walls of the two brush rod holders 16 slide against the outer walls of the two light-transmitting partitions 1101. The positions of the two brush rod holders 16 and the multiple vision sensors 17 are staggered. A dust extraction device 6 is fixedly installed on the top of the diversion box 5. A suction pipe 601 is fixedly installed on the outer wall of the dust extraction device 6. The two suction pipes 601 are placed above the two detection boxes 11. Since Chinese medicine tablets may carry dust during storage, this dust may settle on the vision sensor 17 as the tablets move within the detection chamber 7, affecting its visual detection. Therefore, a light-transmitting partition 1101 is installed outside the vision sensor 17. When detecting the Chinese medicine tablets, the outer gear ring 1601 is rotated. This rotation drives the brush holder 16 to rotate, which in turn scrapes the outer wall of the light-transmitting partition 1101. Simultaneously, the dust extraction device 6... By drawing the outside of the brush holder 16 through the suction tube 601, the dust placed on the light-transmitting partition 1101 will be absorbed and treated by the dust extraction device 6, thus removing dust. The light-transmitting partition 1101 is set up to prevent dust from falling on the vision sensor 17 and affecting the vision sensor 17's visual detection of Chinese medicine tablets. On the other hand, by cleaning the light-transmitting partition 1101 through the brush holder 16, the surface of the light-transmitting partition 1101 can be cleaned, which facilitates the vision sensor 17's detection of Chinese medicine tablets. It should be noted that the light-transmitting partition 1101 should be made of a light-transmitting material, such as quartz glass or polytetrafluoroethylene.
[0032] like Figures 9 to 10 As shown, a push motor 18 is fixedly installed inside the detection box 11. A shaft 1802 is fixedly installed at the output end of the push motor 18. The top end of the shaft 1802 is placed inside the shaft box 1804 and is rotatably connected to the inner wall of the shaft box 1804. A screw 1502 is fixedly installed at the top end of the shaft 1802. A cylindrical shaft 1503 is threadedly connected to the outer wall of the screw 1502. The outer wall of the cylindrical shaft 1503 can be slidably connected to the inner wall of the shaft box 1804. One end of the push rod 15 is slidably connected to the top inner wall of the shaft box 1804. A return spring 1501 is provided between the outer wall of the push rod 15 and the inner wall of the shaft box 1804. One end of the cylindrical shaft 1503 can be in contact with one end of the push rod 15. When it is necessary to push the push rod 15 from the shaft box 1804 to move it towards the Chinese medicine tablet, the drive push motor 18 drives the shaft 1802 to rotate. When the shaft 1802 rotates, it drives the screw 1502 to rotate. The screw 1502 then drives the cylindrical shaft 1503 to move at the top of the shaft box 1804 through the threaded transmission. The cylindrical shaft 1503 then pushes one end of the push rod 15 to squeeze the return spring 1501 and move it. The push rod 15 is then pushed by the cylindrical shaft 1503 to move out of the shaft box 1804 and move towards the side of the Chinese medicine tablet, thus pushing the push rod 15 towards the Chinese medicine tablet.
[0033] like Figures 9 to 10As shown, an internal gear ring 1801 is fixedly installed on the outer wall of the shaft 1802, and multiple gears 1803 are rotatably connected to the inner wall of the shaft box 1804. The teeth on the internal gear ring 1801 and the external gear ring 1601 can mesh with the teeth on the multiple gears 1803. When the shaft 1802 drives the screw 1502 to rotate, the shaft 1802 will drive the internal gear ring 1801 to rotate as well. The internal gear ring 1801 will then drive multiple gears 1803 to rotate through tooth meshing. The multiple gears 1803 will then drive the external gear ring 1601 to rotate through tooth transmission. The external gear ring 1601 will then drive the brush rod frame 16 to perform scraping and cleaning operations on the outside of the light-transmitting partition 1101. This serves to align the Chinese medicine tablets while simultaneously cleaning the outside of the light-transmitting partition 1101. It should be noted that the brush rod frame 16 is rotated through this structure, rather than directly by using the shaft 1802 to drive the brush rod frame 16. This is to facilitate the fixed installation of the shaft box 1804 with the light-transmitting partition 1101, so that the cylindrical shaft 1503 can have a stable transmission foundation.
[0034] like Figures 3 to 6 As shown, telescopic cylinders 10 are fixedly installed on the top of the two connecting rods 801, and limit plates 1001 are fixedly installed on the output ends of the two telescopic cylinders 10. The outer walls of the two limit plates 1001 are slidably connected to the inner walls of the positioning plates 701, and one side of the two positioning plates 701 can be slidably connected to the outer walls of the two limit blocks 802 respectively. When the Chinese medicine tablet rolls down between the positioning plates 701, the telescopic cylinder 10 will drive the limiting plate 1001 to extend, blocking the Chinese medicine tablet from the detection box 11. When the Chinese medicine tablet moves between the two detection boxes 11, and the two push rods 15 complete the alignment, the telescopic cylinder 10 will drive the limiting plate 1001 to move down and reset. On the one hand, by moving the limiting plate 1001 up to block the detection box 11 and the Chinese medicine tablet, the limiting plate 1001, together with the limiting block 802, can limit the downward movement of the Chinese medicine tablet and prevent it from sliding out between the two detection boxes 11. On the other hand, when the alignment between the Chinese medicine tablet and the two detection boxes 11 is completed, the telescopic cylinder 10 drives the limiting plate 1001 to move down and reset, so that the detection box 11 and the Chinese medicine tablet are in a through state, which is convenient for the subsequent detection by the vision sensor 17.
[0035] like Figures 2 to 8As shown, the screening assembly includes a rotary cylinder 13, which is fixedly installed on the outer wall of the positioning plate 701. A rotating rod 1302 is fixedly installed at the output end of the rotary cylinder 13. A placement plate 1301 is fixedly connected to the outer wall of the rotating rod 1302. The outer wall of the placement plate 1301 is rotatably connected to the inner wall of the positioning plate 701. A limiting groove frame 14 is fixedly installed below the positioning plate 701. The limiting groove frame 14 is placed outside the placement plate 1301 and above one of the conveyor belts 2. The tail ends of the two positioning plates 701 are placed above the other conveyor belt 2. When the vision sensor 17 detects a problem with the surface quality of the Chinese herbal medicine tablets, the rotary cylinder 13 will drive the rotating rod 1302 to rotate. When the rotating rod 1302 rotates, it will drive the placement plate 1301 to rotate and open. At this time, the bottom of the Chinese herbal medicine tablets will be suspended in the air, and the Chinese herbal medicine tablets will fall downwards from between the inner wall of the placement plate 1301 and the positioning plate 701 by gravity. Finally, they will fall onto one of the conveyor belts 2 through the bottom of the limiting slot frame 14. When the vision sensor 17 detects that there is no problem with the quality of the Chinese herbal medicine tablets, the limiting motor 9 will reverse, and the side plate 2 1202 and the side plate 12 will move relative to each other. Once opened, the remaining Chinese medicine tablets placed in the positioning plate 701 will be unrestricted and slide downwards under gravity. The remaining Chinese medicine tablets will push the Chinese medicine tablets placed at the end of the positioning plate 701 through the sliding motion, thereby pushing them out from the end of the positioning plate 701. The pushed-out Chinese medicine tablets will then fall onto another conveyor belt 2 through the diversion box 5, thus realizing the diversion and conveying of Chinese medicine tablets and playing the role of sorting Chinese medicine tablets. It should be noted that the moving speed between the side plate 2 1202 and the side plate 1 12 needs to be set according to the speed of the Chinese medicine tablets sliding down. The specific speed needs to be obtained based on the actual working scenario and calculation.
[0036] Working principle: Several pieces of Chinese medicinal herbs to be tested are placed into the feeding device 4 at the top of the rack 3. The feeding device 4 then sequentially conveys the Chinese medicinal herbs into multiple testing boxes 7. When the Chinese medicinal herbs enter the testing box 7, the positioning component inside the testing box 7 restricts and positions the Chinese medicinal herbs, ensuring that the Chinese medicinal herbs are aligned with the vision sensor 17. The vision sensor 17 then performs visual sensing on both sides of the Chinese medicinal herbs to perform surface inspection, thereby determining whether the surface quality of the Chinese medicinal herbs is qualified. When the vision sensor 17 finishes its surface inspection of the Chinese medicinal herbs, the sieving component inside the testing box 7 begins its operation. The sorting component will sort and flow the Chinese medicine through the detection results of the vision sensor 17. The medicine tablets will fall into one of the conveyor belts 2 on the top of the base plate 1 through the diversion box 5. The conveyor belt 2 will then transport them in separate channels. The two work together to realize the automatic detection of the surface quality of the Chinese medicine tablets. With the setting of the positioning component, when the vision sensor 17 detects the surface of the Chinese medicine, the positioning component can make the Chinese medicine tablets parallel to the vision sensor 17, which improves the uniformity of the optical detection signal and ensures the integrity of the detection information, which is more conducive to the detection of the surface quality of the Chinese medicine tablets. When it is necessary to feed the tablets into the feeding device 4, the two telescopic rods 8 are first driven to move the two limiting blocks 802 relative to each other on the top of the positioning plate 701 via the connecting rod 801 inside the detection box 7. When the two limiting blocks 802 slide to the same size as the Chinese medicine tablet, the operation of the limiting blocks 802 is stopped. Then the feeding device 4 can be driven to feed the Chinese medicine tablets into the detection box 7. When the tablets enter the detection box 7, they will slide along the slide formed between the two positioning plates 701 by gravity. With the two limiting blocks 802 limiting the sides of the tablets, the tablets entering the detection box 7 will slide sequentially towards the ends of the two positioning plates 701, thereby realizing the function of the medicine sliding sequentially in the detection box 7. By driving the two limiting blocks 802 to adjust each other on the top of the detection box 7, the device can perform detection operations on Chinese medicine tablets of different thicknesses, increasing the applicability of the device. When the tablet moves to the end of the positioning plate 701, the limit motor 9 drives the gear shaft 901 to rotate. When the gear shaft 901 rotates, it drives the two racks 1203 to move relative to each other. The two racks 1203 then drive the two shifting frames 1201 to rise and fall. The two shifting frames 1201 then drive the side plate 12 and the side plate 2202 to rise and fall relative to each other. The side plate 12 rises to block one side of the Chinese medicine tablet, and the side plate 2202 falls to push the other side of the Chinese medicine tablet, pushing up the remaining Chinese medicine tablets behind it. This prevents the Chinese medicine tablet from being affected by the tablets behind it during testing. The Chinese medicine tablet is then placed between the side plate 12 and the side plate 2202. The side plate 12 and the side plate 2202 limit the two sides of the tablet, thus limiting the position of the Chinese medicine tablet on both sides. When the side plates 12 and 202 finish limiting the two sides of the tablet, the push rods 15 are moved from one side of the detection box 11. The two push rods 15 then slide out from the shaft box 1804 to push the two sides of the Chinese medicine tablet, thus performing a centering push operation. With the side plates 12 and 202 limiting it, the push rods 15 can place the Chinese medicine tablet horizontally and vertically, making it parallel to the multiple vision sensors 17 in the two detection boxes 11, thus aligning the Chinese medicine tablet with the vision sensors 17. The vertical and parallel alignment serves two purposes. First, parallel placement provides a foundation for efficient and uniform detection, allowing the vision sensor 17 to simultaneously perform surface detection on both sides of the Chinese medicine tablets, avoiding the need to flip them during detection and improving efficiency. Second, when machine vision detects the diameter and edge contour of the tablets, tilted placement can cause the collected size data to be too large or too small. In a parallel state, the actual contour can be accurately extracted through image algorithms, reducing system errors and improving the accuracy of detection data, which is more conducive to the surface quality detection of Chinese medicine tablets. By setting a light-transmitting partition 1101 outside the vision sensor 17, when it is necessary to detect Chinese medicine tablets, the outer toothed ring 1601 is first pushed to rotate. When the outer toothed ring 1601 rotates, it will drive the brush rod frame 16 to rotate. When the brush rod frame 16 rotates, it will scrape the outer wall of the light-transmitting partition 1101. At the same time, the dust extraction device 6 uses the suction pipe 601 to pull the outside of the brush rod frame 16. The dust on the light-transmitting partition 1101 will be absorbed and treated by the dust extraction device 6, which plays a role in dust removal. The setting of the light-transmitting partition 1101 can, on the one hand, prevent dust from falling on the vision sensor 17 and affecting the vision sensor 17's visual detection of Chinese medicine tablets. On the other hand, the brush rod frame 16 can clean the surface of the light-transmitting partition 1101, which is convenient for the vision sensor 17 to detect Chinese medicine tablets. When it is necessary to push the push rod 15 from the shaft box 1804 to move it towards the Chinese medicine tablet, the drive push motor 18 drives the shaft 1802 to rotate. When the shaft 1802 rotates, it will drive the screw 1502 to rotate. The screw 1502 will then drive the cylindrical shaft 1503 to move at the top of the shaft box 1804 through the thread transmission. The cylindrical shaft 1503 will then push one end of the push rod 15 to squeeze the return spring 1501 and move it. The push rod 15 will then be pushed by the cylindrical shaft 1503 to move out of the shaft box 1804 and move towards the side of the Chinese medicine tablet, thus pushing the push rod 15 towards the Chinese medicine tablet. When the shaft 1802 drives the screw 1502 to rotate, the shaft 1802 will drive the internal gear ring 1801 to rotate together. The internal gear ring 1801 will drive multiple gears 1803 to rotate through tooth meshing. The multiple gears 1803 will drive the external gear ring 1601 to rotate through tooth transmission. The external gear ring 1601 will drive the brush rod frame 16 to perform scraping and cleaning operations on the outside of the light-transmitting partition 1101, which serves to align the Chinese medicine tablets and clean the outside of the light-transmitting partition 1101 at the same time. When the Chinese medicine tablet rolls down between the positioning plates 701, the telescopic cylinder 10 will drive the limiting plate 1001 to extend, blocking the Chinese medicine tablet from the detection box 11. When the Chinese medicine tablet moves between the two detection boxes 11, and the two push rods 15 complete the alignment, the telescopic cylinder 10 will drive the limiting plate 1001 to move down and reset. On the one hand, by moving the limiting plate 1001 up, the detection box 11 and the Chinese medicine tablet are blocked, and the limiting plate 1001, together with the limiting block 802, limits the downward movement of the Chinese medicine tablet, preventing the Chinese medicine tablet from sliding out between the two detection boxes 11. On the other hand, when the alignment between the Chinese medicine tablet and the two detection boxes 11 is completed, the telescopic cylinder 10 drives the limiting plate 1001 to move down and reset, so that the detection box 11 and the Chinese medicine tablet are in a through state, which is convenient for the subsequent detection by the vision sensor 17. When the vision sensor 17 detects a problem with the surface quality of the Chinese herbal medicine tablets, the rotary cylinder 13 will drive the rotating rod 1302 to rotate. When the rotating rod 1302 rotates, it will drive the placement plate 1301 to rotate and open. At this time, the bottom of the Chinese herbal medicine tablets will be suspended in the air, and the Chinese herbal medicine tablets will fall downwards from between the inner wall of the placement plate 1301 and the positioning plate 701 by gravity, and finally fall onto one of the conveyor belts 2 through the bottom of the limiting groove frame 14. When the vision sensor 17 detects that the quality of the Chinese herbal medicine tablets is not problematic... When the problem occurs, the limit motor 9 will reverse, and the side plate 1202 and the side plate 12 will open relative to each other. The remaining Chinese medicine tablets placed in the positioning plate 701 will be unrestricted and slide downwards by gravity. The remaining Chinese medicine tablets will push the Chinese medicine tablets placed at the end of the positioning plate 701 by sliding, thereby pushing them out from the end of the positioning plate 701. The pushed-out Chinese medicine tablets will fall onto another conveyor belt 2 through the diversion box 5, thereby realizing the diversion and conveying of Chinese medicine tablets and playing the role of sorting Chinese medicine tablets.
[0037] The foregoing has shown and described the basic principles, main features, and advantages of the present invention. Those skilled in the art should understand that the present invention is not limited to the above embodiments. The embodiments and descriptions in the specification are merely illustrative of the principles of the invention. Various changes and modifications can be made to the invention without departing from its spirit and scope, and all such changes and modifications fall within the scope of the present invention as claimed. The scope of protection of the present invention is defined by the appended claims and their equivalents.
Claims
1. An automatic method for detecting the quality of traditional Chinese medicine, characterized in that: The automatic detection method for the quality of traditional Chinese medicine includes the following steps: S1: When using this device, place the Chinese medicine tablets to be tested into the feeding device, and the feeding device will sequentially transport the Chinese medicine tablets into the testing chamber for testing. S2: When the Chinese medicine tablets enter the detection box, the positioning component inside the detection box will calibrate and align the Chinese medicine tablets and the vision sensor. S3: When the calibration between the two ends, the vision sensor automatically detects the surface of the Chinese medicine tablets to detect whether there are traces such as mold spots and insect infestation, as well as defects such as cracks and chipping, thereby realizing the automatic detection of the surface quality of the Chinese medicine tablets. S4: When the test is completed, the sieving component automatically sieves the Chinese medicine tablets by conveying them in separate channels. S5: The Chinese medicine tablets will fall onto the corresponding conveyor belts according to the sieving path of the sieving component, and be transported to the next testing stage for the remaining quality testing operations.
2. The automatic detection method for the quality of traditional Chinese medicine according to claim 1, characterized in that: In the automatic detection method for the quality of traditional Chinese medicine, the detection box S1 includes a base plate, a frame plate on top of the base plate, two conveyor belts symmetrically fixedly installed at the top center of the base plate, both conveyor belts are placed below the frame plate, there are multiple detection boxes, the internal structure of multiple detection boxes is the same, a diversion box is fixedly installed on the outside of multiple detection boxes, the diversion box is fixedly installed on the top of the frame plate, a feeding device is fixedly installed on one side of the top of the frame plate, one end of each of the multiple detection boxes is placed inside the feeding device, and each of the multiple detection boxes is equipped with a positioning component and a sieving component.
3. The automatic detection method for the quality of traditional Chinese medicine according to claim 2, characterized in that: The inner wall of the testing box is symmetrically fixed with positioning plates, and a slide is formed between the two positioning plates. The top of the lower positioning plate is symmetrically slidably connected with two limit blocks. Connecting rods are fixedly installed between each pair of the four limit blocks. Telescopic rods are symmetrically fixed with the inner wall of the testing box, and the output ends of the two telescopic rods are fixedly connected to the outer walls of the two limit blocks respectively.
4. The automatic detection method for the quality of traditional Chinese medicine according to claim 3, characterized in that: The positioning assembly includes two shift frames, each with a toothed rod fixedly mounted at both ends. Limit motors are symmetrically mounted on the inner wall of the distribution box, and toothed shafts are fixedly mounted on the output ends of the two limit motors. The teeth on the two toothed shafts mesh with the teeth on the four toothed rods in pairs. Side plate one and side plate two are fixedly mounted on the outer walls of the two shift frames, respectively. Side plate one and side plate two are staggered and their outer walls are slidably connected to the inner walls of the two positioning plates. The outer walls of side plate one and side plate two can contact the outer wall of the Chinese medicine tablet.
5. The automatic detection method for the quality of traditional Chinese medicine according to claim 4, characterized in that: The inner wall of the detection box is symmetrically fixed with detection boxes, and the two detection boxes are in a through state. There are multiple vision sensors, which are fixedly installed in the two detection boxes in a ring array. Each detection box has a shaft box on one side, and a push rod is slidably installed inside each shaft box. One end of each push rod can contact the outer wall of both sides of the tablet.
6. The automatic detection method for the quality of traditional Chinese medicine according to claim 5, characterized in that: Both detection boxes have light-transmitting partitions fixedly installed on their outer walls. Multiple vision sensors are placed inside the light-transmitting partitions. Two shaft boxes are fixedly installed in the middle of the inner walls of the two detection boxes. Both shaft boxes are rotatably connected to external gear rings. Brush rod holders are fixedly installed on the outer walls of the two external gear rings. The outer walls of the two brush rod holders slide against the outer walls of the two light-transmitting partitions. The positions of the two brush rod holders and the multiple vision sensors are staggered. A dust extraction device is fixedly installed on the top of the distribution box. Suction pipes are fixedly installed on the outer wall of the dust extraction device. Two suction pipes are placed above the two detection boxes.
7. The automatic detection method for the quality of traditional Chinese medicine according to claim 6, characterized in that: A push-position motor is fixedly installed inside the detection box. A shaft is fixedly installed at the output end of the push-position motor. The top end of the shaft is placed inside the shaft box and is rotatably connected to the inner wall of the shaft box. A screw is fixedly installed at the top end of the shaft. A cylindrical shaft is threadedly connected to the outer wall of the screw. The outer wall of the cylindrical shaft can slide and connect with the inner wall of the shaft box. One end of the push rod is slidably connected to the top inner wall of the shaft box. A return spring is provided between the outer wall of the push rod and the inner wall of the shaft box. One end of the cylindrical shaft can fit and contact one end of the push rod.
8. The automatic detection method for the quality of traditional Chinese medicine according to claim 7, characterized in that: An internal gear ring is fixedly installed on the outer wall of the shaft, and multiple gears are rotatably connected to the inner wall of the shaft box. The teeth on both the internal and external gear rings can mesh with the teeth on the multiple gears.
9. The automatic detection method for the quality of traditional Chinese medicine according to claim 8, characterized in that: Both connecting rods are fixedly equipped with telescopic cylinders at their tops, and both telescopic cylinders are fixedly equipped with limit plates at their output ends. The outer walls of both limit plates are slidably connected to the inner walls of the positioning plates, and one side of each positioning plate can be slidably connected to the outer walls of the two limit blocks.
10. The automatic detection method for the quality of traditional Chinese medicine according to claim 9, characterized in that: The screening assembly includes a rotary cylinder, which is fixedly installed on the outer wall of the positioning plate. A rotating rod is fixedly installed at the output end of the rotary cylinder. A placement plate is fixedly connected to the outer wall of the rotating rod. The outer wall of the placement plate is rotatably connected to the inner wall of the positioning plate. A limiting groove frame is fixedly installed below the positioning plate. The limiting groove frame is placed outside the placement plate and above one of the conveyor belts. The tail ends of the two positioning plates are placed above the other conveyor belt.