Intelligent control method and system for medicinal material processing

By combining optical scanning equipment and sensor groups to collect medicinal material characteristics data in real time and adjust cutting parameters dynamically, the problem of uneven cutting thickness of medicinal materials in the prior art is solved, and a high-precision and high-efficiency medicinal material cutting process is achieved.

CN119681983AInactive Publication Date: 2025-03-25TIANJIN HONGCHENG TIANXIA TECH CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202411808099.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-10
Publication Date
2025-03-25
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

The existing medicinal material cutting technology lacks accurate identification and adaptation to the individual differences of medicinal materials, resulting in uneven thickness during the cutting process, affecting the quality of the slice and possibly leading to loss of drug efficacy.

Method used

By combining optical scanning equipment and sensor groups, the characteristics of medicinal materials are collected in real time, the CNC system is built, and the data is transmitted to the cutting machine through a wireless network, and the blade angle and cutting pressure are dynamically adjusted, so as to achieve accurate control and uniformity evaluation of cutting thickness.

Benefits of technology

It improves the accuracy and consistency of cutting medicinal materials, reduces cutting errors caused by differences in the characteristics of medicinal materials, improves production efficiency and product quality, and ensures the uniformity and efficacy of medicinal materials slices.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119681983A_ABST
    Figure CN119681983A_ABST
Patent Text Reader

Abstract

The invention discloses an intelligent control method and system for medicinal material processing, and relates to the technical field of medicinal material processing, and the method optimizes the control precision of the medicinal material cutting process by dynamically adjusting the blade angle and the cutting pressure. In the traditional cutting process, due to the heterogeneity of medicinal materials, the situation that the cutting thickness is not uniform often occurs. Through correction thickness value calculation and a dynamic adjustment mechanism, real-time adjustment is carried out in the cutting process according to the characteristics of fiber density, tension, hardness and the like of the medicinal materials. The system effectively compensates the influence caused by characteristic difference in the medicinal material cutting process by adjusting the inclination angle of the blade and the cutting pressure according to the corrected thickness value, the consistency of the thickness in the medicinal material cutting process is ensured through dynamic adjustment, and meanwhile the cutting problem caused by improper blade angle or pressure is reduced. And the stability and accuracy of medicinal material cutting are remarkably improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of medicinal material processing, and in particular to an intelligent control method and system for medicinal material processing. Background Art

[0002] Medicinal material processing technology is widely used in the production and processing of Chinese medicinal materials, and is an important part of ensuring the sustainable development of the Chinese medicine industry. With the rapid development of modern medicine, medicinal material processing technology has gradually developed in the direction of automation and intelligence, especially in the process of cutting, segmenting and fine processing of medicinal materials. How to cut medicinal materials efficiently and accurately to ensure the quality and efficacy of medicinal materials has become one of the core issues in technological development. Medicinal material cutting technology not only involves the performance requirements of cutting equipment, but also needs to consider the physical properties of the medicinal materials themselves, such as fiber density, hardness, tension, etc. Therefore, intelligent control technology in medicinal material cutting has gradually become a key technical field in the processing of Chinese medicinal materials, and its research and application are driving the entire Chinese medicine industry towards efficiency, precision and controllability.

[0003] At present, in the existing medicinal material cutting process, traditional cutting methods usually rely on manual experience or basic mechanical control, and lack accurate identification and adaptive adjustment of individual differences in medicinal materials. For example, due to the differences in fiber density, hardness and tension of medicinal materials in different parts, the thickness is often uneven during the cutting process, which affects the quality of the slices and may even lead to loss of efficacy. In addition, most of the existing medicinal material cutting machines do not have an integrated intelligent feedback system, and cannot adjust parameters such as the blade angle, cutting pressure and cutting speed in real time, which easily leads to product quality fluctuations and low production efficiency. The existing methods cannot effectively solve the problem of uneven cutting caused by differences in different physical properties in the cutting of medicinal materials, and lack a timely adjustment and correction mechanism for abnormal conditions. Summary of the invention

[0004] In view of the deficiencies in the prior art, the present invention provides an intelligent control method and system for medicinal material processing, which solves the problems mentioned in the background technology.

[0005] To achieve the above objectives, the present invention is implemented by the following technical scheme: comprising the following steps:

[0006] S1. Use an optical scanning device in combination with a sensor group to collect medicinal material characteristic data in real time, build a numerical control system for a medicinal material cutting machine, and transmit the medicinal material characteristic data to the numerical control system of the medicinal material cutting machine through a wireless network;

[0007] S2, in the numerical control system, processing the medicinal material characteristic data, obtaining cutting data, and constructing a relational database, while setting a transmission port to store the cutting data in the relational database;

[0008] S3, in the numerical control system, extracting cutting data, calculating and outputting a preliminary thickness value of the medicinal material, and then calculating and outputting a corrected thickness value based on the preliminary thickness value, performing boundary constraints based on the corrected thickness value, and obtaining a cutting thickness value;

[0009] S4, calculating and outputting the blade inclination angle and cutting pressure according to the cutting thickness value and the cutting data, and dynamically adjusting the servo motor of the medicinal material cutting machine based on the blade inclination angle and the cutting pressure to adjust the angle and pressure of the cutting blade;

[0010] S5. After adjusting the medicinal material cutting machine, start the cutting machine to slice the medicinal material, and obtain the measured thickness value through real-time monitoring by the thickness sensor, and perform deviation calculation with the cutting thickness value to obtain the slicing deviation value, and calculate and output the corrected slicing thickness value based on the slicing deviation value to dynamically correct the thickness of the medicinal material slices;

[0011] S6. Calculate the uniformity of the slice thickness of the medicinal material based on the corrected slice thickness value, set an error tolerance value, and perform a uniformity assessment based on the slice thickness uniformity. If the uniformity assessment shows that the uniformity of the medicinal material is abnormal, execute an error tracing iteration mechanism.

[0012] Preferably, said S1 includes S11 and S12;

[0013] S11, installing an optical scanning device and a sensor group on the medicinal material cutting machine, and automatically starting the optical scanning device and the sensor group when the medicinal material is placed on the cutting machine to collect medicinal material characteristic data in real time;

[0014] The sensor group includes a tension sensor, a piezoelectric hardness sensor and a thickness scanner;

[0015] The medicinal material characteristic data include medicinal material fiber density, medicinal material real-time tension and medicinal material hardness value;

[0016] The fiber density of the medicinal material is determined by collecting medicinal material images through an optical scanning device, analyzing the fiber density of the medicinal material using an image processing algorithm, and constructing a fiber distribution matrix to obtain the fiber density of the medicinal material in the spatial coordinates;

[0017] The real-time tension of the medicinal material is acquired through a tension sensor; the hardness value of the medicinal material is acquired through a piezoelectric hardness sensor;

[0018] S12, constructing a numerical control system for the cutting machine, using a wireless network to connect the optical scanning device and the communication module of the sensor group to the numerical control system in real time, and transmitting the collected medicinal material characteristic data to the numerical control system.

[0019] Preferably, said S2 and S21 and S22;

