Method for evaluating cleaning effect of traditional Chinese medicine processed medicinal materials in combination with spectrum technology

The cleaning effect of traditional Chinese medicine preparation medicinal materials was evaluated through spectral technology, and the problem of inaccurate cleaning evaluation of traditional Chinese medicine was solved, achieving higher evaluation accuracy and reliability.

CN119985372AActive Publication Date: 2025-05-13北京智想创源科技有限公司
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
CN202510473113.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-04-16
Publication Date
2025-05-13
Estimated Expiration
2045-04-16

AI Technical Summary

Technical Problem

The evaluation method for cleaning effect of traditional Chinese medicine preparation medicinal materials is disturbed by impurities on the surface of medicinal materials, uneven drug properties and uneven solvent distribution, resulting in inaccurate evaluation.

Method used

Spectral technology is used to evaluate the cleaning effect of medicinal materials. By collecting the cleaning spectral data of medicinal materials, dividing the characteristic absorption peak sequence, calculating the absorption interference evaluation coefficient and cleaning difference index, using the local symmetric weighing weighted punishment least squares method for baseline correction to determine whether the cleaning effect meets the standards.

Benefits of technology

It improves the accuracy of the evaluation of the cleaning effect of medicinal materials, reduces the interference of the surface texture and environmental noise of the medicinal materials, and ensures the reliability and accuracy of the cleaning effect.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119985372A_ABST
    Figure CN119985372A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of traditional Chinese medicine processing spectrum analysis, in particular to a traditional Chinese medicine processing medicinal material cleaning effect evaluation method combined with a spectrum technology, which comprises the following steps: collecting medicinal material cleaning spectrum data of each sampling point, and dividing a characteristic absorption peak sequence; calculating an absorption interference evaluation coefficient of each sampling point based on the symmetry of each characteristic absorption peak sequence of each sampling point and the stability of fluctuation; and based on the difference between the medicinal material cleaning spectral data of each sampling point and the medicinal material cleaning spectral data of other sampling points in the neighborhood, obtaining a cleaning difference index of each sampling point in combination with the absorption interference evaluation coefficient, obtaining an interference removal balance index of each sampling point, calculating a medicinal material cleaning standard index, and judging whether the medicinal material cleaning effect reaches the standard or not. The method and the device aim at solving the problem of inaccurate evaluation of the cleaning effect of the medicinal materials due to the fact that near infrared spectrum data in the cleaning process of the medicinal materials are easily interfered, and the accuracy of evaluation of the cleaning effect of the medicinal materials is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of spectral analysis of Chinese medicine preparation, and in particular to a method for evaluating the cleaning effect of Chinese medicine preparation materials combined with spectral technology. Background Art

[0002] Chinese medicine processing refers to the traditional methods and techniques of processing Chinese medicinal materials into Chinese medicinal pieces under the guidance of Chinese medicine theory and in accordance with the requirements of Chinese medicine. In the process of Chinese medicine processing, there are many common methods for cleaning Chinese medicinal materials, such as water washing, rinsing, soaking, bleaching, stewing and wine processing. In the process of cleaning medicinal materials, on the one hand, it can remove impurities such as soil attached to the medicinal materials, and on the other hand, it can reduce toxicity and change medicinal properties. In order to ensure that the processing standards are met, it is necessary to evaluate the cleaning effect of the medicinal materials during the cleaning process.

[0003] The traditional evaluation of medicinal material cleaning effect is to judge the turbidity of the cleaning pool manually or by Chinese medicinal material cleaning equipment, and then evaluate the medicinal material cleaning effect. However, in the actual evaluation process, it is interfered by impurities on the surface of the medicinal materials, uneven distribution of medicinal properties of the medicinal materials, uneven distribution of solvents, etc., making the evaluation of the medicinal material cleaning effect not accurate enough. Summary of the invention

[0004] In view of the above, it is necessary to provide a method for evaluating the cleaning effect of Chinese medicinal materials prepared by combining spectral technology. Compared with the traditional method for evaluating the cleaning effect of Chinese medicinal materials prepared by combining spectral technology, the accuracy of judging the cleaning effect of medicinal materials is improved.

[0005] The cleaning effect evaluation method of traditional Chinese medicine processed medicinal materials combined with spectral technology in this application adopts the following technical scheme: One embodiment of the present application provides a method for evaluating the cleaning effect of processed Chinese medicinal materials combined with spectral technology, the method comprising the following steps: Collect the medicinal material cleaning spectrum data at each sampling point; The characteristic absorption peak sequence is divided according to the spectrum data of the medicinal material cleaning, and the absorption interference evaluation coefficient of each sampling point is calculated based on the symmetry of each characteristic absorption peak sequence and the stability of fluctuation; Based on the difference in the medicinal material cleaning spectral data between each sampling point and the other sampling points in the neighborhood, the cleaning difference index of each sampling point is obtained in combination with the absorption interference evaluation coefficient; Obtain the interference removal balance index of each sampling point according to the cleaning difference index and the absorption interference evaluation coefficient of each sampling point; The medicinal material cleaning compliance index is calculated based on the medicinal material cleaning spectral data of all sampling points and the interference removal balance index to determine whether the medicinal material cleaning effect meets the standard.

