Open / Close Lid Detection Method, Device, Storage Medium and Cooking Appliance

By controlling the magnetic field range with electromagnets using adjustable current flow, the method addresses inaccurate lid detection in cooking devices, ensuring precise and safe lid closure detection.

CN115644683BActive Publication Date: 2025-07-15GREE ELECTRIC APPLIANCE INC OF ZHUHAI
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202211244873.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-10-12
Publication Date
2025-07-15
Estimated Expiration
2042-10-12

AI Technical Summary

Technical Problem

In the prior art, when the magnetic field detection device and magnet are used to detect the opening and closing cover, misjudgment is prone to occur, resulting in safety hazards of cooking appliances such as electric pressure cookers.

Method used

Electromagnets are used to replace traditional magnets, and the magnetic field range is adjusted by controlling the power supply current of the electromagnet, and combined with the signal changes of the magnetic field detection device, the state of opening and closing is accurately judged.

Benefits of technology

Improve the accuracy of the detection of open and closed covers, avoid safety accidents caused by misjudgment, and improve user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115644683B_ABST
    Figure CN115644683B_ABST
Patent Text Reader

Abstract

The present invention provides a method and device for detecting opening and closing of a lid, a storage medium, and a cooking appliance. The method for detecting opening and closing of the lid is applied to a cooking appliance provided with a magnetic field detection device and an electromagnet device, where one of the magnetic field detection device and the electromagnet is disposed on the lid body, and the other is disposed on the body that is openably and closably connected to the lid body. Specifically, it includes: determining the adjustment direction of the supply current of the electromagnet according to the movement direction of the lid body, where the movement direction of the lid body includes an opening direction and a closing direction; when the lid body performs an opening or closing operation, controlling the supply current of the electromagnet to be adjusted according to the adjustment direction of the supply current; and realizing the detection of opening and closing of the lid according to the change state of the detection signal of the magnetic field detection device during the adjustment of the supply current. In the process of opening and closing the lid, the present invention changes the magnetic field of the electromagnet by changing the supply current of the electromagnet, avoiding the problem of misjudgment of opening and closing of the lid caused by the uncontrollable magnetic field generated by the magnet, and making the detection of opening and closing of the lid more accurate.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of household appliances, and particularly to a method and device for detecting opening and closing of a lid, a storage medium, and a cooking appliance. Background Art

[0002] In the prior art, a magnetic field detection device and a magnet are used to determine whether the lid of a device is fully latched onto the body. The magnetic field detection device and the magnet are respectively arranged on the lid and the body. When the lid rotates and latches onto the body, when the magnetic field detection device detects the magnetic field signal of the magnet, it is determined that the lid closing is completed. However, since the magnetic field of the magnet has a relatively large distribution area in space, there will be a detection cross - area for the magnetic field detection device. When the magnetic field detection device is in the magnetic field area of the magnet, it is impossible to accurately judge the true state of the lid. As a result, during the lid - closing operation, although the magnetic field detection device has detected the magnetic field signal, the lid is not fully latched at this time. Or when the lid is already open, since the magnetic field detection device can still detect the magnetic field signal, it cannot accurately judge that the lid is open. When this lid opening and closing detection device is applied to a cooking appliance, especially an electric pressure cooker, dangerous accidents may occur due to misjudgment of the lid opening and closing detection. Summary of the Invention

[0003] The present invention provides a method and device for detecting opening and closing of a lid, a storage medium, and a cooking appliance, so as to solve the problem of easy misjudgment when using a magnetic field detection device and an electromagnet for detecting opening and closing of a lid in the prior art.

[0004] In one aspect of the present invention, a method for detecting opening and closing of a lid is provided. The method is applied to a device provided with a magnetic field detection device and an electromagnet device. One of the magnetic field detection device and the electromagnet is arranged on the lid, and the other is arranged on the body that is openably and closably connected to the lid. The method includes:

[0005] Determine the adjustment direction of the supply current of the electromagnet according to the movement direction of the lid. The movement direction of the lid includes an opening direction and a closing direction;