[0020] S21, receiving the medicinal material characteristic data in real time in the numerical control system, and preprocessing the medicinal material characteristic data, wherein the preprocessing includes data cleaning, dimensionless processing and advanced calculation processing, to obtain cutting data;

[0021] The cutting data includes the second-order gradient of fiber density in space coordinates, tension correction coefficient and hardness correction coefficient;

[0022] The advanced calculation process is based on the medicinal material characteristic data, after data cleaning and dimensionless processing, and then advanced calculation is performed; the specific advanced calculation content is as follows:

[0023] The second-order gradient of the fiber density in the spatial coordinates is obtained by calculating the second-order gradient of the fiber distribution matrix in the medicinal material image to determine the uniformity of the medicinal material fiber distribution;

[0024] The tension correction coefficient is calculated by using the real-time tension and fiber density of the medicinal material to calculate the standard deviation of the fiber density, and is obtained by combining the fiber tension influencing factor to analyze the impact of uneven fiber distribution.

[0025] The hardness correction coefficient is obtained by performing standard deviation calculation and average value calculation according to the obtained medicinal material hardness value, obtaining the hardness standard deviation and the hardness average value, and then performing calculation based on the hardness standard deviation and the hardness average value;

[0026] S22, constructing a relational database and setting a transmission port, wherein the transmission port includes a write port and a write port;

[0027] The cutting data and the medicinal material characteristic data are written into a port, and the cutting data is marked with a timestamp and stored in a relational database.

[0028] Preferably, said S3 includes S31, S32 and S33;

[0029] S31, constructing a preliminary thickness calculation formula, extracting the fiber density and hardness correction coefficient stored in the relational database through the write port, inputting them into the preliminary thickness calculation formula to calculate and output the preliminary thickness value of the medicinal material;

[0030] S32, based on the preliminary thickness value, combined with the second-order gradient of fiber density in the spatial coordinates and the tension correction coefficient, combined with the dynamic weight function, calculate and output a corrected thickness value, and perform a high-order correction on the preliminary thickness value to obtain the thickness of the medicinal material;

[0031] The dynamic weight function is obtained by calculating the upper limit of the fiber density and the hardness value of the medicinal material.

[0032] Preferably, S33, the user sets a slice thickness constraint interval according to the slicing requirements of the medicinal material, the constraint interval includes an upper limit value and a lower limit value of the slice thickness, the modified thickness value is bounded by the constraint interval, the cutting thickness value is obtained, and based on the output result of the cutting thickness value, a dynamic adjustment mechanism of the medicinal material cutting machine is executed;

[0033] When the cutting thickness value = 1, the dynamic adjustment mechanism of the medicinal material cutting machine is executed;

[0034] When the cutting thickness value = 0, the dynamic adjustment mechanism of the medicinal material cutting machine is not executed;

[0035] When the cutting thickness value = -1, the dynamic adjustment mechanism of the medicinal material cutting machine is executed.

[0036] Preferably, said S4 includes S41 and S42;

[0037] S41, after the boundary constraint is generated to execute the dynamic adjustment mechanism of the medicinal material cutting machine, the output blade inclination angle is calculated and output according to the output result of the current cutting thickness value and the effective cutting length of the blade, and then the output blade inclination angle is sent through the numerical control system to the blade adjustment module of the servo motor of the medicinal material cutting machine to dynamically adjust the blade of the servo motor of the medicinal material cutting machine;

[0038] S42. Based on the hardness correction coefficient and the tension correction coefficient, a nonlinear adjustment coefficient is introduced to calculate the output cutting pressure, and then a control instruction is sent to the blade adjustment module of the servo motor of the medicinal material cutting machine through the numerical control system to dynamically adjust the blade pressure of the servo motor of the medicinal material cutting machine.

[0039] Preferably, said S5 includes S51 and S52;

[0040] S51, after dynamically adjusting the blade angle and blade pressure of the medicinal material cutting machine, start the medicinal material cutting machine to perform a slicing test on the medicinal material, and after the test, monitor the actual thickness value of each spatial coordinate of the medicinal material in real time through a thickness sensor, and calculate the absolute difference with the cutting thickness value to obtain a slicing deviation value;

[0041] S52. Based on the slice deviation value, the measured thickness value of each slice in the slice test and the slice deviation value are combined and calculated to output a corrected slice thickness value. Based on the corrected slice thickness value, the dynamic adjustment mechanism of the medicinal material cutting machine is executed for a second time, and the blade angle and blade pressure of the medicinal material cutting machine are adjusted in real time according to the actual slice test.

[0042] Preferably, said S6 includes S61 and S62;

[0043] S61. After executing the dynamic adjustment mechanism of the medicinal material cutting machine for the second time, start the equipment to slice the medicinal material, collect the second measured thickness value through the thickness sensor, calculate the average value of the slice thickness, and calculate and output the uniformity index in combination with the corrected slice thickness value.

[0044] Preferably, S62, based on the production standard of medicinal material slices, the user initially sets the error tolerance value, then performs uniformity evaluation on the error tolerance value and the uniformity index, analyzes the uniformity of the medicinal material slices, and executes an error tracing iteration mechanism based on the uniformity evaluation result; the specific evaluation contents are as follows:

[0045] When the uniformity index is less than or equal to the error tolerance value, it means that the thickness uniformity of the slices meets the predetermined standard. At this time, the test is terminated and the comprehensive medicinal material slicing process is carried out;

[0046] When the uniformity index is greater than the error tolerance value, it means that the thickness uniformity of the slice does not meet the predetermined standard, and the error tracing iteration mechanism is executed;

[0047] The error tracing iteration mechanism collects the second measured thickness value and the corrected slice thickness value to perform absolute difference calculation, generates an error matrix, records the deviation between the actual thickness and the corrected slice thickness at each spatial coordinate, and performs error tolerance value comparison evaluation based on the error matrix output result, and executes the supplementary cutting mechanism based on the evaluation result, and iteratively executes S61 and S62 after the supplementary cutting until the uniformity meets the predetermined standard and stops the iteration;

[0048] The specific evaluation contents are as follows:

[0049] When the error matrix > the error tolerance value, it means that there is a deviation in the thickness of the current spatial coordinate position, and the cutting is performed;

[0050] When the error matrix ≤ the error tolerance value, it means that the slice thickness at the current spatial coordinate position meets the standard and no supplementary cutting is performed.

[0051] An intelligent control system for medicinal material processing, comprising a data acquisition and transmission module, a data processing and storage module, a preliminary medicinal material cutting thickness setting module, a cutting equipment adjustment module, a medicinal material slice thickness correction module and a traceability supplementary cutting module;

[0052] The data acquisition and transmission module collects the medicinal material characteristic data in real time by combining the optical scanning device with the sensor group, constructs the numerical control system of the medicinal material cutting machine, and transmits the medicinal material characteristic data to the numerical control system of the medicinal material cutting machine through a wireless network;

[0053] The data processing and storage module processes the medicinal material characteristic data in the numerical control system, obtains cutting data, and constructs a relational database, and sets a transmission port to store the cutting data in the relational database;

