Cotton candy machine, control method and electronic equipment

Through the combination of infrared temperature measurement components and PID algorithm, the precise control of the temperature of the marshmallow machine sugar output device is achieved, solving the problem of inaccurate temperature adjustment and improving the quality and safety of marshmallows.

CN120360177APending Publication Date: 2025-07-25FOSHAN SICHANGCHANG TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510448335.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-04-10
Publication Date
2025-07-25

AI Technical Summary

Technical Problem

The existing marshmallow machines lack temperature detection and control systems, resulting in inaccurate temperature regulation, which can easily lead to burning sugar liquid, poor sugar formation effect and safety hazards.

Method used

The infrared temperature measurement component is used to detect the sugar utensil temperature in a non-contact manner, and the heating power is dynamically adjusted through the PID algorithm, combining multi-point temperature detection and speed adjustment to achieve accurate control of the sugar utensil temperature.

Benefits of technology

It improves the temperature detection response speed, avoids the sugar liquid overheating or solidifying, ensures the stable quality of marshmallows, improves safety, and reduces fire risks.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120360177A_ABST
    Figure CN120360177A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of split-screen marshmallow preparation, and provides a marshmallow machine, a control method and electronic equipment. The cotton candy machine comprises a machine body; the sugar discharging device is connected to the machine body; the infrared temperature measuring assembly is connected to the machine body, the temperature measuring end of the infrared temperature measuring assembly faces the sugar discharging device, and the infrared temperature measuring assembly is used for detecting the temperature of the sugar discharging device; the control part, the sugar discharging device and the infrared temperature measuring assembly are all electrically connected with the control panel, and the control part is configured to control the temperature of the sugar discharging device based on detection data and target temperature of the infrared temperature measuring assembly. According to the marshmallow machine, how to control the operation of the sugar discharging device can be determined according to the actual temperature of the sugar discharging device and the target temperature, so that the temperature of the sugar discharging device can be controlled and can be within the target temperature range, the temperature detection response speed can be increased, the sugar liquid is prevented from being overheated or solidified, and the quality of the marshmallow is improved. Stable quality of the marshmallow is guaranteed, safety is improved, and fire disasters caused by too high temperature are avoided.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of split-screen marshmallow preparation, and particularly to a marshmallow machine, a control method and an electronic device. Background Art

[0002] A marshmallow machine is a device used to make marshmallows. It usually heats sugar powder and converts it into filamentous sugar, and aggregates these sugar filaments to form a soft marshmallow. Marshmallow machines are commonly used in amusement parks, fairs or family gatherings, etc. Because they can quickly make delicious desserts, they are deeply loved by children and adults.

[0003] In related technologies, most ordinary marshmallow machines do not have a temperature detection and control system, and only rely on manual power adjustment to try to adjust the temperature of the sugar dispenser. This method lacks real-time monitoring of the temperature, and users can only operate by experience, resulting in extremely inaccurate temperature adjustment and a large fluctuation range. When the temperature is too high, the sugar will be burnt and smoke, polluting the air and making the marshmallow have a burnt smell; when the temperature is too low, the sugar cannot be fully melted, and it is difficult to form ideal sugar filaments, resulting in poor sugar formation effect. This not only reduces the quality of the marshmallow, but also makes the operation of the user complex and the experience poor. At the same time, too high a temperature also has safety hazards such as fire. Summary of the Invention

[0004] The present application aims to solve at least one of the technical problems existing in the related technologies. For this purpose, the present application provides a marshmallow machine, a control method and an electronic device.

[0005] According to a marshmallow machine of the first aspect embodiment of the present application, it includes:

[0006] A body;

[0007] A sugar dispenser, connected to the body;

[0008] An infrared temperature measurement component, connected to the body, the temperature measurement end of the infrared temperature measurement component faces the sugar dispenser, and the infrared temperature measurement component is used to detect the temperature of the sugar dispenser;

[0009] A control component, both the sugar dispenser and the infrared temperature measurement component are electrically connected to the control board, and the control component is configured to: control the temperature of the sugar dispenser based on the detection data of the infrared temperature measurement component and the target temperature.

[0010] According to the marshmallow machine control method of the present application, when the marshmallow machine is working, the infrared temperature measurement component can detect the temperature of the sugar outlet and transmit the detection data to the control component, so that the control component can determine the actual temperature of the sugar outlet according to the detection data of the infrared temperature measurement component, and then can determine how to control the operation of the sugar outlet according to the actual temperature and the target temperature of the sugar outlet, so as to control the temperature of the sugar outlet and make the temperature of the sugar outlet within the target temperature range. That is to say, the infrared temperature measurement component of the present application detects the temperature of the sugar outlet housing in a non-contact manner, avoiding the delay problem of traditional contact temperature measurement. The control component uses the PID algorithm to dynamically adjust the heating power to ensure accurate temperature control, which is beneficial to improving the temperature detection response speed, avoiding overheating or solidification of the sugar solution, ensuring the stability of the marshmallow quality, and improving safety, avoiding fire caused by too high temperature.

[0011] According to an embodiment of the present application, the sugar outlet has a housing, and the infrared temperature measurement component is used to detect the temperatures of different positions of the housing.