[0006] When the lid performs an opening or closing operation, control the supply current of the electromagnet to be adjusted according to the adjustment direction of the supply current;

[0007] Realize the detection of opening and closing of the lid according to the change state of the detection signal of the magnetic field detection device during the adjustment of the supply current.

[0008] Further, when the lid performs an opening or closing operation, controlling the supply current of the electromagnet to be adjusted according to the adjustment direction of the supply current includes:

[0009] When the detection signal of the magnetic field detection device jumps, control the cover body to stop the current action;

[0010] Control the supply current of the electromagnet to jump by a preset first current value successively according to the change direction of the supply current.

[0011] Further, the implementation of opening and closing the cover detection according to the change state of the detection signal of the magnetic field detection device during the adjustment of the supply current includes:

[0012] During the process of controlling the supply current to jump, when the detection signal jumps, it is determined that the opening or closing operation has not ended, and the cover body is controlled to continue to execute the current action;

[0013] During the continuous jump of the supply current for the first preset number of times, if the detection signal does not jump, it is determined that the opening or closing operation has ended.

[0014] Further, the method further includes:

[0015] If the detection signal jumps after the supply current jumps to a preset current threshold, control the cover body to continue to execute the current action, and time the action duration of the cover body for this continued execution of the current action;

[0016] If the detection signal jumps before the timing duration reaches a preset first duration threshold, it is determined that the opening or closing operation has ended;

[0017] Otherwise, when the timing duration reaches the preset first duration threshold, it is determined that the opening or closing operation has ended.

[0018] Further, the determination of the adjustment direction of the supply current of the electromagnet according to the movement direction of the cover body includes:

[0019] When the movement direction of the cover body is the closing direction, the adjustment direction of the supply current of the electromagnet is the current decreasing direction;

[0020] When the movement direction of the cover body is the opening direction, the adjustment direction of the supply current of the electromagnet is the current increasing direction.

[0021] Further, the method further includes:

[0022] When the cover closing action ends and the main body continues to work, if the detection signal jumps, an alarm prompt is issued.

[0023] Another aspect of the present invention provides a lid opening and closing detection device, which is applied to a device provided with a magnetic field detection device and an electromagnet. One of the magnetic field detection device and the electromagnet is arranged on the lid body, and the other is arranged on the body that is openably and closably connected to the lid body. The device includes:

[0024] An acquisition module, configured to determine the adjustment direction of the supply current of the electromagnet according to the movement direction of the lid body, where the movement direction of the lid body includes an opening direction and a closing direction;

[0025] A control module, configured to control the supply current of the electromagnet to be adjusted according to the adjustment direction of the supply current when the lid body performs an opening or closing operation;

[0026] A detection module, configured to implement lid opening and closing detection according to the change state of the detection signal of the magnetic field detection device during the adjustment of the supply current.

[0027] Further, the control module includes:

[0028] A first control module, configured to control the lid body to stop the current operation when the detection signal of the magnetic field detection device jumps;

[0029] A second control module, configured to control the supply current of the electromagnet to sequentially jump a preset first current value according to the change direction of the supply current.

[0030] In addition, the present invention also provides a computer-readable storage medium, on which a computer program is stored, and when the program is executed by a processor, the steps of any of the above methods are implemented.

[0031] In addition, the present invention also provides a cooking appliance, which includes a magnetic field detection device and an electromagnet. One of the magnetic field detection device and the electromagnet is arranged on the lid body of the cooking appliance, and the other is arranged on the body of the cooking appliance that is openably and closably connected to the lid body.

[0032] The cooking appliance further includes a memory, a processor, and a computer program stored on the memory and executable on the processor. When the processor executes the program, the steps of the above method are implemented.