[0054] The preliminary medicinal material cutting thickness setting module extracts cutting data in the numerical control system, calculates and outputs a preliminary thickness value of the medicinal material, and then calculates and outputs a revised thickness value based on the preliminary thickness value, performs boundary constraints based on the revised thickness value, and obtains a cutting thickness value;

[0055] The cutting equipment adjustment module calculates and outputs the blade inclination angle and cutting pressure according to the cutting thickness value and the cutting data, and dynamically adjusts the servo motor of the medicinal material cutting machine based on the blade inclination angle and the cutting pressure to adjust the angle and pressure of the cutting blade;

[0056] The medicinal material slice thickness correction module starts the cutting machine to slice the medicinal material after adjusting the medicinal material cutting machine, and obtains the measured thickness value through real-time monitoring by the thickness sensor, and performs deviation calculation with the cutting thickness value to obtain the slice deviation value, and calculates and outputs the corrected slice thickness value based on the slice deviation value to dynamically correct the thickness of the medicinal material slice;

[0057] The traceability and supplementary cutting module calculates the slice thickness uniformity of the medicinal material based on the corrected slice thickness value, sets an error tolerance value, and performs a uniformity assessment based on the slice thickness uniformity. If the uniformity assessment shows that the medicinal material uniformity is abnormal, an error tracing iteration mechanism is executed.

[0058] The present invention provides an intelligent control method and system for medicinal material processing, which has the following beneficial effects:

[0059] (1) This method can collect medicinal material characteristic data in real time through the combination of optical scanning equipment and sensor groups, including fiber density, medicinal material tension, hardness and other parameters. These data are transmitted to the numerical control system via a wireless network, realizing the real-time collection and transmission of medicinal material characteristic data. Through this method, the various characteristics of the medicinal material before cutting are accurately identified, providing sufficient technical support for the subsequent cutting process. In the traditional medicinal material processing process, manual judgment of medicinal material characteristics is often relied on, which is prone to errors and inconsistencies. The present invention utilizes an automated data acquisition system to greatly improve the accuracy of medicinal material processing, avoid human errors, improve processing efficiency and product quality, and reduce uncertainties in the production process.

[0060] (2) This method optimizes the control accuracy of the medicinal material cutting process by dynamically adjusting the blade angle and cutting pressure. In the traditional cutting process, due to the heterogeneity of the medicinal material itself, uneven cutting thickness often occurs. Through the corrected thickness value calculation and dynamic adjustment mechanism of the present invention, real-time adjustments are made during the cutting process based on the characteristics of the medicinal material such as fiber density, tension and hardness. The system effectively compensates for the impact of differences in the characteristics of the medicinal material during the cutting process by adjusting the inclination angle and pressure of the blade according to the corrected thickness value. This dynamic adjustment ensures the consistency of thickness during the cutting process of the medicinal material, while reducing cutting problems caused by inappropriate blade angles or pressures. The stability and accuracy of medicinal material cutting are significantly improved.

[0061] (3) This method uses an error tracing and iterative mechanism to dynamically evaluate and adjust the uniformity of slice thickness. By real-time monitoring the slice thickness deviation during the medicinal material cutting process and comparing it with the preset error tolerance value, the system can determine whether the slice meets the quality standard. If the slice thickness is uneven, the system will analyze the deviation and make secondary corrections through the error tracing mechanism until the slice thickness reaches the expected standard. Through this iterative correction mechanism, the problem of uneven thickness generated during the medicinal material cutting process can be effectively eliminated, ensuring the overall uniformity of the medicinal material slices and improving the stability and consistency of the product. For slices that do not meet the standards, the system can automatically perform supplementary cutting operations to further optimize the cutting quality. This mechanism ensures that the quality of the final product meets the requirements and avoids manual intervention and unstable factors in traditional cutting methods. BRIEF DESCRIPTION OF THE DRAWINGS

[0062] Figure 1 This is a schematic diagram of the steps of an intelligent control method for medicinal material processing according to the present invention;

[0063] Figure 2 The figure is a schematic diagram of the process of an intelligent control system for medicinal material processing according to the present invention. DETAILED DESCRIPTION

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

[0065] Example 1

[0066] See also Figure 1 The present invention provides an intelligent control method for medicinal material processing. To achieve the above purpose, the present invention is implemented through the following technical scheme: comprising the following steps:

[0067] S1. Use an optical scanning device in combination with a sensor group to collect medicinal material characteristic data in real time, build a numerical control system for a medicinal material cutting machine, and transmit the medicinal material characteristic data to the numerical control system of the medicinal material cutting machine through a wireless network;

[0068] S2. In the numerical control system, the characteristic data of the medicinal materials are processed, the cutting data is obtained, and a relational database is constructed. Meanwhile, a transmission port is set to store the cutting data in the relational database;

[0069] S3. In the numerical control system, extract the cutting data, calculate and output the preliminary thickness value T0(x, y) of the medicinal material, calculate and output the corrected thickness value T(x, y) based on the preliminary thickness value T0(x, y), perform boundary constraints based on the corrected thickness value T(x, y), and obtain the cutting thickness value T final (x, y);

[0070] S4, according to the cutting thickness value T final (x, y) and cutting data, calculate and output the blade inclination angle O(x, y) and cutting pressure P(x, y), and based on the blade inclination angle O(x, y) and cutting pressure P(x, y), dynamically adjust the servo motor of the medicinal material cutting machine to adjust the angle and pressure of the cutting blade;

[0071] S5. After adjusting the medicinal material cutting machine, start the cutting machine to slice the medicinal material, and obtain the measured thickness value T through real-time monitoring by the thickness sensor. actual (x, y), and the cutting thickness value T final (x, y), perform deviation calculation to obtain the slice deviation value △T(x, y), calculate and output the corrected slice thickness value T'(x, y) based on the slice deviation value △T(x, y), and dynamically correct the thickness of the medicinal material slice;

[0072] S6. Calculate the slice thickness uniformity U of the medicinal material based on the corrected slice thickness value T'(x, y), set the error tolerance value E, and perform uniformity evaluation with the slice thickness uniformity U. If the uniformity evaluation shows that the medicinal material uniformity is abnormal, execute the error tracing iteration mechanism.

