Temperature control method and system for cold drink machine based on temperature detection

By setting up multiple temperature sensors and neural networks in the cold drink machine, the power of the refrigeration equipment is automatically adjusted according to the temperature difference and sugar content, the problem that the existing cold drink machine cannot adjust the power is solved, and the ice cream molding time is shortened and energy efficiency is achieved. promote.

CN119065412APending Publication Date: 2024-12-03ZHONGSHAN DONLIM WEILI ELECTRICAL APPLIANCES CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202411146331.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-20
Publication Date
2024-12-03

AI Technical Summary

Technical Problem

The power of the refrigeration equipment of the existing cold drink machine cannot be adjusted according to the milk slurry of different ingredients, resulting in the extended ice cream forming time and the power adjustment when the milk slurry is added cannot be automatically adjusted.

Method used

The temperature control method based on temperature detection is adopted, and by setting up multiple temperature sensors and neural networks in the refrigeration cylinder, the power of the refrigeration equipment and agitating equipment is adjusted according to the temperature difference value and sugar content, and automatic adjustment is achieved.

Benefits of technology

It effectively shortens the forming time of ice cream, reduces unnecessary frequent start and stop of refrigeration equipment and energy waste, and ensures that the cold drinker produces ice cream within the specified time.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119065412A_ABST
    Figure CN119065412A_ABST
Patent Text Reader

Abstract

The invention discloses a temperature control method and system based on a temperature detection cold drink machine, and the method comprises the following steps: respectively obtaining temperature data of a first temperature sensor and a second temperature sensor, and respectively marking the temperature data as a first temperature and a second temperature; when the difference value between the first temperature and the second temperature is larger than a first temperature threshold value, after first set time is waited, the temperature difference value between the second temperature and the set temperature is obtained; and whether the temperature difference value is larger than a second temperature threshold value or not is judged, if yes, the power of the refrigeration equipment is adjusted, and if not, the current power of the refrigeration equipment is kept. According to the method, unnecessary frequent start and stop or full-load operation of the refrigeration equipment can be effectively reduced through a waiting mechanism of the temperature difference value and the set time. And when the temperature difference value is within a reasonable range, the current power operation is kept to reduce energy waste, and when the temperature difference value exceeds the second temperature threshold value, the power is properly adjusted to ensure that the cold drink machine can produce ice cream within the specified time.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of cold drink machines, and in particular to a temperature control method and system of a cold drink machine based on temperature detection. Background Art

[0002] Ice cream and smoothie are one of the cold drinks, which are loved by adults and children in the hot summer. Ice cream generally requires a cold drink machine. Cold drink machines include ice cream machines or smoothie machines, which are automatic equipment specially designed for producing frozen desserts - ice cream. According to their uses, cold drink machines can be divided into commercial cold drink machines used in the catering industry and household cold drink machines.

[0003] The refrigeration equipment in the cold drink machine is a constant power refrigeration, which cannot be adjusted for different ingredients of milk slurry, which also causes some ice cream to melt quickly after being squeezed out. In addition, when the user adds new milk slurry, the power of the refrigeration equipment cannot be automatically adjusted, which prolongs the ice cream molding time. Therefore, a temperature control method for the cold drink machine based on temperature detection is required. Summary of the invention

[0004] In view of the above-mentioned defects, the purpose of the present invention is to propose a temperature control method and system for a cold drink machine based on temperature detection, so as to realize automatic power adjustment of the refrigeration equipment of the ice cream machine and shorten the forming time of the ice cream.

[0005] To achieve this purpose, the present invention adopts the following technical solution: a temperature control method of a cold drink machine based on temperature detection, comprising the following steps:

[0006] Step S1: Divide the interior of the freezing cylinder into a feeding area and a discharging area, and respectively set at least one first temperature sensor and one second temperature sensor in the discharging area and the feeding area;

[0007] Step S2: respectively obtaining temperature data of the first temperature sensor and the second temperature sensor, and marking them as the first temperature and the second temperature respectively;

[0008] Step S3: when the difference between the first temperature and the second temperature is greater than the first temperature threshold, after waiting for a first set time, obtain the temperature difference between the second temperature and the set temperature;

[0009] Step S4: determine whether the temperature difference is greater than a second temperature threshold, if so, adjust the power of the refrigeration device and the stirring device, if not, maintain the current power of the refrigeration device and the stirring device.