[0006] In one embodiment, the specific method of dividing the characteristic absorption peak sequence is: A peak detection algorithm is used to extract all peak points in the medicinal material cleaning spectrum data. The midpoint between each peak point and the next adjacent peak point in the medicinal material cleaning spectrum data is used as a segmentation point, and each medicinal material cleaning spectrum data is segmented into multiple characteristic absorption peak sequences.

[0007] In one embodiment, the specific calculation method of the absorption interference evaluation coefficient is: Obtaining the adjacent wavelength absorption difference index of each characteristic absorption peak sequence based on the stationarity of the fluctuation of each characteristic absorption peak sequence; Based on the symmetry of each characteristic absorption peak sequence, a symmetrical absorption difference coefficient of each characteristic absorption peak sequence is obtained; The absorption interference evaluation coefficient of each sampling point is positively correlated with the adjacent wavelength absorbance difference index and the symmetrical absorbance difference coefficient of each characteristic absorption peak sequence of each sampling point, and is negatively correlated with the range of each characteristic absorption peak sequence of each sampling point.

[0008] In one embodiment, the specific method for obtaining the adjacent wavelength absorbance difference index of each characteristic absorption peak sequence is: The first-order difference of each characteristic absorption peak sequence is taken as the adjacent wavelength absorption difference sequence, and the sum of all data points of the adjacent wavelength absorption difference sequence is taken as the adjacent wavelength absorption difference index of each characteristic absorption peak sequence.

[0009] In one embodiment, the specific method for obtaining the symmetric absorbance difference coefficient of each characteristic absorption peak sequence is: The peak point in each characteristic absorption peak sequence is taken as the peak symmetry axis, the missing values ​​of each characteristic absorption peak sequence are filled as a symmetric absorption peak sequence, and the two data points on both sides of the symmetric absorption peak sequence that are symmetrical about the peak symmetry axis are taken as a symmetric point pair; For each symmetrical point pair in the symmetrical absorption peak sequence, the absolute value of the difference between the two data points of each symmetrical point pair is recorded as the absorbance difference index of each symmetrical point pair, and the average value of the absorbance difference index of all symmetrical point pairs in each symmetrical absorption peak sequence is recorded as the symmetrical absorbance difference coefficient of each characteristic absorption peak sequence.

[0010] In one embodiment, the method of obtaining the cleaning difference index of each sampling point includes: For any sampling point, arrange the distances between all sampling points and the any sampling point in ascending order, and use the first preset number of sampling points as neighborhood reference points of the any sampling point; Based on the difference of the absorption interference evaluation coefficient between each sampling point and the neighboring reference point, the anti-interference ability of each neighboring reference point of each sampling point is obtained; based on the difference of the medicinal material cleaning spectrum data between each sampling point and the neighboring reference point, the neighborhood absorption difference coefficient of each neighboring reference point of each sampling point is obtained; The cleaning difference index of each sampling point is negatively correlated with the anti-interference ability, and positively correlated with the neighborhood absorbance difference coefficient.

[0011] In one embodiment, the anti-interference capability of each neighborhood reference point of each sampling point is the absolute value of the difference between the interference absorption evaluation coefficient of each sampling point and each neighborhood reference point.

[0012] In one embodiment, the neighborhood absorbance difference coefficient of each neighborhood reference point of each sampling point is the distance between the medicinal material cleaning spectrum data of each sampling point and each neighborhood reference point.

[0013] In one embodiment, the interference removal balance index of each sampling point is negatively correlated with the corresponding cleaning difference index and positively correlated with the corresponding absorption interference evaluation coefficient.

[0014] In one embodiment, the method of calculating the medicinal material cleaning index and judging whether the medicinal material cleaning effect meets the standard includes: The interference removal balance index of each sampling point is used as a smoothing parameter of the local symmetrically weighted penalized least squares method, and the baseline correction of the medicinal material cleaning spectrum data of each sampling point is performed using the local symmetrically weighted penalized least squares method, and the corrected medicinal material cleaning data of each sampling point is output; The similarity between the calibrated medicinal material cleaning data and the standard medicinal material cleaning data of each sampling point is used as the medicinal material cleaning index of each sampling point. The medicinal material cleaning standard index is positively correlated with the medicinal material cleaning index of all sampling points. When the medicinal material cleaning standard-reaching index is greater than or equal to the preset cleaning qualified threshold, the medicinal material cleaning effect is judged to be up to standard; otherwise, the medicinal material cleaning effect is judged to be not up to standard.

