A control method and device of a cooking apparatus, an electronic device, and a storage medium
Patent Information
- Application Number
- CN202510190522.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-20
- Publication Date
- 2026-08-21
AI Technical Summary
[0004]尽管现有的温控器能在一定程度上控制内部温度并预防过度加热,但它们并不能完全解决因风扇故障而导致的背加热管持续加热的问题
[0044] This application embodiment continuously monitors and analyzes the speed changes of the drive motor (responsible for the operation of the convection fan) during the operation of the heating element, determines in real time whether the current speed is within the normal speed range, and calculates the degree and duration of the current speed deviation from the normal range. Based on a preset deviation variable relationship, the more severe the speed deviation from the normal value, the shorter the allowable deviation time, thus achieving a rapid and accurate assessment of the degree of abnormality in the drive motor. Once the degree of abnormality in the drive motor is determined, a first target state matching it is established to adjust the working state of the drive motor. Simultaneously, a second target state matching the first target state is used to correspondingly control the working state of the heating element, ensuring that the working state of the heating element is always coordinated with the working state of the convection fan. This effectively avoids the risk of equipment overheating due to convection fan failure and prevents permanent structural damage that may occur if the heating element continues to heat when the convection fan is not working. Furthermore, it can prevent cooking failures due to convection fan failure, reduce unexpected power outages, and improve the stability of the cooking process and user satisfaction.
Smart Images

