Intelligent control system for processing traditional Chinese medicine decoction pieces

By introducing the raw material detection module, slice detection module and drying inspection module into the traditional Chinese medicine piece processing system, combined with near-infrared spectrum analysis and image recognition technology, the problem of quality inspection of Chinese medicinal materials in the processing of traditional Chinese medicine pieces is solved, achieving a more efficient and smarter The production process reduces the demand for human resources.

CN118760077AInactive Publication Date: 2024-10-11SHANDONG MOXIBUSTION HALL PHARM CO LTD

Patent Information

Application Number
CN202410834350.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-26
Publication Date
2024-10-11
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

During the processing of traditional Chinese medicine pieces, it is difficult to effectively detect the quality of sliced ​​medicinal materials with existing technology, resulting in low intelligence, high human resource costs, and high knowledge level requirements for staff.

Method used

An intelligent control system for processing traditional Chinese medicine pieces is designed, including a raw material detection module, a slice detection module and a drying inspection module. It uses a near-infrared spectrum analyzer and image recognition technology to automatically detect the type of medicinal materials, slice thickness and drying moisture content, and generate Abnormal signals to identify quality issues.

Benefits of technology

It improves the accuracy of medicinal material type identification and the intelligence level of the processing line, reduces manual inspection errors, improves the efficiency and accuracy of sampling inspection, and reduces human resource costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118760077A_ABST
    Figure CN118760077A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of control systems, in particular to a traditional Chinese medicine decoction piece processing intelligent control system which comprises a raw material detection module, a slice detection module and a drying inspection module. The raw material detection module detects and analyzes raw materials entering the production line after cleaning, the types of the production raw materials are determined according to quality data and apparent images of the production raw materials, so that a corresponding processing assembly line is selected, medicinal materials are cut through a slicing machine, and the slice detection module detects the slice quality of tablets. The sliced tablets are dried through the air energy heat pump box type drying equipment, the dried tablets are sampled and detected through the drying detection module, the quality level of the process of processing the traditional Chinese medicinal materials into the decoction pieces can be further improved, and the efficiency of the processing process is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of control systems, and in particular to an intelligent control system for processing Chinese herbal medicine slices. Background Art

[0002] Chinese herbal medicine slices are Chinese herbal medicines that have been processed and prepared according to the theory of traditional Chinese medicine and the processing methods of traditional Chinese medicine, and can be directly used in clinical Chinese medicine. This concept shows that there is no absolute boundary between Chinese herbal medicines and Chinese herbal medicine slices. Chinese herbal medicine slices include some slices of Chinese herbal medicines processed at the place of origin, original herbal medicine slices, and slices that have been cut and processed. Processing of Chinese herbal medicine slices refers to the activities of processing Chinese herbal medicines through a series of processing to make them suitable for the adjustment of Chinese medicine prescriptions or the production and use of Chinese patent medicines. This process involves multiple links, including the cleaning and selection of Chinese herbal medicines, softening water treatment, cutting, crushing, drying, processing and packaging.

[0003] The processing of Chinese herbal medicine slices requires strict control of the quality of medicinal materials to ensure that the finished products have good efficacy. The most important steps in the entire processing process are slicing and drying of Chinese medicinal materials. The uniformity of slicing and the standard degree of moisture content after drying are directly related to the quality of the finished product. In the prior art, the quality of sliced ​​medicinal materials is generally inspected by naked eye to detect quality problems in the slicing process. This inspection method requires a high level of relevant knowledge of the staff and has high human resource costs, which is not conducive to the construction of intelligent production lines. Summary of the invention

[0004] In view of the above-mentioned shortcomings of the prior art, the present invention provides an intelligent control system for processing Chinese herbal medicine slices, which can effectively solve the problems in the prior art that it is inconvenient to detect the quality of the sliced ​​medicinal materials during the slicing process and the degree of intelligence is not high.