[0015] This application has the following beneficial effects: Based on the medicinal material cleaning spectrum data of each sampling point, the characteristic absorption peak sequence is divided, and the violent fluctuation of the medicinal material cleaning spectrum data caused by the interference of the medicinal material surface texture and environmental noise and the asymmetry of the peak are analyzed. Based on the symmetry of each characteristic absorption peak sequence of each sampling point and the stability of the fluctuation, the absorption interference evaluation coefficient of each sampling point is calculated to measure the degree of interference of the medicinal material cleaning spectrum data by the medicinal material surface texture and environmental noise; considering that the medicinal material cleaning spectrum data of the sampling point with poor medicinal material cleaning effect has complex components and is different from the medicinal material cleaning spectrum data of the surrounding sampling points, based on the difference between the medicinal material cleaning spectrum data of each sampling point and the rest of the sampling points in the neighborhood, the cleaning difference index of each sampling point is obtained in combination with the absorption interference evaluation coefficient, and a smaller weight is set for the sampling points with large differences in the absorption interference evaluation coefficient in the neighborhood, so as to improve the reliability of the evaluation of the interference degree of the medicinal material cleaning spectrum data of each sampling point by impurities; the cleaning difference index represents the interference degree of the medicinal material cleaning spectrum data of the sampling point by impurities, and the absorption interference evaluation coefficient is used to evaluate the interference degree of the medicinal material cleaning spectrum data of the sampling point by impurities. The interference assessment coefficient represents the degree of interference of the medicinal material cleaning spectral data at the sampling point with the medicinal material surface texture and environmental noise. The retention of the cleaning detail information of the medicinal material cleaning spectral data at the sampling point and the removal of interference such as the medicinal material surface texture and environmental noise are comprehensively considered. The interference removal balance index of each sampling point is obtained according to the cleaning difference index of each sampling point and the absorption interference assessment coefficient, which is used as the smoothing parameter of the local symmetrical reweighted penalized least squares method, thereby improving the reliability of the smoothing parameter determination; the medicinal material cleaning spectral data of each sampling point is baseline corrected by the local symmetrical reweighted penalized least squares method, and the corrected medicinal material cleaning data of each sampling point is output. While retaining the cleaning detail information of the medicinal material cleaning spectral data, the interference of the medicinal material surface texture and environmental noise is removed as much as possible, thereby avoiding the problem of insufficient correction or overfitting of the baseline correction of the medicinal material cleaning spectral data of each sampling point; the medicinal material cleaning compliance index is calculated according to the corrected medicinal material cleaning data of all sampling points to judge whether the medicinal material cleaning effect meets the standard, thereby improving the accuracy of the evaluation of the medicinal material cleaning effect. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.

[0017] Figure 1 A schematic flow chart of a method for evaluating the cleaning effect of processed Chinese medicinal materials combined with spectral technology provided in one embodiment of the present application; Figure 2Schematic diagram for obtaining the absorption interference evaluation coefficient. DETAILED DESCRIPTION

[0018] In the description of the embodiments of the present application, words such as "exemplary", "or", "for example" and the like are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary", "or", "for example" and the like is intended to present related concepts in a concrete manner.

[0019] Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs.

[0020] See also Figure 1 , which shows a flow chart of a method for evaluating the cleaning effect of Chinese medicinal materials prepared by combining spectroscopy technology provided by an embodiment of the present application, the method comprising the following steps: Step S001, collecting medicinal material cleaning spectrum data at each sampling point.

[0021] There are many ways to clean Chinese medicinal materials. This application uses the immersion method to clean Chinese medicinal materials. Preferably, as an embodiment of this application, the cleaning method of Chinese medicinal materials is: soaking the medicinal materials in an organic solution so that the toxins in the medicinal materials are slowly extracted and separated by the organic solution, thereby changing the medicinal properties of the medicinal materials and reducing the toxicity of the medicinal materials. In order to obtain the cleaning effect of the immersion method, a near-infrared spectrometer is deployed directly above the immersion container, and the medicinal material cleaning spectral data of each sampling point in the Chinese medicinal material immersion container is collected during the immersion process.

[0022] It should be noted that the number of sampling points is a preset value. Organic solutions include yellow wine, rice wine and white wine. In this embodiment, white wine is selected as the organic solution for soaking Chinese medicinal materials. The number of sampling points is 100. For the selection of organic solutions and the setting of the number of sampling points, as other implementation methods, the implementer can choose them at will, and this application does not impose any special restrictions on this. In the spectrum data of medicinal material cleaning at each sampling point at each acquisition time, the horizontal axis represents the wavelength, and the vertical axis represents the absorbance, which reflects the degree to which light of different wavelengths is absorbed by the Chinese medicinal material soaking solution.

