Methods, systems, and storage media for adaptive temperature control of raw materials before decoction of traditional Chinese medicine
By using a segmented sorting and dynamic power adjustment mechanism, the heating power is dynamically adjusted based on parameters such as the type, quantity, component content, and time difference of medicinal materials. This solves the problem that traditional Chinese medicine decoction equipment cannot adaptively control the water temperature, and achieves precise temperature control and full dissolution of effective components during the decoction process.
Patent Information
- Application Number
- CN202511180649.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-08-22
- Publication Date
- 2025-12-02
- Estimated Expiration
- 2045-08-22
AI Technical Summary
Existing Chinese medicine decoction equipment cannot adaptively control the water temperature before decoction according to the characteristics of different medicinal materials, which leads to the obstruction of dissolution of effective ingredients or loss of volatilization, thus affecting the efficacy.
An adaptive temperature control method for raw materials before decoction of traditional Chinese medicine is adopted. Through a segmented sorting and dynamic power adjustment mechanism, the heating power is dynamically adjusted according to parameters such as the type, quantity, component content and time difference of the medicinal materials to ensure that each raw material is fully pretreated in a suitable temperature environment.
It achieves precise temperature control during the decoction process of traditional Chinese medicine, reduces the obstruction of dissolution or loss of active ingredients due to volatilization, and improves the efficacy of traditional Chinese medicine and the standardization and intelligence of the decoction process.
Smart Images