[0012] According to an embodiment of the present application, the infrared temperature measurement component includes at least two infrared temperature sensors, at least two of the infrared temperature sensors are arranged at different positions, and at least two of the infrared temperature sensors are used to detect the temperatures of different positions of the housing.

[0013] According to an embodiment of the present application, at least two of the infrared temperature sensors are evenly distributed at intervals along the circumferential direction of the sugar outlet.

[0014] According to an embodiment of the present application, the machine body includes a motor, the motor is connected to the sugar outlet, and the motor is used to drive the sugar outlet to rotate;

[0015] An installation space is formed between the motor and the housing of the sugar outlet, and the infrared temperature measurement component is installed in the installation space.

[0016] According to an embodiment of the present application, the marshmallow machine further includes a speed adjustment module, and both the speed adjustment module and the motor are electrically connected to the control component, so that the user can control the speed of the motor through the speed adjustment module.

[0017] According to an embodiment of the present application, the marshmallow machine further includes an indicator light, the indicator light is arranged on the outer wall surface of the machine body, the indicator light is electrically connected to the control component, and the indicator light is used to indicate the temperature of the sugar outlet; and / or,

[0018] The marshmallow machine further includes a display screen, and the display screen is electrically connected to the control component.

[0019] According to the marshmallow machine control method based on the above-mentioned marshmallow machine according to the second aspect of the present application, it includes:

[0020] Obtain the actual temperature of the sugar outlet device;

[0021] Based on the actual temperature and the target temperature, determine the temperature difference;

[0022] Based on the temperature difference, control the operation of the heating element of the sugar outlet device.

[0023] According to an embodiment of the present application, the step of obtaining the actual temperature of the sugar outlet device includes:

[0024] Obtain the temperatures at different positions of the sugar outlet device;

[0025] Based on the temperatures at different positions of the sugar outlet device, determine the average temperature of the sugar outlet device;

[0026] Determine the average temperature as the actual temperature.

[0027] According to the marshmallow machine control device according to the third aspect of the present application, it includes:

[0028] An acquisition module, configured to acquire the actual temperature of the sugar outlet device;

[0029] A determination module, configured to determine the temperature difference based on the actual temperature and the target temperature;

[0030] A control module, configured to control the operation of the heating element of the sugar outlet device based on the temperature difference.

[0031] According to the electronic device according to the fourth aspect of the present application, it includes a memory, a processor, and a computer program stored on the memory and executable on the processor, and when the processor executes the computer program, it implements the above-mentioned marshmallow machine control method.

[0032] According to the non-transitory computer-readable storage medium according to the fifth aspect of the present application, the non-transitory computer-readable storage medium includes a computer program, and when the computer program is executed by the processor, it implements the above-mentioned marshmallow machine control method.

[0033] According to the computer program product according to the sixth aspect of the present application, the computer program product includes a computer program, and when the computer program is executed by the processor, it implements the above-mentioned marshmallow machine control method.

[0034] The additional aspects and advantages of the present application will be partially given in the following description, partially become apparent from the following description, or be understood through the practice of the present application. Description of the Drawings

[0035] To more clearly illustrate the technical solutions in the embodiments of the present application or the related art, the following will briefly introduce the drawings required for use in the description of the embodiments or the related art. Obviously, the drawings in the following description are only some embodiments of the present application. For those of ordinary skill in the art, without creative efforts, other drawings can also be obtained based on these drawings.

[0036] Figure 1 is a schematic flowchart of the method for controlling a marshmallow machine according to the present invention;

[0037] Figure 2 is a schematic structural diagram of the marshmallow machine control device provided by the present invention;

[0038] Figure 3 is a schematic structural diagram of the electronic device provided by the present invention;

[0039] Figure 4 is a schematic structural diagram of the marshmallow machine provided by the present invention;

[0040] Figure 5 is a partial schematic structural diagram of the marshmallow machine provided by the present invention. Detailed implementation manners

[0041] To make the objectives, technical solutions, and advantages of the present application clearer, the following will clearly and completely describe the technical solutions in the present application in conjunction with the drawings in the present application. Obviously, the described embodiments are some, but not all, of the embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative efforts belong to the scope of protection of the present application.

[0042] In the description of the embodiments of the present application, it should be noted that the orientation or positional relationships indicated by the terms "center", "longitudinal", "transverse", "upper", "lower", "front", "rear", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outer", etc. are based on the orientation or positional relationships shown in the drawings, and are only for the convenience of describing the embodiments of the present application and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and thus should not be construed as a limitation to the embodiments of the present application. In addition, the terms "first", "second", and "third" are only used for descriptive purposes and should not be construed as indicating or implying relative importance.

[0043] In the description of the embodiments of the present application, it should be noted that unless otherwise clearly specified and limited, the terms "connected" and "coupled" should be understood in a broad sense. For example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be directly connected or indirectly connected through an intermediate medium. For those of ordinary skill in the art, the specific meanings of the above terms in the embodiments of the present application can be understood according to specific situations.