[0005] To achieve the above objectives, the present invention is implemented through the following technical solutions: The present invention provides an intelligent control system for processing Chinese herbal medicine slices, which at least comprises: a slicer, an air energy heat pump box-type drying device and a near infrared spectrometer, and also comprises: a raw material detection module, a slice detection module and a drying inspection module; The raw material detection module detects and analyzes the raw materials entering the production line after cleaning, compares the quality mean of the production raw materials with multiple preset quality mean intervals, preliminarily screens out the range of medicinal materials to which the production raw materials belong and records them as similar types, and further determines the type of the production raw materials based on the apparent image of the production raw materials; According to the processing type of the raw material, the raw material is transported to the corresponding processing line for further processing. The raw medicinal materials are sliced ​​after being moistened. Each medicinal material type corresponds to a slice thickness setting parameter. The slice thickness of the slicer is adjusted according to the processing type of the raw material. The raw material is cut into tablets of uniform thickness by the Chinese medicinal material slicer; The slice detection module includes a detection adjustment unit and a quality detection unit. The detection adjustment unit adjusts the sampling period of the quality detection unit according to the processing type and the market price of the raw materials of the type, and adjusts the sampling quantity of the quality detection unit according to the standard thickness of the tablets and the quality of the raw materials of the type. The quality detection unit detects the slice quality of the tablets and generates different abnormal signals according to the abnormal data detected to determine the specific cause of the abnormality. The sliced ​​tablets are dried by air-energy heat pump box drying equipment, and the drying inspection module performs sampling inspection on the dried tablets, and generates qualified and unqualified signals based on the inspection results.

[0006] Furthermore, the specific steps of the raw material detection module detection and analysis are as follows: The multiple raw materials in the first batch of raw materials are tested separately, and the multiple raw materials tested separately are recorded as basic raw materials. The mass of each basic raw material is extracted and its mean is calculated to obtain the mass mean G of all basic raw materials. There are multiple mass mean intervals preset, and each mass mean interval corresponds to a medicinal material type. According to the mass mean interval to which the mass mean belongs, multiple corresponding medicinal material types are obtained and recorded as similar types. , n=1, 2, 3...m, m is the total number of corresponding similar categories.

[0007] Furthermore, each medicinal material type corresponds to a sample image library, and the sample image library is provided with a plurality of Chinese medicinal material raw material images corresponding to the medicinal material type, and the apparent images of the plurality of basic raw materials are extracted and recorded as , i=1, 2, 3...j, j is the total number of basic raw materials, similar types All images in the sample image library are recorded as comparison images, and the surface images of the basic raw materials are recorded as comparison images. Compare with the comparison image one by one, and calculate the similarity between the two compared images through the image convolution recognition model, extract the maximum value of the similarity between the appearance image of each basic raw material and all the comparison images, record it as the maximum similarity value of the basic raw material, and record the type of medicinal material to which the comparison image belongs corresponding to the maximum similarity value as the similar type, extract the maximum value of the similarity value of each basic raw material and record it as the similarity judgment value of the raw material, when the similarity judgment value is greater than the preset similarity threshold, record the similar type corresponding to the similarity judgment value as the processing type of the raw material, and add each basic raw material appearance image into the sample image library of the corresponding medicinal material type.

[0008] Furthermore, the detection adjustment unit adjusts the cycle and quantity of quality detection as follows: Get the type of tablet processing and the market price P of the raw materials of this type, get the speed V of the slicer cutting the tablets, and substitute it into the formula Calculate in to obtain the sampling period value T, where K is a preset value; The sliced ​​tablets are sampled and tested every period T. The number of samples depends on the standard thickness of the tablets and the mass mean range corresponding to the raw materials. The middle value of the mass mean range corresponding to the raw materials is taken. After normalizing with the standard thickness H, enter the formula Calculate and get the sampling quantitative value NUM, where These are all preset weight coefficients, and tablets with weights in the interval [0.9NUM, 1.1NUM] are extracted for quality inspection.