[0033] An opening / closing lid detection method, device, storage medium, and cooking appliance provided by an embodiment of the present invention. The method is applied to a device provided with a magnetic field detection device and an electromagnet device, where one of the magnetic field detection device and the electromagnet is disposed on the lid, and the other is disposed on the body that is openably / closably connected to the lid. The method includes: determining an adjustment direction of the supply current of the electromagnet according to the movement direction of the lid, where the movement direction of the lid includes an opening direction and a closing direction; when the lid performs an opening or closing operation, controlling the supply current of the electromagnet to be adjusted according to the adjustment direction of the supply current; and implementing opening / closing lid detection according to the change state of the detection signal of the magnetic field detection device during the adjustment of the supply current. The present invention applies an electromagnet to the opening / closing lid detection method, and changes the magnetic field of the electromagnet by changing the supply current of the electromagnet during the opening / closing of the lid, avoiding the problem of misjudgment of opening / closing the lid caused by the uncontrollable magnetic field generated by the magnet, and making the opening / closing lid detection more accurate.

[0034] The above description is only an overview of the technical solution of the present invention. In order to be able to understand the technical means of the present invention more clearly, it can be implemented according to the content of the specification. And in order to make the above and other objects, features, and advantages of the present invention more obvious and understandable, the following specifically illustrates the specific embodiments of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0035] By reading the detailed description of the preferred embodiments below, various other advantages and benefits will become clear to those of ordinary skill in the art. The drawings are only for the purpose of showing the preferred embodiments and are not considered to be a limitation of the present invention. And throughout the drawings, the same reference numerals are used to represent the same components. In the drawings:

[0036] Figure 1 is a flowchart of an opening / closing lid detection method provided by an embodiment of the present invention;

[0037] Figure 2 is a structural schematic diagram of an opening / closing lid detection device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0038] Hereinafter, the exemplary embodiments of the present disclosure will be described in more detail with reference to the drawings. Although the exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure can be implemented in various forms and should not be limited by the embodiments set forth herein. On the contrary, these embodiments are provided so that the present disclosure can be more thoroughly understood and the scope of the present disclosure can be fully conveyed to those skilled in the art.

[0039] Those skilled in the art can understand that, unless otherwise defined, all terms used herein (including technical terms and scientific terms) have the same meaning as the general understanding of those of ordinary skill in the art to which the present invention belongs. It should also be understood that terms such as those defined in a general dictionary should be understood to have a meaning consistent with their meaning in the context of the prior art, and will not be interpreted in an idealized or overly formal sense unless specifically defined.

[0040] The opening and closing detection method of the embodiment of the present invention is applied to a device provided with a magnetic field detection device and an electromagnet. The embodiment of the present invention replaces the traditional magnet with an electromagnet, wherein one of the magnetic field detection device and the electromagnet is arranged on the cover body, and the other is arranged on the body that is openably and closably connected to the cover body. When performing a specific opening and closing operation, the cover body rotates on the body. When the magnetic field detection device detects a magnetic field signal, it sends a detection signal to the control device. Specifically, it can be understood that when the magnetic field detection device does not detect a magnetic field signal, it sends a low-level signal (or high-level signal) to the control device, and when the magnetic field detection device detects a magnetic field signal, it sends a high-level signal (or low-level signal) to the control device. Therefore, by the jump of the detection signal of the magnetic field detection device, it can be determined that the magnetic field detection device has detected a change in the magnetic field. The magnetic field detection device of the embodiment of the present invention can be a reed switch.

[0041] Furthermore, during the process of opening or closing the cover, due to the uncontrollable magnetic field range of the traditional magnet and the magnetic field detection device, a judgment crossover area is caused. The embodiment of the present invention replaces the traditional magnet with an electromagnet, and controls the range of the magnetic field by controlling the magnitude of the current supplied to the electromagnet, so as to achieve the purpose of accurately judging the opening and closing of the cover.

[0042] Figure 1 Schematically shows a flowchart of an opening and closing detection method provided by an embodiment of the present invention. From Figure 1 it can be seen that the opening and closing detection method of the embodiment of the present invention includes the following steps:

[0043] S11. Determine the adjustment direction of the supply current of the electromagnet according to the movement direction of the cover body, where the movement direction of the cover body includes an opening direction and a closing direction;