[0044] In the embodiments of the present application, unless otherwise clearly specified and limited, the first feature being "on" or "under" the second feature may be that the first and second features are in direct contact, or the first and second features are indirectly in contact through an intermediate medium. Moreover, the first feature being "above", "over" and "on top of" the second feature may be that the first feature is directly above or obliquely above the second feature, or merely indicates that the first feature has a higher horizontal height than the second feature. The first feature being "under", "beneath" and "underneath" the second feature may be that the first feature is directly below or obliquely below the second feature, or merely indicates that the first feature has a lower horizontal height than the second feature.

[0045] In the description of this specification, the descriptions with reference to terms such as "one embodiment", "some embodiments", "example", "specific example", or "some examples" mean that the specific features, structures, materials, or characteristics described in connection with the embodiment or example are included in at least one embodiment or example of the embodiments of the present application. In this specification, the schematic descriptions of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials, or characteristics described can be combined in a suitable manner in any one or more embodiments or examples. In addition, without contradiction, those skilled in the art can combine and combine the different embodiments or examples described in this specification and the features of different embodiments or examples.

[0046] The following will be combined with Figures 1 to 5 to describe the marshmallow machine, control method, and electronic device of the present application.

[0047] According to an embodiment of the first aspect of the present application, as Figure 4 and Figure 5 shown, the marshmallow machine includes:

[0048] a body 1;

[0049] a sugar dispenser 2, connected to the body 1;

[0050] an infrared temperature measurement component 3, connected to the body 1, the temperature measurement end of the infrared temperature measurement component 3 facing the sugar dispenser 2, and the infrared temperature measurement component 3 is used to detect the temperature of the sugar dispenser 2;

[0051] The control component 4, the sugar dispenser 2, and the infrared temperature measurement component 3 are all electrically connected to the control board. The control component 4 is configured to: control the temperature of the sugar dispenser 2 based on the detection data of the infrared temperature measurement component 3 and the target temperature.

[0052] In the marshmallow machine according to the embodiment of the present application, when the marshmallow machine is working, the infrared temperature measurement component 3 can detect the temperature of the sugar dispenser and transmit the detection data to the control component 4, so that the control component 4 can determine the actual temperature of the sugar dispenser 2 according to the detection data of the infrared temperature measurement component 3. Furthermore, it can determine how to control the operation of the sugar dispenser 2 according to the actual temperature and the target temperature of the sugar dispenser 2, so as to control the temperature of the sugar dispenser 2, and make the temperature of the sugar dispenser 2 within the target temperature range. That is to say, the infrared temperature measurement component 3 of the present application detects the temperature of the outer shell 21 of the sugar dispenser 2 in a non-contact manner, avoiding the delay problem of traditional contact temperature measurement. The control component 4 uses the PID algorithm to dynamically adjust the heating power, ensuring accurate temperature control, which is beneficial to improving the temperature detection response speed, avoiding overheating or solidification of the sugar solution, ensuring the stable quality of marshmallows, and improving safety, avoiding fires caused by too high temperature.

[0053] Exemplarily, the marshmallow machine includes a machine body 1, a sugar dispenser 2, an infrared temperature measurement component 3, and a control component 4. The sugar dispenser 2 is fixed to the top of the machine body 1 by a flange connection method, and a spiral heating chamber is provided inside it for melting sugar materials. The infrared temperature measurement component 3 is installed inside the machine body 1 through a bracket, and its temperature measurement end faces the surface of the outer shell 21 of the sugar dispenser 2 at an angle of 45°. The control component 4 uses an STM32 series single-chip microcomputer and is connected to the heating tube of the sugar dispenser 2 and the infrared temperature measurement component 3 through cables respectively.

[0054] The infrared temperature measurement component 3 continuously collects the radiation infrared signal of the outer shell 21 of the sugar dispenser 2; the control component 4 converts the infrared signal into a temperature value and compares it with the preset target temperature; when the detected temperature is lower than the target value, the control component 4 increases the heating power of the sugar dispenser 2; when the detected temperature is higher than the target value, it reduces the heating power or starts the cooling fan. Through the closed-loop temperature control system, the problems of sugar thread breakage or coking caused by temperature fluctuations in traditional marshmallow machines are solved. After testing, this embodiment can improve the temperature control accuracy and increase the yield of marshmallow finished products.

[0055] It can be understood that when the sugar dispenser 2 is working, the temperature of its metal outer shell 21 is positively correlated with the temperature of the internal sugar solution. Non-contact temperature measurement can avoid sugar solution contamination of the sensor.

[0056] In some examples, when making ordinary sucrose marshmallows, the target temperature is set to 165 ± 3 °C; when using rock sugar raw materials, the target temperature is adjusted to 175 ± 3 °C.

[0057] In some embodiments, such as Figure 4 andFigure 5 As shown, the sugar extruder 2 has a housing 21, and the infrared temperature measurement component 3 is used to detect the temperatures of different positions of the housing 21.

[0058] It can be understood that different positions of the housing 21 may have temperature differences due to uneven heating. Multi-point detection can identify local overheating or low-temperature areas. The housing 21 of the sugar extruder 2 is a metal cylinder, and the infrared temperature measurement component 3 detects the temperatures of different positions on its side wall. For example, one detection point is set at the top, middle, and bottom of the cylinder respectively. The control component 4 comprehensively judges the overall temperature distribution based on the multi-point data to avoid affecting the quality of sugar thread formation due to uneven temperature and improve product consistency.