[0010] Preferably, the steps for adjusting the power of the refrigeration equipment are as follows:

[0011] The temperature difference is input into the first neural network to obtain the required temperature of the gas in the heat exchange tube during this adjustment process;

[0012] The second set time is obtained, and the second set time and the required temperature of the gas are input into the second neural network to obtain the power required to be adjusted for the refrigeration equipment, and the refrigeration equipment is adjusted according to the required adjusted power.

[0013] Preferably, in the first neural network, the formula for obtaining the required temperature of the gas is as follows:

[0014] W1(t2)=Kp1*ΔT+Ki1*Sum(T error )+Kd1*Delta(T error );

[0015] W1(ΔT) is the required temperature of the gas, where Kp1, Ki1, and Kd1 are the gains of the PID controller in the first neural network, ΔT is the temperature difference, and Sum(T error ) is the accumulation of gas temperature differences after all historical temperature adjustments, Delta (T error ) is the gas temperature difference existing after the last temperature adjustment;

[0016] In the second neural network, the formula for obtaining the power required to be adjusted is as follows:

[0017]

[0018] Where W2(t) is the power to be adjusted, Kp2, Ki2, and Kd2 are the gains of the PID controller in the second neural network, t is the second set time, and Sum(e error ) is the accumulation of historical error values ​​of the gas temperature not reaching the required gas temperature after adjustment.

[0019] Preferably, the following steps need to be performed: inputting the second set time and the power to be adjusted into the third neural network to obtain the temperature change in the cold drink machine;

[0020] Determine whether the temperature change is greater than the temperature change threshold. If so, input the temperature change and the power to be adjusted into the third neural network to obtain the corrected power, and use the corrected power to adjust the refrigeration equipment. If not, adjust the refrigeration equipment according to the power to be adjusted.

[0021] The third neural network includes an input layer, a hidden layer, an activation function and an output layer;

[0022] The input layer is used to receive the temperature change and the power required to be adjusted;

[0023] The hidden layer is used to process the temperature change and the power to be adjusted, and extract features;

[0024] The activation function activates the feature to increase the nonlinear ability of the third neural network;

[0025] The output layer calculates the features to obtain the corrected power.

[0026] Preferably, the formula for obtaining the corrected power in the output layer is as follows:

[0027]

[0028] f(X)=max(0,X);

[0029] Where P is the corrected power, v j is the weight of the jth hidden layer, h j is the output of the jth hidden layer neuron, c is the bias of the output layer, f(X) is the activation function, ω ij is the weight of the i-th input parameter in the j-th hidden layer, x i is the input of the input layer, b j is the bias of the hidden layer neurons.

[0030] Preferably, when the difference between the first temperature and the second temperature is greater than the first temperature threshold, the following steps need to be performed:

[0031] Start the sugar detection sensor to obtain the sugar content of the milk paste in the cold drink machine;

[0032] When it is determined that the power of the refrigeration equipment needs to be adjusted, wait for a second set time;

[0033] After the second set time ends, the output power of the stirring device is selected according to the percentage content of sugar in the milk slurry.

[0034] A temperature control system for a cold drink machine based on temperature detection, using the temperature control method for a cold drink machine based on temperature detection, comprising:

[0035] A setting module is used to respectively set a first temperature sensor and a second temperature sensor below the feed inlet and the discharge outlet of the cold beverage machine;

[0036] A temperature acquisition module, used to respectively acquire temperature data of the first temperature sensor and the second temperature sensor, and mark them as the first temperature and the second temperature respectively;

[0037] A temperature difference determination module, configured to obtain a temperature difference between the second temperature and the set temperature after waiting for a first set time when the difference between the first temperature and the second temperature is greater than a first temperature threshold;

[0038] The adjustment module is used to determine whether the temperature difference is greater than a second temperature threshold, and if so, adjust the power of the refrigeration device; if not, maintain the current power of the refrigeration device.

[0039] Preferably, the regulating module includes a first regulating submodule and a second regulating submodule;

[0040] The first regulating submodule is used to input the temperature difference into the first neural network to obtain the required temperature of the gas in the heat exchange tube during this regulation process;