Figure CN122604233A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of kitchen equipment technology, and in particular to a control method, device, electronic equipment and storage medium for cooking equipment. Background Technology
[0002] As people's demands for cooking efficiency and food quality continue to rise, the market for home appliances with baking functions is also growing. These devices achieve ideal baking results through precise control of heating elements and airflow. However, ensuring safety and reliability is paramount when designing and using these products. Especially in situations involving high-temperature operation, any potential safety hazards can pose a threat to users.
[0003] Cooking appliances with a grilling function are typically designed with a rear heating element and a rear fan located at the back of the cavity to ensure even heating and effective heat dissipation. However, in actual use, if the rear fan malfunctions and stops working while the rear heating element continues to operate, it may lead to localized overheating, posing a fire risk. Currently, the solution to this problem mainly relies on a temperature control device installed at the back of the cavity. When the temperature is detected to exceed the safe range, this device will activate a protection mechanism to cut off the power supply to prevent further temperature increases.
[0004] While existing thermostats can control internal temperature and prevent overheating to some extent, they cannot completely solve the problem of continuous heating of the back heating element due to fan failure. This situation can cause the temperature around the heating element to become excessively high, potentially causing irreversible damage to the structural components of the appliance. Furthermore, unexpected power outages not only interrupt the current cooking process but can also negatively impact the user experience, leading to decreased customer satisfaction. Summary of the Invention
[0005] To address the problems of the prior art, this application provides a control method, apparatus, electronic device, and storage medium for a cooking device. The technical solution is as follows:
[0006] On one hand, a method for controlling a cooking device is provided, the cooking device including a heating element and a convection fan corresponding to the heating element, the convection fan including a drive motor, the convection fan being used to generate convection under the drive of the drive motor when the heating element is in a working state; the method includes:
[0007] When the heating element is in operation, the current rotational speed of the drive motor is obtained;
[0008] If the current speed exceeds the normal speed range corresponding to the drive motor, determine the current deviation of the current speed from the normal speed range;
[0009] The target deviation duration corresponding to the current deviation degree is determined based on a preset deviation variable relationship; the preset deviation variable relationship indicates that the degree of deviation of the drive motor speed relative to the normal speed range is negatively correlated with the deviation duration;
[0010] If the duration of the current deviation is less than the target deviation duration, the current rotational speed is updated to update the current deviation and the target deviation duration corresponding to the updated current deviation, until the duration of the updated current deviation is greater than or equal to the updated target deviation duration, and then a first target state corresponding to the updated current deviation is determined.
[0011] The operating state of the drive motor is controlled based on the first target state, and the operating state of the heating element is controlled based on a second target state that matches the first target state.
[0012] On the other hand, a control device for a cooking apparatus is provided, the cooking apparatus including a heating element and a convection fan corresponding to the heating element, the convection fan including a drive motor, the convection fan being used to generate convection under the drive of the drive motor when the heating element is in a working state; the device includes:
[0013] The rotation speed acquisition module is used to acquire the current rotation speed of the drive motor when the heating element is in working state;
[0014] The deviation module is used to determine the current deviation of the current speed from the normal speed range when the current speed exceeds the normal speed range corresponding to the drive motor.
[0015] The deviation duration module is used to determine the target deviation duration corresponding to the current deviation degree based on a preset deviation variable relationship; the preset deviation variable relationship indicates that the degree of deviation of the drive motor speed from the normal speed range is negatively correlated with the deviation duration.
[0016] The state determination module is used to update the current rotational speed when the duration of the current deviation is less than the target deviation duration, so as to update the current deviation and the target deviation duration corresponding to the updated current deviation, until the duration of the updated current deviation is greater than or equal to the updated target deviation duration, and then determine the first target state corresponding to the updated current deviation.
[0017] The operation control module is used to control the operation state of the drive motor based on the first target state, and to control the operation state of the heating element based on a second target state that matches the first target state.
[0018] In one exemplary implementation, the state determination module includes:
[0019] The work pause module is used to control the heating element to pause operation when the updated current deviation is less than a preset deviation threshold.
[0020] A debugging control module is used to control the drive motor to enter debugging mode;
[0021] A deviation duration module is used to determine the duration of a speed deviation event; the speed deviation event indicates that the speed of the drive motor exceeds the normal speed range in the debugging mode.
[0022] The first debugging exit module is used to control the drive motor to exit the debugging mode when the duration of the deviation exceeds the deviation statistics duration; the deviation statistics duration exceeds the updated target deviation duration.
[0023] The first state determination module is used to determine that the first target state is the non-working state of the drive motor;
[0024] The second state determination module is used to determine that the second target state is the non-working state of the heating element.
[0025] In one exemplary embodiment, the device further includes a state intervention module for intervening in the operating state of the drive motor and the heating element in the event of repeated speed deviation events, the state intervention module comprising:
[0026] The second debugging exit module is used to control the drive motor to exit the debugging mode in the event of a speed regression event; the speed regression event indicates that the speed of the drive motor returns to the normal speed range in the debugging mode.
[0027] The deviation frequency module is used to determine the cumulative frequency of the rotation speed regression event during the current cooking process;
[0028] The third state determination module is used to determine the first target state as the non-working state of the drive motor when the cumulative occurrence frequency is greater than a preset frequency threshold.
[0029] The fourth state determination module is used to determine that the second target state is the non-working state of the heating element.
[0030] In one exemplary embodiment, the device further includes a state adjustment module for not interfering with the operating state of the drive motor and the heating element when the speed deviation event is an intermittent event. The state adjustment module includes:
[0031] The fifth state determination module is used to determine the first target state as the current working state of the drive motor when the cumulative occurrence frequency is less than or equal to the preset frequency threshold.
[0032] The sixth state determination module is used to determine that the second target state is the working state of the heating element before the suspension of operation.
[0033] In one exemplary embodiment, the device further includes a work stop module for determining to stop the drive motor and heating element when the current deviation is greater than or equal to a preset deviation threshold. The work stop module includes:
[0034] The seventh state determination module is used to determine the first target state as the non-working state of the drive motor when the updated current deviation degree is greater than or equal to a preset deviation threshold.
[0035] The eighth state determination module is used to determine that the second target state is the non-working state of the heating element.
[0036] In one exemplary embodiment, the drive motor is used to periodically switch the rotation direction when the heating element is in operation, the period of switching the rotation direction being greater than the target deviation duration; the state determination module includes:
[0037] A steering determination module is used to determine the current steering of the drive motor based on the updated current rotational speed when the updated current deviation is less than a preset deviation threshold.
[0038] A steering update module is used to control the drive motor based on a direction opposite to the current steering to update the current steering.
[0039] A speed recovery module is used to reacquire the current speed of the drive motor;
[0040] A unidirectional rotation module is used to determine that the first target operating state is a unidirectional rotation state when the reacquired current rotation speed is within the normal rotation speed range; the unidirectional rotation state indicates that the drive motor always rotates in the updated current direction.
[0041] On the other hand, an electronic device is provided, including a processor and a memory, wherein the memory stores at least one instruction or at least one program, the at least one instruction or the at least one program being loaded and executed by the processor to implement a method for controlling a cooking device according to any of the above aspects.
[0042] On the other hand, a computer-readable storage medium is provided that stores at least one instruction or at least one program, which is loaded and executed by a processor to implement a method for controlling a cooking device as described above.
[0043] On the other hand, a computer program product or computer program is provided, which includes computer instructions stored in a computer-readable storage medium. A processor of an electronic device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the electronic device to perform the control method of the cooking device according to any of the above aspects.
[0044] This application embodiment continuously monitors and analyzes the speed changes of the drive motor (responsible for the operation of the convection fan) during the operation of the heating element, determines in real time whether the current speed is within the normal speed range, and calculates the degree and duration of the current speed deviation from the normal range. Based on a preset deviation variable relationship, the more severe the speed deviation from the normal value, the shorter the allowable deviation time, thus achieving a rapid and accurate assessment of the degree of abnormality in the drive motor. Once the degree of abnormality in the drive motor is determined, a first target state matching it is established to adjust the working state of the drive motor. Simultaneously, a second target state matching the first target state is used to correspondingly control the working state of the heating element, ensuring that the working state of the heating element is always coordinated with the working state of the convection fan. This effectively avoids the risk of equipment overheating due to convection fan failure and prevents permanent structural damage that may occur if the heating element continues to heat when the convection fan is not working. Furthermore, it can prevent cooking failures due to convection fan failure, reduce unexpected power outages, and improve the stability of the cooking process and user satisfaction. Attached Figure Description
[0045] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0046] Figure 1This is a flowchart illustrating a control method for a cooking device provided in an embodiment of this application;
[0047] Figure 2 This is a flowchart illustrating a method for determining a target state provided in an embodiment of this application;
[0048] Figure 3 This is a structural block diagram of a control device for a cooking apparatus provided in an embodiment of this application;
[0049] Figure 4 This is a hardware structure block diagram of an electronic device provided in an embodiment of this application. Detailed Implementation
[0050] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the scope of protection of this application.
[0051] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of this application described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion; for example, a process, method, system, product, or server that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or devices.
[0052] It is understood that in the specific embodiments of this application, data such as user information are involved. When the above embodiments of this application are applied to specific products or technologies, user permission or consent is required, and the collection, use and processing of related data must comply with the relevant laws, regulations and standards of the relevant countries and regions.
[0053] Please see Figure 1The diagram illustrates a flow chart of a control method for a cooking device according to an embodiment of this application. It should be noted that while this specification provides method steps as shown in the embodiments or flowcharts, more or fewer steps may be included based on conventional or non-inventive methods. The order of steps listed in the embodiments is merely one possible execution order among many and does not represent the only possible execution order. In actual system or product execution, the methods shown in the embodiments or drawings can be executed sequentially or in parallel (e.g., in a parallel processor or multi-threaded processing environment).
[0054] Specifically, the cooking equipment includes a heating element and a corresponding convection fan. The convection fan includes a drive motor and is used to create convection under the drive of the motor when the heating element is in operation. Specifically, by identifying situations where the heating element is heating but the convection fan is not working during cooking, the current operational risk of the cooking equipment is determined, and this risk is communicated to the control side for appropriate handling. The drive motor is a DC motor, and the AC fan cannot provide feedback signals to the main control chip. In specific implementation, the cooking equipment includes a back heating element, an upper heating element, and a lower heating element. The upper heating element is mainly used for baking the surface of food, such as browning bread or baking pizza. Its heat transfer mainly relies on thermal radiation and does not require forced convection for uniform heating like the back heating element. The lower heating element mainly provides heat to the bottom, assisting in heating and baking food. Its heat can also be transferred to the bottom of the food through thermal radiation and natural convection, similarly without the need for an additional fan to assist in heat transfer and distribution. Therefore, the heating element refers to the back heating element, and the convection fan refers to the back fan.
[0055] Specifically, such as Figure 1 As shown, the method may include:
[0056] S101: When the heating element is in operation, obtain the current speed of the drive motor.
[0057] The current speed refers to the actual operating speed of the drive motor at the current moment.
[0058] Specifically, no intervention is performed when the heating element is not in operation.
[0059] S103, when the current speed exceeds the normal speed range corresponding to the drive motor, determine the current deviation of the current speed from the normal speed range.
[0060] The normal speed range refers to the speed range that the drive motor should maintain under normal operating conditions, which ensures the effective operation of the convection fan.
[0061] The current deviation refers to the degree to which the current speed exceeds the normal speed range, and is used to assess the degree of abnormal operation of the drive motor.
[0062] Specifically, a current speed exceeding the normal speed range of the drive motor typically includes two situations: the current speed is less than the normal speed range, and the current speed is greater than the normal speed range. In practice, an excessively high current speed will not affect heat dissipation. Therefore, the normal speed range can be set to be greater than or equal to a certain speed value. That is, when the current speed is greater than or equal to that speed value, the heat dissipation effect of the convection fan is not affected. Correspondingly, the situation where the current speed exceeds the normal speed range only refers to the current speed being less than that speed value.
[0063] Specifically, if the monitored speed exceeds the normal speed range, the degree of deviation of the current speed is calculated. For example, if the normal speed range is greater than 1000 RPM, and the current speed is 700 RPM, then the degree of deviation is (1000-700) / 1500 = 20%.
[0064] Specifically, when the current speed is within the normal speed range, the operating status of the drive motor and heating element will not be interfered with.
[0065] S105, determine the target deviation duration corresponding to the current degree of deviation based on the preset deviation variable relationship.
[0066] The preset deviation variable relationship indicates a negative correlation between the degree of deviation of the drive motor's speed from the normal speed range and the duration of the deviation. Specifically, the preset deviation variable relationship is a predefined relationship that shows a negative correlation between the degree of speed deviation from the normal speed range and the acceptable deviation duration; that is, the greater the deviation, the shorter the allowable deviation duration.
[0067] Among them, the target deviation time refers to the maximum time during which the rotational speed is allowed to deviate from the current deviation level.
[0068] In practice, machine learning algorithms can be used to automatically adjust the relationships between preset deviation variables based on historical data in order to better adapt to different usage environments and equipment aging conditions.
[0069] For example, suppose the current deviation is 20%, and the target deviation duration corresponding to it in the preset deviation variable relationship is 30 seconds. If the duration of the 20% speed deviation exceeds 30 seconds, then 20% can be determined as the abnormality level of the drive motor, and further measures will be taken to determine the target operating state of the drive motor when the abnormality level is 20%, i.e., the first target state.
[0070] S107, determine whether the duration of the current deviation is greater than or equal to the target deviation duration.
[0071] Specifically, if the judgment result is no, step S101 can be executed; conversely, if the judgment result is yes, step S109 can be executed.
[0072] Specifically, continuously monitor the duration of the rotational speed deviation. If the rotational speed returns to normal within the target deviation duration, continue to monitor, update the current rotational speed and the deviation degree, and recalculate the target deviation duration. For example, the updated rotational speed is 800 RPM, and the deviation degree is (1000 - 800) / 1500 = 13.33%, and the corresponding target deviation duration may be 45 seconds.
[0073] Exemplarily, assume that two deviation degrees are defined in the preset deviation variable relationship - the motor cannot rotate (deviation degree = 100%), the motor rotates abnormally (0% < deviation degree < 100%), the corresponding target deviation duration for the former is B1, and the corresponding target deviation duration for the latter is B2, where B1 < B2. The drive motor adopts speed control, where the speed command is denoted as A, and the actual rotational speed feedback by the drive motor is denoted as W. When the speed command A = 0, the drive motor is in a non-working state. When the speed command A ≠ 0, the following judgment is made based on the rotational speed W feedback by the motor: If the speed W feedback by the motor = 0, the counter t1 is incremented, and when t1 ≥ B1, it is considered that the motor cannot rotate; if the speed W feedback by the motor ≠ 0, but |W| is less than the minimum rotational speed N1, the counter t2 is incremented, and when t2 ≥ B2, it is considered that the motor can rotate but rotates abnormally.
[0074] S109, determine the first target state corresponding to the updated current deviation degree.
[0075] Among them, the first target state refers to the target working state of the drive motor.
[0076] Specifically, multiple levels of deviation degrees can be set, corresponding to different first target states respectively. For example, a slight deviation may keep the drive motor and the heating element working, only triggering an alarm, while a severe deviation directly turns off the drive motor and the heating element.
[0077] In an exemplary embodiment, the drive motor is used to switch the rotation direction periodically when the heating element is in a working state, and the period of switching the rotation direction is greater than the target deviation duration; the above step S109 can include:
[0078] When the current deviation degree is less than the preset deviation threshold, determine the current rotation direction of the drive motor based on the current rotational speed;
[0079] Control the drive motor in the direction opposite to the current rotation direction to update the current rotation direction;
[0080] Re-obtain the current rotational speed of the drive motor;
[0081] If the current speed is reacquired and is within the normal speed range, the first target working state is determined to be a unidirectional rotation state; the unidirectional rotation state indicates that the drive motor always rotates in the updated current direction.
[0082] Specifically, the drive motor changes its rotation direction at regular time intervals during operation, for example, switching from forward to reverse. Assuming the drive motor switches its rotation direction every 5 minutes during normal operation, i.e., from forward to reverse, or from reverse to forward, this switching cycle is longer than the duration of any target deviation in the preset deviation variable relationship, making it possible for the duration of the current deviation to be greater than or equal to the target deviation duration.
[0083] Specifically, when the drive motor rotates forward, if the deviation of the forward rotation speed from the normal speed range is greater than or equal to a preset deviation threshold, the deviation of the reverse rotation speed will also be greater than or equal to the preset deviation threshold. Conversely, if the deviation of the forward rotation speed is less than the preset deviation threshold, the reverse rotation speed may be within the normal speed range, or it may deviate less than the preset deviation threshold. The same applies when the drive motor rotates in reverse. Therefore, if the current deviation is greater than or equal to the preset deviation threshold, the deviation of the drive motor speed in the opposite direction will also necessarily be greater than or equal to the preset deviation threshold. It is not necessary to separately test whether the drive motor rotates abnormally in the opposite direction. In practical implementation, if the drive motor cannot rotate forward, it also cannot rotate in reverse; accordingly, the preset deviation threshold is set to 100%.
[0084] The current direction of rotation refers to the direction of rotation of the drive motor at the current moment, which can be either forward or reverse.
[0085] Among them, the unidirectional rotation state refers to the working state in which the drive motor continuously rotates in one direction and no longer performs periodic direction switching.
[0086] Specifically, when the heating element is working and the deviation of the drive motor speed is less than a preset deviation threshold, an attempt is made to restore the normal speed by changing the rotation direction of the drive motor. If the speed returns to normal after adjustment, the drive motor will enter a unidirectional rotation state to maintain stable operation and ensure the normal progress of the cooking process. For example, during the operation of the heating element, if the drive motor speed is detected to deviate from the normal speed range, but the deviation is less than the preset threshold, the current speed is recorded and the current direction of rotation is determined. For example, if the current rotation is forward, the drive motor is controlled to switch to the opposite rotation direction, i.e., from forward to reverse. After switching directions, the current speed of the drive motor is reacquired, and it is checked whether it has returned to the normal speed range. If the reacquired speed is within the normal speed range, it is determined that the drive motor has entered a unidirectional rotation state, i.e., the drive motor will continue to rotate in the updated current direction (reverse) and will no longer perform periodic direction switching.
[0087] For example, during the operation of the motor, forward and reverse rotation are switched according to the speed command A, where A>0 indicates forward rotation and A<0 indicates reverse rotation. When the speed command A = a1 (a1>0), if the speed W fed back by the drive motor exceeds the normal speed range, the speed command A = -a1 is switched. If the speed W fed back by the motor ≠0, but |W| is less than the minimum speed N1, the counter t3 is incremented. When t3≥B2, both forward and reverse rotation of the motor are considered abnormal; otherwise, forward rotation is considered abnormal and reverse rotation is normal. If the speed W fed back by the drive motor is outside the normal speed range, the speed command A = -a1 is switched. If the speed W fed back by the motor ≠0, but |W| is less than the minimum speed N1, the counter t3 is incremented. When t3≥B2, forward rotation is considered normal and reverse rotation is considered abnormal; otherwise, the motor is considered to be in normal working condition. When the motor is in normal working condition, no special handling is required; when the motor is in a state where both forward and reverse rotation are abnormal, the speed command will be changed from switching between forward and reverse rotation to continuously sending the specified forward rotation command; when the motor is in a state where reverse rotation is normal but forward rotation is abnormal, the speed command will be changed from switching between forward and reverse rotation to continuously sending the specified reverse rotation command.
[0088] Specifically, if the current speed obtained again exceeds the normal speed range, the driving motor is controlled in the same way regardless of the direction of rotation of the drive motor.
[0089] As can be seen from the above technical solutions of the embodiments of this application, when the drive motor has a slight abnormal speed, the normal working state can be effectively restored by adjusting the rotation direction, reducing cooking interruptions caused by faults, avoiding continuous operation of the drive motor in an abnormal state, reducing wear and tear on mechanical and electrical components, and extending the overall service life of the equipment.
[0090] In one exemplary implementation, such as Figure 2 As shown, step S109 above may include:
[0091] S201, determine whether the current deviation is greater than or equal to the preset deviation threshold.
[0092] Specifically, if the result of the judgment is negative, step S203 can be executed; otherwise, if the result of the judgment is positive, step S2011 can be executed.
[0093] In practice, if the current deviation degree corresponding to the motor rotating forward and the current deviation degree corresponding to the motor rotating in reverse are both less than the preset deviation threshold, step S203 is executed.
[0094] Specifically, when the deviation of the drive motor speed is less than a preset deviation threshold, the system enters debugging mode to count the frequency of speed deviation events. Based on the frequency, it determines whether the operating status of the drive motor and heating element needs to be adjusted. If the speed deviation is greater than or equal to the preset threshold, the operating status of the drive motor and heating element is adjusted to ensure the safe operation of the cooking equipment.
[0095] Specifically, when the current deviation is greater than or equal to the preset deviation threshold, the abnormality of the drive motor can usually be ruled out as intermittent; when the current deviation is less than the preset deviation threshold, the abnormality of the drive motor may be intermittent. Therefore, when the current deviation is less than the preset deviation threshold, it is necessary to further determine whether it is an accidental situation. In specific implementation, the preset deviation threshold can be set to 100%, that is, when the drive motor cannot rotate, the possibility that the abnormality of the drive motor is an accidental situation is ruled out, the drive motor and heating element (back heating tube) are turned off, and only the upper heating tube and lower heating tube work; when the drive motor can rotate but the speed is abnormal, it is necessary to further determine whether the abnormality of the drive motor is an accidental situation.
[0096] Specifically, if the current deviation is greater than or equal to the preset deviation threshold, it can be determined that the abnormal speed of the drive motor is quite serious, and there may be a persistent fault or problem. In this case, to ensure the safe operation of the equipment, the drive motor is stopped, and the heating element stops heating.
[0097] S203, controls the heating element to stop working.
[0098] Specifically, when the drive motor of the convection fan experiences abnormal speed, it may prevent the internal heat from being effectively dissipated, leading to overheating. Suspending the operation of the heating element prevents the temperature from rising continuously, providing the equipment with a relatively stable state, facilitating further diagnosis and handling of the drive motor fault, and ensuring the equipment can continue to operate stably after returning to normal.
[0099] S205 controls the drive motor to enter the debugging mode.
[0100] The debugging mode is used to monitor and adjust the speed of the drive motor to determine whether its working status is normal, that is, whether the abnormal speed is temporary.
[0101] Specifically, in debug mode, the drive motor is controlled according to its normal operating state (such as forward and reverse switching).
[0102] S207, determine the duration of the speed deviation event.
[0103] Among them, the speed deviation event indicates that the speed of the drive motor exceeds the normal speed range in the debugging mode.
[0104] S209, determine whether the duration is greater than the deviation from the statistical duration.
[0105] Specifically, if the result of the judgment is yes, then step S2011 can be executed; otherwise, if the result of the judgment is no, then step S2013 can be executed.
[0106] Specifically, the deviation statistical duration is longer than the duration of any target deviation in the preset deviation variable relationship. The deviation statistical duration is the time period used to statistically analyze the duration of speed deviation events, and also the time period used to statistically analyze the frequency of speed regression events.
[0107] Specifically, if the duration of the speed deviation event exceeds the statistical deviation duration, it can be determined that the abnormal speed of the drive motor is continuous, rather than sporadic. In this case, the drive motor is stopped, and the heating element is deactivated to ensure the safe operation of the equipment.
[0108] S2011, control the drive motor to exit the debugging mode.
[0109] Specifically, continue with step S2019.
[0110] S2013, in the event of a speed regression event, controls the drive motor to exit the debugging mode.
[0111] The speed return event indicates that the drive motor speed returns to the normal speed range in debug mode. Specifically, the speed return event refers to the event in debug mode where the drive motor speed recovers from a state exceeding the normal speed range to the normal speed range.
[0112] Specifically, if no speed regression event occurs, the drive motor will remain in the debugging mode until the duration of the speed deviation event exceeds the deviation statistics duration, or a speed regression event occurs.
[0113] S2015, determine the cumulative frequency of the rotation speed regression event during the current cooking process.
[0114] S2017, determine whether the cumulative occurrence frequency is greater than the preset frequency threshold.
[0115] Specifically, if the result of the judgment is yes, then step S2019 can be executed; otherwise, if the result of the judgment is no, then step S2023 can be executed.
[0116] The preset frequency threshold is a pre-set standard used to determine whether the number of speed deviation events within the deviation statistical period is within an acceptable range, that is, to determine whether the speed deviation event is temporary or recurring.
[0117] Specifically, if the cumulative frequency of speed regression events exceeds a preset frequency threshold, it can be determined that the abnormal speed of the drive motor is frequent, indicating that the drive motor may have a serious problem. In this case, to ensure the safe operation of the equipment, the drive motor is stopped, and the heating element stops heating.
[0118] Specifically, if the duration of the speed deviation event is less than or equal to the deviation statistics duration, and the cumulative frequency of the speed return event is less than or equal to a preset frequency threshold, it can be determined that the abnormal speed of the drive motor is intermittent, rather than continuous or frequent. In this case, it can be considered that the abnormality of the drive motor will not seriously affect the safe operation of the equipment. Therefore, the working state of the drive motor and heating element can be left uninterrupted; that is, the drive motor will continue to operate in its current mode, and the heating element will also return to its previous heating mode, ensuring the normal progress of the cooking process.
[0119] In practice, the preset deviation threshold and preset frequency threshold can be adjusted based on historical data and real-time monitoring results to better adapt to different working conditions.
[0120] S2019, the first target state is determined to be the non-working state of the drive motor.
[0121] S2021, the second target state is determined to be the non-operating state of the heating element.
[0122] Specifically, continue with step S1011.
[0123] S2023, determine the first target state as the current working state of the drive motor.
[0124] S2025, determine the second target state as the working state of the heating element before it is suspended.
[0125] Specifically, continue with step S1011.
[0126] For example, if the drive motor rotates abnormally in both forward and reverse directions, the speed command is maintained unchanged within time period B3 (B3>B2). If the speed |W| fed back by the motor is less than the minimum speed N1, the speed command is switched to 0. If the speed |W| fed back by the motor is greater than or equal to the minimum speed N1, the motor is considered to be able to rotate, and the number of switching times m is accumulated. If m≤Z1, the heating element and drive motor maintain normal operating conditions. If m>Z1, the drive motor and heating element (back heating tube) are turned off, and only the upper and lower heating tubes are heated.
[0127] For example, during the operation of the heating element, the speed of the drive motor is detected to deviate from the normal range. The current deviation is 15%, and the preset deviation threshold is 100%, so the current deviation is less than the preset threshold. The preset deviation statistics duration is 10 minutes. The drive motor is controlled to enter the debugging mode. If the duration of the speed deviation event reaches 10 minutes, the debugging mode is exited, and the heating element and drive motor are turned off. If a speed return event occurs during this period, i.e., the duration of the speed deviation event does not reach 10 minutes, the cumulative frequency of the speed return event during this cooking process is recorded. Assume that a total of 3 speed deviation events occur during this cooking process. The preset frequency threshold is 2 times. Because the actual frequency (3 times) is greater than the preset frequency threshold (2 times), the first target state is determined to be the non-working state of the drive motor, and the second target state is the non-working state of the heating element. If the cumulative frequency is less than or equal to the preset frequency threshold (e.g., 1 time), the drive motor is controlled to maintain its current working state, and the heating element is controlled to return to its working state before the pause. If the current deviation is 100% (equal to the preset deviation threshold of 100%), the first target state is directly determined as the non-working state of the drive motor, and the second target state is the non-working state of the heating element.
[0128] As can be seen from the above technical solutions of the embodiments of this application, when the current deviation is less than a preset deviation threshold, the drive motor is controlled to enter a debugging mode. The duration of the speed deviation event or the cumulative frequency of the speed return event is statistically analyzed to determine whether the speed deviation event is temporary or recurring. If temporary, it is handled as if the drive motor is working normally, that is, the working state of the drive motor and heating element is not interfered with, and normal operation continues, avoiding unnecessary intervention due to short-term speed fluctuations and improving the availability of the equipment. If recurring, the drive motor and heating element are shut down instead of the entire machine being powered off, reducing cooking interruptions caused by malfunctions and improving the reliability and stability of the equipment. When the current deviation is greater than or equal to the preset deviation threshold, the drive motor and heating element are immediately shut down to prevent the heating element from continuing to operate under a serious drive motor malfunction, ensuring the reliability and stability of the equipment.
[0129] S1011, control the working state of the drive motor based on the first target state, and control the working state of the heating element based on the second target state that matches the first target state.
[0130] The second target state refers to the target operating state of the heating element that matches the first target state, ensuring that the operating state of the heating element is coordinated with the operating state of the convection fan.
[0131] In practice, if the duration of the current deviation reaches or exceeds the target deviation duration, the first target state can be determined as the non-operating state of the drive motor, and the second target state as the non-operating state of the heating element. That is, the drive motor is controlled to stop operating, and the heating element is turned off to prevent the equipment from overheating.
[0132] As can be seen from the above technical solutions of the embodiments of this application, the embodiments of this application, by real-time monitoring of the drive motor speed, promptly handle abnormal situations, and synchronously adjust the working state of the drive motor and heating element according to the degree of deviation of the drive motor speed, effectively avoid the risk of equipment overheating and fire caused by convection fan failure, reduce structural damage to the equipment caused by overheating and other failures, and extend the service life of the equipment. Dynamically updating and adjusting the working state protects the entire machine without interrupting the cooking process, ensuring stable operation of the equipment under various abnormal conditions, reducing unexpected power outages, thus reducing cooking interruptions caused by equipment failure, improving the stability of the cooking process and user satisfaction.
[0133] Corresponding to the control methods of cooking equipment provided in the above embodiments, this application also provides a control device for cooking equipment. Since the control device for cooking equipment provided in this application corresponds to the control methods of cooking equipment provided in the above embodiments, the implementation methods of the aforementioned control methods for cooking equipment are also applicable to the control device for cooking equipment provided in this embodiment, and will not be described in detail in this embodiment.
[0134] Please see Figure 3 The diagram shows a structural schematic of a control device for a cooking apparatus provided in an embodiment of this application. This device has the function of implementing the control method for the cooking apparatus described in the above-described method embodiments. This function can be implemented by hardware or by hardware executing corresponding software. The cooking apparatus includes a heating element and a convection fan corresponding to the heating element. The convection fan includes a drive motor, and the convection fan is used to form convection under the drive of the drive motor when the heating element is in operation; for example... Figure 3 As shown, the device may include:
[0135] The rotation speed acquisition module 310 is used to acquire the current rotation speed of the drive motor when the heating element is in operation;
[0136] The deviation module 320 is used to determine the current deviation of the current speed from the normal speed range when the current speed exceeds the normal speed range of the drive motor.
[0137] The deviation duration module 330 is used to determine the target deviation duration corresponding to the current deviation degree based on the preset deviation variable relationship; the preset deviation variable relationship indicates that the degree of deviation of the drive motor speed from the normal speed range is negatively correlated with the deviation duration;
[0138] The state determination module 340 is used to update the current rotational speed when the duration of the current deviation is less than the target deviation duration, so as to update the current deviation and the target deviation duration corresponding to the updated current deviation, until the duration of the updated current deviation is greater than or equal to the updated target deviation duration, and then determine the first target state corresponding to the updated current deviation.
[0139] The operation control module 350 is used to control the operation state of the drive motor based on a first target state, and to control the operation state of the heating element based on a second target state that matches the first target state.
[0140] In one exemplary implementation, the state determination module includes:
[0141] The work pause module is used to control the heating element to pause operation when the updated current deviation is less than a preset deviation threshold.
[0142] The debugging control module is used to control the drive motor to enter the debugging mode;
[0143] The deviation duration module is used to determine the duration of the speed deviation event; the speed deviation event indicates that the speed of the drive motor exceeds the normal speed range in debug mode;
[0144] The first debugging exit module is used to control the drive motor to exit the debugging mode when the duration of the deviation exceeds the deviation from the statistical duration; the deviation from the statistical duration exceeds the updated target deviation duration.
[0145] The first state determination module is used to determine that the first target state is the non-working state of the drive motor;
[0146] The second state determination module is used to determine that the second target state is the non-operating state of the heating element.
[0147] In one exemplary embodiment, the device further includes a state intervention module for intervening in the operating state of the drive motor and the heating element in the event of repeated speed deviation events. The state intervention module includes:
[0148] The second debugging exit module is used to control the drive motor to exit the debugging mode in the event of a speed return event; the speed return event indicates that the speed of the drive motor returns to the normal speed range in the debugging mode.
[0149] The deviation frequency module is used to determine the cumulative frequency of the speed regression event during the current cooking process;
[0150] The third state determination module is used to determine the first target state as the non-working state of the drive motor when the cumulative occurrence frequency is greater than a preset frequency threshold.
[0151] The fourth state determination module is used to determine that the second target state is the non-operating state of the heating element.
[0152] In one exemplary embodiment, the device further includes a state adjustment module for not interfering with the operating state of the drive motor and the heating element when the speed deviation event is an intermittent event. The state adjustment module includes:
[0153] The fifth state determination module is used to control the drive motor to maintain its current working state when the frequency of occurrence is less than or equal to a preset frequency threshold.
[0154] The sixth state determination module is used to control the heating element to return to its working state before it was suspended.
[0155] In one exemplary embodiment, the device further includes a stop module for determining to stop the operation of the drive motor and heating element when the current deviation is greater than or equal to a preset deviation threshold. The stop module includes:
[0156] The seventh state determination module is used to determine the first target state as the non-working state of the drive motor when the updated current deviation degree is greater than or equal to the preset deviation threshold.
[0157] The eighth state determination module is used to determine that the second target state is the non-operating state of the heating element.
[0158] In one exemplary embodiment, the drive motor is used to periodically switch the rotation direction when the heating element is in operation, the period of switching the rotation direction being greater than the target deviation duration; the state determination module includes:
[0159] The steering determination module is used to determine the current steering direction of the drive motor based on the updated current speed, provided that the updated current deviation is less than a preset deviation threshold.
[0160] The steering update module is used to control the drive motor based on the direction opposite to the current steering to update the current steering.
[0161] The speed recovery module is used to reacquire the current speed of the drive motor;
[0162] The unidirectional rotation module is used to determine the first target working state as unidirectional rotation state when the reacquired current speed is within the normal speed range; the unidirectional rotation state indicates that the drive motor always rotates in the updated current direction.
[0163] It should be noted that the apparatus provided in the above embodiments is only illustrated by the division of the above functional modules when implementing its functions. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above. In addition, the apparatus and method embodiments provided in the above embodiments belong to the same concept, and the specific implementation process can be found in the method embodiments, which will not be repeated here.
[0164] This application provides an electronic device including a processor and a memory. The memory stores at least one instruction or at least one program, which is loaded and executed by the processor to implement any of the cooking device control methods provided in the above method embodiments.
[0165] Memory is used to store software programs and modules. The processor executes these stored software programs and modules to perform various functional applications and data processing. Memory can primarily consist of a program storage area and a data storage area. The program storage area stores the operating system, application programs required for functionality, etc.; the data storage area stores data created based on device usage, etc. Furthermore, memory can include high-speed random access memory (RAM) and non-volatile memory, such as at least one disk storage device, flash memory device, or other volatile solid-state storage device. Accordingly, memory can also include a memory controller to provide the processor with access to the memory.
[0166] The method embodiments provided in this application can be executed in a computer terminal, server or similar computing device, that is, the above-mentioned electronic device may include a computer terminal, server or similar computing device. Figure 4 This is a hardware structure block diagram of a computer device for running a control method for a cooking device, as provided in an embodiment of the present invention. Figure 4 As shown, the internal structure of this computer device may include, but is not limited to, a processor, a network interface, and a memory. The processor, network interface, and memory within the computer device can be connected via a bus or other means, as illustrated in the embodiments of this specification. Figure 4 Taking the example of a connection between China and Israel via a bus.
[0167] The processor (or CPU, Central Processing Unit) is the computing and control core of the computer device. The network interface may optionally include a standard wired interface or a wireless interface (such as Wi-Fi, mobile communication interface, etc.). Memory is the storage device in the computer device used to store programs and data. It is understood that the memory here can be a high-speed RAM storage device or a non-volatile memory device, such as at least one disk storage device; optionally, it can also be at least one storage device located remotely from the aforementioned processor. The memory provides storage space, which stores the operating system of the electronic device, including but not limited to: Windows (an operating system), Linux (an operating system), Android (a mobile operating system), iOS (a mobile operating system), etc., which are not limited in this invention; and the storage space also stores one or more instructions suitable for being loaded and executed by the processor, which can be one or more computer programs (including program code). In the embodiments of this specification, the processor loads and executes one or more instructions stored in the memory to implement the control method of the cooking device provided in the above method embodiments.
[0168] Embodiments of this application also provide a computer-readable storage medium that can be disposed in an electronic device to store at least one instruction or at least one program related to implementing a control method for a cooking device. The at least one instruction or the at least one program is loaded and executed by the processor to implement any of the control methods for a cooking device provided in the above-described method embodiments.
[0169] Optionally, in this embodiment, the storage medium may include, but is not limited to, various media capable of storing program code, such as USB flash drives, read-only memory (ROM), random access memory (RAM), portable hard drives, magnetic disks, or optical disks.
[0170] It should be noted that the order of the embodiments described above is merely for descriptive purposes and does not represent the superiority or inferiority of the embodiments. Furthermore, specific embodiments have been described above. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps described in the claims can be performed in a different order than that shown in the embodiments and still achieve the desired result. Additionally, the processes depicted in the drawings do not necessarily require a specific or sequential order to achieve the desired result. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
[0171] The various embodiments in this specification are described in a progressive manner. Similar or identical parts between embodiments can be referred to mutually. Each embodiment focuses on describing the differences from other embodiments. In particular, the apparatus embodiments are basically similar to the method embodiments, so the description is relatively simple; relevant parts can be referred to the descriptions of the method embodiments.
[0172] Those skilled in the art will understand that all or part of the steps of the above embodiments can be implemented by hardware or by a program instructing related hardware. The program can be stored in a computer-readable storage medium, such as a read-only memory, a disk, or an optical disk.
[0173] The above are merely preferred embodiments of this application and are not intended to limit this application. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the protection scope of this application.
Claims
1. A method for controlling a cooking device, characterized in that, The cooking device includes a heating element and a convection fan corresponding to the heating element. The convection fan includes a drive motor, and the convection fan is used to generate convection under the drive of the drive motor when the heating element is in operation. The method includes: When the heating element is in operation, the current rotational speed of the drive motor is obtained; If the current speed exceeds the normal speed range corresponding to the drive motor, determine the current deviation of the current speed from the normal speed range; The target deviation duration corresponding to the current deviation degree is determined based on a preset deviation variable relationship; the preset deviation variable relationship indicates that the degree of deviation of the drive motor speed relative to the normal speed range is negatively correlated with the deviation duration; If the duration of the current deviation is less than the target deviation duration, the current rotational speed is updated to update the current deviation and the target deviation duration corresponding to the updated current deviation, until the duration of the updated current deviation is greater than or equal to the updated target deviation duration, and then a first target state corresponding to the updated current deviation is determined. The operating state of the drive motor is controlled based on the first target state, and the operating state of the heating element is controlled based on a second target state that matches the first target state.
2. The control method for the cooking equipment according to claim 1, characterized in that, Determining the first target state corresponding to the updated current deviation includes: If the updated current deviation is less than a preset deviation threshold, the heating element is controlled to pause operation. Control the drive motor to enter the debugging mode; Determine the duration of the speed deviation event; the speed deviation event indicates that the speed of the drive motor exceeds the normal speed range in the debugging mode; If the duration of the deviation exceeds the deviation statistics duration, the drive motor is controlled to exit the debugging mode; the deviation statistics duration exceeds the updated target deviation duration. The first target state is determined to be the non-working state of the drive motor; The second target state is determined to be the non-operating state of the heating element.
3. The control method for the cooking equipment according to claim 2, characterized in that, The method further includes: In the event of a speed regression event, the drive motor is controlled to exit the debugging mode; the speed regression event indicates that the speed of the drive motor in the debugging mode has returned to the normal speed range. Determine the cumulative frequency of the rotation speed regression event during the current cooking process; If the cumulative occurrence frequency is greater than a preset frequency threshold, the first target state is determined to be the non-working state of the drive motor; The second target state is determined to be the non-operating state of the heating element.
4. The control method for the cooking equipment according to claim 3, characterized in that, The method further includes: If the cumulative occurrence frequency is less than or equal to the preset frequency threshold, the first target state is determined as the current working state of the drive motor. The second target state is determined to be the working state of the heating element before the suspension of operation.
5. The control method for the cooking equipment according to claim 2, characterized in that, The method further includes: If the updated current deviation is greater than or equal to a preset deviation threshold, the first target state is determined to be the non-working state of the drive motor. The second target state is determined to be the non-operating state of the heating element.
6. The control method for the cooking equipment according to claim 1, characterized in that, The drive motor is used to switch the rotation direction periodically when the heating element is in working state, and the period of switching the rotation direction is greater than the target deviation time. Determining the first target state corresponding to the updated current deviation includes: If the updated current deviation is less than a preset deviation threshold, the current direction of the drive motor is determined based on the updated current rotation speed; The drive motor is controlled based on the direction opposite to the current steering to update the current steering; Reacquire the current speed of the drive motor; If the reacquired current rotation speed is within the normal rotation speed range, the first target operating state is determined to be a unidirectional rotation state; the unidirectional rotation state indicates that the drive motor always rotates in the updated current direction.
7. A control device for a cooking appliance, characterized in that, The cooking device includes a heating element and a convection fan corresponding to the heating element. The convection fan includes a drive motor, and the convection fan is used to generate convection under the drive of the drive motor when the heating element is in operation. The device includes: The rotation speed acquisition module is used to acquire the current rotation speed of the drive motor when the heating element is in working state; The deviation module is used to determine the current deviation of the current speed from the normal speed range when the current speed exceeds the normal speed range corresponding to the drive motor. The deviation duration module is used to determine the target deviation duration corresponding to the current deviation degree based on a preset deviation variable relationship; the preset deviation variable relationship indicates that the degree of deviation of the drive motor speed from the normal speed range is negatively correlated with the deviation duration. The state determination module is used to update the current rotational speed when the duration of the current deviation is less than the target deviation duration, so as to update the current deviation and the target deviation duration corresponding to the updated current deviation, until the duration of the updated current deviation is greater than or equal to the updated target deviation duration, and then determine the first target state corresponding to the updated current deviation. The operation control module is used to control the operation state of the drive motor based on the first target state, and to control the operation state of the heating element based on a second target state that matches the first target state.
8. An electronic device, characterized in that, The device includes a processor and a memory, wherein the memory stores at least one instruction or at least one program, the at least one instruction or the at least one program being loaded and executed by the processor to implement the control method of the cooking device as described in any one of claims 1 to 6.
9. A computer-readable storage medium storing at least one instruction or at least one program, said at least one instruction or said at least one program being loaded and executed by a processor to implement the control method of the cooking apparatus as claimed in any one of claims 1 to 6.
10. A computer program, characterized in that, When the computer program is executed by the processor, it implements the control method of the cooking equipment according to any one of claims 1 to 6.