[0044] In the embodiment of the present invention, determining the adjustment direction of the supply current of the electromagnet according to the movement direction of the cover body includes: when the movement direction of the cover body is the closing direction, the adjustment direction of the supply current of the electromagnet is the current decreasing direction; when the movement direction of the cover body is the opening direction, the adjustment direction of the supply current of the electromagnet is the current increasing direction.

[0045] Specifically, during the process of closing the lid, in order to avoid an overly large magnetic field range generated by the electromagnet, it is necessary to gradually reduce the supply current of the electromagnet to narrow the magnetic field range generated by the electromagnet, thereby achieving the purpose of accurately detecting the lid closing. Conversely, during the process of opening the lid, since the relative position between the electromagnet and the magnetic field detection device gradually moves away, at this time, it is necessary to gradually increase the supply current of the electromagnet to increase the magnetic field range generated by the electromagnet, in order to achieve the purpose of accurately detecting the lid opening, or to make the relative position between the electromagnet and the magnetic field detection device far enough away to facilitate the user to pick up the lid from the main body during subsequent operations.

[0046] S12. When the lid performs an opening or closing operation, control the supply current of the electromagnet to be adjusted according to the adjustment direction of the supply current.

[0047] In an embodiment of the present invention, when the lid performs an opening or closing operation, controlling the supply current of the electromagnet to be adjusted according to the change direction of the supply current specifically means that when the detection signal of the magnetic field detection device undergoes a jump, control the lid to stop the current operation; control the supply current of the electromagnet to jump successively by a preset first current value according to the change direction of the supply current.

[0048] It can be understood that in an embodiment of the present invention, when the lid performs a closing operation, controlling the supply current of the electromagnet to jump successively by a preset first current value according to the change direction of the supply current specifically means controlling the supply current of the electromagnet to gradually decrease by the preset first current value. When the lid performs an opening operation, controlling the supply current of the electromagnet to jump successively by a preset first current value according to the change direction of the supply current specifically means controlling the supply current of the electromagnet to gradually increase by the preset first current value.

[0049] S13. Implement the opening and closing lid detection according to the change state of the detection signal of the magnetic field detection device during the adjustment of the supply current.

[0050] In an embodiment of the present invention, implementing the opening and closing lid detection according to the change state of the detection signal of the magnetic field detection device during the adjustment of the supply current includes: during the process of controlling the supply current to jump, when the detection signal undergoes a jump, determine that the opening or closing operation has not ended, and control the lid to continue the current operation; during the continuous jump of the supply current for a first preset number of times, if the detection signal does not undergo a jump, then determine that the opening or closing operation has ended.

[0051] It can be understood that the control logic of the embodiment of the present invention is that when the cover body performs the specific actions of opening or closing the cover, that is, when the cover body is in motion, the detection signal of the magnetic field detection device jumps, then it can be preliminarily determined that the current opening or closing operation of the cover body meets the condition of pre-ending (at this time, it is not judged that the opening or closing operation is ended), and at this time, the cover body is controlled to stop performing the specific actions of opening or closing the cover. In addition, it should be noted that only when the cover body stops moving, the supply current of the electromagnet is controlled to jump. And after each control of the supply current of the electromagnet jumps, as long as the detection signal of the magnetic field detection device is detected to jump at this time, it can be determined that the current opening or closing operation of the cover body does not meet the end condition, and the cover body needs to be controlled to continue performing the specific actions of opening or closing the cover. Specifically, it can be understood that when the detection signal of the magnetic field detection device jumps during the continuous movement of the cover body, it is determined that the opening or closing operation meets the pre-ending condition; when the detection signal of the magnetic field detection device jumps during the stop movement of the cover body, it is determined that the opening or closing operation is not ended, and the cover body needs to be controlled to continue performing the established actions that need to be performed.

[0052] In addition, the first preset number of times in the embodiment of the present invention is a number greater than or equal to 1, and the value of the preset number of times is set according to the accuracy of the magnetic field detection device and the accuracy of the control requirements. The embodiment of the present invention does not make specific limitations.