[0041] The second regulating submodule is used to obtain a second set time, input the second set time and the required gas temperature into the second neural network, obtain the power required to be regulated by the refrigeration equipment, and regulate the refrigeration equipment according to the required regulated power.

[0042] Preferably, it also includes a correction module;

[0043] The correction module is used to input the second set time and the power to be adjusted into the third neural network to obtain the temperature change in the cold drink machine;

[0044] Determine whether the temperature change is greater than the temperature change threshold. If so, input the temperature change and the required adjusted power into the third neural network to obtain the corrected power, and use the corrected power to adjust the refrigeration equipment. If not, adjust the refrigeration equipment according to the required adjusted power.

[0045] Preferably, it also includes a speed adjustment module;

[0046] The speed regulating module is used to start the sugar detection sensor to obtain the sugar content of the milk slurry in the cold drink machine when the difference between the first temperature and the second temperature is greater than the first temperature threshold;

[0047] When it is determined that the power of the refrigeration equipment needs to be adjusted, wait for a second set time;

[0048] After the second set time ends, the output power of the stirring device is selected according to the percentage content of sugar in the milk slurry.

[0049] One of the above technical solutions has the following advantages or beneficial effects: the present invention can effectively reduce unnecessary frequent start and stop or full load operation of refrigeration equipment through the waiting mechanism of temperature difference and set time. When the temperature difference is within a reasonable range, the current power is maintained to reduce energy waste. When the temperature difference exceeds the second temperature threshold, the power is appropriately adjusted to ensure that the cold drink machine can produce ice cream within the specified time. BRIEF DESCRIPTION OF THE DRAWINGS

[0050] Figure 1 is a flow chart of an embodiment of the method of the present invention.

[0051] Figure 2 It is a schematic diagram of the structure of an embodiment of the system of the present invention.

[0052] Figure 3 It is a schematic structural diagram of a household cold drink machine in one embodiment of the present invention. DETAILED DESCRIPTION

[0053] The embodiments of the present invention are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals represent the same or similar elements or elements having the same or similar functions from beginning to end. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present invention, and cannot be understood as limiting the present invention.

[0054] In the description of the embodiments of the present invention, the terms "first" and "second" are used for descriptive purposes only and are not to be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. In the description of the embodiments of the present invention, the meaning of "plurality" is two or more, unless otherwise clearly and specifically defined.

[0055] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. In the description of the present invention, unless otherwise specified, the meaning of "plurality" is two or more. For those of ordinary skill in the art, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0056] like Figures 1 to 3 As shown, a temperature control method of a cold drink machine based on temperature detection includes the following steps:

[0057] Step S1: Divide the interior of the freezing cylinder into an inlet and outlet area and a outlet area, and respectively set at least one first temperature sensor and one second temperature sensor in the inlet and outlet area;

[0058] Step S2: respectively obtaining temperature data of the first temperature sensor and the second temperature sensor, and marking them as the first temperature and the second temperature respectively;

[0059] Step S3: when the difference between the first temperature and the second temperature is greater than the first temperature threshold, after waiting for a first set time, obtain the temperature difference between the second temperature and the set temperature;

[0060] Step S4: determine whether the temperature difference is greater than a second temperature threshold, if so, adjust the power of the refrigeration device and the stirring device, if not, maintain the current power of the refrigeration device and the stirring device.

[0061] Under normal circumstances, the temperatures detected by the first temperature sensor and the second temperature sensor are the same. At this time, the refrigeration equipment can be controlled to maintain the temperature (set temperature) at which the milk slurry crystallizes. When new milk slurry is added, the temperature detected by the second temperature sensor is lower than the temperature detected by the first sensor. At this time, most of the temperature detected by the second temperature sensor is the temperature of the milk slurry. When the difference between the first temperature and the second temperature is greater than the first temperature threshold, it means that the temperature of the newly added milk slurry is high, and it may be necessary to adjust the power of the refrigeration equipment to accelerate the crystallization of the milk slurry to form ice cream. However, if the temperature difference is directly obtained by using the second temperature and the set temperature at this time, the temperature difference at this time will be too large, and the situation that the fusion of milk slurry and ice cream tends to be stable is not taken into account. Therefore, in step S3, the temperature difference between the second temperature and the set temperature is obtained after waiting for the first set time, wherein the first set time is generally set at about 30S to 60S. After the first set time ends, the milk slurry and ice cream will be mixed under the action of the stirring device, so that the two tend to be fused and stable. At this time, the second temperature can represent the temperature of the fused substance. Then determine whether the temperature difference is greater than the second temperature threshold, where the first temperature threshold is greater than the second temperature threshold. When the temperature difference is greater than the second temperature threshold, it means that the current temperature of the milk slurry is far from the crystallization temperature, and it is necessary to increase the power of the refrigeration equipment and the stirring equipment to accelerate the crystallization of the milk slurry so that the cold drink machine can produce ice cream within the specified time.