[0023] Step S002: dividing characteristic absorption peak sequences according to the medicinal material cleaning spectrum data, and calculating the absorption interference evaluation coefficient of each sampling point based on the symmetry and fluctuation stability of each characteristic absorption peak sequence of each sampling point.

[0024] It should be noted that since most of the Chinese medicinal materials are woody or herbaceous plants, the surface of the medicinal materials usually has longitudinal, transverse, reticular or irregular textures. In addition, in the process of collecting medicinal materials, defects such as cracks or fractures may appear on the medicinal materials. The above reasons make the surface characteristics of the medicinal materials often uneven and diverse. Therefore, in the Chinese medicinal material soaking solution, the near-infrared light is easily affected by scattered light, resulting in more noise points in the medicinal material cleaning spectral data. At the same time, due to the influence of scattering and reflection unevenness, the medicinal material cleaning spectral data undergoes a certain degree of deformation, which affects the detection of the cleaning effect of the Chinese medicinal materials.

[0025] In order to analyze the influence of the concave-convex characteristics of the Chinese medicine surface on the spectrum data of medicinal material cleaning, the peak detection algorithm is used to extract all the peak points in the spectrum data of medicinal material cleaning. The midpoint between each peak point and the next adjacent peak point in the spectrum data of medicinal material cleaning is taken as a segmentation point, and each spectrum data of medicinal material cleaning is segmented into multiple characteristic absorption peak sequences.

[0026] It should be noted that each characteristic absorption peak sequence contains a peak point. The peak detection algorithm is a well-known technology. This embodiment selects an automatic multi-scale peak detection algorithm to extract the peak point. The selection of the peak detection algorithm is other implementation methods that the implementer can choose at his own discretion, and this application does not impose any special restrictions on this.

[0027] Furthermore, the first-order difference of each characteristic absorption peak sequence is taken as the adjacent wavelength absorption difference sequence, and the sum of all data points of the adjacent wavelength absorption difference sequence is taken as the adjacent wavelength absorption difference index of each characteristic absorption peak sequence. The peak point in each characteristic absorption peak sequence is taken as the peak symmetry axis, and each characteristic absorption peak sequence is filled with missing values ​​as a symmetric absorption peak sequence. The two data points symmetrical about the peak symmetry axis on both sides of the symmetric absorption peak sequence are taken as symmetric point pairs. For each symmetric point pair in the symmetric absorption peak sequence, the absolute value of the difference between the two data points of each symmetric point pair is recorded as the absorption difference index of each symmetric point pair, and the average value of the absorption difference index of all symmetric point pairs in each symmetric absorption peak sequence is recorded as the symmetric absorption difference coefficient of each characteristic absorption peak sequence.

[0028] The absorption interference evaluation coefficient of each sampling point is positively correlated with the adjacent wavelength absorbance difference index and the symmetrical absorbance difference coefficient of each characteristic absorption peak sequence of each sampling point, and is negatively correlated with the range of each characteristic absorption peak sequence of each sampling point.

[0029] It should be understood that the lengths of both sides of the peak symmetry axis of the symmetrical absorption peak sequence are equal, and missing value filling is a known technology. This embodiment selects regression filling method to fill missing values. As other implementation methods, the implementer can choose it by himself, and this application does not make special restrictions on this. Positive correlation refers to the relationship between the independent variable and the dependent variable. When the independent variable increases or decreases, the dependent variable will also increase or decrease accordingly, that is, the change direction of the two variables is the same. The positive correlation can be a multiplication relationship, an addition relationship, a proportional relationship, etc., and this application does not make special restrictions. Negative correlation means that the dependent variable will decrease as the independent variable increases, and the dependent variable will increase as the independent variable decreases. It can be a subtraction relationship, a division relationship, etc., which is determined by practical application.

[0030] As an embodiment of the present application, the range of each characteristic absorption peak sequence plus the parameter adjustment factor is used as the adjustment range of the characteristic absorption peak sequence, the sum of the adjacent wavelength absorbance difference index and the symmetric absorbance difference coefficient of each characteristic absorption peak sequence is divided by the adjustment range as the difference interference coefficient of the characteristic absorption peak sequence, and the average value of the difference interference coefficients of all characteristic absorption peak sequences at each sampling point is recorded as the absorption interference evaluation coefficient of the sampling point. In an embodiment of the present application, the schematic diagram of obtaining the absorption interference evaluation coefficient is shown in FIG. Figure 2 shown.

[0031] It should be noted that the parameter adjustment factor is a manually preset positive number. The function of the parameter adjustment factor is to prevent the denominator from being 0, which makes the difference interference coefficient meaningless. In this embodiment, the parameter adjustment factor is 1. As other implementation methods, the implementer can choose it at his own discretion, and this application does not impose any special restrictions on this.