[0053] Furthermore, in order to prevent the supply current of the electromagnet from decreasing or increasing without limit, the embodiment of the present invention also sets a current threshold for the electromagnet. The current threshold of the electromagnet includes a first current value in the closing direction and a second current value in the opening direction, where the first current value is less than the second current value, and the supply current of the electromagnet jumps within the range of the first current value and the second current value.

[0054] In addition, considering that after the supply current of the electromagnet reaches the preset current threshold, affected by the surrounding environment, the generated magnetic field is too small or too large, which has a certain impact on the judgment. The opening and closing detection method of the embodiment of the present invention further includes: if the detection signal jumps again after the supply current jumps to the preset current threshold, the method further includes: if the detection signal jumps after the supply current jumps to the preset current threshold, then control the cover body to continue performing the current action, and time the action duration of the cover body continuing to perform the current action this time; if the detection signal jumps before the timing duration reaches the preset first duration threshold, it is judged that the opening or closing operation is ended; otherwise, when the timing duration reaches the preset first duration threshold, it is judged that the opening or closing operation is ended.

[0055] Specifically, when performing the lid-closing operation, when the supply current of the electromagnet jumps to the first current value, if affected by the surrounding environment at this time, the magnetic field generated by the electromagnet is weakened, and the magnetic field detection device cannot detect the magnetic field signal at this time. Therefore, to avoid this situation, the embodiment of the present invention further includes: controlling the lid to continue performing the lid-closing action, and timing the action duration of this continued lid-closing action. When the magnetic field detection device undergoes a jump, it is determined that the lid-closing operation is over. However, considering the influence of the too small magnetic field caused by the environmental impact on the judgment, when the action duration timing of this continued lid-closing action reaches the preset first duration threshold, even if the magnetic field detection device does not jump again, it is also determined that the lid-closing operation is over.

[0056] Further, when performing the lid-opening operation, when the supply current of the electromagnet jumps to the second current value, if affected by the surrounding environment at this time, the magnetic field generated by the electromagnet is enhanced, and the magnetic field detection device can still detect the magnetic field signal at this time. Therefore, to avoid this situation, the embodiment of the present invention further includes: controlling the lid to continue performing the lid-opening action, and timing the action duration of this continued lid-opening action. When the magnetic field detection device undergoes a jump, it is determined that the lid-opening operation is over. However, considering the influence of the too large magnetic field caused by the environmental impact on the judgment, when the action duration timing of this continued lid-opening action reaches the preset first duration threshold, even if the magnetic field detection device does not jump again, it is also determined that the lid-closing operation is over.

[0057] Further, to avoid accidents during the continuous operation of the main body after the lid-closing operation is over, the embodiment of the present invention further includes that when the lid-closing action of the lid ends and the main body continues to work, when the detection signal undergoes a jump, an alarm prompt is issued.

[0058] For the method embodiments, for simplicity of description, they are all expressed as a series of action combinations. However, those skilled in the art should know that the embodiments of the present invention are not limited by the described action sequences, because according to the embodiments of the present invention, certain steps can be performed in other sequences or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification are all preferred embodiments, and the actions involved are not necessarily essential to the embodiments of the present invention.

[0059] Figure 2 Schematically shows a structural diagram of an opening / closing lid detection device provided by an embodiment of the present invention. The device is applied to a device provided with a magnetic field detection device and an electromagnet device. One of the magnetic field detection device and the electromagnet is arranged on the lid, and the other is arranged on the main body that is openably / closably connected to the lid, as Figure 2 shown, an opening / closing lid detection device according to an embodiment of the present invention includes an acquisition module 201, a control module 202, and a detection module 203, where:

[0060] An acquisition module 201, configured to determine an adjustment direction of a supply current of an electromagnet according to an operation direction of a cover body, where the operation direction of the cover body includes an opening direction and a closing direction;

[0061] A control module 202, configured to control the supply current of the electromagnet to be adjusted according to the adjustment direction of the supply current when the cover body performs an opening or closing operation;