[0059] Specifically, the infrared temperature measurement component 3 includes at least two infrared temperature sensors. The at least two infrared temperature sensors are arranged at different positions. The at least two infrared temperature sensors are used to detect the temperatures of different positions of the housing 21, and the at least two infrared temperature sensors are evenly distributed at intervals along the circumferential direction of the sugar extruder 2.

[0060] It can be understood that the circumferential uniform distribution can comprehensively cover the temperature field of the housing 21, eliminate the blind area of single-point detection, and achieve dead-free temperature detection, which is especially suitable for the sugar extruder 2 that rotates at high speed.

[0061] In some examples, the infrared temperature measurement component 3 includes three infrared temperature sensors, which are evenly distributed at intervals of 120° along the circumferential direction of the sugar extruder 2, and respectively detect the temperatures of the left, right, and front sides of the housing 21.

[0062] In some examples, the cylindrical housing 21 of the sugar extruder 2 is divided into three detection areas: upper, middle, and lower, and an independent infrared temperature measurement point is set in each area. The control component 4 is configured with a three-channel AD converter, which can synchronously collect the temperature data of the three areas.

[0063] The three temperature measurement points respectively collect the temperature values T1, T2, and T3 at different axial positions of the housing 21; the control component 44 calculates the weighted average temperature Tavg = 0.2T1 + 0.6T2 + 0.2T3; when the deviation between the temperature of any area and the average value exceeds 8°C, a heating uneven alarm is triggered. Through axial multi-point detection, abnormal conditions such as aging of the heating pipe or uneven distribution of sugar material can be detected in time. Practical applications show that this design improves the equipment fault recognition rate by 45%.

[0064] It can be understood that the middle area (weight 0.6) can best reflect the temperature of the core heating area, while the top and bottom are easily affected by the environment, so the weight is appropriately reduced.

[0065] In some examples, on the same cross-section of the sugar extruder 22, three infrared temperature sensors (model MLX90614) are arranged at equal intervals of 120° along the circumferential direction. The sensor mounting bracket is made of high-temperature resistant ceramic material to ensure stable operation in an environment of 150°C.

[0066] Three sensors synchronously detect the circumferential temperature of the housing 21; the control component 44 adopts the "median + average" algorithm: first eliminate the extreme values among the three readings, and then calculate the average of the remaining two values;

[0067] It can be understood that this algorithm can not only eliminate sudden interferences (such as instantaneous reflection), but also retain the real temperature gradient information. This arrangement can reduce the temperature detection error in the rotating state from ±5°C to ±1.8°C, and is particularly suitable for working scenarios with a rotational speed exceeding 30 rpm.

[0068] In some embodiments, such as Figure 4 and Figure 5 shown, the body 1 includes a motor 11, the motor 11 is connected to the sugar dispenser 2, and the motor 11 is used to drive the sugar dispenser 2 to rotate;

[0069] An installation space 12 is formed between the motor 11 and the housing 21 of the sugar dispenser 2, and the infrared temperature measurement component 3 is installed in the installation space 12.

[0070] It can be understood that the motor 11 is installed in the body 1 and is connected to the sugar dispenser 2 through a transmission shaft. An annular installation space 12 is formed between the motor 11 and the housing 21 of the sugar dispenser 2, and the infrared temperature measurement component 3 is fixed in this space, with the sensor facing the inner wall of the housing 21. Utilizing the natural gap between the motor 11 and the housing 21 to install the sensor saves space and avoids interfering with rotating components, and has a compact structure, and the temperature measurement component is not easily damaged by external forces.

[0071] Exemplarily, a brushless DC motor 11 (with a power of 150 W) is provided inside the body 1, and the motor 11 shaft is connected to the central rotating shaft of the sugar dispenser 2 through a coupling. A 35-mm-wide annular space is formed between the motor 11 housing and the housing 21 of the sugar dispenser 2, and the PCB board of the infrared temperature measurement component 3 is fixed to the inner wall of this space through thermal conductive silicone.

[0072] The air flow generated when the motor 11 operates forms a heat dissipation air duct through the annular space; the temperature measurement component uses the motor 11 housing as an electromagnetic shielding layer to reduce electromagnetic interference. This structural design simultaneously solves the three problems of heat dissipation, anti-interference, and space utilization. Compared with the traditional external installation, this solution reduces the overall volume of the body 1 by 28%, and the service life of the temperature measurement module is extended by more than 3 times.

[0073] In some embodiments, the cotton candy machine further includes a rotational speed adjustment module, and both the rotational speed adjustment module and the motor 11 are electrically connected to the control component 4, so that the user can control the rotational speed of the motor 11 through the rotational speed adjustment module.

[0074] It is understandable that the rotational speed affects the centrifugal force of the sugar filaments and needs to be adjusted synchronously with the temperature to ensure the drawing effect. The user can change the rotational speed of the motor 11 by adjusting the knob. The control component 4 dynamically adjusts the heating power according to the rotational speed signal (such as increasing the heating amount at high speed) to meet the user's requirements for cotton candies of different thicknesses, and the operation is intuitive.