Figure CN120762483B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the technical field of temperature control, and in particular to a method, system and storage medium for adaptive temperature control of raw materials before decocting traditional Chinese medicine. Background Technology
[0002] The decoction of traditional Chinese medicine (TCM) is a crucial step in the transformation of medicinal efficacy within the TCM theoretical system, directly affecting the dissolution efficiency of the active ingredients and the quality of the decoction. Traditional decoction relies heavily on manual experience, controlling the heat and water volume through decoction equipment. However, with the development of intelligent equipment, TCM decoction machines are becoming increasingly common, and their increased automation makes standardized decoction possible.
[0003] The initial water temperature required for decocting Chinese medicinal herbs varies. Most root, rhizome, and leafy herbs (such as angelica and honeysuckle) contain alkaloids and glycosides as their active ingredients. These components are more easily and slowly penetrate the herb tissues with water at room temperature (20-30℃), allowing for a smooth dissolution with gradual temperature increases. However, for hard minerals and shellfish such as gypsum and oyster shells, warm water (40-50℃) can accelerate their softening, shortening the subsequent decoction time and preventing component damage caused by high temperatures. Adding some herbs directly to boiling water will cause the surface proteins and starches to quickly coagulate, forming a "coating" that blocks the dissolution of active ingredients. This is especially true for herbs containing volatile oils, such as peppermint and perilla; high temperatures will also accelerate the volatilization of active ingredients, significantly reducing efficacy.
[0004] While existing Chinese medicine decoction equipment possesses basic functions such as heating and heat preservation, it has significant limitations in initial water temperature control. Most equipment only supports the direct injection of cold water or water sources of a single temperature, lacking a step-by-step heating adjustment mechanism tailored to the characteristics of different medicinal materials, and thus cannot adaptively control the water temperature before decoction according to the type of medicinal material. Summary of the Invention
[0005] In order to adaptively control the water temperature before decoction according to the type of medicinal material, this application provides a method, system and storage medium for adaptive temperature control of raw materials before decoction of traditional Chinese medicine.
[0006] In the first aspect, this application provides a method for adaptive temperature control of raw materials before decocting traditional Chinese medicine, employing the following technical solution:
[0007] A method for adaptive temperature control of raw materials before decocting traditional Chinese medicine includes the following steps:
[0008] Acquire data on the raw materials for simmering, and extract data on multiple raw material types from the raw material data; match the appropriate temperature data and time data based on the raw material type data, where the time data is the pretreatment time that the raw material needs to be kept in an appropriate temperature environment;
[0009] A temporary sequence is obtained by sorting multiple raw material type data in ascending order based on the suitable temperature data;
[0010] The temporary sequence is divided into multiple intervals, and the temperature difference between the suitable temperature data within each interval is within a set temperature difference range.
[0011] Based on the time data, the raw material type data within the divided intervals are sorted a second time in descending order to obtain the raw material type sequence;
[0012] The raw material type sequence is fed in intervals, and the current temperature data and current time data of the liquid in the cooking equipment are initialized. The current time data is used to record the heating time of the current interval.
[0013] Obtain the raw material type data corresponding to the raw material being fed, and obtain the corresponding suitable temperature data and time data based on the raw material type data;
[0014] The system updates the current temperature data in real time and calculates the temperature difference between the optimal temperature data and the current temperature data; it also matches the heat preservation and heating power of the cooking equipment based on the optimal temperature data.
[0015] The first intermediate value is calculated based on the temperature difference and the preset temperature reference difference. The first intermediate value = temperature difference / temperature reference difference. The basic heating power of the cooking equipment is adjusted according to the positive correlation of the first intermediate value.
[0016] The heating power of the cooking equipment is controlled based on the sum of the heat preservation power and the basic heating power, until the longest time data within the current time interval is counted.
[0017] By adopting the above technical solution, the appropriate temperature requirements of different raw material types can be met by first dividing the material into intervals from low to high, and then sorting the material within each interval from long to short time. This allows for the feeding of materials in intervals and the dynamic adjustment of heating power based on temperature differences. This ensures that each raw material is fully pretreated in its appropriate temperature environment, and avoids problems such as hindered dissolution or volatilization loss of effective components due to unsuitable temperature by controlling the temperature in stages.
[0018] Optionally, the step of adjusting the basic heating power of the frying equipment may further include the following sub-steps:
[0019] Get the current number of raw material type data contained in the current partition interval;
[0020] Get the total number of data for all raw material types;
[0021] The ratio of the current type quantity to the total quantity is the current quantity ratio.
[0022] The minimum control step size of the power of the decocting equipment is adjusted according to the positive correlation between the current quantity ratio and the control step size.
[0023] By adopting the above technical solution, the minimum step size of power control is positively adjusted according to the ratio of the number of raw material types in the current interval to the total number. When there are many types of raw materials in the interval, a larger minimum adjustment step size can accelerate the temperature adjustment response speed and ensure that more raw materials can quickly approach the suitable temperature data. When there are few types of raw materials in the interval, a smaller minimum adjustment step size can improve the temperature control accuracy and avoid the temperature fluctuation caused by excessive adjustment range affecting the pretreatment effect of a few raw materials.
[0024] Optionally, the step of adjusting the basic heating power of the frying equipment may further include the following sub-steps:
[0025] Obtain the type component content of the raw material type data contained in the current division interval;
[0026] Calculate the current component content corresponding to the current division interval based on raw material type data and type component content;
[0027] Obtain the total component content of raw material type data;
[0028] The ratio of the current component content to the total component content is calculated as the current content ratio.
[0029] The maximum step size for controlling the power of the decoction equipment is adjusted based on the positive correlation between the current content ratio and the control parameters.
[0030] By adopting the above technical solution, the maximum step size of power control is positively correlated with the ratio of the content of raw material components in the current interval to the total content of components. When the proportion of raw material components in the interval is high, a larger power adjustment range is allowed. This can ensure that the raw materials corresponding to the core components reach the appropriate temperature quickly, while avoiding temperature control lag caused by limited adjustment. When the proportion of components is low, limiting the maximum adjustment step size can reduce the risk of temperature overshoot and prevent adverse effects on a small number of key components.
[0031] Optionally, the step of controlling the heating power of the frying equipment may further include the following sub-steps:
[0032] The system updates the current time data in real time. Based on the time difference between the current time data and the longest time data within the current interval, a second intermediate value is calculated based on the time difference and a preset time reference difference. The second intermediate value = time difference / time reference difference. The offset heating power of the cooking equipment is then adjusted inversely based on the second intermediate value.
[0033] The heating power of the cooking equipment is controlled based on the sum of the heat preservation power, the basic heating power, and the offset heating power.
[0034] By adopting the above technical solution, the second intermediate value is calculated by combining the difference between the current time and the longest time in the interval, and the offset heating power is adjusted inversely. When the time to end of the interval is far away, the target temperature can be quickly approached by a large offset power, shortening the adjustment time. When the time to end of the interval is close, the offset power is reduced to avoid a sudden rise in temperature or overshoot due to excessive power, ensuring that the appropriate temperature is reached stably within the specified time.
[0035] Optionally, the step of adjusting the offset heating power of the frying equipment may further include the following sub-steps:
[0036] Get the sort position of the current partition interval among all partition intervals;
[0037] Get the total number of sorting operations for all partitioned intervals;
[0038] The sorting value is calculated based on the sorting position and the total number of sorting operations.
[0039] The minimum control step size for offset heating power is adjusted based on the positive correlation between the sorted calculated values and the offset values.
[0040] By adopting the above technical solution, the sorting calculation value is calculated based on the current sorting position of the divided interval and the total number of sorting intervals, and the minimum control step size of the offset heating power is positively adjusted. This allows the intervals with later sorting positions (i.e., the intervals with higher temperature requirements) to use a larger minimum adjustment step size, which can speed up the temperature response to meet the adjustment requirements of higher temperatures; while the intervals with earlier sorting positions (i.e., the intervals with lower temperature requirements) use a smaller minimum adjustment step size to ensure the temperature control accuracy in low-temperature environments.
[0041] Optionally, the method further includes the following steps:
[0042] Calculate the average value of the time data within the current interval;
[0043] Select the most recent set time period, the duration of which is shorter than the average;
[0044] Calculate the trend of temperature difference changes within a set time period;
[0045] Adjust the range width of the temperature difference based on the inverse correlation of the changing trend.
[0046] By adopting the above technical solution, a time period shorter than the average value of the time data within the current interval is set. The width of the temperature difference range is adjusted by calculating the inverse correlation of the temperature difference change trend within this time period. When the temperature difference fluctuates greatly (significant change trend), the temperature difference range is narrowed to improve the precision of the interval division and reduce the impact of temperature fluctuations on different raw materials within the same interval. When the temperature difference tends to be stable (gradual change trend), the temperature difference range is widened to reduce the complexity of the division and ensure adjustment efficiency.
[0047] Optionally, the method further includes the following steps:
[0048] The duration of the set time period is adjusted according to the positive correlation between the current quantity ratio and the set time period; the larger the current quantity ratio, the longer the set time period; the smaller the current quantity ratio, the shorter the set time period.
[0049] By adopting the above technical solution, the duration of the set time period is positively correlated with the ratio of the number of raw material types in the current interval to the total number. When there are many types of raw materials in the interval (the current ratio is large), extending the set time period can collect more sufficient temperature change data, ensuring a more accurate judgment of the temperature difference change trend and avoiding misjudgment due to insufficient data. When there are few types of raw materials in the interval (the current ratio is small), shortening the set time period can speed up the response speed of trend judgment and capture temperature fluctuations in a timely manner.
[0050] Optionally, the method further includes the following steps:
[0051] The duration of the set time period is adjusted according to the positive correlation between the current content ratio and the set content ratio; the larger the current content ratio, the longer the set time period; the smaller the current content ratio, the shorter the set time period.
[0052] By adopting the above technical solution, the duration of the set time period is adjusted according to the positive correlation between the content of raw material components in the current interval and the total content of components. When the proportion of raw material components in the interval is high (the current content ratio is large), extending the set time period can accumulate richer temperature change information, making the analysis of temperature difference change trends more representative and avoiding the impact of insufficient data collection on the judgment of the temperature environment of the raw materials corresponding to key components. When the proportion of components is low (the current content ratio is small), shortening the set time period can quickly respond to temperature fluctuations and adjust the temperature difference range in a timely manner.
[0053] Secondly, this application provides an adaptive temperature control system for raw materials before decocting traditional Chinese medicine, which adopts the following technical solution:
[0054] An adaptive temperature control system for raw materials before decoction of traditional Chinese medicine includes a processor, wherein the processor executes the steps of the adaptive temperature control method for raw materials before decoction of traditional Chinese medicine as described in any one of the above claims.
[0055] Thirdly, this application provides a storage medium, which adopts the following technical solution:
[0056] A storage medium storing a program, wherein when the program is executed by a processor, the program implements the steps of the adaptive temperature control method for raw materials before decoction of traditional Chinese medicine as described in any one of the above claims.
[0057] In summary, this application includes at least one of the following beneficial technical effects: By using a segmented sorting and dynamic power adjustment mechanism, precise adaptation of raw material temperature before decoction of traditional Chinese medicine is achieved. This ensures sufficient preprocessing of different types of raw materials under suitable temperature data conditions, and optimizes the power adjustment step size through multi-dimensional parameters such as quantity ratio and component ratio, thus balancing the efficiency and accuracy of temperature control. At the same time, by combining time difference and segmented sorting to dynamically adjust the offset power, and optimizing the temperature difference range according to temperature change trends, the adaptability and stability of temperature regulation are further improved. This effectively reduces the obstruction of dissolution or volatilization loss of effective components due to unsuitable temperature, laying a scientific foundation for the full exertion of the efficacy of traditional Chinese medicine and significantly improving the standardization and intelligence level of the traditional Chinese medicine decoction process. Attached Figure Description
[0058] Figure 1 This is a flowchart illustrating the steps of a method for adaptive temperature control of raw materials before decocting traditional Chinese medicine.
[0059] Figure 2 This is a flowchart showing the steps for adjusting the minimum step size of the basic heating power control of the frying equipment.
[0060] Figure 3 This is a flowchart showing the steps for adjusting the basic heating power control of the frying equipment to achieve the maximum step size. Detailed Implementation
[0061] The embodiments of this application are described in detail below, and examples of the embodiments are shown in the accompanying drawings.
[0062] In the description of this specification, the references to "certain embodiments," "one embodiment," "some embodiments," "illustrative embodiment," "example," "specific example," or "some examples" refer to specific features, structures, materials, or characteristics described in connection with the described embodiment or example, which are included in at least one embodiment or example of this application. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples.
[0063] This application discloses an adaptive temperature control method for raw materials before decocting traditional Chinese medicine, referring to... Figure 1 It includes the following steps:
[0064] The process involves acquiring raw material data for decoction and extracting multiple raw material type data from this data. Based on the raw material type data, suitable temperature and time data are then matched. This data is obtained through the information acquisition module of the decoction equipment, such as barcode scanning, manual input, or image recognition. This raw material data may include information such as the name, origin, and morphology of the medicinal material. Multiple raw material type data are extracted from this data, such as specific medicinal material types like angelica, honeysuckle, gypsum, oyster, and mint. Based on a pre-set medicinal material characteristic database, corresponding suitable temperature and time data are matched according to the extracted raw material type data. The suitable temperature data is the optimal temperature range for the pretreatment stage of this type of raw material before decoction, such as 20-30℃ for angelica and 40-50℃ for gypsum. The time data is the required pretreatment time for this raw material under suitable temperature conditions, such as 30 minutes for oyster and 15 minutes for mint. The medicinal material characteristic database can be built using historical experimental data, records from traditional Chinese medicine pharmacopoeias, or industry standards, and supports dynamic updates to adapt to new medicinal material types.
[0065] Based on the suitable temperature data, a temporary sequence is obtained by sorting multiple raw material type data in ascending order.
[0066] First sorting: Based on the suitable temperature data corresponding to each raw material type, all raw material types are arranged in ascending order of suitable temperature to obtain a temporary sequence. For example, if the suitable temperature for peppermint is 25℃, for angelica is 30℃, and for gypsum is 45℃, then the temporary sequence is [peppermint, angelica, gypsum]. This step ensures that subsequent temperature adjustments gradually transition from low to high temperatures, avoiding the impact of sudden temperature increases on the pretreatment effect of low-temperature-compatible raw materials.
[0067] The temporary sequence is divided into multiple intervals, and the temperature difference between the suitable temperature data within each interval must be within a set temperature difference range. Interval division: The temporary sequence is divided into multiple intervals. The division rule is that the temperature difference between the suitable temperature data of all raw material types within the same interval must not exceed the set temperature difference range. For example, if the set temperature difference range is 10℃, raw materials with suitable temperatures of 25℃ and 30℃ can be assigned to the same interval, while raw materials with a suitable temperature of 45℃ must be assigned to a separate interval. The purpose of dividing the sequence into intervals is to group raw materials with similar suitable temperatures together, reducing the frequency of temperature adjustments and improving temperature control efficiency.
[0068] Based on the time data, the raw material type data within the divided intervals are sorted a second time from longest to shortest to obtain a raw material type sequence. Secondary sorting: Within each divided interval, based on the time data corresponding to the raw material type, the raw material types are sorted a second time from longest to shortest preprocessing time to obtain a raw material type sequence. For example, if an interval contains Angelica sinensis (30 minutes) and honeysuckle (20 minutes), the second sort will be [Angelica sinensis, honeysuckle]. This step ensures that raw materials requiring longer preprocessing times within the same interval are prioritized, avoiding insufficient time affecting the preprocessing effect.
[0069] The raw material type sequence is fed into the decoction equipment in intervals. The current temperature and time data of the liquid in the equipment are initialized, with the current time data used to record the heating time of the current interval. Raw materials are fed into the equipment sequentially according to the sequence, with intervals as the dividing points. For example, all raw materials from the first interval are fed first, and the raw materials from the second interval are fed after pretreatment. Simultaneously, the current temperature data (e.g., initial water temperature set to room temperature, 20℃) and current time data (initialized to 0, used to record the heating time of the current interval) of the liquid in the decoction equipment are initialized.
[0070] Obtain the raw material type data corresponding to the currently added raw material, and retrieve the corresponding suitable temperature data and time data from the medicinal material characteristic database for the currently added raw material.
[0071] The device updates the current temperature data in real time using its temperature sensor and calculates the difference between the optimal temperature data and the current temperature data, i.e., the temperature difference. If the optimal temperature data is 30℃ and the current temperature data is 25℃, then the temperature difference is 5℃.
[0072] Based on the suitable temperature data, the heat preservation and heating power of the frying equipment is matched from the preset power-temperature correspondence table. For example, a suitable temperature of 30℃ corresponds to a heat preservation power of 500W, which is used to maintain the target temperature.
[0073] The first intermediate value is calculated based on the temperature difference and the preset temperature reference difference. For example, the preset temperature reference difference is set to 10℃. The first intermediate value = temperature difference / temperature reference difference. The base heating power is adjusted according to the positive correlation of the first intermediate value. That is, the larger the temperature difference, the higher the base heating power. For example, the base power is 300W when the temperature difference is 5℃ and 600W when the difference is 10℃.
[0074] The total heating power required is obtained by summing the heat preservation heating power and the base heating power, which is then used to control the heating operation of the cooking equipment. For example, if the heat preservation power is 500W and the base power is 300W, the total is 800W, and the equipment will heat at 800W. Real-time monitoring of current time data is maintained. When the count reaches the longest time within the current interval, indicating that the raw material with the longest pretreatment time in that interval has reached the preset time, the pretreatment of the current interval is considered complete. The current heating control is then stopped, and the feeding and temperature control process for the next interval begins, until all intervals have completed pretreatment.
[0075] Through the above steps, this method can precisely control the water temperature before decocting in stages according to the appropriate temperature requirements and pretreatment time of different raw materials. This ensures that each raw material is fully pretreated under the appropriate temperature data, and avoids the obstruction of dissolution or loss of volatilization of effective components due to unsuitable temperature.
[0076] Reference Figure 2 The step of adjusting the basic heating power of the frying equipment also includes the following sub-steps:
[0077] Get the current number of raw material types in the current partition interval. This data can be obtained by counting the raw material types contained in the current partition interval. For example, if there are 3 raw materials in the current partition interval, namely Angelica sinensis, honeysuckle and mint, then the current number of types is 3.
[0078] Get the total number of all raw material types; the total number refers to the sum of the quantities of all raw material types involved in this decoction. If there are 5 raw materials in this decoction: angelica, honeysuckle, mint, gypsum, and oyster, then the total number is 5.
[0079] The ratio of the current quantity to the total quantity is the current quantity ratio; in the example above, the current quantity ratio is 3 / 5 = 0.6.
[0080] The minimum step size for power control of the cooking equipment is adjusted based on a positive correlation with the current quantity ratio. This minimum step size refers to the smallest change in power when adjusting the base heating power. A preset minimum step size value is used, for example, 50W. When the current quantity ratio is large, such as 0.6 as mentioned above, it indicates a high proportion of raw material types within the defined range. In this case, based on the positive correlation, the minimum step size is increased, for example, to 80W. During power adjustment, the adjustment increment will not be less than 80W, accelerating the temperature adjustment response and allowing more raw materials to quickly approach their optimal temperature, avoiding slow adjustments that could affect overall pretreatment efficiency. Conversely, when the current quantity ratio is small, such as when there is only one type of raw material in the defined range, with a total quantity of 5 and a current quantity ratio of 0.2, the minimum step size is decreased, for example, to 30W. This improves the accuracy of temperature control, preventing large temperature fluctuations due to excessive adjustments, which could affect the pretreatment effect of a few raw materials and ensure stable pretreatment within a stable temperature environment.
[0081] The above scheme allows the minimum step size of power adjustment to be dynamically adjusted according to the proportion of raw material types within the current division interval. This ensures that a large number of raw materials can quickly reach the appropriate temperature while providing precise temperature control for a small number of raw materials.
[0082] Reference Figure 3 The step of adjusting the basic heating power of the frying equipment also includes the following sub-steps:
[0083] This function retrieves the content of specific components for each type of raw material within the current defined interval. The content of specific components refers to the concentration of key medicinal ingredients in each type of raw material, which can be obtained from a pre-defined database of medicinal ingredients. For example, the content of angelica polysaccharides in angelica sinensis and the content of chlorogenic acid in honeysuckle. Assume that the content of specific components in angelica sinensis within the current defined interval is 20g, and the content of specific components in honeysuckle is 15g.
[0084] The current component content corresponding to the current division interval is calculated based on the raw material type data and the content of type components. The current component content is the sum of the content of type components of all raw material types within the current division interval. Taking the above example, the current component content is 20g + 15g = 35g.
[0085] Obtain the total component content of the raw material types; the total component content is the sum of the component content of all raw material types involved in this decoction. If the decoction also includes gypsum (30g of component content) and oyster (25g of component content), then the total component content is 35g + 30g + 25g = 90g.
[0086] The ratio of the current ingredient content to the total ingredient content is calculated as the current content ratio; in the example above, the current content ratio is 35g / 90g≈0.39.
[0087] The maximum step size for power control of the cooking equipment is adjusted based on a positive correlation with the current content ratio. The maximum power control step size refers to the maximum change in power each time the base heating power is adjusted. A preset base maximum step size value, such as 200W, is used. When the current content ratio is large, for example, if the current component content of the raw material in the current range is 60g and the total component content is 90g, the current content ratio is approximately 0.67, indicating that the core component of the raw material in this range has a high proportion. In this case, the maximum step size is increased according to the positive correlation, for example, adjusted to 300W. This allows for a larger adjustment range when adjusting the power, ensuring that the raw material corresponding to the core component quickly reaches the appropriate temperature and avoiding temperature control lag due to limited adjustment range. Conversely, when the current content ratio is small, such as if the current component content is 10g and the total component content is 90g, the current content ratio is approximately 0.11, indicating that the core component of the raw material in this range has a low proportion. In this case, the maximum step size is decreased, for example, adjusted to 100W, to limit the power adjustment range, reduce the risk of temperature overshoot, and prevent adverse effects on a small amount of key components.
[0088] The above scheme allows the maximum step size of power adjustment to be dynamically adjusted based on the proportion of the core components of the raw materials within the current division interval, thereby ensuring the pretreatment effect of the core components while reducing the adverse effects on a small number of key components.
[0089] The step of controlling the heating power of the frying equipment also includes the following sub-steps:
[0090] The current time data is updated in real time. This data is recorded by the built-in timing module of the cooking device, which accumulates the time as the device runs. For example, when the heating starts from the current interval, the current time data increases by 1 minute every minute to accurately reflect the current heating time.
[0091] The time difference is calculated by comparing the current time data with the longest time data within the current time interval. For example, if the longest time data within the current time interval is 30 minutes and the current time data is 10 minutes, then the time difference is 30 - 10 = 20 minutes. This difference directly reflects the remaining time until the heating process in the current time interval ends.
[0092] The second intermediate value is calculated based on the time difference and the preset time reference difference. The preset time reference difference can be set according to the actual cooking needs, for example, 30 minutes. The second intermediate value can be calculated as the ratio of the time difference to the preset time reference difference. Taking the above time difference of 20 minutes as an example, the second intermediate value is 20 / 30≈0.67.
[0093] The offset heating power of the cooking equipment is adjusted according to the inverse correlation with the second intermediate value. The offset heating power is the power component used to assist in temperature regulation, and it has an inverse correlation with the second intermediate value; that is, the larger the second intermediate value, the higher the offset heating power; the smaller the second intermediate value, the lower the offset heating power. For example, when the time difference is large, such as 25 minutes, and the second intermediate value is 25 / 30≈0.83, it indicates that the end time of the interval is far off. In this case, the offset heating power is adjusted to a higher value, such as 400W, to accelerate the temperature rise and quickly approach the target temperature, shortening the adjustment time. Conversely, when the time difference is small, such as 5 minutes, and the second intermediate value is 5 / 30≈0.17, it indicates that the end time of the interval is approaching. In this case, the offset heating power is adjusted to a lower value, such as 100W, to avoid a sudden temperature rise or overshoot due to excessive power, ensuring that the temperature can stably reach the suitable temperature within the specified time.
[0094] The heating power of the cooking equipment is controlled by the sum of the heat preservation power, the basic heating power, and the offset heating power. For example, if the heat preservation power is 500W, the basic heating power is 300W, and the offset heating power is 400W, then the total heating power is 500 + 300 + 400 = 1200W, and the equipment will operate according to this total power.
[0095] The above solution allows the heating power to be dynamically adjusted based on the remaining time, effectively avoiding problems such as temperature overshoot while ensuring temperature regulation efficiency.
[0096] The step of adjusting the offset heating power of the frying equipment also includes the following sub-steps:
[0097] This function retrieves the current interval's position within the overall interval hierarchy. The interval's position is determined by the ascending order of the suitable temperature data in a previous sort. For example, if all intervals are labeled 1, 2, 3...n according to their suitable temperature from lowest to highest, and the current interval has the second highest suitable temperature, its position is n-1. This position can be automatically recorded and retrieved by the device's interval management module, directly reflecting the current interval's suitable temperature requirement level.
[0098] Obtain the total number of sorting intervals; the total number of sorting intervals is the total number of intervals divided during this cooking process. If there are 5 intervals, the total number of sorting intervals is 5. The total number of sorting intervals is automatically calculated and generated by the equipment based on the raw material type data and temperature difference range, and is synchronized to the control module in real time.
[0099] The sorting calculation value is calculated based on the sorting position and the total number of sorts. The sorting calculation value can be calculated as the ratio of the sorting position to the total number of sorts. For example, if the current sorting position in the divided interval is 3 and the total number of sorts is 5, then the sorting calculation value is 3 / 5 = 0.6. This value directly reflects the relative position of the current interval within the overall temperature regulation sequence; a larger value indicates a higher demand for suitable temperature.
[0100] The minimum control step size for offset heating power is adjusted based on the positive correlation between the sorting calculation value and the actual temperature. The minimum control step size for offset heating power refers to the smallest change in offset power during each adjustment. A preset minimum step size, such as 50W, is used. When the sorting calculation value is large, such as 0.6 as mentioned above, it indicates that the current range has a high temperature requirement. In this case, the minimum step size is increased according to the positive correlation, for example, to 80W, allowing for a larger adjustment range in offset power, accelerating the temperature response speed to meet the adjustment requirements of higher temperatures, and avoiding temperature lag due to slow adjustment. Conversely, when the sorting calculation value is small, such as when the sorting position is 1, the total sorting quantity is 5, and the sorting calculation value is 0.2, it indicates that the current range has a low temperature requirement. In this case, the minimum step size is reduced to 30W, allowing for smaller adjustment ranges in offset power control, ensuring temperature control accuracy in low-temperature environments, and preventing temperature fluctuations due to excessive adjustment ranges.
[0101] Through the above scheme, the adjustment granularity of the offset heating power can be matched with the appropriate temperature requirements of the range, pursuing adjustment efficiency in the high temperature range and ensuring control accuracy in the low temperature range.
[0102] In this embodiment of the application, to make the divided intervals more closely match the actual temperature regulation situation, the method further includes the following steps:
[0103] Calculate the average time data within the current interval. The time data within the current interval refers to the preprocessing time corresponding to each raw material type in that interval. The average value is obtained by summing these time data and dividing by the number of raw material types. For example, if there are 3 raw materials in the current interval, with corresponding time data of 20 minutes, 30 minutes, and 40 minutes respectively, then the average time data is (20 + 30 + 40) / 3 = 30 minutes. This average value reflects the overall level of raw material preprocessing time within the current interval.
[0104] Select the most recent set time period, which should be shorter than the average. The selection of the set time period is based on the time axis of the temperature data recorded in real time by the equipment. For example, if the average value is 30 minutes, the most recent 15 minutes can be selected as the set time period. This ensures that the selected time period can promptly capture recent temperature changes during the raw material pretreatment process, while avoiding situations where the time period is too long and fails to sensitively reflect dynamic temperature fluctuations.
[0105] Calculate the trend of temperature difference over a set time period. Temperature difference refers to the difference between the optimal temperature data and the current temperature data. By analyzing multiple continuously recorded temperature differences over the set time period, its trend can be determined. Specifically, linear fitting can be used to calculate the slope of the temperature difference over time. A large absolute value of the slope indicates significant fluctuations and a pronounced trend in the temperature difference; a small absolute value of the slope indicates that the temperature difference tends to stabilize and the trend is gentle. For example, if the temperature difference gradually decreases from 10℃ to 2℃ over a 15-minute set time period, showing a rapid downward trend, the trend is significant; if the temperature difference fluctuates slightly around 3℃, the trend is gentle.
[0106] The temperature difference range is adjusted inversely based on the changing trend. The temperature difference range is the boundary value used to determine whether suitable temperature data can be grouped into the same interval when dividing intervals. When the temperature difference fluctuates significantly, it indicates a noticeable fluctuation in the current temperature adjustment process. In this case, the temperature difference range is narrowed inversely. For example, the original 10℃ temperature difference range is narrowed to 5℃ to improve the precision of interval division, placing raw materials with more similar suitable temperature data into the same interval and reducing the impact of temperature fluctuations on the pretreatment effect of different raw materials within the same interval. When the temperature difference tends to stabilize, i.e., the changing trend is gentle, it indicates that the temperature adjustment is relatively stable. In this case, the temperature difference range can be widened inversely, such as expanding the 10℃ temperature difference range to 15℃, to reduce the complexity of division, reduce the number of intervals, and ensure the efficiency of temperature adjustment.
[0107] Through the above steps, the temperature difference range can be dynamically adjusted according to the real-time trend of temperature difference changes, so that the interval division can ensure precision when the temperature fluctuates greatly, and also take efficiency into account when the temperature is stable.
[0108] In this embodiment of the application, to further optimize the rationality of the set time period and make the judgment of the temperature difference change trend more consistent with the quantity of raw material types within the current division interval, the method further includes the following steps:
[0109] The duration of the set time period is adjusted according to the positive correlation between the current quantity ratio and the current quantity ratio. The larger the current quantity ratio, the longer the set time period; the smaller the current quantity ratio, the shorter the set time period.
[0110] The current quantity ratio is obtained by taking the current quantity of raw material type data in the current division interval and the total quantity of all raw material type data, and then calculating the ratio of the current quantity to the total quantity. For example, if there are 4 types of raw materials in the current division interval, and the total number of raw material types in this decoction is 10, then the current quantity ratio is 4 / 10 = 0.4.
[0111] When the current quantity ratio is large, it means that the range contains a large number of raw material types. In this case, extending the set time period can collect more comprehensive temperature change data. For example, if the original set time period is 15 minutes, and the current quantity ratio is 0.6, meaning there are 6 types of raw materials in the current range and a total of 10 types, the set time period can be extended to 20 minutes. Collecting temperature data over a longer period can more comprehensively reflect the changes in temperature difference, thereby ensuring a more accurate judgment of the temperature difference trend, effectively avoiding misjudgments caused by insufficient data collection, ensuring the rationality of subsequent temperature difference range adjustments, and ultimately allowing more raw materials to be preprocessed in a suitable range environment.
[0112] When the current quantity ratio is small, it indicates that there are fewer types of raw materials within the defined interval. In this case, shortening the set time period can accelerate the response speed to the judgment of temperature difference change trends. For example, if the current quantity ratio is 0.2, meaning there are 2 types of raw materials in the current interval, with a total quantity of 10, the set time period can be shortened from 15 minutes to 10 minutes. By shortening the time period, temperature fluctuations can be captured more promptly, making the analysis of temperature difference change trends more timely. This allows for rapid adjustment of the temperature difference range, meeting the precise temperature requirements of a few raw materials and avoiding the impact of response lag on pretreatment results.
[0113] The above scheme allows the duration of the set time period to be matched with the proportion of raw material types within the current division interval. While ensuring the accuracy of trend judgment, it also takes into account the response speed, further improving the reliability of temperature difference trend analysis and providing strong support for the reasonable adjustment of temperature difference range.
[0114] In this embodiment of the application, in order to adapt the duration of the set time period to the importance of the raw material components within the currently divided interval, and to further improve the pertinence and effectiveness of the temperature difference change trend analysis, the method further includes the following steps:
[0115] The duration of the set time period is adjusted according to the current content ratio; the larger the current content ratio, the longer the set time period; the smaller the current content ratio, the shorter the set time period.
[0116] Obtaining the current content ratio requires the following steps: First, obtain the content of the type components of each raw material within the current defined interval, i.e., the specific content of the key medicinal components in each raw material. For example, in the current interval, the content of astragaloside A in Astragalus membranaceus is 15g, and the content of codonopsis pilosula in Codonopsis pilosula is 10g. Second, calculate the current component content corresponding to the current defined interval based on these raw material type data and their corresponding type component contents, which is the sum of the type component contents of all raw material types within that interval. In the example above, the current component content is 15g + 10g = 25g. Third, obtain the total component content of all raw material types used in this decoction, i.e., the sum of the key component contents of all raw materials. If the total component content is 100g; finally, calculate the ratio of the current component content to the total component content to obtain the current content ratio. In the example above, the current content ratio is 25g / 100g = 0.25.
[0117] When the current content ratio is high, it indicates that the component content of the raw material within that interval accounts for a high proportion of the total component content. The key components of these raw materials have a significant impact on the efficacy of the drug solution. In this case, extending the set time period can accumulate richer information on temperature changes. For example, if the original set time period is 12 minutes, and the current content ratio is 0.6 (meaning the current interval component content is 60g and the total component content is 100g), the set time period can be extended to 18 minutes. By collecting temperature data over a longer period, the changing patterns of temperature differences can be more comprehensively reflected, making the analysis of temperature difference trends more representative. This effectively avoids the impact of insufficient data collection on the judgment of the temperature environment of the raw materials corresponding to key components, ensuring that these important raw materials can be pretreated under suitable temperature conditions and guaranteeing the stability of their effective components.
[0118] When the current content ratio is low, it means that the proportion of the raw material component within that interval is low. In this case, shortening the set time period allows for a rapid response to temperature fluctuations. For example, if the current content ratio is 0.1, meaning the current interval component content is 10g and the total component content is 100g, the set time period can be shortened from 12 minutes to 8 minutes. This allows for more timely detection of subtle temperature changes, enabling rapid adjustments to the temperature range and avoiding adverse effects on raw material pretreatment due to adjustment lag. It also improves the overall process efficiency while ensuring treatment effectiveness.
[0119] The above scheme allows the duration of the set time period to be dynamically adjusted according to the proportion of raw material components within the current interval. This ensures the accuracy of the judgment of the temperature environment of key raw materials and improves the timeliness of the response to temperature fluctuations, further optimizing the scientific and efficient nature of raw material pretreatment before decocting Chinese medicine.
[0120] This application also discloses an adaptive temperature control system for raw materials before decoction of traditional Chinese medicine, including a processor, wherein the processor executes the steps of the adaptive temperature control method for raw materials before decoction of traditional Chinese medicine as described in any of the above embodiments.
[0121] This application also discloses a storage medium storing a program, which, when executed by a processor, implements the steps of the adaptive temperature control method for raw materials before decocting traditional Chinese medicine as described in any of the above embodiments.
[0122] Although embodiments of this application have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting this application. Those skilled in the art can make changes, modifications, substitutions and variations to the above embodiments within the scope of this application.
Claims
1. A method for adaptive temperature control of raw materials before decocting traditional Chinese medicine, characterized in that, Includes the following steps: Acquire data on the raw materials for simmering, and extract data on multiple raw material types from the raw material data; match the appropriate temperature data and time data based on the raw material type data, where the time data is the pretreatment time that the raw material needs to be kept in an appropriate temperature environment; A temporary sequence is obtained by sorting multiple raw material type data in ascending order based on the suitable temperature data; The temporary sequence is divided into multiple intervals, and the temperature difference between the suitable temperature data within each interval is within a set temperature difference range. Based on the time data, the raw material type data within the divided intervals are sorted a second time in descending order to obtain the raw material type sequence; The raw material type sequence is fed in intervals, and the current temperature data and current time data of the liquid in the cooking equipment are initialized. The current time data is used to record the heating time of the current interval. Obtain the raw material type data corresponding to the raw material being fed, and obtain the corresponding suitable temperature data and time data based on the raw material type data; The system updates the current temperature data in real time and calculates the temperature difference between the optimal temperature data and the current temperature data; it also matches the heat preservation and heating power of the cooking equipment based on the optimal temperature data. The first intermediate value is calculated based on the temperature difference and the preset temperature reference difference. The first intermediate value = temperature difference / temperature reference difference. The basic heating power of the cooking equipment is adjusted according to the positive correlation of the first intermediate value. The heating power of the cooking equipment is controlled based on the sum of the heat preservation power and the basic heating power, until the longest time data within the current time interval is counted.
2. The method for adaptive temperature control of raw materials before decocting traditional Chinese medicine according to claim 1, characterized in that, The steps for adjusting the basic heating power of the frying equipment also include the following sub-steps: Get the current number of raw material type data contained in the current partition interval; Get the total number of data for all raw material types; The ratio of the current type quantity to the total quantity is the current quantity ratio. The minimum control step size of the power of the decocting equipment is adjusted according to the positive correlation between the current quantity ratio and the control step size.
3. The method for adaptive temperature control of raw materials before decocting traditional Chinese medicine according to claim 2, characterized in that, The steps for adjusting the basic heating power of the frying equipment also include the following sub-steps: Obtain the type component content of the raw material type data contained in the current division interval; Calculate the current component content corresponding to the current division interval based on raw material type data and type component content; Obtain the total component content of raw material type data; The ratio of the current component content to the total component content is calculated as the current content ratio. The maximum step size for controlling the power of the decoction equipment is adjusted based on the positive correlation between the current content ratio and the control parameters.
4. The method for adaptive temperature control of raw materials before decocting traditional Chinese medicine according to claim 1, characterized in that, The step of controlling the heating power of the frying equipment also includes the following sub-steps: The system updates the current time data in real time. Based on the time difference between the current time data and the longest time data within the current interval, a second intermediate value is calculated based on the time difference and a preset time reference difference. The second intermediate value = time difference / time reference difference. The offset heating power of the cooking equipment is then adjusted inversely based on the second intermediate value. The heating power of the cooking equipment is controlled based on the sum of the heat preservation power, the basic heating power, and the offset heating power.
5. The method for adaptive temperature control of raw materials before decocting traditional Chinese medicine according to claim 4, characterized in that, The step of adjusting the offset heating power of the frying equipment also includes the following sub-steps: Get the sort position of the current partition interval among all partition intervals; Get the total number of sorting operations for all partitioned intervals; The sorting value is calculated based on the sorting position and the total number of sorting operations. The minimum control step size for offset heating power is adjusted based on the positive correlation between the sorted calculated values and the offset values.
6. The method for adaptive temperature control of raw materials before decocting traditional Chinese medicine according to claim 1, characterized in that, The method also includes the following steps: Calculate the average value of the time data within the current interval; Select the most recent set time period, the duration of which is shorter than the average; Calculate the trend of temperature difference changes within a set time period; Adjust the range width of the temperature difference based on the inverse correlation of the changing trend.
7. The method for adaptive temperature control of raw materials before decocting traditional Chinese medicine according to claim 6, characterized in that, The method also includes the following steps: The duration of the set time period is adjusted according to the positive correlation between the current quantity ratio and the set time period; the larger the current quantity ratio, the longer the set time period; the smaller the current quantity ratio, the shorter the set time period.
8. The method for adaptive temperature control of raw materials before decocting traditional Chinese medicine according to claim 6, characterized in that, The method also includes the following steps: The duration of the set time period is adjusted according to the positive correlation between the current content ratio and the set content ratio; the larger the current content ratio, the longer the set time period; the smaller the current content ratio, the shorter the set time period.
9. A self-adaptive temperature control system for raw materials before decocting traditional Chinese medicine, characterized in that, The device includes a processor that performs the steps of the adaptive temperature control method for raw materials before decoction of traditional Chinese medicine as described in any one of claims 1-8.
10. A storage medium, characterized in that, The storage medium stores a program, which, when executed by a processor, implements the steps of the adaptive temperature control method for raw materials before decoction of traditional Chinese medicine as described in any one of claims 1-8.
Citation Information
Patent Citations
Automatic Chinese herbal medicine decocting device for medical use
CN108014016A
Temperature control system and method in traditional Chinese medicine raw material extraction process
CN119668331A