[0073] In this embodiment, the method collects the characteristic data of the medicinal material in real time through the optical scanning device and the sensor group, including fiber density, tension, hardness and other information, and transmits it to the numerical control system through the wireless network to provide accurate data support for the subsequent cutting process. Then, the numerical control system processes the data and stores the cutting data in a relational database to ensure the integrity and traceability of the data. Based on the characteristic data of the medicinal material, the preliminary thickness value T0(x, y) is calculated and further corrected to the precise cutting thickness value T final(x, y), which provides the basis for the realization of cutting accuracy. Based on the corrected cutting thickness value T final (x, y), dynamically calculate and adjust the blade's inclination angle O(x, y) and cutting pressure P(x, y), and automatically adjust the blade angle and cutting force through the servo motor to ensure stability and accuracy during the cutting process. actual (x, y), and the target thickness T final (x, y) is compared to calculate the slice deviation value △T(x, y), and dynamic correction is performed to further optimize the cutting process. Finally, the uniformity evaluation is performed based on the corrected slice thickness value T'(x, y), and the uniformity U of the slice thickness of the medicinal material is detected in combination with the set error tolerance value E. If the uniformity is insufficient, the error tracing iteration mechanism will be started, and through continuous adjustment and optimization, the thickness of the slice is ensured to be consistent within the allowable range, thereby improving the overall processing quality. Through the application of this technical solution, the thickness accuracy of the medicinal material cutting process is significantly improved, the uniformity of the slice is guaranteed, and the uncertainty in manual operation is avoided. In particular, based on the real-time collection and precise calculation of medicinal material characteristic data, the dynamic adjustment of cutting thickness and pressure enables the system to respond to the heterogeneity of different medicinal materials in real time, thereby improving production efficiency and reducing scrap rate. In addition, the introduction of error tracing and uniformity evaluation mechanism further improves the quality stability of the product, ensures that the cutting effect of each batch of medicinal materials meets the quality standards, and finally realizes the intelligent and refined control of the medicinal material cutting process, and improves the automation level and quality control capability of the entire production process.

[0074] Example 2

[0075] This embodiment is explained in Example 1, please refer to Figure 1 , specifically: S1 includes S11 and S12;

[0076] S11, installing an optical scanning device and a sensor group on the medicinal material cutting machine, and automatically starting the optical scanning device and the sensor group when the medicinal material is placed on the cutting machine to collect medicinal material characteristic data in real time;

[0077] The sensor set includes a tension sensor, a piezoelectric hardness sensor, and a thickness scanner;

[0078] The medicinal material characteristic data include the medicinal material fiber density F, the medicinal material real-time tension Tf and the medicinal material hardness value H;

[0079] The fiber density F of the medicinal material is obtained by collecting the medicinal material image through an optical scanning device, and the fiber density F of the medicinal material is analyzed by an image processing algorithm, and a fiber distribution matrix is ​​constructed to obtain the fiber density F(x, y) of the medicinal material in the spatial coordinate (x, y);

[0080] The real-time tension Tf of the medicinal material is acquired through the tension sensor; the hardness value H of the medicinal material is acquired through the piezoelectric hardness sensor;

[0081] S12. Build a numerical control system for the cutting machine, use a wireless network to connect the optical scanning device and the communication module of the sensor group to the numerical control system in real time, and transmit the collected medicinal material characteristic data to the numerical control system.

[0082] In this embodiment, the method realizes the real-time collection of medicinal material characteristic data by accurately integrating the optical scanning device and the sensor group, and transmits these data to the numerical control system through the wireless network, thereby providing accurate input data for the medicinal material cutting process. In the specific implementation, by installing the optical scanning device and the sensor group on the medicinal material cutting machine, when the medicinal material is placed on the cutting machine, the device can be automatically started for real-time data collection. The sensor group includes a tension sensor, a piezoelectric hardness sensor and a thickness scanner, which can respectively obtain the characteristic data of the fiber density F, real-time tension Tf and hardness value H of the medicinal material. These data are collected by the optical scanning device to collect the image of the medicinal material, and combined with the image processing algorithm, the fiber distribution matrix is ​​constructed to obtain the fiber density F (x, y) of the medicinal material at the spatial coordinates (x, y). In addition, the real-time tension Tf is obtained by the tension sensor, and the hardness value H is measured by the piezoelectric hardness sensor. Then, by constructing the numerical control system of the cutting machine, the communication module of the optical scanning device and the sensor group is connected to the numerical control system in real time using the wireless network, and the collected medicinal material characteristic data is transmitted to the numerical control system. This method uses high-precision real-time data collection to accurately record and feedback key characteristics of medicinal materials such as fiber density, tension and hardness during the cutting process. By integrating advanced sensing technology and automated data transmission, the physical properties of medicinal materials can be accurately understood, providing a scientific basis for subsequent cutting parameter adjustments. This automated data collection and real-time transmission mechanism avoids errors caused by manual intervention and improves the accuracy and consistency of the medicinal material cutting process. In addition, this technology can not only improve the processing quality of medicinal materials and reduce the scrap rate, but also adjust the operating parameters in time according to the changes in the medicinal materials during the cutting process, thereby achieving a more efficient production process.

[0083] Example 3

[0084] This embodiment is explained in Example 2. Please refer to Figure 1 , specifically: S2 and S21 and S22;

[0085] S21, receiving the medicinal material characteristic data in real time in the numerical control system, and preprocessing the medicinal material characteristic data, the preprocessing including data cleaning, dimensionless processing and advanced calculation processing, to obtain cutting data;

[0086] The cutting data includes the second-order gradient of the fiber density F(x, y) at the spatial coordinate (x, y) Tension correction factor K t And hardness correction factor K h (x, y);

[0087] Advanced calculation processing is based on the medicinal material characteristic data, after data cleaning and dimensionless processing, advanced calculation is performed; the specific advanced calculation content is as follows:

[0088] The second-order gradient of fiber density F(x, y) at the spatial coordinate (x, y) The uniformity of fiber distribution of medicinal materials is determined by calculating the second-order gradient of the fiber distribution matrix in the medicinal material image. The specific algorithm formula is as follows:

[0089] In the formula, represents partial derivative, x represents the horizontal axis direction, and y represents the vertical axis direction;

[0090] Tension correction factor K t The standard deviation of the fiber density is calculated by the real-time tension Tf of the medicinal material and the fiber density F(x, y), and the fiber tension influencing factor γ is combined to obtain the calculated value and analyze the influence of the uneven fiber distribution. The specific algorithm formula is as follows:

[0091] Where Tmax represents the upper limit of the tension of the medicinal material, N is the number of sampling points of the test fiber, which is usually the number of sample points obtained by optical scanning, and F i represents the fiber density value of the i-th sampling point, It represents the average value of fiber density and the concentration of fiber distribution. γ represents the fiber tension influencing factor, which is a constant set according to experimental data and is used to describe the relationship between tension and fiber distribution standard deviation. represents the standard deviation of fiber density;

[0092] Hardness correction factor K h (x, y) By calculating the standard deviation and average value based on the hardness value H of the obtained medicinal material, the hardness standard deviation △H and the hardness average value are obtained. Based on the hardness standard deviation △H and the hardness average The specific algorithm formula is as follows:

[0093] In the formula, exp represents the exponential function, H(x, y) represents the hardness value of the medicinal material at the spatial coordinate (x, y);

[0094] S22, construct a relational database and set a transmission port, the transmission port includes a write port and a write port;

[0095] The cutting data and the medicinal material characteristic data are written into the port, and the cutting data is marked with a timestamp and stored in a relational database.

