Online detection method and system for traditional Chinese medicine extraction
By employing ultrasonic processing and multi-probe data acquisition technology, the problem of inaccurate online detection of traditional Chinese medicine extracts has been solved, enabling precise calibration and stable control of the component data of traditional Chinese medicine extracts.
Patent Information
- Application Number
- CN202510922027.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-07-04
- Publication Date
- 2025-08-01
- Estimated Expiration
- 2045-07-04
AI Technical Summary
In existing technologies, standalone online spectral detection is prone to errors, leading to inaccurate online detection of Chinese herbal extracts and affecting the stable control of the Chinese herbal extraction process.
By treating the extract of traditional Chinese medicine with ultrasound, and combining it with near-infrared and dielectric spectroscopy probes to collect spectral and dielectric spectral data, the component data is cross-validated to generate accurate data on the components of traditional Chinese medicine. Ultrasonic data is collected using an ultrasonic sensor to calibrate the near-infrared detection results.
This improves the accuracy of traditional Chinese medicine extract testing, reduces errors, and ensures the stability and accuracy of the traditional Chinese medicine extraction process.
Smart Images

Figure CN120404653A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of near-infrared detection of traditional Chinese medicine extracts, and particularly relates to an on-line detection method and system for traditional Chinese medicine extraction. Background Art
[0002] Near-infrared detection of traditional Chinese medicine extracts refers to on-line detection of traditional Chinese medicine extracts by near-infrared light (electromagnetic waves between visible light and mid-infrared light), so as to obtain real-time component concentration data of traditional Chinese medicine extracts, ensuring stable control of the traditional Chinese medicine extraction process; The on-line detection analysis system and method for traditional Chinese medicine liquid components disclosed in the existing Chinese patent application with the publication number of CN112525834A are used to detect and analyze the components of the constant-temperature liquid to be measured after filtration and defoaming by using an on-line spectral detection device. However, single on-line spectral detection is prone to errors, resulting in inaccurate on-line detection of traditional Chinese medicine extracts, thus affecting the stable control of the traditional Chinese medicine extraction process. Summary of the Invention
[0003] In order to overcome the above technical problems, the purpose of the present invention is to provide an on-line detection method and system for traditional Chinese medicine extraction, so as to solve the problem that single on-line spectral detection in the prior art is prone to errors, resulting in inaccurate on-line detection of traditional Chinese medicine extracts.
[0004] The purpose of the present invention can be achieved by the following technical solutions: Specifically, a first aspect provides an on-line detection method for traditional Chinese medicine extraction, including: S1: Separating a quantitative traditional Chinese medicine extract from the output pipeline alone to form a part to be detected, collecting the environmental data of the part to be detected, and after the near-infrared detection of the part to be detected is completed, merging the part to be detected back into the output pipeline; S2: Performing ultrasonic treatment on the part to be detected to obtain an ultrasonic treatment liquid, collecting the ultrasonic data of the ultrasonic treatment liquid, and generating first component data based on the ultrasonic data; S3: Using a near-infrared probe to collect the spectral data of the ultrasonic treatment liquid, and generating second component data based on the spectral data; S4: Using a dielectric spectroscopy probe to collect the dielectric spectroscopy data of the ultrasonic treatment liquid, and generating third component data based on the dielectric spectroscopy data; S5: Cross-verifying the second component data based on the first component data and the third component data to obtain verified component data; S6: Obtaining the traditional Chinese medicine component data of the ultrasonic treatment liquid based on the verified component data, and using the traditional Chinese medicine component data as the traditional Chinese medicine component data of the traditional Chinese medicine extract; S7: Repeating S1 to S6 to perform regular near-infrared detection on the traditional Chinese medicine extract.
[0005] As a further solution of the present invention: S1 includes the following steps: S1.1: Extract the raw materials in the extraction tank to form a traditional Chinese medicine extract; S1.2: The extraction tank transports the traditional Chinese medicine extract to the output pipeline; S1.3: Through the driving mechanism, the traditional Chinese medicine extract in the output pipeline enters the detection chamber to form a detection part; S1.4: Set a temperature sensor in the detection chamber to collect temperature data; S1.5: After the detection part completes the near-infrared detection, the traditional Chinese medicine extract in the detection chamber enters the output pipeline again through the driving mechanism. [[ID=?]]
[0006] As a further solution of the present invention: S2 includes the following steps: S2.1: Set an ultrasonic generator and an ultrasonic sensor outside the detection part; S2.2: Based on the temperature data, use the ultrasonic generator to perform ultrasonic treatment on the detection part to form an ultrasonic treatment liquid; S2.3: The ultrasonic sensor collects the ultrasonic data of the ultrasonic treatment liquid; S2.4: Generate the first component data based on the ultrasonic data. [[ID=?]]
[0007] As a further solution of the present invention: A near-infrared probe is set outside the detection part. After the ultrasonic generator performs ultrasonic treatment on the detection part, use the near-infrared probe to collect the spectral data of the ultrasonic treatment liquid, and generate the second component data based on the spectral data; [[ID=?]]
[0008] As a further solution of the present invention: A dielectric spectroscopy probe is set outside the detection part. After the ultrasonic generator performs ultrasonic treatment on the detection part, use the dielectric spectroscopy probe to collect the dielectric spectroscopy data of the ultrasonic treatment liquid, and generate the third component data based on the dielectric spectroscopy data. [[ID=?]]
[0009] As a further solution of the present invention: The traditional Chinese medicine component data includes the component concentration value and the component density value of the traditional Chinese medicine extract. [[ID=?]]
[0010] As a further solution of the present invention: S5 includes the following steps: S5.1: Based on the component concentration values and component density values in the first component data, the second component data, and the third component data, establish a rectangular coordinate system, with the x-axis being the component concentration value and the y-axis being the component density value; S5.2: Mark the component concentration values and component density values in the first component data, the second component data, and the third component data as the first coordinate, the second coordinate, and the third coordinate based on the rectangular coordinate system in turn; It should be noted that there are some consecutive tags with question marks in the original text which seem to be incorrect or incomplete. This translation is based on the existing correct content.S5.3: Forming a triangular area of collected data based on the first coordinate, the second coordinate, and the third coordinate in a rectangular coordinate system, and displaying the triangular area of collected data on an interface; S5.4: Pre-set a region area threshold, and compare the area of the triangular region of the collected data with the region area threshold; S5.5: If the area of the collected data triangle is less than or equal to the area threshold, then: ; S5.6: If the area of the collected data triangle is greater than the area threshold, then: Calculate the center coordinates of the triangular area of the collected data, eliminate the component data farthest from the center coordinates, and use the average of the other two component data as the verification component data.
[0011] As a further solution of the present invention: the component concentration value and component density value in the verification component data are used as detection data of the traditional Chinese medicine extract, and the component concentration value and component density value in the verification component data are marked as detection coordinates based on a rectangular coordinate system.
[0012] As a further solution of the present invention: the triangular area of the collected data and the detection coordinates are interfaced and displayed together based on a rectangular coordinate system.
[0013] A second aspect specifically provides an online detection system for traditional Chinese medicine extraction, characterized by comprising: The lower computer is used to implement the above-mentioned detection method, obtain the Chinese medicine component data, and convert the Chinese medicine component data into a digital signal; The upper computer obtains the digital signal from the lower computer through the wireless network and displays the digital signal on the interface.
[0014] Beneficial effects of the present invention: In the present invention, the Chinese medicine extract in the detection cavity 3 is ultrasonically treated by an ultrasonic generator to homogenize the Chinese medicine extract in the detection cavity 3. On the one hand, ultrasonic data can be collected by an ultrasonic sensor, and on the other hand, the accuracy of spectral data collected by the near-infrared probe can be improved. The spectral data and dielectric spectrum data are then collected by the near-infrared probe and the dielectric spectrum probe. The first component data, second component data and third component data of the Chinese medicine extract are generated according to the ultrasonic data, spectral data and dielectric spectrum data respectively. The first component data and the third component data cross-validate the second component data to obtain verification component data. The Chinese medicine component data of the ultrasonically treated liquid is obtained based on the verification component data. The Chinese medicine component data is used as the Chinese medicine component data of the Chinese medicine extract, that is, the component concentration value and component density value in the verification data are used as the component concentration value and component density value after calibration of the near-infrared detection, so that the online detection data of the Chinese medicine extract is accurate and the error is small.
[0015] In the present invention, the data acquisition triangular region and the detection coordinates are displayed interface - based in a rectangular coordinate system, which is convenient for visually distinguishing the accuracy of the on - line near - infrared detection data. For example, if the area of the triangular region is large and the distances between the three coordinates are also large, it indicates that the first component data, the second component data, and the third component data collected by the three detections are all values with large errors and can be not adopted. If only the distance of one coordinate from the other two coordinates is large, it means that the component data corresponding to this coordinate is large and can be not adopted during collection. Then, the component data of the traditional Chinese medicine extraction solution is calibrated by the component data corresponding to the other two coordinates to ensure the accuracy of the component data collection of the traditional Chinese medicine extraction solution. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] The present invention will be further described below with reference to the accompanying drawings.
[0017] Figure 1 is a flow chart of an on - line detection method for traditional Chinese medicine extraction of the present invention; Figure 2 is a flow block diagram of an on - line detection system for traditional Chinese medicine extraction of the present invention; Figure 3 is a schematic structural diagram of a cavity to be detected in an on - line detection method for traditional Chinese medicine extraction of the present invention.
[0018] Description of the reference numerals: 1, extraction tank; 2, output pipeline; 3, cavity to be detected; 4, driving mechanism. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0019] The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present invention without creative efforts shall fall within the protection scope of the present invention.
[0020] As an embodiment of the present invention, as Figures 1 - 3 shown, an on - line detection method for traditional Chinese medicine extraction is disclosed, including: S1: Separate a quantitative traditional Chinese medicine extraction solution from the output pipeline alone to form a part to be detected, collect the environmental data of the part to be detected, and after the near - infrared detection of the part to be detected is completed, re - incorporate the part to be detected into the output pipeline 2. Specifically: In the first step, the traditional Chinese medicine extraction solution is obtained in the extraction tank 1. The specific extraction method of the traditional Chinese medicine in the extraction tank 1 is adaptively selected by those skilled in the art according to the type of the specific traditional Chinese medicine, as long as it can extract the traditional Chinese medicine components from the raw materials. When the extraction operation of the raw materials in the extraction tank 1 is completed, a traditional Chinese medicine extraction solution is formed, and an output pipeline 2 is hermetically connected to the bottom of the extraction tank 1; In the second step, after the extraction operation of the raw materials in the extraction tank 1 is completed, the automatic valve (solenoid valve or other valves that can be automatically controlled) provided between the extraction tank 1 and the output pipeline 2 can be opened to ensure that the traditional Chinese medicine extraction liquid in the extraction tank 1 can enter the output pipeline 2 through the automatic valve; In the third step, a detection chamber 3 and a driving mechanism 4 are provided at the middle position on the side of the output pipeline 2. The detection chamber 3 is directly connected to the inside of the output pipeline 2. The driving mechanism 4 is provided at the top of the detection chamber 3. The driving mechanism 4 includes a fixing frame and a hydraulic push rod (the hydraulic push rod can also be replaced by an electric push rod, a pneumatic push rod or other mechanisms that can provide reciprocating driving force). The fixing frame is fixed to the top of the detection chamber 3 by bolts, and the hydraulic push rod is fixed to the middle position on the top surface of the fixing frame by bolts. The hydraulic push rod includes a hydraulic cylinder and a hydraulic rod. The output end of the hydraulic rod is connected with a piston, which fits with the detection chamber 3 and can slide freely in the detection chamber 3 along the vertical direction. When the hydraulic cylinder is opened, the hydraulic cylinder can drive the piston through the hydraulic rod to make the piston move upward in the detection chamber 3. When the piston moves upward in the detection chamber 3, the space in the detection chamber 3 will increase. Therefore, the detection chamber 3 can suck the traditional Chinese medicine extraction liquid in the output pipeline 2 and enter the detection chamber 3. Since the angle between the detection chamber 3 and the output pipeline 2 is in a vertical state, the traditional Chinese medicine extraction liquid inside the detection chamber 3 will be stabilized and will not flow along with the flow of the traditional Chinese medicine extraction liquid in the output pipeline 2, ensuring the stability and accuracy of the data collection of the traditional Chinese medicine extraction liquid; In the fourth step, a temperature sensor is provided in the detection chamber 3. The temperature sensor is provided on the inner wall of the detection chamber 3 and is used to collect the temperature data of the traditional Chinese medicine extraction liquid in the detection chamber 3, that is, the temperature value of the traditional Chinese medicine extraction liquid. The setting position and the number of the temperature sensors are adaptively selected by those skilled in the art according to the internal space size of the detection chamber 3; In the fifth step, after the detection of the traditional Chinese medicine extraction liquid in the detection chamber 3 is completed, the hydraulic cylinder is opened again. The hydraulic cylinder pushes the piston through the hydraulic rod to make the piston move downward in the detection chamber 3, and the traditional Chinese medicine extraction liquid in the detection chamber 3 is discharged into the output pipeline 2, so that the detection chamber 3 can repeatedly suck the traditional Chinese medicine extraction liquid and will not cause waste to the traditional Chinese medicine extraction liquid during detection.
[0021] S2: Perform ultrasonic treatment on the detection part to obtain an ultrasonic treatment liquid, collect the ultrasonic data of the ultrasonic treatment liquid, and generate first component data based on the ultrasonic data. Specifically: First step: Set an ultrasonic generator and an ultrasonic sensor outside the part to be detected. It should be noted that the ultrasonic generator is used to perform ultrasonic treatment on the traditional Chinese medicine extract in the detection chamber 3. The type and power of the ultrasonic generator are adaptively selected by those skilled in the art according to the volume of the extraction tank 1 and the type of the traditional Chinese medicine extract in the extraction tank 1. Second step: Based on the temperature data, use the ultrasonic generator to perform ultrasonic treatment on the part to be detected to form an ultrasonic-treated liquid. It should be noted that the temperature data refers to the temperature value of the traditional Chinese medicine extract, which is collected by a temperature sensor set in the detection chamber 3. When the ultrasonic waves (20 - 100 kHz) emitted by the ultrasonic generator propagate in the traditional Chinese medicine extract, periodic pressure changes will be generated to form tiny bubbles (cavitation bubbles). The liquid molecules in the traditional Chinese medicine extract will move at high speed under the action of the ultrasonic waves, enhancing the penetration and mass transfer of the traditional Chinese medicine extract and realizing the homogenization treatment of the traditional Chinese medicine extract. Since the volume of the detection chamber 3 is small and the amount of the traditional Chinese medicine extract inside is also limited, the ultrasonic generator can homogenize the traditional Chinese medicine extract in the detection chamber 3 in a short time, and the treatment time can be arbitrarily set by those skilled in the art. Third step: The ultrasonic sensor collects the ultrasonic data of the ultrasonic-treated liquid. When the ultrasonic generator performs ultrasonic treatment on the traditional Chinese medicine extract, the ultrasonic data is collected through the ultrasonic sensor. The ultrasonic data includes the sound velocity value (v) of the ultrasonic wave propagating in the traditional Chinese medicine extract and the attenuation coefficient (α) of the ultrasonic wave propagating in the traditional Chinese medicine extract. Specifically: According to it can be known that , where is the component density value of the traditional Chinese medicine extract, is the sound velocity value of the ultrasonic wave propagating in the traditional Chinese medicine extract, is the elastic modulus of the traditional Chinese medicine extract, ; Therefore, the component density value of the traditional Chinese medicine extract can be directly calculated according to the sound velocity value of the ultrasonic wave propagating in the traditional Chinese medicine extract. According to , the viscosity value η of the traditional Chinese medicine extract can be directly calculated, where is the attenuation coefficient of the ultrasonic wave propagating in the traditional Chinese medicine extract, f is the amplitude of the ultrasonic wave, is the component density value of the traditional Chinese medicine extract, and v is the sound velocity value of the ultrasonic wave propagating in the traditional Chinese medicine extract; Based on the sound velocity value, attenuation coefficient, component density value, viscosity value and the temperature value of the traditional Chinese medicine extract, use the concentration prediction model to predict the component concentration value of the traditional Chinese medicine extract. Specifically: Prepare N (N≥10,000) groups of training data in advance. Each group of training data includes characteristic data and label data. The characteristic data are sound velocity value, attenuation coefficient, component density value, viscosity value, and the temperature value of the traditional Chinese medicine extract. The label data are the component concentration values directly measured through experiments. Convert the sound velocity value, attenuation coefficient, component density value, viscosity value, and temperature value in the training data into feature vectors. Use the feature vectors as the input of the concentration prediction model, and use the component concentration value predicted by the concentration prediction model for the characteristic data as the output. Take the component concentration value in the label data corresponding to each group of characteristic data as the prediction target, and train the concentration prediction model. Stop training when the concentration prediction model reaches convergence. The convergence criterion is that the error between the component concentration value predicted by the concentration prediction model and the component concentration value in the label data is ≤0.001. In the fourth step, use the calculated component density value and the component concentration value predicted by the concentration prediction model based on this component density value as the first component data.
[0022] S3: Use a near-infrared probe to collect the spectral data of the ultrasonic treatment liquid, and generate the second component data based on the spectral data. Specifically, a near-infrared probe is arranged outside the part to be detected. After the ultrasonic generator performs ultrasonic treatment on the part to be detected, use the near-infrared probe to collect the spectral data of the ultrasonic treatment liquid, and generate the second component data. It should be noted that: Prepare multiple groups of traditional Chinese medicine extracts with different concentrations in advance (the concentration gradient is arbitrarily set by those skilled in the art according to the number of components). Then use the near-infrared probe to collect the spectral data (absorbance and reflectance). Then establish a mathematical relationship between the component concentration value of the traditional Chinese medicine extract and the spectral data. Prepare N (N≥10,000) groups of training data in advance. Each group of training data includes characteristic data and label data. The characteristic data are absorbance, reflectance, temperature value, and component concentration value. The label data are the component density values directly measured through experiments. Convert the absorbance, reflectance, temperature value, and component concentration value in the training data into feature vectors. Use the feature vectors as the input of the concentration prediction model, and use the component density value predicted by the concentration prediction model for the characteristic data as the output. Take the component density value in the label data corresponding to each group of characteristic data as the prediction target, and train the concentration prediction model. Stop training when the concentration prediction model reaches convergence. The convergence criterion is that the error between the component density value predicted by the concentration prediction model and the component density value in the label data is ≤0.001. S4: Use a dielectric spectroscopy probe to collect dielectric spectroscopy data of the ultrasonic treatment solution, and generate third component data based on the dielectric spectroscopy data. The dielectric spectroscopy data is the dielectric constant and conductivity. Specifically, a dielectric spectroscopy probe is arranged outside the part to be detected. After the ultrasonic generator performs ultrasonic treatment on the part to be detected, use the dielectric spectroscopy probe to collect the dielectric spectroscopy data of the ultrasonic treatment solution, and generate third component data based on the dielectric spectroscopy data. It should be noted that: Before collecting the dielectric spectroscopy data through the dielectric spectroscopy probe, prepare multiple groups of traditional Chinese medicine extracts with different concentrations in advance (the concentration gradient is arbitrarily set by those skilled in the art according to the number of components), and then use the dielectric spectroscopy probe to measure the dielectric constant and conductivity of each group of traditional Chinese medicine extracts. Fit the relationship between the component concentration value of the traditional Chinese medicine extract and the dielectric constant, conductivity, and temperature value of the traditional Chinese medicine extract according to the dielectric constant, conductivity, and temperature value of the traditional Chinese medicine extract; The component density value of the traditional Chinese medicine extract is based on the empirical formula: , where is the dielectric constant, and are proportionality coefficients, which are obtained by fitting according to the dielectric constants and component density values corresponding to multiple groups of different concentrations; Take the calculated component density value and component concentration value as the third component data; S5: Cross-validate the second component data based on the first component data and the third component data to obtain the verified component data. Specifically: First step, establish a rectangular coordinate system based on the component concentration values and component density values in the first component data, the second component data, and the third component data. The x-axis is the component concentration value, and the y-axis is the component density value; Second step, sequentially mark the component concentration values and component density values in the first component data, the second component data, and the third component data as the first coordinate, the second coordinate, and the third coordinate based on the rectangular coordinate system. Among them, the component concentration value in the first component data corresponds to the x-axis value of the rectangular coordinate system, the component density value in the first component data corresponds to the y-axis value of the rectangular coordinate system, the component concentration value in the second component data corresponds to the x-axis value of the rectangular coordinate system, the component density value in the second component data corresponds to the y-axis value of the rectangular coordinate system, the component concentration value in the third component data corresponds to the x-axis value of the rectangular coordinate system, and the component density value in the third component data corresponds to the y-axis value of the rectangular coordinate system; Step 3: Based on the first coordinate, second coordinate, and third coordinate, form a triangular area for the collected data in the rectangular coordinate system and display the triangular area for the collected data in an interfaced manner. It should be noted that the triangular area refers to the area formed by the first coordinate, second coordinate, and third coordinate corresponding to the first component data, second component data, and third component data. The magnitude of the errors in the three detections can be directly judged according to the shape of the triangular area. For example, if the area of the triangular area is large and the distances between the three coordinates are also large, it indicates that the first component data, second component data, and third component data collected in the three detections are all values with large errors and can be not adopted. If only the distance of one coordinate from the other two coordinates is large, it indicates that the component data corresponding to this coordinate is large and can be not adopted during collection. Then, the component data of the traditional Chinese medicine extraction solution is calibrated through the component data corresponding to the other two coordinates to ensure the accuracy of the collection of the component data of the traditional Chinese medicine extraction solution; Step 4: Preset an area threshold for the region and compare the magnitude of the value between the area of the triangular area for the collected data and the area threshold for the region; Step 5: If the area of the triangular area for the collected data ≤ the area threshold for the region, then: ; It should be noted that the verified component data adopts the mean of the component concentration value and component density value in the first component data, second component data, and third component data, that is, calculate the sum of the component concentration values in the first component data, the component concentration value in the second component data, and the component concentration value in the third component data, and then obtain the average component concentration value of the three component concentration values. Take the average component concentration value as the component concentration value in, and the calculation method of the component density value is the same as that of the component concentration value. Take the average component concentration value as the component density value in the verified component data; If the area of the triangular area for the collected data > the area threshold for the region, then: Calculate the central coordinate of the triangular area for the collected data, eliminate the component data farthest from the central coordinate, and take the average value of the other two component data as the verified component data. It should be noted that calculate the central coordinate of the three coordinates according to the first coordinate, second coordinate, and third coordinate, and then calculate the first distance, second distance, and third distance between the first coordinate, second coordinate, and third coordinate and the central coordinate respectively. Eliminate the component data corresponding to the maximum value among the first distance, second distance, and third distance, and then calculate the average concentration value and average density value in the other two component data respectively. Take the average concentration value and average density value as the component concentration value and component density value in the verified data; Step 6: Based on the verified component data, obtain the traditional Chinese medicine component data of the ultrasonic treatment liquid, and use the traditional Chinese medicine component data as the traditional Chinese medicine component data of the traditional Chinese medicine extraction liquid. That is, use the component concentration value and component density value in the verification data as the calibrated component concentration value and component density value for near-infrared detection, so that the online detection data of the traditional Chinese medicine extraction liquid is accurate and has a small error; Step 7: Repeat Step 1 to Step 6 until the online near-infrared detection of all traditional Chinese medicine extraction liquids in the extraction tank 1 is completed. The working frequency of the online near-infrared detection can be arbitrarily set by those skilled in the art, as long as it can collect the component data of the traditional Chinese medicine extraction liquid.
[0023] In addition, it should be noted that the component concentration value and component density value in the verified component data are used as the detection data of the traditional Chinese medicine extraction liquid, and the component concentration value and component density value in the verified component data are marked as detection coordinates based on the rectangular coordinate system; The data acquisition triangular region and the detection coordinates are displayed interface-ized based on the rectangular coordinate system, which is convenient for intuitively distinguishing the accuracy of the online near-infrared detection data. For example, if the area of the triangular region is large and the distance between the three coordinates is also large, it means that the first component data, the second component data, and the third component data collected by the three detections are all values with large errors and can be not adopted. If only the distance of one coordinate from the other two coordinates is large, it means that the component data corresponding to this coordinate is large and can be not adopted during acquisition. Then, the component data of the traditional Chinese medicine extraction liquid is calibrated through the component data corresponding to the other two coordinates to ensure the accuracy of the component data acquisition of the traditional Chinese medicine extraction liquid.
[0024] As an embodiment of the present invention, as Figures 1 - 3 shown, a traditional Chinese medicine extraction online detection system is disclosed, including: The lower computer is used to implement the above detection method, obtain the traditional Chinese medicine component data, and convert the traditional Chinese medicine component data into digital signals. Specifically, the traditional Chinese medicine extraction liquid in the detection chamber 3 is ultrasonically treated by an ultrasonic generator to homogenize the traditional Chinese medicine extraction liquid in the detection chamber 3. On the one hand, ultrasonic data can be collected by an ultrasonic sensor, and on the other hand, the accuracy of the spectral data collected by a near-infrared probe can be improved. Then, spectral data and dielectric spectroscopy data are collected by the near-infrared probe and the dielectric spectroscopy probe, and the first component data, the second component data, and the third component data of the traditional Chinese medicine extraction liquid are generated according to the ultrasonic data, the spectral data, and the dielectric spectroscopy data. The generation methods of the first component data, the second component data, and the third component data are the same as those in the above embodiment and will not be elaborated here. The first component data and the third component data cross-verify the second component data to obtain the verified component data. Specifically: Based on the component concentration value and component density value in the first component data, the second component data, and the third component data, establish a rectangular coordinate system, with the x-axis being the component concentration value and the y-axis being the component density value; Successively mark the component concentration values and component density values in the first component data, the second component data, and the third component data as the first coordinate, the second coordinate, and the third coordinate based on a rectangular coordinate system. Among them, the component concentration value in the first component data corresponds to the x-axis value of the rectangular coordinate system, and the component density value in the first component data corresponds to the y-axis value of the rectangular coordinate system. The component concentration value in the second component data corresponds to the x-axis value of the rectangular coordinate system, and the component density value in the second component data corresponds to the y-axis value of the rectangular coordinate system. The component concentration value in the third component data corresponds to the x-axis value of the rectangular coordinate system, and the component density value in the third component data corresponds to the y-axis value of the rectangular coordinate system; Form a triangular area of the acquisition data based on the first coordinate, the second coordinate, and the third coordinate in the rectangular coordinate system, and perform an interface display on the triangular area of the acquisition data. It should be noted that the triangular area refers to the area composed of the first coordinate, the second coordinate, and the third coordinate corresponding to the first component data, the second component data, and the third component data. The error magnitudes of the three detections can be directly judged according to the shape of the triangular area. For example, if the area of the triangular area is large and the distances between the three coordinates are also large, it indicates that the first component data, the second component data, and the third component data collected in the three detections are all values with large errors and can be not adopted. If only the distance of one coordinate from the other two coordinates is large, it indicates that the component data corresponding to this coordinate is large and can be not adopted during acquisition. Then, the component data of the traditional Chinese medicine extraction solution is calibrated through the component data corresponding to the other two coordinates to ensure the accuracy of the acquisition of the component data of the traditional Chinese medicine extraction solution; Preset an area threshold of the area, and compare the magnitude of the value between the area of the triangular area of the acquisition data and the area threshold of the area; If the area of the triangular area of the acquisition data ≤ the area threshold of the area, then there is: ; It should be noted that the average values of the component concentration values and component density values in the first component data, the second component data, and the third component data are used to verify the component data, that is, calculate the sum of the component concentration values in the first component data, the component concentration value in the second component data, and the component concentration value in the third component data, and then obtain the average component concentration value of the three component concentration values. The average component concentration value is used as the component concentration value in the verified component data. The calculation method of the component density value is the same as that of the component concentration value, and the average component concentration value is used as the component density value in the verified component data; If the area of the triangular area of the acquisition data > the area threshold of the area, then there is: Calculate the central coordinates of the triangular area of the collected data, eliminate the component data farthest from the central coordinates, and take the average value of the other two component data as the verification component data. It should be noted that the central coordinates of the three coordinates are calculated based on the first coordinate, the second coordinate, and the third coordinate, and then the first distance, the second distance, and the third distance between the first coordinate, the second coordinate, and the third coordinate and the central coordinates are calculated respectively. Eliminate the component data corresponding to the maximum value among the first distance, the second distance, and the third distance, and then calculate the average concentration value and the average density value in the other two component data respectively. Take the average concentration value and the average density value as the component concentration value and the component density value in the verification data; Based on the verification component data, obtain the traditional Chinese medicine component data of the ultrasonic treatment liquid, and take the traditional Chinese medicine component data as the traditional Chinese medicine component data of the traditional Chinese medicine extraction liquid, that is, take the component concentration value and the component density value in the verification data as the calibrated component concentration value and the component density value of the near-infrared detection, so as to make the on-line detection data of the traditional Chinese medicine extraction liquid accurate and with small error; Repeat the above process until the on-line near-infrared detection of all the traditional Chinese medicine extraction liquid in the extraction tank 1 is completed. The working frequency of the on-line near-infrared detection can be arbitrarily set by those skilled in the art, as long as it can collect the component data of the traditional Chinese medicine extraction liquid; The component concentration value and the component density value in the verification component data are used as the detection data of the traditional Chinese medicine extraction liquid, and the component concentration value and the component density value in the verification component data are marked as detection coordinates based on the rectangular coordinate system; The triangular area of the collected data and the detection coordinates are displayed together in an interfaced manner based on the rectangular coordinate system. Specifically, the triangular area of the collected data and the detection coordinates are converted into digital signals and transmitted to the upper computer, and the upper computer displays the triangular area of the collected data and the detection coordinates together in an interfaced manner based on the rectangular coordinate system, which is convenient for intuitively distinguishing the accuracy of the on-line near-infrared detection data. For example, if the area of the triangular area is large and the distance between the three coordinates is also large, it means that the first component data, the second component data, and the third component data collected by the three detections are all values with large errors and can be not adopted. If only the distance of one coordinate from the other two coordinates is large, it means that the component data corresponding to this coordinate is large and can be not adopted during collection. Then, the component data of the traditional Chinese medicine extraction liquid is calibrated through the component data corresponding to the other two coordinates to ensure the accuracy of the component data collection of the traditional Chinese medicine extraction liquid.
[0025] The above has described an embodiment of the present invention in detail, but the content described is only a preferred embodiment of the present invention and cannot be considered as limiting the implementation scope of the present invention. All equivalent changes and improvements made according to the scope of the present invention application should still fall within the patent coverage scope of the present invention.
Claims
1. An online detection method for traditional Chinese medicine extraction, characterized in that, Including: S1: Separately isolate a quantitative traditional Chinese medicine extract from the output pipeline to form a part to be detected, collect the environmental data of the part to be detected, and after the near-infrared detection of the part to be detected is completed, re-incorporate the part to be detected into the output pipeline (2); S2: Perform ultrasonic treatment on the part to be detected to obtain an ultrasonic-treated liquid, collect the ultrasonic data of the ultrasonic-treated liquid, and generate first component data based on the ultrasonic data; S3: Use a near-infrared probe to collect the spectral data of the ultrasonic-treated liquid, and generate second component data based on the spectral data; S4: Use a dielectric spectroscopy probe to collect the dielectric spectroscopy data of the ultrasonic-treated liquid, and generate third component data based on the dielectric spectroscopy data; S5: Cross-validate the second component data based on the first component data and the third component data to obtain validated component data; S6: Obtain the traditional Chinese medicine component data of the ultrasonic-treated liquid based on the validated component data, and use the traditional Chinese medicine component data as the traditional Chinese medicine component data of the traditional Chinese medicine extract; S7: Repeat S1 to S6 to perform timed near-infrared detection on the traditional Chinese medicine extract.
2. The online detection method for traditional Chinese medicine extraction according to claim 1, characterized in that The S1 includes the following steps: S1.1: Extract raw materials in an extraction tank (1) to form a traditional Chinese medicine extract; S1.2: The extraction tank (1) transports the traditional Chinese medicine extract into the output pipeline (2); S1.3: Through a driving mechanism (4), the traditional Chinese medicine extract in the output pipeline (2) enters the detection chamber (3) to form a part to be detected; S1.4: Set a temperature sensor in the detection chamber (3) to collect temperature data; After the near-infrared detection of the part to be detected is completed, the traditional Chinese medicine extract in the detection chamber (3) enters the output pipeline (2) again through the driving mechanism (4).
3. The online detection method for traditional Chinese medicine extraction according to claim 2, characterized in that, The S2 includes the following steps: S2.1: Set an ultrasonic generator and an ultrasonic sensor outside the part to be detected; S2.2: Based on the temperature data, use the ultrasonic generator to perform ultrasonic treatment on the part to be detected to form an ultrasonic-treated liquid; S2.3: The ultrasonic sensor collects the ultrasonic data of the ultrasonic-treated liquid; S2.4: Generate first component data based on the ultrasonic data.
4. The online detection method for traditional Chinese medicine extraction according to claim 3, characterized in that A near-infrared probe is set outside the part to be detected. After the ultrasonic generator performs ultrasonic treatment on the part to be detected, use the near-infrared probe to collect the spectral data of the ultrasonic-treated liquid, and generate second component data based on the spectral data.
5. The online detection method for traditional Chinese medicine extraction according to claim 3, wherein A dielectric spectroscopy probe is set outside the part to be detected. After the ultrasonic generator performs ultrasonic treatment on the part to be detected, use the dielectric spectroscopy probe to collect the dielectric spectroscopy data of the ultrasonic-treated liquid, and generate third component data based on the dielectric spectroscopy data.
6. The online detection method for traditional Chinese medicine extraction according to claim 1, characterized in that The traditional Chinese medicine component data includes the component concentration value and the component density value of the traditional Chinese medicine extract.
7. An on-line detection method for traditional Chinese medicine extraction according to claim 6, characterized in that, The S5 includes the following steps: S5.1: Establish a rectangular coordinate system based on the component concentration values and component density values in the first component data, the second component data, and the third component data. The x-axis is the component concentration value, and the y-axis is the component density value; S5.2: Mark the component concentration values and component density values in the first component data, the second component data, and the third component data as the first coordinate, the second coordinate, and the third coordinate based on the rectangular coordinate system in sequence; S5.3: Forming a triangular area of collected data based on the first coordinate, the second coordinate, and the third coordinate in a rectangular coordinate system, and displaying the triangular area of collected data on an interface; S5.4: Pre-set a region area threshold, and compare the area of the triangular region of the collected data with the region area threshold; S5.5: If the area of the collected data triangle is less than or equal to the area threshold, then: ; S5.6: If the area of the collected data triangle is greater than the area threshold, then: Calculate the center coordinates of the triangular area of the collected data, eliminate the component data farthest from the center coordinates, and use the average of the other two component data as the verification component data.
8. A method for on-line detection of traditional Chinese medicine extraction according to claim 7, characterized in that, The component concentration values and component density values in the verification component data are used as detection data of the traditional Chinese medicine extract, and the component concentration values and component density values in the verification component data are marked as detection coordinates based on a rectangular coordinate system.
9. The on-line detection method for traditional Chinese medicine extraction according to claim 8, characterized in that The collected data triangular area and the detection coordinates are interfaced and displayed together based on a rectangular coordinate system.
10. An online detection system for traditional Chinese medicine extraction, characterized in that, include: A lower computer, which is used to implement the detection method according to any one of claims 1 to 9, obtain the Chinese medicine component data, and convert the Chinese medicine component data into a digital signal; The upper computer obtains the digital signal from the lower computer through the wireless network and displays the digital signal on the interface.
Citation Information
Patent Citations
Method for performing near-infrared on-line detection in process of extracting Chinese medicines
CN102252992A
Method for evaluating credibility of gasoline property modeling prediction result
CN106018325A
Online near-infrared detection method of concentration process of Weisu granule extracting solution
CN106770010A
Multi-position detection device based on integration of ultrasonic processing and optical sensing detection and application of multi-position detection device
CN115638827A
A test method based on the frequent start and stop phenomenon of inverter
CN119756457A
Cited By
Traditional Chinese medicine dynamic circulation extraction system with online monitoring and feedback control functions
CN122361013A