[0009] Furthermore, the quality inspection unit performs the following quality inspection process on the tablets: The extracted tablets are recorded as sample slices, the sample slices are laid flat and the thickness reference value of each sample slice is obtained. And calculate its mean value as , obtain the integrity reference value of all sample slices And area reference value ,Will , , Substitute into the formula Calculate the quality of the sample slice and obtain the quality judgment value ,in All are preset weight coefficients; The process of obtaining the thickness reference value is as follows: measure the thickness of multiple points on the sample sheet, evenly distribute the measurement points, obtain the thickness values ​​of multiple points, calculate the average of all thickness values ​​and record it as the thickness mean value , calculate the range of all thickness values ​​as the thickness extreme value , extract standard thickness Thick extreme value Thickness average Substitute into the formula Calculate the thickness reference value ,in All are preset weight coefficients; The process of obtaining the completeness reference value is as follows: obtain a high-definition image of the sample slice and draw a contour map of the sample slice through an image algorithm. The contour map is a closed figure composed of the contour curve of the sample slice. One contour map corresponds to one sample slice. The area of ​​each sample slice is calculated through the contour map and recorded as the area measurement value. The average of the area measurement values ​​is calculated to obtain the area mean. , calculate the maximum area value by taking the maximum area measurement value , get area measurement value less than or equal to 0.2 The number of sample slices is recorded as and the total number of sample slices , substitute into the formula Calculate the completeness reference value ; The area reference value is equal to the standard deviation of all area measurements divided by the maximum area value.

[0010] Furthermore, each type of medicinal material corresponds to a preset quality threshold. The quality threshold corresponding to the current processing type is extracted, and the quality judgment value is compared with the quality threshold. When the quality judgment value is less than the quality threshold, a quality failure signal is generated, and the cause of the quality defect is analyzed.

[0011] Further, the analysis process is as follows: The quality thresholds are respectively bound to the preset thickness threshold, integrity threshold and area threshold. The area reference value is compared with the area threshold. When the area reference value is greater than the area threshold, a raw material abnormality signal is generated to keep the slicer running normally, and the staff will check the raw materials and sample slices. The integrity reference value is compared with the integrity threshold value. When the integrity reference value is greater than the integrity threshold value, a slicer blade wear abnormality signal is generated, the slicer is controlled to stop running, and a staff member checks the cutting blade of the slicer; The thickness reference value is compared with the thickness threshold. When the thickness reference value is greater than the thickness threshold, a slicer blade position abnormality signal is generated, the slicer is controlled to stop running, and the staff checks the cutting blade of the slicer.

[0012] Furthermore, the drying inspection module detection process is as follows: The tablets to be tested after drying are recorded as dry tablets to be tested, and the moisture content of the dry tablets to be tested is measured by a near-infrared spectrometer. Multiple moisture content standard values ​​are preset, and the multiple moisture content standard values ​​are respectively bound to multiple types of medicinal materials. The corresponding moisture content standard value is selected according to the current processing type and recorded as the processing moisture content standard value. The moisture content of the dry tablets to be tested is divided by the processing moisture content standard value to obtain an error value. When the error value is within the interval range [0.95,1.05], a qualified signal is generated, otherwise, a moisture content substandard signal is generated.

[0013] Compared with the known prior art, the technical solution provided by the present invention has the following beneficial effects: 1. The raw material detection module of the present invention can classify the production raw materials in layers, first determine the approximate type range through the mass mean, and then further determine the specific type of production raw materials through image comparison technology. It can facilitate staff who have no knowledge of Chinese medicinal materials to accurately identify the types of medicinal materials of production raw materials through this module, thereby improving the intelligence level of the processing line. In addition, it can also decide to transport the raw materials to different production lines according to the determined types of medicinal materials, and adjust the setting parameters of the slicer according to the types of medicinal materials, which is more direct and convenient.

[0014] 2. The slice detection module of the present invention can adjust the sampling period and quantity in the slice quality detection process according to the different types of medicinal materials, thereby improving the efficiency of sampling detection and reducing the sampling cost. By determining a sampling amount, namely the sampling quantitative value, the number of samples drawn can be adjusted according to the processing type and slice thickness of the raw material. As the average weight of each raw material increases and the thickness of the slice increases, the number of samples drawn will also increase accordingly, so that the number of samples drawn is guaranteed, thereby improving the sampling accuracy. Compared with directly using the sampling quantitative value for extraction, setting an interval range for extraction can help facilitate the extraction, and the quality inspection unit can analyze the slice quality of the tablet from multiple dimensions and quickly discover slice quality problems. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the prior art descriptions are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention, and for ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0016] Figure 1 It is the overall module block diagram of the present invention. DETAILED DESCRIPTION