[0096] In this embodiment, by receiving and processing the medicinal material characteristic data in real time, the numerical control system can accurately calculate the cutting data related to the medicinal material cutting, thereby optimizing the cutting process. In the specific implementation, step S21 first receives the medicinal material characteristic data in real time through the numerical control system and performs preprocessing. The preprocessing content includes data cleaning, dimensionless processing and advanced calculation processing to ensure the accuracy and consistency of the input data. After preprocessing, the cutting data obtained includes the second-order gradient of the fiber density F(x, y) on the spatial coordinates (x, y) Tension correction factor K t And hardness correction factor K h (x, y). By building a relational database and setting up a transmission port, the cutting data and medicinal material characteristic data are stored in the database. When the data is stored, a timestamp will be marked for each cutting data to ensure the traceability and manageability of the data. In terms of implementation effect, through the above method, the CNC system can accurately generate cutting-related correction data through preprocessing and advanced calculations on the basis of real-time reception of medicinal material characteristic data, ensuring that the cutting process can be adjusted according to the different physical properties of the medicinal materials. This process effectively eliminates the cutting errors caused by the uneven characteristics of the medicinal materials and improves the accuracy and quality of the cutting. In addition, through the application of relational databases, standardized storage and management of data are realized, ensuring the integrity and traceability of the data, making the production process more transparent and controllable.

[0097] Example 4

[0098] This embodiment is explained in Example 3, please refer to Figure 1 , specifically: S3 includes S31, S32 and S33;

[0099] S31, by constructing a preliminary thickness calculation formula, extracting the fiber density F(x, y) and hardness correction coefficient K stored in the relational database through the write port h (x, y), input into the preliminary thickness calculation formula to calculate and output the preliminary thickness value T0(x, y) of the medicinal material;

[0100] The preliminary thickness value T0(x, y) is calculated and output by the following preliminary thickness calculation formula;

[0101] T0(x, y) = κ·F(x, y) α1 ·K h (x, y);

[0102] In the formula, κ represents the proportional constant between fiber density and thickness, α1 represents the sensitivity coefficient of fiber density F(x, y) to thickness, and indicates how fiber density F(x, y) affects thickness, which is usually obtained by fitting experimental data.

[0103] S32, based on the preliminary thickness value T0(x, y), combined with the second-order gradient of the fiber density F(x, y) at the spatial coordinate (x, y) ▽ 2 F(x, y) and tension correction factor K t , combined with the dynamic weight function W(x, y), calculate and output the corrected thickness value T(x, y), and make a high-order correction to the initial thickness value T0(x, y) to calculate the thickness of the medicinal material;

[0104] The corrected thickness value T(x, y) is calculated and output by the following algorithm formula;

[0105]

[0106] Where β1 and β2 represent the first correction coefficient and the second correction coefficient, which control the influence of the gradient and tension correction terms on the thickness, and W(x, y) represents the dynamic weight function;

[0107] The dynamic weight function W(x, y) is obtained by combining the fiber density F(x, y) and the upper limit of the hardness value H of the medicinal material to adjust the correction strength of the slice thickness;

[0108] The dynamic weight function W(x, y) is calculated and outputted by the following algorithm formula;

[0109] In the formula, Fmax represents the upper limit of fiber density, which indicates the maximum fiber density in the sample; Hmax represents the maximum value of hardness of medicinal materials, which indicates the maximum hardness in the sample.

[0110] S33, the user sets the slice thickness constraint interval [Tmin, Tmax] according to the slicing requirements of the medicinal material, the constraint interval includes the slice thickness upper limit Tmax and the slice thickness lower limit Tmin, and the constraint interval [Tmin, Tmax] is used to perform boundary constraints on the modified thickness value T(x, y) to obtain the cutting thickness value T final (x, y), and based on the cutting thickness value T final The output result of (x, y) executes the dynamic adjustment mechanism of the medicinal material cutting machine;

[0111] The specific boundary constraints are as follows:

[0112]

[0113] When the cutting thickness value T finalWhen (x, y) = 1, the dynamic adjustment mechanism of the medicinal material cutting machine is executed;

[0114] When the cutting thickness value T final When (x, y) = 0, the dynamic adjustment mechanism of the medicinal material cutting machine is not executed;

[0115] When the cutting thickness value T final When (x, y)=-1, the dynamic adjustment mechanism of the medicinal material cutting machine is executed.

[0116] In this embodiment, the method constructs a preliminary thickness calculation formula to extract the fiber density F(x, y) and hardness correction coefficient K of the medicinal material from the relational database. h (x, y), and input these data into the preliminary thickness calculation formula to calculate the preliminary thickness value T0(x, y) of the medicinal material. The preliminary thickness value T0(x, y) is calculated by the proportional constant and sensitivity coefficient between the fiber density F(x, y) and the thickness. This formula provides an estimate of the preliminary thickness of the medicinal material cutting and provides basic data for subsequent fine adjustments. Based on the preliminary thickness value T0(x, y), combined with the second-order gradient of the fiber density on the spatial coordinates (x, y) ▽ 2 F(x, y) and tension correction factor K t , the preliminary thickness value is corrected by the dynamic weight function W(x, y) to obtain the corrected thickness value T(x, y). The dynamic weight function W(x, y) is adjusted according to the maximum value of the fiber density F(x, y) and the medicinal material hardness value H to determine the correction strength of the thickness. In this process, by considering factors such as the fiber distribution, tension and hardness of the medicinal material, the cutting thickness can be dynamically adjusted to make it more in line with the actual cutting requirements. The corrected thickness value T(x, y) is bounded according to the slice thickness constraint interval [Tmin, Tmax] set by the user to ensure that the cutting thickness value T final (x, y) is always within the predetermined upper and lower limits. final The boundary control of (x, y) can dynamically adjust the cutting parameters of the medicinal material cutting machine to achieve precise control of the cutting process. final(x, y) exceeds the set boundary, the cutting machine will perform dynamic adjustments according to the adjustment rules to ensure the optimization of the cutting effect. The above steps combine precise data input, complex calculation processing and flexible dynamic adjustment mechanism, and achieve the following significant improvements: Precise control of cutting thickness: Through preliminary thickness calculation, correction algorithm and dynamic adjustment mechanism, the cutting thickness of each piece of medicinal material can be accurately controlled, eliminating the thickness fluctuation caused by uneven medicinal material characteristics and improving the uniformity of cutting. Dynamic adaptation to medicinal material characteristics: The use of dynamic weight function and correction coefficient can automatically adjust according to the real-time characteristics of medicinal materials such as fiber density and hardness, improve the adaptability to different medicinal materials and reduce manual intervention. Improve production efficiency and quality: Through boundary constraints and dynamic adjustment, not only the stability of cutting thickness is ensured, but also the over-adjustment of the cutting machine caused by errors can be reduced, optimizing the operation efficiency and overall quality of the equipment. Realize intelligent control: By establishing a data-driven feedback mechanism, while meeting the thickness requirements set by the user, the equipment parameters are automatically adjusted, realizing a highly intelligent cutting process, reducing the difficulty of operation and potential risks. In summary, through precise algorithms and intelligent control, this method significantly improves the accuracy, efficiency and automation level of medicinal material cutting, and provides more advanced technical support for the medicinal material processing industry.

[0117] Example 5

[0118] This embodiment is explained in Example 4. Please refer to Figure 1 , specifically: S4 includes S41 and S42;