[0032] It should be further explained that when the medicinal material cleaning spectral data of the sampling point is seriously affected by the scattering of the uneven surface characteristics of the traditional Chinese medicine, the number of noise points in the corresponding characteristic absorption peak sequence is large, and the absorbance fluctuation is large, which makes the adjacent wavelength absorption difference index value larger; in addition, the scattering chaos will cause the characteristic peak to deform and destroy the original symmetry, and the absorbance difference index of the symmetrical point pairs symmetrical about the peak symmetry axis in the characteristic absorption peak sequence will increase, which will increase the value of the symmetrical absorbance difference coefficient of the characteristic absorption peak sequence; the smaller the range of the characteristic absorption peak sequence, the more susceptible the characteristic absorption peak sequence is to interference by scattering, and the larger the value of the absorption interference evaluation coefficient of the sampling point is.

[0033] Step S003: Based on the difference in medicinal material cleaning spectral data between each sampling point and the remaining sampling points in the neighborhood, a cleaning difference index of each sampling point is obtained in combination with the absorption interference evaluation coefficient.

[0034] It should be noted that compared with the density of the solvent, the density of Chinese medicinal materials is usually smaller, so Chinese medicinal materials often float on the surface of the solvent. Affected by the degree of diffusion of the solvent, the degree of immersion and cleaning of Chinese medicinal materials at different positions is different, so that the place with lighter immersion has a lower degree of cleaning, resulting in complex components in the spectral data of medicinal material cleaning. When using a near-infrared spectrometer detector for dot scanning, the Chinese medicinal material soaking container will be scanned at equal intervals. In order to evaluate the cleaning effect of Chinese medicinal materials at each sampling point, for any sampling point, the distance between all sampling points and any sampling point is arranged in ascending order, and the first s sampling points are used as the neighborhood reference points of any sampling point.

[0035] Furthermore, for each neighborhood reference point of any sampling point, the absolute value of the difference between the absorption interference evaluation coefficient of any sampling point and each neighborhood reference point is recorded as the anti-interference ability of any sampling point and each neighborhood reference point, and the distance between the medicinal material cleaning spectral data of any sampling point and each neighborhood reference point is recorded as the neighborhood absorbance difference coefficient of each neighborhood reference point of any sampling point. The cleaning difference index of any sampling point is negatively correlated with the anti-interference ability, and positively correlated with the neighborhood absorbance difference coefficient.

[0036] It should be noted that the medicinal material cleaning spectral data of each sampling point is a sequence, the calculation of the distance between sequences and the calculation of the distance between data points are both well-known technologies, the number s of the neighborhood reference points of each sampling point is a preset value, and the number of neighborhood reference points of each sampling point in this embodiment is 5, the DTW distance is selected to calculate the distance between sequences, and the Euclidean distance is selected to calculate the distance between sampling points. For the number of neighborhood reference points of each sampling point, the calculation of the distance between sequences, and the calculation of the distance between sampling points, as other implementation methods, the implementer can choose according to the actual situation, and this application does not impose any special restrictions on this.

[0037] As an embodiment of the present application, the sum of the anti-interference capabilities of each sampling point and all neighborhood reference points is recorded as the fluctuation situation of each sampling point, the anti-interference capability of each neighborhood reference point of the sampling point is divided by the fluctuation situation as the neighborhood interference situation of each neighborhood reference point of the sampling point, the difference between the number 1 and the neighborhood interference situation is recorded as the difference weight of each neighborhood reference point of the sampling point, the neighborhood absorbance difference coefficient of each neighborhood reference point of the sampling point is multiplied by the difference weight as the absorbance anti-interference difference factor of each neighborhood reference point of the sampling point, and the sum of the absorbance anti-interference difference factors of all neighborhood reference points of the sampling point is recorded as the cleaning difference index of the sampling point.

[0038] It should be further explained that, when the distance between the sampling point and the medicinal material cleaning spectral data of each sampling point in the local comparison area is greater, it means that the composition difference of each sampling point in the neighborhood of the sampling point is greater, and it is more likely to contain impurities. The medicinal material cleaning spectral data of the sampling point is more likely to be interfered by impurities, and the cleaning difference index value is larger; when the difference between the absorption interference evaluation coefficients of the two sampling points is greater, it means that the degree of interference of the medicinal material cleaning spectral data of the two sampling points is more different. When evaluating the degree of interference of the medicinal material cleaning spectral data of each sampling point by impurities, a smaller weight should be set, and the smaller the difference weight value is.

[0039] Step S004: Obtain the interference removal balance index of each sampling point according to the cleaning difference index and the absorption interference evaluation coefficient of each sampling point.