[0062] The present invention can effectively reduce unnecessary frequent start-stop or full-load operation of refrigeration equipment through the waiting mechanism of temperature difference and set time. When the temperature difference is within a reasonable range, the current power is maintained to reduce energy waste. When the temperature difference exceeds the second temperature threshold, the power is appropriately adjusted to ensure that the cold drink machine can produce ice cream within the specified time.

[0063] Preferably, the steps for adjusting the power of the refrigeration equipment are as follows:

[0064] The temperature difference is input into the first neural network to obtain the required temperature of the gas in the heat exchange tube during this adjustment process;

[0065] The second set time is obtained, and the second set time and the required temperature of the gas are input into the second neural network to obtain the power required to be adjusted for the refrigeration equipment, and the refrigeration equipment is adjusted according to the required adjusted power.

[0066] like Figure 3 As shown, in a household cold drink machine, the refrigeration equipment cools down the freezing cylinder by winding the heat exchange tube in the freezing cylinder. Therefore, when adjusting the temperature, the gas in the heat exchange tube is the key to adjusting the temperature. The gas in the heat exchange tube is output through the refrigeration equipment. When the temperature of the gas in the heat exchange tube is known, the power of the refrigeration equipment can be adjusted according to the required temperature of the gas.

[0067] For this purpose, the present invention is provided with a first neural network and a second neural network respectively, and the neural network obtained through long-term experiments obtains the required temperature of the corresponding gas and the power required to be adjusted, which greatly speeds up the processing speed of the cold drink machine for information, thereby making a faster response to power adjustment.

[0068] Preferably, in the first neural network, the formula for obtaining the required temperature of the gas is as follows:

[0069] W1(t2)=Kp1*ΔT+Ki1*Sum(T error )+Kd1*Delta(T error );

[0070] W1(ΔT) is the required temperature of the gas, where Kp1, Ki1, and Kd1 are the gains of the PID controller in the first neural network, ΔT is the temperature difference, and Sum(T error ) is the accumulation of gas temperature differences after all historical temperature adjustments, Delta (T error ) is the gas temperature difference existing after the last temperature adjustment;

[0071] In the present invention, since the temperature difference prediction value is used to predict the temperature inside the heat exchange tube, in actual operation, the output gas temperature may not meet the temperature adjustment requirement. Therefore, Sum(T error ) and Delta(T error ) parameter, the cumulative Sum of all temperature differences in history (T error ) is a summary of the temperature difference error over a period of time, which can provide an assessment of the long-term performance of the system. By using this cumulative value as an input feature, the first neural network can comprehensively consider the past adjustments. The gas temperature difference Delta (T error ) as the input feature of the first neural network, the first neural network can perceive the changing trend of the temperature difference error, so as to more flexibly adjust the temperature in the heat exchange tube. This can help avoid over-adjustment or untimely response and improve the response speed and stability of the control.

[0072] In the second neural network, the formula for obtaining the power required to be adjusted is as follows:

[0073]

[0074] Where W2(t) is the power to be adjusted, Kp2, Ki2, and Kd2 are the gains of the PID controller in the second neural network, t is the second set time, and Sum(e error ) is the accumulation of historical error values ​​of the gas temperature not reaching the required gas temperature after adjustment.

[0075] The second neural network is used to obtain the power of the refrigeration equipment. Ideally, since the length and volume of the heat exchange tubes remain unchanged, there is a linear relationship between the output gas temperature and the power of the refrigeration equipment. However, due to the mechanical loss in the refrigeration equipment, it is impossible to directly calculate the power of the refrigeration equipment through a normal linear relationship. Therefore, the Sum(e error ), which is the accumulation of the error value of the gas temperature not reaching the required gas temperature after adjustment in the past. This parameter and the gain of PID are combined to compensate for the mechanical loss in the refrigeration equipment. The refrigeration equipment can freeze the milk slurry in the freezing cylinder within the second set time under the adjusted power to turn it into ice cream.