[0119] S41, after the boundary constraint is generated and the dynamic adjustment mechanism of the medicinal material cutting machine is executed, the current cutting thickness value T final The output result of (x, y) is combined with the effective cutting length L of the blade to calculate the output blade inclination angle O(x, y), and then the output blade inclination angle O(x, y) is sent through the numerical control system to the blade adjustment module of the servo motor of the medicinal material cutting machine to dynamically adjust the blade of the servo motor of the medicinal material cutting machine;

[0120] The blade inclination angle O(x, y) is calculated and output by the following algorithm formula;

[0121]

[0122] Where, arcsin represents the inverse sine function;

[0123] S42, based on the hardness correction factor K h (x, y) and tension correction factor K t, introduce a nonlinear adjustment coefficient, calculate the output cutting pressure P(x, y), and send a control instruction to the blade adjustment module of the servo motor of the medicinal material cutting machine through the numerical control system to dynamically adjust the blade pressure of the servo motor of the medicinal material cutting machine;

[0124] The cutting pressure P(x, y) is calculated and output by the following algorithm formula;

[0125]

[0126] Wherein, P0 represents the basic pressure of the blade, which indicates the initial pressure applied by the blade under standard conditions and is used to set the starting value of the pressure; δ1 represents the hardness nonlinear adjustment coefficient, which is used to make nonlinear corrections to the pressure regulation caused by hardness; δ2 represents the tension nonlinear adjustment coefficient, which is used to make nonlinear corrections to the tension.

[0127] Example 3 This example is an explanation of Example 2. Figure 1 , specifically: S5 includes S51 and S52;

[0128] S51, after dynamically adjusting the blade angle and blade pressure of the medicinal material cutting machine, start the medicinal material cutting machine to perform a slicing test on the medicinal material, and after the test, monitor the actual thickness value T of each spatial coordinate (x, y) of the medicinal material in real time through the thickness sensor actual (x, y), and the cutting thickness value T final (x, y) to calculate the absolute difference and obtain the slice deviation value △T(x, y). The specific algorithm formula is: △T(x, y) = |T actual (x, y)-T final (x, y)|;

[0129] S52, based on the slice deviation value △T(x, y), the measured thickness value T of each slice in the slice test actual (x, y) and the slice deviation value △T(x, y), and calculate and output the corrected slice thickness value T'(x, y). Based on the corrected slice thickness value T'(x, y), the dynamic adjustment mechanism of the medicinal material cutting machine is executed twice, and the blade angle and blade pressure of the medicinal material cutting machine are adjusted in real time according to the actual slice test;

[0130] The corrected slice thickness value T'(x, y) is calculated and output by the following algorithm formula

[0131]

[0132] Where λ represents the correction factor. When making corrections, the amplitude of the correction is controlled according to the set λ correction factor. If the λ correction factor is large, it will respond quickly to correct the error. If the λ correction factor is small, the correction will be smoother to avoid over-correction caused by over-adjustment.

[0133] In this embodiment, the method ensures the accuracy and efficiency of the cutting process by dynamically adjusting the blade angle and cutting pressure of the medicinal material cutting machine. final (x, y) and the blade cutting length L, calculate the blade inclination angle O(x, y), and adjust the blade angle through the CNC system command to optimize the cutting effect, and then combine the medicinal material hardness correction coefficient K h (x, y) and tension correction factor K t , calculate the cutting pressure P(x, y), and adjust the cutting pressure of the blade through the CNC system to ensure uniform pressure and smooth cutting. Then, the actual slice thickness T is monitored in real time. actual (x, y) and target cutting thickness T final The difference between (x, y) is used to calculate the slice deviation value △T(x, y), and the slice thickness T'(x, y) is corrected according to the deviation value. The cutting effect is further optimized by adjusting the blade angle and pressure twice dynamically. This method improves the cutting accuracy and consistency by accurately adjusting the blade angle and pressure, and optimizes the cutting process through real-time feedback and dynamic adjustment, improves production efficiency, reduces errors, and ensures high quality and high efficiency of medicinal material cutting.

[0134] Example 6

[0135] This embodiment is explained in Example 5. Please refer to Figure 1 , specifically: S6 includes S61 and S62;

[0136] S61, after executing the dynamic adjustment mechanism of the medicinal material cutting machine for the second time, start the equipment to slice the medicinal material, collect the second measured thickness value T2 (x, y) through the thickness sensor, and calculate the average value of the slice thickness Combined with the corrected slice thickness value T'(x, y), the uniformity index U is calculated and output;

[0137] The uniformity index U is calculated and output by the following algorithm formula;

[0138]

[0139] S62. Based on the production standard of medicinal material slices, the user initially sets the error tolerance value E, and then uses the error tolerance value E and the uniformity index U to perform uniformity evaluation, analyze the uniformity of the medicinal material slices, and execute the error tracing iteration mechanism based on the uniformity evaluation results; the specific evaluation contents are as follows:

[0140] When the uniformity index U ≤ the error tolerance value E, it means that the thickness uniformity of the slices meets the predetermined standard. At this time, the test is terminated and the comprehensive medicinal material slicing process is carried out;

[0141] When the uniformity index U>error tolerance value E, it means that the thickness uniformity of the slice does not meet the predetermined standard, and the error tracing iteration mechanism is executed;

[0142] The error tracing iteration mechanism collects the absolute difference between the second measured thickness value T2(x, y) and the corrected slice thickness value T'(x, y) to generate an error matrix △U(x, y), records the deviation between the actual thickness at each spatial coordinate (x, y) and the corrected slice thickness, and compares and evaluates the error tolerance value E based on the output result of the error matrix △U(x, y), and executes the supplementary cutting mechanism based on the evaluation result, and iterates to execute S61 and S62 after the supplementary cutting until the uniformity meets the predetermined standard and stops the iteration. The specific algorithm formula of the error matrix △U(x, y) is: △U(x, y) = |T2(x, y)-T'(x, y)|;

[0143] The specific evaluation contents are as follows:

[0144] When the error matrix △U(x, y)>error tolerance value E, it means that there is a deviation in the thickness of the current spatial coordinate (x, y) position, and the cutting is performed;

[0145] When the error matrix △U(x, y)≤error tolerance value E, it means that the slice thickness at the current spatial coordinate (x, y) position meets the standard and no supplementary cutting is performed.

[0146] In this embodiment, the method further optimizes the thickness uniformity of the medicinal material slices by executing the dynamic adjustment mechanism twice. After collecting the second measured thickness value T2 (x, y) through the thickness sensor, the average thickness of the slice is calculated, and combined with the previously corrected slice thickness value T' (x, y), the uniformity index U of the slice is calculated to evaluate the overall uniformity of the slice. Next, the user sets the error tolerance value E as the uniformity standard of the slice, and compares and evaluates the uniformity index U with the error tolerance value E. If the uniformity meets the standard, the test will be ended and comprehensive slicing will be performed. If the uniformity does not meet the standard, the error tracing iteration mechanism is started, and the deviation of each position is recorded by calculating the error matrix △U (x, y), and a supplementary cutting operation is performed. After the supplementary cutting is completed, S61 and S62 are executed again until the uniformity of the slice meets the predetermined standard. This method ensures the uniformity of the medicinal material slices through dynamic adjustment, real-time feedback and iterative correction, and corrects the deviation in time through the error tracing mechanism, which greatly improves the quality and consistency of the slices. This precise uniformity control significantly improves the efficiency and product quality of the slicing process, avoids waste, and ensures that the final product meets production standards with high precision and consistency.