[0040] It should be noted that the spectral data of medicinal material cleaning will be interfered by impurities on the medicinal material surface, the medicinal material surface texture and environmental noise, etc., which will cause baseline drift in the spectral data of medicinal material cleaning and even the problem of important characteristic peaks being submerged. In order to improve the accuracy of the detection of medicinal material cleaning effect, when using the local symmetric weighted penalized least squares method to perform baseline correction on the spectral data of medicinal material cleaning, the interference of the medicinal material surface texture and environmental noise should be weakened while retaining the detailed information of the medicinal material surface.

[0041] Specifically, the interference removal balance index of each sampling point is negatively correlated with the corresponding cleaning difference index and positively correlated with the corresponding absorption interference evaluation coefficient.

[0042] As an embodiment of the present application, the normalized value of the ratio of the absorption interference evaluation coefficient to the cleaning difference index of each sampling point is multiplied by the adjustment coefficient to obtain the interference removal balance index of each sampling point.

[0043] It should be understood that the smoothing parameter of the local symmetrical reweighted penalized least squares method has a value range of 0 to 10. The adjustment coefficient is a manually preset value, and the function of the adjustment coefficient is to adjust the value range of the interference removal balance index of each sampling point. In this embodiment, the adjustment coefficient is 10. As other implementation methods, the implementer can select it at will.

[0044] It should be noted that, when the cleaning difference index is larger, it means that the medicinal material cleaning spectral data at the sampling point is more likely to be interfered by impurities. When performing baseline correction on the medicinal material cleaning spectral data at the sampling point, a smaller smoothing parameter should be set to retain the detailed information of the medicinal material cleaning spectral data, improve the accuracy of subsequent evaluation of the medicinal material cleaning effect, and the smaller the interference removal balance index value; when the absorption interference evaluation coefficient is larger, it means that the medicinal material cleaning spectral data at the sampling point is more likely to be interfered by the surface texture of the medicinal material and environmental noise, etc., when performing baseline correction on the medicinal material cleaning spectral data at the sampling point, a larger smoothing parameter should be set to reduce the interference of the surface texture of the medicinal material and environmental noise, etc., improve the accuracy of subsequent evaluation of the medicinal material cleaning effect, and the larger the interference removal balance index value.

[0045] Step S005: Calculate the medicinal material cleaning compliance index based on the medicinal material cleaning spectrum data of all sampling points and the interference removal balance index to determine whether the medicinal material cleaning effect meets the standard.

[0046] The interference removal balance index of each sampling point is used as the smoothing parameter of the local symmetrically weighted penalized least squares method. The local symmetrically weighted penalized least squares method is used to perform baseline correction on the medicinal material cleaning spectral data of each sampling point, and the corrected medicinal material cleaning data of each sampling point is output.

[0047] In order to obtain the cleaning effect of Chinese medicinal materials at each sampling moment, the similarity between the calibrated medicinal material cleaning data and the standard medicinal material cleaning data of each sampling point is used as the medicinal material cleaning index of each sampling point. The medicinal material cleaning compliance index is positively correlated with the medicinal material cleaning index of all sampling points.

[0048] As an embodiment of the present application, the average value of the medicinal material cleaning indexes of all sampling points is used as the medicinal material cleaning compliance index.

[0049] It should be noted that the standard medicinal material cleaning data is obtained from an existing database, and the calibration medicinal material cleaning data and the standard medicinal material cleaning data are a sequence. The calculation of the similarity between sequences is a well-known technology. This embodiment selects cosine similarity to calculate the similarity between sequences. As other implementation methods, the implementer can choose it at will, and this application does not impose any special restrictions on this. The greater the similarity between the calibration medicinal material cleaning data and the standard medicinal material cleaning data at each sampling point, the more likely it is that the cleaning effect at each sampling point has reached the standard, and the greater the medicinal material cleaning standard index value.

[0050] Furthermore, when the medicinal material cleaning standard-reaching index is greater than or equal to the cleaning qualified threshold, the medicinal material cleaning effect is determined to be up to standard; otherwise, the medicinal material cleaning effect is determined to be not up to standard.

[0051] It should be understood that the cleaning qualified threshold is a manually preset value. In this embodiment, the cleaning qualified threshold is 0.8. As other implementation methods, implementers can choose them at their own discretion, and this application does not impose any special restrictions on this.