[0075] In some examples, the rotational speed adjustment module is a knob or a touch screen.

[0076] In some embodiments, such as Figure 4 and Figure 5 as shown, the cotton candy machine further includes an indicator light 5. The indicator light 5 is provided on the outer wall surface of the machine body 1. The indicator light 5 is electrically connected to the control component 4, and the indicator light 5 is used to indicate the temperature of the sugar dispenser 2.

[0077] It is understandable that the indicator light 5 is provided on the front of the machine body 1 and is divided into three colors: green (normal), yellow (preheating), and red (overheating). When the infrared temperature measurement detects an abnormal temperature, the control component 4 lights up the red indicator light 5 and gives an alarm. It realizes intuitive feedback of the status through color coding, reduces the user's learning cost, improves safety, and prevents the user from contacting high-temperature components.

[0078] In some embodiments, the cotton candy machine further includes a display screen, and the display screen is electrically connected to the control component 4.

[0079] It is understandable that the display screen is integrated on the top of the machine body 1 and real-time displays the current temperature, target temperature, and remaining working time. The user can view parameters such as temperature through the screen, and can also select modes such as "cotton candy mode" or "cleaning mode" through the screen. The visual interaction enhances the user experience, facilitates parameter monitoring, is conducive to reducing misoperations, and is suitable for commercial scenarios.

[0080] The embodiments of the present application provide embodiments of the cotton candy machine control method. It should be noted that although the logical order is shown in the flowchart, under certain data, the steps shown or described can be completed in a different order from here.

[0081] Before introducing the cotton candy machine control method of the embodiments of the present application, first, the application scenario of the cotton candy machine control method is explained. The cotton candy machine control method of the present application can be applied to intelligent terminals such as smart phones, tablets, and computers, and can also be applied to servers. The present application does not make special limitations here, as long as it can carry and implement the cotton candy machine control method of the present application.

[0082] The following takes the application of the cotton candy machine control method to the server side as an example for illustration, but it should be understood that the cotton candy machine control method is not limited to being only applicable to the server side.

[0083] According to the embodiments of the second aspect of the present application, such as Figure 1As shown, a method for controlling a marshmallow machine, which is used for a marshmallow machine; the method for controlling the marshmallow machine includes:

[0084] Step 101, obtaining the actual temperature of the sugar dispenser 2;

[0085] Step 102, determining the temperature difference based on the actual temperature and the target temperature;

[0086] Step 103, controlling the operation of the heating element of the sugar dispenser 2 based on the temperature difference.

[0087] According to the method for controlling a marshmallow machine of the present application, when the marshmallow machine is working, the infrared temperature measurement component 3 can detect the temperature of the sugar dispenser and transmit the detection data to the control component 4, so that the control component 4 can determine the actual temperature of the sugar dispenser 2 according to the detection data of the infrared temperature measurement component 3. Furthermore, it can determine how to control the operation of the sugar dispenser 2 according to the actual temperature and the target temperature of the sugar dispenser 2, so as to control the temperature of the sugar dispenser 2 and make the temperature of the sugar dispenser 2 within the target temperature range. That is to say, the infrared temperature measurement component 3 of the present application detects the temperature of the outer shell 21 of the sugar dispenser in a non-contact manner, avoiding the delay problem of traditional contact temperature measurement. The control component 4 uses the PID algorithm to dynamically adjust the heating power to ensure precise temperature control, which is beneficial to improving the temperature detection response speed, avoiding overheating or solidification of the sugar solution, ensuring the stability of the marshmallow quality, and improving safety, avoiding fire caused by too high temperature, and improving the intelligent level of the marshmallow machine.

[0088] In an embodiment of the present application, the step of obtaining the actual temperature of the sugar dispenser 2 includes:

[0089] Obtaining the temperatures of different positions of the sugar dispenser 2;

[0090] Based on the temperatures of different positions of the sugar dispenser 2, determining the average temperature of the sugar dispenser 2;

[0091] Determining the average temperature as the actual temperature.

[0092] It can be understood that three sensors respectively detect the temperatures of the upper, middle and lower zones of the outer shell 21, and the control component 4 takes the average value of the temperatures of the three zones as the actual temperature. If the temperature of a certain zone deviates from the average value by more than 10%, an abnormal alarm is triggered. It realizes the elimination of the influence of local abnormal data by using the mean algorithm and prevents the system from misjudging due to the failure of single-point temperature measurement.

[0093] In an embodiment of the present application, before the step of determining the temperature difference based on the actual temperature and the target temperature, it further includes:

[0094] Determining the target temperature based on the raw material information of the marshmallow machine.

[0095] It can be understood that different sugar materials have different melting points and need to match different temperatures. Therefore, before determining the temperature difference based on the actual temperature and the target temperature, the present application first determines the target temperature based on the raw materials used in the cotton candy machine, realizing automatic adaptation to the raw materials without manual temperature adjustment.

[0096] Exemplarily, when the user selects the raw material of "rock sugar", the control component 4 automatically sets the target temperature to 180 °C. When "brown sugar" is selected, the target temperature is adjusted to 160 °C.