[0017] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are 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 creative work are within the scope of protection of the present invention.

[0018] The present invention will be further described below in conjunction with the embodiments.

[0019] See also Figure 1, an intelligent control system for processing Chinese herbal medicine slices, including at least: a slicer, an air energy heat pump box drying equipment and a near-infrared spectrometer, and also includes a raw material detection module, a slice detection module, and a drying inspection module.

[0020] The raw material detection module detects and analyzes the raw materials entering the production line after cleaning, determines the type of production raw materials based on the quality data and appearance image of the production raw materials, and thus selects the corresponding processing line.

[0021] It should be noted that raw materials refer to Chinese medicinal materials that have been cleaned and sorted (using a rolling medicine washing machine to remove debris and impurities), washed (cleaned of mud and sand), and initially processed (screened to remove spoiled medicinal materials and parts that cannot be used as medicine). They are usually whole rhizomes or fruits. The raw materials can be softened and sliced ​​directly after entering the production line. After cleaning and inspection, the raw materials are conveyed one by one through the raw material detection module for detection. When the raw materials are small pieces that are easy to accumulate and difficult to separate, they can be manually picked to the raw material detection module for detection of the type of medicinal materials.

[0022] The specific steps of detection and analysis are as follows: The multiple raw materials in the first batch of raw materials are tested separately, and the multiple raw materials tested separately are recorded as basic raw materials. The mass of each basic raw material is extracted and its mean is calculated to obtain the mass mean G of all basic raw materials. There are multiple mass mean intervals preset, and each mass mean interval corresponds to a medicinal material type. According to the mass mean interval to which the mass mean belongs, multiple corresponding medicinal material types are obtained and recorded as similar types. (If the mass mean belongs to a certain mass mean interval, it means that the medicinal material type of the basic raw material may belong to the medicinal material type bound to the mass mean interval), n=1, 2, 3...m, m is the total number of corresponding similar types. By comparing and screening, the medicinal material type that the basic raw material may belong to can be obtained, which is convenient for subsequent further screening; It should be noted that the quality of Chinese medicinal raw materials used for processing and producing medicinal slices is generally maintained within a certain range. The quality mean range of each Chinese medicinal raw material depends on its quality range as a processing raw material. For example, the quality range of angelica raw materials used for medicinal slice processing is generally between 500g and 1000g. The quality mean ranges corresponding to different types of Chinese medicinal materials may overlap. Therefore, there will be a situation where a quality mean is in multiple mean ranges.

[0023] Each type of medicinal material corresponds to a sample image library, which contains multiple images of Chinese medicinal material raw materials corresponding to the medicinal material type. The apparent images of multiple basic raw materials are extracted and recorded as , i=1, 2, 3...j, j is the total number of basic raw materials, similar types All images in the sample image library are recorded as comparison images, and the surface images of the basic raw materials are recorded as comparison images. Compare with the comparison image one by one, and calculate the similarity between the two compared images through the image convolution recognition model, extract the maximum value of the similarity between the appearance image of each basic raw material and all the comparison images, record it as the maximum similarity value of the basic raw material, and record the type of medicinal material to which the comparison image belongs corresponding to the maximum similarity value as the similar type, extract the maximum value of the similarity value of each basic raw material as the similarity judgment value of the raw material, when the similarity judgment value is greater than the preset similarity threshold, the similar type corresponding to the similarity judgment value is recorded as the processing type of the raw material (the processing type is one of the medicinal material types, and it is also the type of medicinal material currently being processed), further, add the appearance image of each basic raw material to the sample image library of the corresponding medicinal material type, increase the data volume of the sample image library, and then improve the comparison accuracy.