[0052] The embodiment of the present application provides a method for evaluating the cleaning effect of Chinese medicinal materials prepared by combining spectral technology, the method comprising: dividing a characteristic absorption peak sequence based on the medicinal material cleaning spectrum data of each sampling point, analyzing the violent fluctuation of the medicinal material cleaning spectrum data caused by the interference of the medicinal material surface texture and environmental noise, etc., and the asymmetry of the peak, calculating the absorption interference evaluation coefficient of each sampling point based on the symmetry of each characteristic absorption peak sequence of each sampling point and the stability of the fluctuation, so as to measure the degree of interference of the medicinal material cleaning spectrum data by the medicinal material surface texture and environmental noise, etc.; considering that the medicinal material cleaning spectrum data of the sampling point with poor medicinal material cleaning effect has complex components and is different from the medicinal material cleaning spectrum data of the surrounding sampling points, based on the difference between the medicinal material cleaning spectrum data of each sampling point and the other sampling points in the neighborhood, combining the absorption interference evaluation coefficient to obtain the cleaning difference index of each sampling point, setting a smaller weight for the sampling points with larger differences in the absorption interference evaluation coefficient in the neighborhood, thereby improving the reliability of evaluating the degree of interference of the medicinal material cleaning spectrum data of each sampling point by impurities; the cleaning difference index represents the medicinal material cleaning spectrum data of the sampling point. The degree of interference of impurities on the cleaning spectrum data, and the absorption interference evaluation coefficient represent the degree of interference of the medicinal material cleaning spectrum data at the sampling point by the medicinal material surface texture and environmental noise. The retention of the cleaning details of the medicinal material cleaning spectrum data at the sampling point and the removal of interference such as the medicinal material surface texture and environmental noise are comprehensively considered. The interference removal balance index of each sampling point is obtained according to the cleaning difference index and the absorption interference evaluation coefficient of each sampling point, which is used as the smoothing parameter of the local symmetrical reweighted penalty least squares method, thereby improving the reliability of the smoothing parameter determination; the local symmetrical reweighted penalty least squares method is used to perform baseline correction on the medicinal material cleaning spectrum data of each sampling point, and the corrected medicinal material cleaning data of each sampling point is output. While retaining the cleaning details of the medicinal material cleaning spectrum data, the interference of the medicinal material surface texture and environmental noise is removed as much as possible, thereby avoiding the problem of insufficient correction or overfitting of the baseline correction of the medicinal material cleaning spectrum data at each sampling point; the medicinal material cleaning compliance index is calculated according to the corrected medicinal material cleaning data of all sampling points to judge whether the medicinal material cleaning effect meets the standard, thereby improving the accuracy of the evaluation of the medicinal material cleaning effect.

[0053] The flowchart and block diagram in the accompanying drawings show the possible architecture, function and operation of the system, method and computer program product according to the embodiment of the present disclosure. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a part of the code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. In some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, which can depend on the functions involved. In the description corresponding to the flowchart and the block diagram in the accompanying drawings, the operations or steps corresponding to different boxes can also occur in a different order from the order disclosed in the description, and sometimes there is no specific order between different operations or steps. For example, two consecutive operations or steps can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, which can depend on the functions involved. Each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, may be implemented by a dedicated hardware-based system that performs the specified functions or actions, or may be implemented by a combination of dedicated hardware and computer instructions.

[0054] It is obvious to those skilled in the art that the present application is not limited to the details of the above exemplary embodiments, and that the present application can be implemented in other specific forms without departing from the basic features of the present application. Therefore, no matter from which point of view, the above embodiments of the present application should be regarded as exemplary and non-restrictive.

Claims

1. A method for evaluating the cleaning effect of processed Chinese medicinal materials combined with spectral technology, characterized in that: The method comprises the following steps: Collect the medicinal material cleaning spectrum data at each sampling point; The characteristic absorption peak sequence is divided according to the spectrum data of the medicinal material cleaning, and the absorption interference evaluation coefficient of each sampling point is calculated based on the symmetry of each characteristic absorption peak sequence and the stability of fluctuation; Based on the difference in the medicinal material cleaning spectral data between each sampling point and the other sampling points in the neighborhood, the cleaning difference index of each sampling point is obtained in combination with the absorption interference evaluation coefficient; Obtain the interference removal balance index of each sampling point according to the cleaning difference index and the absorption interference evaluation coefficient of each sampling point; The medicinal material cleaning compliance index is calculated based on the medicinal material cleaning spectral data of all sampling points and the interference removal balance index to determine whether the medicinal material cleaning effect meets the standard.

2. The method for evaluating the cleaning effect of processed Chinese medicinal materials combined with spectral technology according to claim 1, characterized in that: The specific method for dividing the characteristic absorption peak sequence is: A peak detection algorithm is used to extract all peak points in the medicinal material cleaning spectrum data. The midpoint between each peak point and the next adjacent peak point in the medicinal material cleaning spectrum data is used as a segmentation point, and each medicinal material cleaning spectrum data is segmented into multiple characteristic absorption peak sequences.

3. The method for evaluating the cleaning effect of processed Chinese medicinal materials combined with spectral technology according to claim 2, characterized in that: The specific calculation method of the absorption interference evaluation coefficient is: Obtaining the adjacent wavelength absorption difference index of each characteristic absorption peak sequence based on the stationarity of the fluctuation of each characteristic absorption peak sequence; Based on the symmetry of each characteristic absorption peak sequence, a symmetrical absorption difference coefficient of each characteristic absorption peak sequence is obtained; The absorption interference evaluation coefficient of each sampling point is positively correlated with the adjacent wavelength absorbance difference index and the symmetrical absorbance difference coefficient of each characteristic absorption peak sequence of each sampling point, and is negatively correlated with the range of each characteristic absorption peak sequence of each sampling point.