[0097] In some embodiments, the cotton candy machine further includes a manipulator for grasping the cotton candy stick; after the step of controlling the operation of the heating element of the sugar dispenser 2, the following steps are further included:

[0098] After the cotton candy is made,

[0099] Obtain the position information and height information of the user;

[0100] Based on the position information and height information, control the movement of the manipulator.

[0101] It can be understood that the manipulator can automatically deliver the cotton candy to the user, improving the degree of automation. After determining that the cotton candy is made, the position information and height information of the user are obtained to facilitate determining the height and position of the user based on the position information and height information, and then the movement trajectory of the manipulator can be determined. Then, based on the movement trajectory, the movement of the manipulator is controlled, so that the manipulator can move the cotton candy to the user for the user to take away the cotton candy, improving the intelligence level of the cotton candy machine.

[0102] In an embodiment of the present application, the manipulator includes a clamping part for grasping the cotton candy stick. A pressure sensing element is provided at the clamping part. The clamping part can be switched between a first state and a second state. In the first state, the clamping part clamps the cotton candy stick. In the second state, the cotton candy stick can move relative to the clamping part; after the step of controlling the movement of the manipulator, the following steps are further included:

[0103] Based on the sensing data of the pressure sensing element, control the clamping part to switch between the first state and the second state.

[0104] It can be understood that the manipulator is installed on the side of the body 1, and a pressure sensor is built into the clamping part. When the user reaches out to pick up the marshmallow, the manipulator moves to a suitable position based on the position and height of the user obtained by the camera. When the user grasps the marshmallow stick and wants to take away the marshmallow, the pressure sensing element will detect a pressure change. Then, based on the sensing data of the pressure sensing element, it can be determined whether the user has grasped the marshmallow stick. When it is determined based on the sensing data of the pressure sensing element that the user has grasped the marshmallow stick, the clamping part is controlled to be in the second state, so that the user can take away the marshmallow. When it is determined that the user has not grasped the marshmallow stick, the clamping part is controlled to be in the first state, so that the manipulator continues to hold the marshmallow stick to prevent the marshmallow from falling. That is to say, after the pressure sensor detects that the user has tightened the stick, the clamping part automatically loosens. Then, by using pressure sensing, it is possible to prevent the stick from accidentally falling when it has not been grasped by the user, realizing fully automatic delivery and improving hygiene.

[0105] In an embodiment of the present application, the clamping part includes a first part and a second part connected in sequence. The first part is used to clamp the marshmallow stick. In the first state, the second part is spaced from the marshmallow stick, and the pressure sensing element is arranged on the second part;

[0106] The steps of controlling the clamping part to switch between the first state and the second state based on the sensing data of the pressure sensing element include:

[0107] Based on the sensing data of the pressure sensing element, determine the force information of the marshmallow stick;

[0108] Based on the force information of the marshmallow stick, control the state of the clamping part.

[0109] It can be understood that when the user does not grasp the marshmallow stick, the first part clamps the marshmallow stick and the second part does not contact the marshmallow stick. At this time, the sensing data of the pressure sensing element is 0. When the user grasps the marshmallow stick and moves it towards himself, the pressure sensing element will be squeezed by the marshmallow stick to generate pressure detection data. Then, based on the detection data of the pressure sensing element, the force information of the marshmallow stick can be determined, that is, it can be determined whether the marshmallow stick is subjected to the pulling force of the user and the force direction. Then, based on the force information of the marshmallow stick, it can be determined whether the user is grasping the marshmallow stick, and then how to control the state of the clamping part can be determined.

[0110] It can be understood that the clamping part is provided with pressure sensing. When the pressure towards the user side is sensed, the marshmallow stick is controlled to be released to ensure that it is released after the user grasps the marshmallow stick.

[0111] In some examples, the pressure sensing element is located between the marshmallow stick and the user.

[0112] In some examples, the manipulator adopts a four-degree-of-freedom SCARA structure, and the end gripper has a built-in FSR402 pressure sensor. A ToF depth camera (detection distance 0.3-1.5m) is installed on the front of the body 11, and the control component 4 runs a visual recognition algorithm based on YOLOv5.

[0113] The camera obtains the user's hand position coordinates (x, y, z) and the palm opening angle; when the z coordinate is less than 30cm and the opening angle is >60°, it is judged as ready to receive; when the pressure sensor detects that the gripping force is >3N, the gripper is controlled to release at a speed of 0.5m / s. This effectively improves the success rate of marshmallow delivery and shortens the average delivery time, which is significantly better than the manual method.

[0114] In one embodiment of the present application, the cotton candy machine control method further includes:

[0115] Real-time monitoring of the remaining amount of raw materials in the sugar silo through weight sensors;

[0116] It is understandable that different sugar residues will affect the heating efficiency. When the residue is less than 30%, the heating power needs to be increased to compensate for the heat capacity loss.

[0117] Combine the current temperature detection data with the remaining sugar content to dynamically adjust the PID control parameters;

[0118] In some examples, when the sugar residue decreases from 100% to 30%, the proportional coefficient P needs to increase linearly from 2.5 to 3.8.