[0147] Example 7

[0148] See also Figure 1 and Figure 2 , an intelligent control system for medicinal material processing, including a data acquisition and transmission module, a data processing and storage module, a preliminary medicinal material cutting thickness setting module, a cutting equipment adjustment module, a medicinal material slice thickness correction module and a traceability supplement cutting module;

[0149] The data acquisition and transmission module uses an optical scanning device combined with a sensor group to collect the medicinal material characteristic data in real time, build a numerical control system for the medicinal material cutting machine, and transmit the medicinal material characteristic data to the numerical control system of the medicinal material cutting machine through a wireless network;

[0150] The data processing and storage module processes the characteristic data of medicinal materials in the numerical control system, obtains the cutting data, and constructs a relational database, and sets a transmission port to store the cutting data in the relational database;

[0151] The preliminary medicinal material cutting thickness setting module extracts the cutting data in the CNC system, calculates and outputs the preliminary thickness value T0(x, y) of the medicinal material, calculates and outputs the corrected thickness value T(x, y) based on the preliminary thickness value T0(x, y), performs boundary constraints based on the corrected thickness value T(x, y), and obtains the cutting thickness value T final (x, y);

[0152] The cutting equipment adjustment module adjusts the cutting thickness value T final(x, y) and cutting data, calculate and output the blade inclination angle O(x, y) and cutting pressure P(x, y), and based on the blade inclination angle O(x, y) and cutting pressure P(x, y), dynamically adjust the servo motor of the medicinal material cutting machine to adjust the angle and pressure of the cutting blade;

[0153] The medicinal material slice thickness correction module starts the cutting machine to slice medicinal materials after adjusting the medicinal material cutting machine, and obtains the measured thickness value T through real-time monitoring by the thickness sensor. actual (x, y), and the cutting thickness value T final (x, y), perform deviation calculation to obtain the slice deviation value △T(x, y), calculate and output the corrected slice thickness value T'(x, y) based on the slice deviation value △T(x, y), and dynamically correct the thickness of the medicinal material slice;

[0154] The traceability and supplementary cutting module calculates the slice thickness uniformity U of the medicinal material based on the corrected slice thickness value T'(x, y), sets the error tolerance value E, and performs uniformity evaluation with the slice thickness uniformity U. If the uniformity evaluation shows that the medicinal material uniformity is abnormal, the error tracing iteration mechanism is executed.

[0155] While the embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that many changes, modifications, substitutions and variations can be made to the embodiments without departing from the principles and spirit of the invention.

Claims

1. An intelligent control method for medicinal material processing, characterized in that: The following steps are involved: S1. Use an optical scanning device in combination with a sensor group to collect medicinal material characteristic data in real time, build a numerical control system for a medicinal material cutting machine, and transmit the medicinal material characteristic data to the numerical control system of the medicinal material cutting machine through a wireless network; S2, in the numerical control system, processing the medicinal material characteristic data, obtaining cutting data, and constructing a relational database, while setting a transmission port to store the cutting data in the relational database; S3, in the numerical control system, extracting cutting data, calculating and outputting a preliminary thickness value of the medicinal material, and then calculating and outputting a corrected thickness value based on the preliminary thickness value, performing boundary constraints based on the corrected thickness value, and obtaining a cutting thickness value; S4, calculating and outputting the blade inclination angle and cutting pressure according to the cutting thickness value and the cutting data, and dynamically adjusting the servo motor of the medicinal material cutting machine based on the blade inclination angle and the cutting pressure to adjust the angle and pressure of the cutting blade; S5. After adjusting the medicinal material cutting machine, start the cutting machine to slice the medicinal material, and obtain the measured thickness value through real-time monitoring by the thickness sensor, and perform deviation calculation with the cutting thickness value to obtain the slicing deviation value, and calculate and output the corrected slicing thickness value based on the slicing deviation value to dynamically correct the thickness of the medicinal material slices; S6. Calculate the uniformity of the slice thickness of the medicinal material based on the corrected slice thickness value, set an error tolerance value, and perform a uniformity assessment based on the slice thickness uniformity. If the uniformity assessment shows that the uniformity of the medicinal material is abnormal, execute an error tracing iteration mechanism.

2. The intelligent control method for medicinal material processing according to claim 1, characterized in that: Said S1 includes S11 and S12; S11, installing an optical scanning device and a sensor group on the medicinal material cutting machine, and automatically starting the optical scanning device and the sensor group when the medicinal material is placed on the cutting machine to collect medicinal material characteristic data in real time; The sensor group includes a tension sensor, a piezoelectric hardness sensor and a thickness scanner; The medicinal material characteristic data include medicinal material fiber density, medicinal material real-time tension and medicinal material hardness value; The fiber density of the medicinal material is determined by collecting medicinal material images through an optical scanning device, analyzing the fiber density of the medicinal material using an image processing algorithm, and constructing a fiber distribution matrix to obtain the fiber density of the medicinal material in the spatial coordinates; The real-time tension of the medicinal material is acquired through a tension sensor; the hardness value of the medicinal material is acquired through a piezoelectric hardness sensor; S12, constructing a numerical control system for the cutting machine, using a wireless network to connect the optical scanning device and the communication module of the sensor group to the numerical control system in real time, and transmitting the collected medicinal material characteristic data to the numerical control system.

3. The intelligent control method for medicinal material processing according to claim 2, characterized in that: Said S2 and S21 and S22; S21, receiving the medicinal material characteristic data in real time in the numerical control system, and preprocessing the medicinal material characteristic data, wherein the preprocessing includes data cleaning, dimensionless processing and advanced calculation processing, to obtain cutting data; The cutting data includes the second-order gradient of fiber density in space coordinates, tension correction coefficient and hardness correction coefficient; The advanced calculation process is based on the medicinal material characteristic data, after data cleaning and dimensionless processing, and then advanced calculation is performed; the specific advanced calculation content is as follows: The second-order gradient of the fiber density in the spatial coordinates is obtained by calculating the second-order gradient of the fiber distribution matrix in the medicinal material image to judge the uniformity of the medicinal material fiber distribution. The tension correction coefficient is calculated by using the real-time tension and fiber density of the medicinal material to calculate the standard deviation of the fiber density, and is obtained by combining the fiber tension influencing factor to analyze the impact of uneven fiber distribution. The hardness correction coefficient is obtained by performing standard deviation calculation and average value calculation according to the obtained medicinal material hardness value, obtaining the hardness standard deviation and the hardness average value, and then performing calculation based on the hardness standard deviation and the hardness average value; S22, constructing a relational database and setting a transmission port, wherein the transmission port includes a write port and a write port; The cutting data and the medicinal material characteristic data are written into a port, and the cutting data is marked with a timestamp and stored in a relational database.