[0076] Preferably, the following steps need to be performed: inputting the second set time and the power to be adjusted into the third neural network to obtain the temperature change in the cold drink machine;

[0077] Determine whether the temperature change is greater than the temperature change threshold. If so, input the temperature change and the power to be adjusted into the third neural network to obtain the corrected power, and use the corrected power to adjust the refrigeration equipment. If not, adjust the refrigeration equipment according to the power to be adjusted.

[0078] The third neural network includes an input layer, a hidden layer, an activation function and an output layer;

[0079] The input layer is used to receive the temperature change and the power required to be adjusted;

[0080] The hidden layer is used to process the temperature change and the power to be adjusted, and extract features;

[0081] The activation function activates the feature to increase the nonlinear ability of the third neural network;

[0082] The output layer calculates the features to obtain the corrected power.

[0083] Since the structure of home ice cream is relatively compact, as shown in Figure 3, the refrigeration equipment is below the freezing cylinder, and the refrigeration equipment will release heat when refrigerating, and the heat will directly act on the surface of the heat exchange tube and the surface of the freezing cylinder, so that the milk slurry cannot be effectively frozen within the second set time. For this reason, in the present invention, a third neural network is provided, wherein the third neural network is not connected with the first neural network and the second neural network, because the heat emitted by the refrigeration equipment has a nonlinear effect on the gas in the heat exchange tube, and the relationship between the temperature change and the required adjustment power is often nonlinear. Therefore, the third neural network does not use PID for control, but is provided with a hidden layer and an activation function. The hidden layer learns through a large amount of historical data, and adjusts its internal parameters (such as weights and biases) to optimize its prediction performance. The neurons of the hidden layer and the output layer usually apply activation functions, which can make the output of the third neural network no longer a simple linear combination of the input, but can approximate a more complex nonlinear function. This enables the third neural network to learn and represent complex data patterns, thereby improving the generalization ability and accuracy of the model to increase the nonlinear ability of the network.

[0084] Preferably, the formula for obtaining the corrected power in the output layer is as follows:

[0085]

[0086] f(X)=max(0,X);

[0087] Where P is the corrected power, v j is the weight of the jth hidden layer, h j is the output of the jth hidden layer neuron, c is the bias of the output layer, f(X) is the activation function, ω ij is the weight of the i-th input parameter in the j-th hidden layer, x i is the input of the input layer, b j is the bias of the hidden layer neurons.

[0088] Preferably, when the difference between the first temperature and the second temperature is greater than the first temperature threshold, the following steps need to be performed:

[0089] Start the sugar detection sensor to obtain the sugar content of the milk paste in the cold drink machine;

[0090] When it is determined that the power of the refrigeration equipment needs to be adjusted, wait for a second set time;

[0091] After the second set time ends, the output power of the stirring device is selected according to the percentage content of sugar in the milk slurry.

[0092] The sugar detection sensor can be provided with the bottom end surface of the freezing cylinder. Only when the difference between the first temperature and the second temperature is greater than the first temperature threshold value, the formed ice cream will present a liquid state under the action of the milk slurry and the stirring device. The liquid state will pass through the surface of the sugar detection sensor, and the sugar detection sensor can detect the proportion of sugar in the milk slurry at this time. Since different sugar contents not only affect the flavor, but also affect the melting speed of ice cream, generally speaking, the higher the sugar content of ice cream, the faster it melts. For this reason, after determining that the power of the refrigeration equipment needs to be adjusted, after waiting for the second set time, the milk slurry has become ice cream. At this time, the output power of the stirring device can be selected according to the percentage of sugar in the milk slurry. The basic principle of its selection is that the higher the percentage of sugar in the milk slurry, the lower the output power of the stirring device, so as to avoid that at the initial moment of squeezing out the ice cream, the cold drink machine outputs not liquid but ice cream.

[0093] The output power of the stirring equipment can be obtained through multiple tests based on the volume in the freezing cylinder and the percentage of sugar in the milk slurry, which will not be explained in detail here.

[0094] A temperature control system for a cold drink machine based on temperature detection, using the temperature control method for a cold drink machine based on temperature detection, comprising:

[0095] A setting module is used to respectively set a first temperature sensor and a second temperature sensor below the feed inlet and the discharge outlet of the cold beverage machine;

[0096] A temperature acquisition module, used to respectively acquire temperature data of the first temperature sensor and the second temperature sensor, and mark them as the first temperature and the second temperature respectively;

[0097] A temperature difference determination module, configured to obtain a temperature difference between the second temperature and the set temperature after waiting for a first set time when the difference between the first temperature and the second temperature is greater than a first temperature threshold;

[0098] The adjustment module is used to determine whether the temperature difference is greater than a second temperature threshold, and if so, adjust the power of the refrigeration device; if not, maintain the current power of the refrigeration device.

[0099] Preferably, the regulating module includes a first regulating submodule and a second regulating submodule;

[0100] The first regulating submodule is used to input the temperature difference into the first neural network to obtain the required temperature of the gas in the heat exchange tube during this regulation process;

[0101] The second regulating submodule is used to obtain a second set time, input the second set time and the required gas temperature into the second neural network, obtain the power required to be regulated by the refrigeration equipment, and regulate the refrigeration equipment according to the required regulated power.

[0102] Preferably, it also includes a correction module;

[0103] The correction module is used to input the second set time and the power to be adjusted into the third neural network to obtain the temperature change in the cold drink machine;

[0104] Determine whether the temperature change is greater than the temperature change threshold. If so, input the temperature change and the required adjusted power into the third neural network to obtain the corrected power, and use the corrected power to adjust the refrigeration equipment. If not, adjust the refrigeration equipment according to the required adjusted power.

[0105] Preferably, it also includes a speed adjustment module;

[0106] The speed regulating module is used to start the sugar detection sensor to obtain the sugar content of the milk slurry in the cold drink machine when the difference between the first temperature and the second temperature is greater than the first temperature threshold;

[0107] When it is determined that the power of the refrigeration equipment needs to be adjusted, wait for a second set time;

[0108] After the second set time ends, the output power of the stirring device is selected according to the percentage content of sugar in the milk slurry.

[0109] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "illustrative embodiments", "examples", "specific examples", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.

[0110] Although the embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the claims and their equivalents.

Claims

1. A temperature control method for a cold drink machine based on temperature detection, characterized in that: The steps include: Step S1: Divide the interior of the freezing cylinder into a feeding area and a discharging area, and respectively set at least one first temperature sensor and one second temperature sensor in the discharging area and the feeding area; Step S2: respectively obtaining temperature data of the first temperature sensor and the second temperature sensor, and marking them as the first temperature and the second temperature respectively; Step S3: when the difference between the first temperature and the second temperature is greater than the first temperature threshold, after waiting for a first set time, obtain the temperature difference between the second temperature and the set temperature; Step S4: determine whether the temperature difference is greater than a second temperature threshold, if so, adjust the power of the refrigeration device and the stirring device, if not, maintain the current power of the refrigeration device and the stirring device.

2. A temperature control method for a cold drink machine based on temperature detection according to claim 1, characterized in that: The steps to adjust the power of the refrigeration equipment are as follows: The temperature difference is input into the first neural network to obtain the required temperature of the gas in the heat exchange tube during this adjustment process; The second set time is obtained, and the second set time and the required temperature of the gas are input into the second neural network to obtain the power required to be adjusted for the refrigeration equipment, and the refrigeration equipment is adjusted according to the required adjusted power.

3. A temperature control method for a cold drink machine based on temperature detection according to claim 2, characterized in that: In the first neural network, the formula for obtaining the required temperature of the gas is as follows: W1(t2)=Kp1*ΔT+Ki1*Sum(T error )+Kd1*Delta(T error ); W1(ΔT) is the required temperature of the gas, where Kp1, Ki1, and Kd1 are the gains of the PID controller in the first neural network, ΔT is the temperature difference, and Sum(T error ) is the accumulation of gas temperature differences after all historical temperature adjustments, Delta (T error ) is the gas temperature difference existing after the last temperature adjustment; In the second neural network, the formula for obtaining the power required to be adjusted is as follows: Where W2(t) is the power to be adjusted, Kp2, Ki2, and Kd2 are the gains of the PID controller in the second neural network, t is the second set time, and Sum(e error ) is the accumulation of historical error values ​​of the gas temperature not reaching the required gas temperature after adjustment.