[0119] When the remaining amount is less than 10%, a material shortage alarm is triggered and the speed of the sugar dispenser 2 is automatically reduced to the maintenance mode (15rpm).

[0120] This enables intelligent sugar quantity regulation and control, achieving stable sugar output within the full range, and reducing the fluctuation in sugar thread diameter from ±0.3mm to ±0.1mm.

[0121] In one embodiment of the present application, the cotton candy machine control method further includes:

[0122] The ambient temperature Ten is collected through the DS18B20 sensor;

[0123] Calculate the compensation temperature ΔT = 0.12 × (25-Ten) (°C);

[0124] It is understandable that, for every 1°C decrease in ambient temperature, the heat dissipation of the shell 21 of the sugar dispenser 2 is accelerated, and an additional heating amount of 0.12°C is required to compensate.

[0125] Correct the target temperature to Ttarget' = Ttarget + ΔT;

[0126] In some extreme climate area tests, this solution enables the machine to maintain consistent sugar output quality in an environment of -5°C to 45°C.

[0127] Furthermore, it realizes adaptive environmental temperature compensation to eliminate the influence of seasonal changes on product quality.

[0128] In an embodiment of the present application, the marshmallow machine control method further includes:

[0129] Receiving the raw material ratio selected by the user through the touch screen (such as 70% sucrose + 30% fruit powder);

[0130] Based on the raw material database, calling the melting point parameters of each component and calculating the composite melting point Tmix = ∑(wi×Ti);

[0131] It can be understood that the melting point of the fruit powder (about 140°C) is significantly lower than that of sucrose (165°C), and the target temperature needs to be recalculated.

[0132] Synchronously adjusting the rotation speed of the sugar outlet 2 according to the viscosity characteristics of the mixture. For every 10 cP increase in viscosity, the rotation speed is reduced by 5 rpm.

[0133] Furthermore, it realizes the control of the multi-raw material mixing mode. It can support the arbitrary proportion mixing of multiple raw materials, expanding the product diversity.

[0134] In an embodiment of the present application, the marshmallow machine control method further includes:

[0135] Recording the temperature-time curve T(t) in the best sugar output state during historical work;

[0136] Using the LSTM neural network to establish a mapping model between T(t) and environmental parameters (humidity, air pressure, etc.);

[0137] It can be understood that in a high-humidity environment during the plum rain season, the best sugar output temperature usually needs to be increased by 2 - 3°C.

[0138] Automatically loading the optimal temperature curve adapted to the current environment every time the machine is started.

[0139] Furthermore, it realizes the optimization of the self-learning temperature curve. After the machine has been used for a certain period of time, it can reduce the temperature adjustment time consumption and energy consumption.

[0140] In an embodiment of the present application, the marshmallow machine control method further includes:

[0141] Real-time capturing the sugar filament morphology through a 1080P industrial camera;

[0142] The image processing unit calculates the sugar filament diameter dispersion σ (the ideal value σ < 0.05);

[0143] It can be understood that when σ>0.1, it indicates that the temperature or speed parameters are mismatched.

[0144] Establish a quality evaluation function Q = f (σ, drawing length, color), and automatically trigger parameter adjustment when Q < threshold:

[0145] σ is too large → increase the temperature by 0.5℃

[0146] Wire drawing is short → increase the speed by 10rpm

[0147] Dark color → reduce temperature by 1℃

[0148] This can then enable vision-based quality feedback control and achieve true closed-loop quality control, which is beneficial for reducing the defective rate.

[0149] In one embodiment of the present application, the candy dispensing device 2 includes a heating tube, and the cotton candy machine control method further includes:

[0150] Monitor the resistance change rate of the heating tube ΔR / Δt;

[0151] When ΔR / Δt>0.15Ω / h, it is judged that the heating tube is aging;

[0152] It can be understood that the resistance change reflects the degree of crystallization of the tungsten filament and is an effective indicator for life prediction.

[0153] It reminds you to replace the heating element 72 hours in advance and automatically limits the maximum temperature to 90% of the rated value.

[0154] This can then enable predictive maintenance control, avoid production interruptions caused by sudden failures, and improve the overall utilization rate of equipment.

[0155] According to the embodiment of the third aspect of the present application, the cotton candy machine control device and the cotton candy machine control method correspond to each other. Figure 2 As shown, the cotton candy machine control device includes:

[0156] An acquisition module 201 is used to acquire the actual temperature of the sugar dispensing device 2;

[0157] A determination module 202, configured to determine a temperature difference based on the actual temperature and the target temperature;

[0158] The control module 203 is used to control the operation of the heating element of the sugar dispenser 2 based on the temperature difference.

[0159] According to an embodiment of the fourth aspect of the present application, Figure 3As shown in the figure, the electronic device may include: a processor 310, a communications interface 320, a memory 330, and a communication bus 340. Among them, the processor 310, the communication interface 320, and the memory 330 communicate with each other through the communication bus 340. The processor 310 can call the logical instructions in the memory 330 to execute the marshmallow machine control method, which includes:

[0160] Obtain the actual temperature of the sugar dispenser 2;

[0161] Based on the actual temperature and the target temperature, determine the temperature difference;