[0024] It should be noted that similarity refers to the similarity between the appearance image of the basic raw material and the comparison image. Each similarity corresponds to a comparison image, and each comparison image corresponds to a type of medicinal material. The maximum similarity value is the maximum value of the similarities between the comparison images and the appearance image in the same sample image library. The similarity judgment value is the maximum value of the similarity values. The corresponding comparison image can be directly determined by the similarity judgment value, and then a type of medicinal material can be determined. When the similarity judgment value is greater than the similarity threshold, it can be determined that the appearance and weight of the raw material are consistent with the preset type of medicinal material, thereby determining which type of medicinal material the raw material belongs to. No manual identification and confirmation is required, which reduces the error of manual identification. The analysis process is simple and fast, which makes up for the defect of the prior art that experienced staff are required to identify.

[0025] According to the processing type of the raw materials, the raw materials are transported to different processing lines for further processing. The raw medicinal materials are sliced ​​after being moistened. Each medicinal material type corresponds to a slice thickness setting parameter. The slice thickness of the slicer is adjusted according to the processing type of the raw materials. The raw materials are cut into tablets of uniform thickness (i.e., Chinese herbal medicine slices) by the Chinese medicinal material slicer.

[0026] The slice detection module performs quality inspection on the tablets. The slice detection module includes a detection adjustment unit and a quality detection unit. The detection adjustment unit adjusts the cycle and quantity of quality inspection as follows: Obtain the type of tablet processing and the market price P of the raw materials of this type, obtain the speed V of the slicer cutting tablets (the weight of tablets cut and produced per unit time), and substitute into the formula Calculation is performed to obtain the sampling period value T, where K is a preset value. The sampling period is determined according to the slicing speed and value of the tablets. The sampling interval can be flexibly adjusted to minimize the number of samplings while ensuring sampling fault tolerance (ensuring that the economic loss when a problem occurs in the sample is within a certain range), thereby reducing the sampling cost; Sampling and testing of sliced ​​tablets are carried out at intervals of a period T. The number of samples taken depends on the standard thickness of the tablets (referring to the preset slice thickness of the slicer) and the mass mean range corresponding to the raw materials. The middle value of the mass mean range corresponding to the raw materials is taken. (i.e. the average value of the two interval endpoints) and the standard thickness H are normalized and then entered into the formula Calculate and get the sampling quantitative value NUM, where All of them are preset weight coefficients, and the tablets with weights in the interval [0.9NUM, 1.1NUM] are extracted for quality inspection, thereby realizing sampling inspection. By determining an extraction amount, namely the sampling quantitative value, the number of samples extracted can be adjusted according to the processing type of the raw material and the thickness of the slice. As the average weight of the raw material increases and the thickness of the slice increases, the number of samples extracted will also increase accordingly, thereby ensuring the number of samples extracted, thereby improving the sampling accuracy. Compared with directly using the sampling quantitative value for extraction, setting an interval range for extraction can help facilitate extraction, because extracting samples within a certain range is always simpler than extracting samples with fixed values.

[0027] The quality inspection process of the tablets by the quality inspection unit is as follows: The extracted tablets are recorded as sample slices, the sample slices are laid flat and the thickness reference value of each sample slice is obtained. And calculate its mean value as , obtain the integrity reference value of all sample slices And area reference value ,Will , , Substitute into the formula Calculate the quality of the sample slice and obtain the quality judgment value ,in They are all preset weight coefficients. The larger the quality judgment value, the higher the slicing quality of the sample slice. Therefore, it can be considered that all tablets are within the standard range and are qualified tablets. The quality judgment value can help the staff to judge the slicing quality of the tablets conveniently, objectively and quickly.