[0062] A detection module 203, configured to implement opening / closing cover detection according to a change state of a detection signal of a magnetic field detection device during the adjustment of the supply current.

[0063] Further, the control module 202 includes a first control module and a second control module:

[0064] The first control module is configured to control the cover body to stop the current operation when the detection signal of the magnetic field detection device undergoes a jump.

[0065] The second control module is configured to control the supply current of the electromagnet to sequentially jump by a preset first current value according to the change direction of the supply current.

[0066] Further, the detection module 203 is specifically configured to, during the process of controlling the jump of the supply current, when the detection signal undergoes a jump, determine that the opening or closing operation has not ended.

[0067] The first control module is configured to, when the detection module 203 determines that the opening or closing operation has not ended, control the cover body to continue to perform the current operation;

[0068] The detection module 203 is further configured to, during the continuous jump of the supply current for a first preset number of times, if the detection signal does not undergo a jump, determine that the opening or closing operation has ended.

[0069] Further, the opening / closing cover detection device according to an embodiment of the present invention further includes a timing module.

[0070] If the detection signal undergoes a jump after the supply current jumps to a preset current threshold.

[0071] The first control module is further configured to control the cover body to continue to perform the current operation.

[0072] The timing module is configured to time the operation duration of the cover body for continuing to perform the current operation this time.

[0073] The detection module 203 is further configured to, if the detection signal undergoes a jump before the timing duration reaches a preset first duration threshold, determine that the opening or closing operation has ended.

[0074] Otherwise, the detection module 203 is further configured to determine that the opening or closing operation of the cover is ended when the timing duration reaches a preset first duration threshold.

[0075] Further, the second control module is specifically configured to, when the movement direction of the cover is the closing direction, the adjustment direction of the supply current of the electromagnet is the current decreasing direction;

[0076] The second control module is further configured to, when the movement direction of the cover is the opening direction, the adjustment direction of the supply current of the electromagnet is the current increasing direction.

[0077] Further, the opening / closing detection device according to an embodiment of the present invention further includes an alarm module, configured to, when the closing operation of the cover is ended and the body continues to work, when the detection signal jumps, issue an alarm prompt.

[0078] For the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple. For the relevant parts, refer to the partial description of the method embodiment.

[0079] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separated. The components shown as units may or may not be physical units, that is, they may be located in one place, or may be 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 labor.

[0080] An opening / closing detection method and device provided by an embodiment of the present invention. The method is applied to a device provided with a magnetic field detection device and an electromagnet device. One of the magnetic field detection device and the electromagnet is arranged on the cover, and the other is arranged on the body that is openably and closably connected to the cover. The method includes: determining the adjustment direction of the supply current of the electromagnet according to the movement direction of the cover, where the movement direction of the cover includes an opening direction and a closing direction; when the cover performs an opening or closing operation, controlling the supply current of the electromagnet to be adjusted according to the adjustment direction of the supply current; and realizing opening / closing detection according to the change state of the detection signal of the magnetic field detection device during the adjustment of the supply current. The present invention applies an electromagnet to the opening / closing detection method, and changes the magnetic field of the electromagnet by changing the supply current of the electromagnet during the opening and closing of the cover, avoiding the problem of misjudgment of opening and closing caused by the uncontrollable magnetic field generated by the magnet, and making the opening / closing detection more accurate.

[0081] In addition, an embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, and when the program is executed by a processor, the steps of the method described in any of the above embodiments are implemented.

[0082] In this embodiment, if the module / unit integrated in the above-mentioned lid opening / closing detection device or gateway system is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on such an understanding, to implement all or part of the processes in the above-mentioned embodiment methods of the present invention, it can also be completed by instructing relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium. When the computer program is executed by a processor, the steps of the above-mentioned various method embodiments can be implemented. Among them, the computer program includes computer program code, and the computer program code can be in the form of source code, object code, executable file, or some intermediate form, etc. The computer-readable medium can include: any entity or device capable of carrying the computer program code, recording medium, USB flash drive, mobile hard disk, magnetic disk, optical disc, computer memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electrical carrier signal, telecommunication signal, and software distribution medium, etc. It should be noted that the content included in the computer-readable medium can be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, the computer-readable medium does not include electrical carrier signals and telecommunication signals.