4. The intelligent control method for medicinal material processing according to claim 3, characterized in that: The S3 includes S31, S32 and S33; S31, constructing a preliminary thickness calculation formula, extracting the fiber density and hardness correction coefficient stored in the relational database through the write port, inputting them into the preliminary thickness calculation formula to calculate and output the preliminary thickness value of the medicinal material; S32, based on the preliminary thickness value, combined with the second-order gradient of fiber density in the spatial coordinates and the tension correction coefficient, combined with the dynamic weight function, calculate and output a corrected thickness value, and perform a high-order correction on the preliminary thickness value to obtain the thickness of the medicinal material; The dynamic weight function is obtained by combining the fiber density and the upper limit of the hardness value of the medicinal material to adjust the correction strength of the slice thickness.

5. The intelligent control method for medicinal material processing according to claim 4, characterized in that: S33, the user sets a slice thickness constraint interval according to the slicing requirements of the medicinal material, the constraint interval includes an upper limit value and a lower limit value of the slice thickness, the modified thickness value is bounded by the constraint interval, a cutting thickness value is obtained, and based on the output result of the cutting thickness value, a dynamic adjustment mechanism of the medicinal material cutting machine is executed; When the cutting thickness value = 1, the dynamic adjustment mechanism of the medicinal material cutting machine is executed; When the cutting thickness value = 0, the dynamic adjustment mechanism of the medicinal material cutting machine is not executed; When the cutting thickness value = -1, the dynamic adjustment mechanism of the medicinal material cutting machine is executed.

6. The intelligent control method for medicinal material processing according to claim 1, characterized in that: The S4 includes S41 and S42; S41, after the boundary constraint is generated to execute the dynamic adjustment mechanism of the medicinal material cutting machine, the output blade inclination angle is calculated and output according to the output result of the current cutting thickness value and the effective cutting length of the blade, and then the output blade inclination angle is sent through the numerical control system to the blade adjustment module of the servo motor of the medicinal material cutting machine to dynamically adjust the blade of the servo motor of the medicinal material cutting machine; S42. Based on the hardness correction coefficient and the tension correction coefficient, a nonlinear adjustment coefficient is introduced to calculate the output cutting pressure, and then a control instruction is sent to the blade adjustment module of the servo motor of the medicinal material cutting machine through the numerical control system to dynamically adjust the blade pressure of the servo motor of the medicinal material cutting machine.

7. The intelligent control method for medicinal material processing according to claim 6, characterized in that: The S5 includes S51 and S52; S51, after dynamically adjusting the blade angle and blade pressure of the medicinal material cutting machine, start the medicinal material cutting machine to perform a slicing test on the medicinal material, and after the test, monitor the actual thickness value of each spatial coordinate of the medicinal material in real time through a thickness sensor, and calculate the absolute difference with the cutting thickness value to obtain a slicing deviation value; S52. Based on the slice deviation value, the measured thickness value of each slice in the slice test and the slice deviation value are combined and calculated to output a corrected slice thickness value. Based on the corrected slice thickness value, the dynamic adjustment mechanism of the medicinal material cutting machine is executed for a second time, and the blade angle and blade pressure of the medicinal material cutting machine are adjusted in real time according to the actual slice test.

8. The intelligent control method for medicinal material processing according to claim 7, characterized in that: The S6 includes S61 and S62; S61. After executing the dynamic adjustment mechanism of the medicinal material cutting machine for the second time, start the equipment to slice the medicinal material, collect the second measured thickness value through the thickness sensor, calculate the average value of the slice thickness, and calculate and output the uniformity index in combination with the corrected slice thickness value.

9. The intelligent control method for medicinal material processing according to claim 8, characterized in that: S62. Based on the production standard of medicinal material slices, the user initially sets the error tolerance value, and then uses the error tolerance value and the uniformity index to perform uniformity evaluation, analyzes the uniformity of the medicinal material slices, and executes an error tracing iteration mechanism based on the uniformity evaluation result; the specific evaluation contents are as follows: When the uniformity index is less than or equal to the error tolerance value, it means that the thickness uniformity of the slices meets the predetermined standard. At this time, the test is terminated and the comprehensive medicinal material slicing process is carried out; When the uniformity index is greater than the error tolerance value, it means that the thickness uniformity of the slice does not meet the predetermined standard, and the error tracing iteration mechanism is executed; The error tracing iteration mechanism collects the second measured thickness value and the corrected slice thickness value to perform absolute difference calculation, generates an error matrix, records the deviation between the actual thickness and the corrected slice thickness at each spatial coordinate, and performs error tolerance value comparison evaluation based on the error matrix output result, and executes the supplementary cutting mechanism based on the evaluation result, and iteratively executes S61 and S62 after the supplementary cutting until the uniformity meets the predetermined standard and stops the iteration; The specific evaluation contents are as follows: When the error matrix > the error tolerance value, it means that there is a deviation in the thickness of the current spatial coordinate position, and the cutting is performed; When the error matrix ≤ the error tolerance value, it means that the slice thickness at the current spatial coordinate position meets the standard and no supplementary cutting is performed.

10. An intelligent control system for medicinal material processing, applied to an intelligent control method for medicinal material processing according to any one of claims 1 to 9, characterized in that: It includes a data acquisition and transmission module, a data processing and storage module, a preliminary medicinal material cutting thickness setting module, a cutting equipment adjustment module, a medicinal material slice thickness correction module and a traceability supplementary cutting module; The data acquisition and transmission module collects the medicinal material characteristic data in real time by combining the optical scanning device with the sensor group, constructs the numerical control system of the medicinal material cutting machine, and transmits the medicinal material characteristic data to the numerical control system of the medicinal material cutting machine through a wireless network; The data processing and storage module processes the medicinal material characteristic data in the numerical control system, obtains cutting data, and constructs a relational database, and sets a transmission port to store the cutting data in the relational database; The preliminary medicinal material cutting thickness setting module extracts cutting data in the numerical control system, calculates and outputs a preliminary thickness value of the medicinal material, and then calculates and outputs a revised thickness value based on the preliminary thickness value, performs boundary constraints based on the revised thickness value, and obtains a cutting thickness value; The cutting equipment adjustment module calculates and outputs the blade inclination angle and cutting pressure according to the cutting thickness value and the cutting data, and dynamically adjusts the servo motor of the medicinal material cutting machine based on the blade inclination angle and the cutting pressure to adjust the angle and pressure of the cutting blade; The medicinal material slice thickness correction module starts the cutting machine to slice the medicinal material after adjusting the medicinal material cutting machine, and obtains the measured thickness value through real-time monitoring by the thickness sensor, and performs deviation calculation with the cutting thickness value to obtain the slice deviation value, and calculates and outputs the corrected slice thickness value based on the slice deviation value to dynamically correct the thickness of the medicinal material slice; The traceability and supplementary cutting module calculates the slice thickness uniformity of the medicinal material based on the corrected slice thickness value, sets an error tolerance value, and performs a uniformity assessment based on the slice thickness uniformity. If the uniformity assessment shows that the medicinal material uniformity is abnormal, an error tracing iteration mechanism is executed.

Citation Information

Cited By

  • Control method and system of slicing machine for traditional Chinese medicinal material rhizoma polygonati

    CN122275093A