[0162] Based on the temperature difference, control the operation of the heating element of the sugar dispenser 2.

[0163] In addition, when the logical instructions in the above-mentioned memory 330 are implemented in the form of software functional units and sold or used as an independent product, they can be stored in a computer-readable storage medium. Based on such an understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or a part of this technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods of various embodiments of the present invention. The foregoing storage medium includes: various media such as USB flash drives, mobile hard disks, read-only memories (ROMs, Read-Only Memories), random access memories (RAMs, Random Access Memories), magnetic disks, or optical discs that can store program codes.

[0164] On the other hand, this application also provides a computer program product. The computer program product includes a computer program stored on a non-transitory computer-readable storage medium. The computer program includes program instructions. When the program instructions are executed by a computer, the computer can execute the marshmallow machine control method provided by the above-mentioned various methods, which includes:

[0165] Obtain the actual temperature of the sugar dispenser 2;

[0166] Based on the actual temperature and the target temperature, determine the temperature difference;

[0167] Based on the temperature difference, control the operation of the heating element of the sugar dispenser 2.

[0168] According to the embodiments of the fifth aspect of this application, this application also includes a non-transitory computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, it is implemented to execute the marshmallow machine control method provided by the above-mentioned various methods, which includes:

[0169] Obtain the actual temperature of the sugar extractor 2;

[0170] Based on the actual temperature and the target temperature, determine the temperature difference;

[0171] Based on the temperature difference, control the operation of the heating element of the sugar extractor 2.

[0172] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed to multiple network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the solution of this embodiment. Those of ordinary skill in the art can understand and implement it without creative efforts.

[0173] Through the description of the above embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus a necessary general hardware platform, and of course also by hardware. Based on this understanding, the above technical solution, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, magnetic disk, optical disk, etc., and includes several instructions for causing a computer device (which can be a personal computer, server, or network device, etc.) to execute the methods of each embodiment or some parts of the embodiments.

[0174] Finally, it should be noted that the above embodiments are only used to illustrate the present application, rather than to limit the present application. Although the present application has been described in detail with reference to the embodiments, those of ordinary skill in the art should understand that various combinations, modifications, or equivalent replacements of the technical solutions of the present application do not depart from the spirit and scope of the technical solutions of the present application, and should all be covered by the scope of the claims of the present application.

Claims

1. A marshmallow machine, characterized in that, Comprising: A body; A sugar dispenser, connected to the body; An infrared temperature measurement component, connected to the body, with the temperature measurement end of the infrared temperature measurement component facing the sugar dispenser, and the infrared temperature measurement component is used to detect the temperature of the sugar dispenser; A control component, both the sugar dispenser and the infrared temperature measurement component are electrically connected to the control board, and the control component is configured to: control the temperature of the sugar dispenser based on the detection data of the infrared temperature measurement component and the target temperature.

2. The marshmallow machine according to claim 1, characterized in that, The sugar dispenser has a housing, and the infrared temperature measurement component is used to detect the temperatures of different positions of the housing.

3. The marshmallow machine according to claim 2, wherein, The infrared temperature measurement component includes at least two infrared temperature sensors, at least two of the infrared temperature sensors are arranged at different positions, and at least two of the infrared temperature sensors are used to detect the temperatures of different positions of the housing.

4. The marshmallow machine according to claim 2, wherein At least two of the infrared temperature sensors are evenly distributed at intervals along the circumferential direction of the sugar dispenser.

5. The marshmallow machine according to any one of claims 1 to 4, characterized in that, The body includes a motor, the motor is connected to the sugar dispenser, and the motor is used to drive the sugar dispenser to rotate; An installation space is formed between the motor and the housing of the sugar dispenser, and the infrared temperature measurement component is installed in the installation space.

6. The marshmallow machine according to any one of claims 1 to 4, characterized in that, The marshmallow machine further includes a rotation speed adjustment module, both the rotation speed adjustment module and the motor are electrically connected to the control component, so that the user can control the rotation speed of the motor through the rotation speed adjustment module.

7. The marshmallow machine according to any one of claims 1 to 4, characterized in that, The marshmallow machine further includes an indicator light, the indicator light is arranged on the outer wall surface of the body, the indicator light is electrically connected to the control component, and the indicator light is used to indicate the temperature of the sugar dispenser; and / or, The marshmallow machine further includes a display screen, and the display screen is electrically connected to the control component.

8. A method for controlling a cotton candy machine based on the cotton candy machine according to any one of claims 1 to 7, characterized in that, Comprising: Obtaining the actual temperature of the sugar dispenser; Based on the actual temperature and the target temperature, determining the temperature difference; Based on the temperature difference, controlling the operation of the heating element of the sugar dispenser.

9. The method for controlling a marshmallow machine according to claim 8, characterized in that, The step of obtaining the actual temperature of the sugar dispenser includes: Obtaining the temperatures of different positions of the sugar dispenser; Based on the temperatures of different positions of the sugar dispenser, determining the average temperature of the sugar dispenser; Determining the average temperature as the actual temperature.

10. An electronic device, the electronic device comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the marshmallow machine control method according to claim 8 or 9.