[0083] In addition, an embodiment of the present invention further provides a cooking appliance, which includes a magnetic field detection device and an electromagnet. One of the magnetic field detection device and the electromagnet is disposed on the lid of the cooking appliance, and the other is disposed on the body of the cooking appliance that is openably / closably connected to the lid.

[0084] When the cooking appliance, especially an electric pressure cooker, applies the above-mentioned lid opening / closing detection system to execute the lid opening / closing detection method of the above-mentioned various embodiments, by changing the supply current of the electromagnet to change the magnetic field of the electromagnet, the problem of misjudgment of lid opening / closing caused by the uncontrollable magnetic field generated by the magnet is avoided, and the occurrence of dangerous accidents caused by the problems such as the lid not being closed or not being judged that the lid has been opened is avoided, improving the user experience.

[0085] The cooking appliance according to the embodiment of the present invention further includes a memory, a processor, and a computer program stored on the memory and executable on the processor. When the processor executes the computer program, the steps in the above-mentioned various lid opening / closing detection method embodiments are implemented, such as Figure 1 the steps shown. Or, when the processor executes the computer program, the functions of the various modules / units in the above-mentioned various lid opening / closing detection device or gateway system embodiments are implemented, such as Figure 2 the acquisition module 201, the control module 202, and the detection module 203 shown.

[0086] Exemplarily, the computer program may be divided into one or more modules / units, and the one or more modules / units are stored in the memory and executed by the processor to implement the present invention. The one or more modules / units may be a series of computer program instruction segments capable of performing specific functions, and the instruction segments are used to describe the execution process of the computer program in the corresponding lid opening / closing detection device or gateway system.

[0087] The system may include, but is not limited to, a processor and a memory. Those skilled in the art can understand that the system does not constitute a limitation to the system, and may include more or fewer components than shown in the figure, or combine certain components, or different components. For example, the system may further include an input / output system, a network access system, a bus, etc.

[0088] The processor may be a central processing unit (CPU), or may also be other general-purpose processors, digital signal processors (DSPs), application specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc. The processor is the control center of the system and connects various parts of the entire system through various interfaces and lines.

[0089] The memory may be used to store the computer program and / or modules. The processor realizes various functions of the system by running or executing the computer program and / or modules stored in the memory, and by calling the data stored in the memory. The memory may mainly include a program storage area and a data storage area. Among them, the program storage area may store an operating system, application programs required for at least one function (such as a sound playback function, an image playback function, etc.); the data storage area may store data created according to the use of the mobile phone (such as audio data, phone book, etc.). In addition, the memory may include high-speed random access memory, and may also include non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, at least one magnetic disk storage device, a flash memory device, or other volatile solid-state storage devices.

[0090] In the embodiments of the present invention, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the division of the units or units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the displayed or discussed coupling or direct coupling or communication connection between each other can be through some interfaces. The indirect coupling or communication connection of the system or unit can be in an electrical or other form.

[0091] Those skilled in the art can understand that although some of the embodiments herein include certain features included in other embodiments rather than other features, the combination of the features of different embodiments means that it is within the scope of the present invention and forms different embodiments. For example, in the above claims, any one of the claimed embodiments can be used in any combination.