[0028] The process of obtaining the thickness reference value is as follows: measure the thickness of multiple points on the sample sheet, evenly distribute the measurement points, obtain the thickness values ​​of multiple points, calculate the average of all thickness values ​​and record it as the thickness mean value , calculate the range of all thickness values ​​as the thickness extreme value , extract standard thickness Thick extreme value Thickness average Substitute into the formula Calculate the thickness reference value ,in The thickness reference value is a preset weight coefficient. The thickness reference value helps to judge the thickness standard of the sample slice (that is, whether the thickness of the slice cut by the slicer meets the preset standard). The larger the thickness reference value, the greater the difference between the thickness uniformity of the slice and the standard. The process of obtaining the completeness reference value is as follows: obtain a high-definition image of the sample slice and draw a contour map of the sample slice through an image algorithm. The contour map is a closed figure composed of the contour curve of the sample slice. One contour map corresponds to one sample slice. The area of ​​each sample slice is calculated through the contour map and recorded as the area measurement value (that is, the area size of the sample slice). The average of the area measurement values ​​is calculated to obtain the area mean. , calculate the maximum area value by taking the maximum area measurement value (usually the most complete and largest sample slice), obtain an area measurement value less than or equal to 0.2 The number of sample slices is recorded as and the total number of sample slices (Normal size area is less than 0.2 The sample slices can be identified as unqualified or broken tablet fragments), and substitute into the formula Calculate the completeness reference value ; The area reference value is equal to the standard deviation of all area measurements divided by the maximum area value. The area reference value reflects whether the cut tablets are of uniform size. The smaller the area reference value, the more uniform the size of the tablets.

[0029] Furthermore, each type of medicinal material corresponds to a preset quality threshold. The quality threshold corresponding to the current processing type is extracted, and the quality judgment value is compared with the quality threshold. When the quality judgment value is less than the quality threshold, a quality failure signal is generated, and the cause of the quality defect is analyzed. The analysis process is as follows: The quality thresholds are bound to preset thickness thresholds, integrity thresholds and area thresholds. The area reference value is compared with the area threshold. When the area reference value is greater than the area threshold, a raw material abnormality signal is generated to keep the slicer running normally. The staff will check the raw materials and sample slices to determine whether the raw materials do not meet the processing standards (such as uneven shapes) causing large differences in the size of the sample slices. The integrity reference value is compared with the integrity threshold. When the integrity reference value is greater than the integrity threshold, a slicer blade wear abnormality signal is generated, and the slicer is controlled to stop running. The staff will check the cutting blade of the slicer to determine whether the cutting blade is worn, blunted or damaged (such as a notch) to cause the sample slice to be broken and lack integrity; The thickness reference value is compared with the thickness threshold. When the thickness reference value is greater than the thickness threshold, a slicer blade position abnormality signal is generated, and the slicer is controlled to stop running. The staff will check the cutting blade of the slicer to determine whether the uneven cutting of the sample slice is caused by abnormal cutting blade position (such as skew, deviation and deformation).

[0030] Different comparison steps can further narrow the scope of the problem, making it easier for staff to find out the specific reasons that affect the quality of slicing, facilitate daily maintenance, and flexibly control the shutdown of the slicer to avoid injuries to staff during the inspection process and reduce production efficiency due to frequent shutdowns.

[0031] The sliced ​​tablets are dried by air-energy heat pump box-type drying equipment, and the sliced ​​tablets are evenly arranged in the drying tray, and then stacked layer by layer on the movable shelves, and the movable shelves are pushed into the drying box for drying. The air-energy heat pump box-type drying equipment can dry tablets in large quantities. The drying inspection module performs sampling inspection on the dried tablets. The inspection process is as follows: The tablets to be tested after drying are recorded as dry tablets to be tested, and the moisture content of the dry tablets to be tested is measured by a near-infrared spectrometer. Multiple moisture content standard values ​​are preset, and the multiple moisture content standard values ​​are respectively bound to multiple types of medicinal materials. The corresponding moisture content standard value is selected according to the current processing type and recorded as the processing moisture content standard value. The moisture content of the dry tablets to be tested is divided by the processing moisture content standard value to obtain an error value. When the error value is within the interval range [0.95,1.05], a qualified signal is generated, otherwise, a moisture content substandard signal is generated.

[0032] The near-infrared spectrometer can accurately measure the moisture content of the dried tablets and, based on the processing type determined by the raw material detection module, select the moisture content standard value of the corresponding processing type for comparison with the moisture content of the dried tablets. This allows staff to quickly determine whether the current drying process of the medicinal materials meets the requirements, thereby quickly discovering over-drying or under-drying.

[0033] The above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements will not cause the essence of the corresponding technical solutions to deviate from the protection scope of the technical solutions of the embodiments of the present invention.