4. A temperature control method for a cold drink machine based on temperature detection according to claim 3, characterized in that: The following steps are also required to input the second set time and the power to be adjusted into the third neural network to obtain the temperature change in the cold drink machine; Determine whether the temperature change is greater than the temperature change threshold. If so, input the temperature change and the power to be adjusted into the third neural network to obtain the corrected power, and use the corrected power to adjust the refrigeration equipment. If not, adjust the refrigeration equipment according to the power to be adjusted. The third neural network includes an input layer, a hidden layer, an activation function and an output layer; The input layer is used to receive the temperature change and the power required to be adjusted; The hidden layer is used to process the temperature change and the power to be adjusted, and extract features; The activation function activates the feature to increase the nonlinear ability of the third neural network; The output layer calculates the features to obtain the corrected power.

5. A temperature control method for a cold drink machine based on temperature detection according to claim 4, characterized in that: The formula for obtaining the corrected power in the output layer is as follows: f(X)=max(0,X); Where P is the corrected power, v j is the weight of the jth hidden layer, h j is the output of the jth hidden layer neuron, c is the bias of the output layer, f(X) is the activation function, ω ij is the weight of the i-th input parameter in the j-th hidden layer, x i is the input layer’s input, b j is the bias of the hidden layer neurons.

6. A temperature control method for a cold drink machine based on temperature detection according to claim 2, characterized in that: When the difference between the first temperature and the second temperature is greater than the first temperature threshold, the following steps need to be performed: Start the sugar detection sensor to obtain the sugar content of the milk paste in the cold drink machine; When it is determined that the power of the refrigeration equipment needs to be adjusted, wait for a second set time; After the second set time ends, the output power of the stirring device is selected according to the percentage content of sugar in the milk slurry.

7. A temperature control system for a cold drink machine based on temperature detection, characterized in that: A temperature control method for a cold drink machine based on temperature detection according to any one of claims 1 to 6, comprising: A setting module is used to respectively set a first temperature sensor and a second temperature sensor below the feed inlet and the discharge outlet of the cold beverage machine; A temperature acquisition module, used to respectively acquire temperature data of the first temperature sensor and the second temperature sensor, and mark them as the first temperature and the second temperature respectively; A temperature difference determination module, configured to obtain a temperature difference between the second temperature and the set temperature after waiting for a first set time when the difference between the first temperature and the second temperature is greater than a first temperature threshold; The adjustment module is used to determine whether the temperature difference is greater than a second temperature threshold, and if so, adjust the power of the refrigeration device; if not, maintain the current power of the refrigeration device.

8. A temperature control system for a cold drink machine based on temperature detection according to claim 7, characterized in that: The regulating module includes a first regulating submodule and a second regulating submodule; The first regulating submodule is used to input the temperature difference into the first neural network to obtain the required temperature of the gas in the heat exchange tube during this regulation process; The second regulating submodule is used to obtain a second set time, input the second set time and the required gas temperature into the second neural network, obtain the power required to be regulated by the refrigeration equipment, and regulate the refrigeration equipment according to the required regulated power.

9. A temperature control system for a cold drink machine based on temperature detection according to claim 7, characterized in that: Also includes correction modules; The correction module is used to input the second set time and the power to be adjusted into the third neural network to obtain the temperature change in the cold drink machine; Determine whether the temperature change is greater than the temperature change threshold. If so, input the temperature change and the required adjusted power into the third neural network to obtain the corrected power, and use the corrected power to adjust the refrigeration equipment. If not, adjust the refrigeration equipment according to the required adjusted power.

10. A temperature control system for a cold drink machine based on temperature detection according to claim 7, characterized in that: Also includes a speed regulation module; The speed regulating module is used to start the sugar detection sensor to obtain the sugar content of the milk slurry in the cold drink machine when the difference between the first temperature and the second temperature is greater than the first temperature threshold; When it is determined that the power of the refrigeration equipment needs to be adjusted, wait for a second set time; After the second set time ends, the output power of the stirring device is selected according to the percentage content of sugar in the milk slurry.

Citation Information

Cited By

  • Water drinking equipment, energy-saving control method and device thereof and storage medium

    CN119732590A