[0092] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and are not intended to limit them. Although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that they can still modify the technical solutions recorded in the foregoing embodiments or equivalently replace some of the technical features. And these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. An opening and closing cover detection method, characterized in that, The method is applied to a device provided with a magnetic field detection device and an electromagnet. One of the magnetic field detection device and the electromagnet is arranged on the cover body, and the other is arranged on the body that is detachably connected to the cover body. The method includes: Determining the adjustment direction of the supply current of the electromagnet according to the movement direction of the cover body, where the movement direction of the cover body includes an opening direction and a closing direction; When the cover body performs an opening or closing operation, controlling the supply current of the electromagnet to be adjusted according to the adjustment direction of the supply current; Implementing opening / closing detection based on the change state of the detection signal of the magnetic field detection device during the adjustment of the supply current; The step of, when the cover body performs an opening or closing operation, controlling the supply current of the electromagnet to be adjusted according to the adjustment direction of the supply current includes: When the detection signal of the magnetic field detection device undergoes a jump, controlling the cover body to stop the current operation; Controlling the supply current of the electromagnet to sequentially jump by a preset first current value according to the change direction of the supply current; The step of determining the adjustment direction of the supply current of the electromagnet according to the movement direction of the cover body includes: When the movement direction of the cover body is the closing direction, the adjustment direction of the supply current of the electromagnet is the current decreasing direction; When the movement direction of the cover body is the opening direction, the adjustment direction of the supply current of the electromagnet is the current increasing direction.

2. The method according to claim 1, characterized in that The step of implementing opening / closing detection based on the change state of the detection signal of the magnetic field detection device during the adjustment of the supply current includes: During the process of controlling the supply current to jump, when the detection signal undergoes a jump, determining that the opening or closing operation has not ended, and controlling the cover body to continue the current operation; During the continuous jump of the supply current for a first preset number of times, if the detection signal does not undergo a jump, determining that the opening or closing operation has ended.

3. The method according to claim 2, wherein The method further includes: If the detection signal undergoes a jump after the supply current jumps to a preset current threshold, controlling the cover body to continue the current operation, and timing the operation duration of the cover body for this continued current operation; If the detection signal undergoes a jump before the timing duration reaches a preset first duration threshold, determining that the opening or closing operation has ended; Otherwise, when the timing duration reaches the preset first duration threshold, determining that the opening or closing operation has ended.

4. The method according to claim 1, characterized in that The method further includes: When the cover body closes and the body continues to work, if the detection signal undergoes a jump, an alarm prompt is issued.

5. An opening and closing cover detection device, characterized in that, Using the method according to any one of claims 1-4, the device is applied to a device provided with a magnetic field detection device and an electromagnet. One of the magnetic field detection device and the electromagnet is arranged on the cover body, and the other is arranged on the body that is detachably connected to the cover body. The device includes: An acquisition module, configured to determine the adjustment direction of the supply current of the electromagnet according to the movement direction of the cover body, where the movement direction of the cover body includes an opening direction and a closing direction; A control module, configured to control the supply current of the electromagnet to be adjusted according to the adjustment direction of the supply current when the cover body performs an opening or closing operation. When the movement direction of the cover body is the closing direction, the adjustment direction of the supply current of the electromagnet is the current decreasing direction; when the movement direction of the cover body is the opening direction, the adjustment direction of the supply current of the electromagnet is the current increasing direction. A detection module, configured to implement opening and closing detection according to the change state of the detection signal of the magnetic field detection device during the adjustment of the supply current.

6. The device according to claim 5, characterized in that, The control module includes: A first control module, configured to control the cover body to stop the current operation when the detection signal of the magnetic field detection device jumps. A second control module, configured to control the supply current of the electromagnet to sequentially jump by a preset first current value according to the change direction of the supply current.

7. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the program is executed by a processor, the steps of the method according to any one of claims 1-4 are implemented.

8. A cooking appliance, characterized in that, The cooking appliance includes a magnetic field detection device and an electromagnet. One of the magnetic field detection device and the electromagnet is arranged on the cover body of the cooking appliance, and the other is arranged on the body of the cooking appliance that is openably and closably connected to the cover body. The cooking appliance further includes a memory, a processor, and a computer program stored on the memory and executable on the processor. When the processor executes the program, the steps of the method according to any one of claims 1-4 are implemented.

Citation Information

Patent Citations

  • Electric rice cooker equipment of intelligence is uncapped and is detected control system

    CN205103588U

  • Electric rice cooker

    JP2004173961A