Claims

1. An intelligent control system for processing Chinese herbal medicine slices, comprising a slicer, an air energy heat pump box drying device and a near infrared spectrometer, characterized in that: Also includes: Raw material detection module, slice detection module, drying inspection module; The raw material detection module detects and analyzes the raw materials entering the production line after cleaning, compares the quality mean of the production raw materials with multiple preset quality mean intervals, preliminarily screens out the range of medicinal materials to which the production raw materials belong and records them as similar types, and further determines the type of the production raw materials based on the apparent image of the production raw materials; According to the processing type of the raw material, the raw material is transported to the corresponding processing line for further processing. The raw medicinal materials are sliced ​​after being moistened. Each medicinal material type corresponds to a slice thickness setting parameter. The slice thickness of the slicer is adjusted according to the processing type of the raw material. The raw material is cut into tablets of uniform thickness by the Chinese medicinal material slicer; The slice detection module includes a detection adjustment unit and a quality detection unit. The detection adjustment unit adjusts the sampling period of the quality detection unit according to the processing type and the market price of the raw materials of the type, and adjusts the sampling quantity of the quality detection unit according to the standard thickness of the tablets and the quality of the raw materials of the type. The quality detection unit detects the slice quality of the tablets and generates different abnormal signals according to the abnormal data detected to determine the specific cause of the abnormality. The sliced ​​tablets are dried by air-energy heat pump box drying equipment, and the drying inspection module performs sampling inspection on the dried tablets, and generates qualified and unqualified signals based on the inspection results.

2. The intelligent control system for processing Chinese herbal medicine slices according to claim 1, characterized in that: The specific steps of the raw material detection module detection and analysis are as follows: The multiple raw materials in the first batch of raw materials are tested separately, and the multiple raw materials tested separately are recorded as basic raw materials. The mass of each basic raw material is extracted and its mean is calculated to obtain the mass mean G of all basic raw materials. There are multiple mass mean intervals preset, and each mass mean interval corresponds to a medicinal material type. According to the mass mean interval to which the mass mean belongs, multiple corresponding medicinal material types are obtained and recorded as similar types. , n=1, 2, 3...m, m is the total number of corresponding similar categories.

3. The intelligent control system for processing Chinese herbal medicine slices according to claim 2, characterized in that: Each type of medicinal material corresponds to a sample image library, which contains multiple images of Chinese medicinal material raw materials corresponding to the medicinal material type. The apparent images of multiple basic raw materials are extracted and recorded as , i=1, 2, 3...j, j is the total number of basic raw materials, similar types All images in the sample image library are recorded as comparison images, and the surface images of the basic raw materials are recorded as comparison images. Compare with the comparison image one by one, and calculate the similarity between the two compared images through the image convolution recognition model, extract the maximum value of the similarity between the appearance image of each basic raw material and all the comparison images, record it as the maximum similarity value of the basic raw material, and record the type of medicinal material to which the comparison image belongs corresponding to the maximum similarity value as the similar type, extract the maximum value of the similarity value of each basic raw material and record it as the similarity judgment value of the raw material, when the similarity judgment value is greater than the preset similarity threshold, record the similar type corresponding to the similarity judgment value as the processing type of the raw material, and add each basic raw material appearance image into the sample image library of the corresponding medicinal material type.

4. The intelligent control system for processing Chinese herbal medicine slices according to claim 2, characterized in that: The detection adjustment unit adjusts the cycle and quantity of quality detection as follows: Get the type of tablet processing and the market price P of the raw materials of this type, get the speed V of the slicer cutting the tablets, and substitute it into the formula Calculate in to obtain the sampling period value T, where K is a preset value; The sliced ​​tablets are sampled and tested every period T. The number of samples depends on the standard thickness of the tablets and the mass mean range corresponding to the raw materials. The middle value of the mass mean range corresponding to the raw materials is taken. After normalizing with the standard thickness H, enter the formula Calculate and get the sampling quantitative value NUM, where These are all preset weight coefficients, and tablets with weights in the interval [0.9NUM, 1.1NUM] are extracted for quality inspection.