4. The method for evaluating the cleaning effect of processed Chinese medicinal materials combined with spectral technology according to claim 3, characterized in that: The specific method for obtaining the adjacent wavelength absorbance difference index of each characteristic absorption peak sequence is: The first-order difference of each characteristic absorption peak sequence is taken as the adjacent wavelength absorption difference sequence, and the sum of all data points of the adjacent wavelength absorption difference sequence is taken as the adjacent wavelength absorption difference index of each characteristic absorption peak sequence.

5. The method for evaluating the cleaning effect of processed Chinese medicinal materials combined with spectral technology according to claim 3, characterized in that: The specific method for obtaining the symmetrical absorbance difference coefficient of each characteristic absorption peak sequence is: The peak point in each characteristic absorption peak sequence is taken as the peak symmetry axis, the missing values ​​of each characteristic absorption peak sequence are filled as a symmetric absorption peak sequence, and the two data points on both sides of the symmetric absorption peak sequence that are symmetrical about the peak symmetry axis are taken as a symmetric point pair; For each symmetrical point pair in the symmetrical absorption peak sequence, the absolute value of the difference between the two data points of each symmetrical point pair is recorded as the absorbance difference index of each symmetrical point pair, and the average value of the absorbance difference index of all symmetrical point pairs in each symmetrical absorption peak sequence is recorded as the symmetrical absorbance difference coefficient of each characteristic absorption peak sequence.

6. The method for evaluating the cleaning effect of processed Chinese medicinal materials combined with spectral technology according to claim 1, characterized in that: The specific method of obtaining the cleaning difference index of each sampling point includes: For any sampling point, arrange the distances between all sampling points and the any sampling point in ascending order, and use the first preset number of sampling points as neighborhood reference points of the any sampling point; Based on the difference of the absorption interference evaluation coefficient between each sampling point and the neighboring reference point, the anti-interference ability of each neighboring reference point of each sampling point is obtained; based on the difference of the medicinal material cleaning spectrum data between each sampling point and the neighboring reference point, the neighborhood absorption difference coefficient of each neighboring reference point of each sampling point is obtained; The cleaning difference index of each sampling point is negatively correlated with the anti-interference ability, and positively correlated with the neighborhood absorbance difference coefficient.

7. The method for evaluating the cleaning effect of processed Chinese medicinal materials combined with spectral technology according to claim 6, characterized in that: The anti-interference capability of each neighborhood reference point of each sampling point is the absolute value of the difference between the interference absorption evaluation coefficients of each sampling point and each neighborhood reference point.

8. The method for evaluating the cleaning effect of processed Chinese medicinal materials combined with spectral technology according to claim 6, characterized in that: The neighborhood absorbance difference coefficient of each neighborhood reference point of each sampling point is the distance between the medicinal material cleaning spectrum data of each sampling point and each neighborhood reference point.

9. The method for evaluating the cleaning effect of processed Chinese medicinal materials combined with spectral technology according to claim 1, characterized in that: The interference removal balance index of each sampling point is negatively correlated with the corresponding cleaning difference index and positively correlated with the corresponding absorption interference evaluation coefficient.

10. The method for evaluating the cleaning effect of processed Chinese medicinal materials combined with spectral technology according to claim 1, characterized in that: The specific method of calculating the medicinal material cleaning standard index and judging whether the medicinal material cleaning effect meets the standard includes: The interference removal balance index of each sampling point is used as a smoothing parameter of the local symmetrically weighted penalized least squares method, and the baseline correction of the medicinal material cleaning spectrum data of each sampling point is performed using the local symmetrically weighted penalized least squares method, and the corrected medicinal material cleaning data of each sampling point is output; The similarity between the calibrated medicinal material cleaning data and the standard medicinal material cleaning data of each sampling point is used as the medicinal material cleaning index of each sampling point. The medicinal material cleaning standard index is positively correlated with the medicinal material cleaning index of all sampling points. When the medicinal material cleaning standard-reaching index is greater than or equal to the preset cleaning qualified threshold, the medicinal material cleaning effect is judged to be up to standard; otherwise, the medicinal material cleaning effect is judged to be not up to standard.

Citation Information

Patent Citations

  • Near infrared data-based calyx epidermis detection method for physalis alkekengi

    CN116994675A

  • Natural extract detection method and system based on chromatographic analysis technology

    CN117690510A

  • Method and system for determining dissolution curve of medicine

    CN117783459A

  • Rapid detection method for sweet orange flower essential oil based on Raman spectrum

    CN119023651A

  • Spectroscopy-based Chinese herbal medicine component identification method and system

    CN119269425A