5. The intelligent control system for processing Chinese herbal medicine slices according to claim 4, characterized in that: The quality inspection process of the tablets by the quality inspection unit is specifically as follows: The extracted tablets are recorded as sample slices, the sample slices are laid flat and the thickness reference value of each sample slice is obtained. And calculate its mean value as , obtain the integrity reference value of all sample slices And area reference value ,Will , , Substitute into the formula Calculate the quality of the sample slice and obtain the quality judgment value ,in All are preset weight coefficients; The process of obtaining the thickness reference value is as follows: measure the thickness of multiple points on the sample sheet, evenly distribute the measurement points, obtain the thickness values ​​of multiple points, calculate the average of all thickness values ​​and record it as the thickness mean value , calculate the range of all thickness values ​​as the thickness extreme value , extract standard thickness Thick extreme value Thickness average Substitute into the formula Calculate the thickness reference value ,in All are preset weight coefficients; The process of obtaining the completeness reference value is as follows: obtain a high-definition image of the sample slice and draw a contour map of the sample slice through an image algorithm. The contour map is a closed figure composed of the contour curve of the sample slice. One contour map corresponds to one sample slice. The area of ​​each sample slice is calculated through the contour map and recorded as the area measurement value. The average of the area measurement values ​​is calculated to obtain the area mean. , calculate the maximum area value by taking the maximum area measurement value , get area measurement value less than or equal to 0.2 The number of sample slices is recorded as and the total number of sample slices , substitute into the formula Calculate the completeness reference value ; The area reference value is equal to the standard deviation of all area measurements divided by the maximum area value.

6. The intelligent control system for processing Chinese herbal medicine slices according to claim 5, characterized in that: Each type of medicinal material has a preset quality threshold. The quality threshold corresponding to the current processing type is extracted, and the quality judgment value is compared with the quality threshold. When the quality judgment value is less than the quality threshold, a quality failure signal is generated and the cause of the quality defect is analyzed.

7. The intelligent control system for processing Chinese herbal medicine slices according to claim 6, characterized in that: The analysis process is as follows: The quality thresholds are respectively bound to the preset thickness threshold, integrity threshold and area threshold. The area reference value is compared with the area threshold. When the area reference value is greater than the area threshold, a raw material abnormality signal is generated to keep the slicer running normally, and the staff will check the raw materials and sample slices. The integrity reference value is compared with the integrity threshold value. When the integrity reference value is greater than the integrity threshold value, a slicer blade wear abnormality signal is generated, the slicer is controlled to stop running, and a staff member checks the cutting blade of the slicer; The thickness reference value is compared with the thickness threshold. When the thickness reference value is greater than the thickness threshold, a slicer blade position abnormality signal is generated, the slicer is controlled to stop running, and the staff checks the cutting blade of the slicer.

8. The intelligent control system for processing Chinese herbal medicine slices according to claim 1, characterized in that: The drying inspection module detection process is as follows: The tablets to be tested after drying are recorded as dry tablets to be tested, and the moisture content of the dry tablets to be tested is measured by a near-infrared spectrometer. Multiple moisture content standard values ​​are preset, and the multiple moisture content standard values ​​are respectively bound to multiple types of medicinal materials. The corresponding moisture content standard value is selected according to the current processing type and recorded as the processing moisture content standard value. The moisture content of the dry tablets to be tested is divided by the processing moisture content standard value to obtain an error value. When the error value is within the interval range [0.95,1.05], a qualified signal is generated, otherwise, a moisture content substandard signal is generated.

Citation Information

Patent Citations

  • Device and method for online controlling piece thickness in cutting process of traditional Chinese medicine decoction pieces

    CN110027031A

  • Traditional Chinese medicinal material slice detection method

    CN111141542A

  • Traditional Chinese medicine decoction piece quality monitoring and analyzing system based on machine vision

    CN114841986A

  • Herbal medicine roasting control system and control method

    CN117338600A

  • Ginseng medicinal material slice quality management system based on ginsenoside extraction

    CN117870782A

Cited By

  • Detection system and method based on beverage production and manufacturing process

    CN120445322A