Refrigerator and door opening alarm control method thereof
By setting the first switch and the second switch in the refrigerator, and using the microcontroller to detect the opening and closing status and duration to control the alarm module, the problem of power loss and food deterioration caused by the refrigerator door not being closed is solved, and a low-cost door-opening alarm is realized. function, improving the efficiency and user experience of the refrigerator.
Patent Information
- Application Number
- CN202310217749.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-03-08
- Publication Date
- 2024-10-25
- Estimated Expiration
- 2043-03-08
AI Technical Summary
Existing refrigerators lack a door reminder function, causing users to forget to close the door, causing power loss and food deterioration. Furthermore, mechanical refrigerators that implement this function require modification of most of the circuits, which is costly and is not conducive to production and promotion.
A first switch and a second switch are arranged in the storage room of the refrigerator. The alarm module is controlled to send out an alarm signal according to the opening and closing status and duration of the revolving door. The microcontroller is connected to the switch and the alarm module to realize the door-opening alarm function without the need for Change alarm related circuits.
It realizes a low-cost door opening alarm function, reduces production costs, improves the efficiency and user experience of the refrigerator, and avoids power loss and food deterioration.
Smart Images

Figure CN116067072B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of intelligent electrical appliances, and in particular to a refrigerator and a door opening alarm control method thereof. Background Art
[0002] With the development of economy and the improvement of people's living standard, refrigerators have become an indispensable household appliance in people's daily life. Refrigerators mainly reduce the temperature of food itself and delay the deterioration of food, so as to achieve the effect of long-term storage.
[0003] During use, if the door body and the cabinet body are not properly attracted, it is easy for the door to not be closed tightly, which will cause the refrigerator to consume more power and the stored food to deteriorate easily.
[0004] Existing mechanical refrigerators rarely have a door closing reminder function, which causes users to forget to close the door when using the refrigerator, resulting in power loss and even food spoilage, affecting normal use by users. Some mechanical refrigerators with a door closing reminder function are also relatively complex to implement this function, requiring most of the circuits to be changed, which is costly and not conducive to production and promotion. Summary of the invention
[0005] The main purpose of the embodiments of the present application is to propose a refrigerator and a door opening alarm control method thereof, which aims to provide a first switch and a second switch in the storage room, wherein the opening and closing states of the first switch and the second switch are related to the opening degree of the revolving door body, and to make corresponding alarms according to the detected opening and closing states of the first switch and the second switch and the duration of the opening and closing states, without changing the alarm-related circuits, with low cost and conducive to production promotion.
[0006] To achieve the above-mentioned purpose, a first aspect of an embodiment of the present application provides a refrigerator, comprising: a revolving door body;
[0007] A storage room and a first switch and a second switch arranged in the storage room, wherein the opening and closing states of the first switch and the second switch are related to the opening degree of the revolving door body:
[0008] When the revolving door body is closed, both the first switch and the second switch are closed;
[0009] When the opening of the revolving door body exceeds 0 degrees but does not exceed a first preset opening, the first switch is disconnected;
[0010] When the opening of the revolving door body exceeds the first preset opening, the first switch and the second switch are both disconnected;
[0011] An alarm module, used for issuing a door opening alarm signal;
[0012] A microcontroller is connected to the first switch, the second switch and the alarm module, and is used to detect the opening and closing states of the first switch and the second switch and the duration of the opening and closing states, and control the alarm module to issue a corresponding alarm according to the opening and closing states and the duration of the opening and closing states.
[0013] In some embodiments, the refrigerator further comprises:
[0014] A magnet is arranged in the revolving door body;
[0015] A first distance between the first switch and the magnet is smaller than a second distance between the second switch and the magnet.
[0016] In some embodiments, the refrigerator further comprises:
[0017] A magnet is arranged in the revolving door body;
[0018] The distance between the first switch and the magnet is equal to the distance between the second switch and the magnet, and the contact breaking value of the first switch is smaller than the contact breaking value of the second switch.
[0019] In some embodiments, the refrigerator further comprises:
[0020] A first magnet and a second magnet are arranged in the revolving door body;
[0021] The magnetic field strength of the first magnet is greater than the magnetic field strength of the second magnet;
[0022] The first magnet acts on the first switch, and the second magnet acts on the second switch.
[0023] In some embodiments, the alarm module includes a lighting lamp driving circuit and a buzzer driving circuit;
[0024] The lighting lamp driving circuit is used to perform at least one of the following operations:
[0025] According to a first control signal sent by the microcontroller, driving the lighting lamp to display at a first brightness;
[0026] Alternatively, according to a second control signal sent by the microcontroller, the lighting lamp is driven to display at a second brightness;
[0027] Alternatively, according to a third control signal sent by the microcontroller, the lighting lamp is controlled to be turned off;
[0028] The buzzer driving circuit is used to perform at least one of the following operations:
[0029] According to the first alarm signal sent by the microcontroller, a buzzer is driven to issue a first alarm mode reminder;
[0030] Alternatively, according to the second alarm signal sent by the microcontroller, the buzzer is driven to issue a second alarm mode reminder.
[0031] In some embodiments, the first brightness is less than or equal to the second brightness.
[0032] In some embodiments, the microcontroller is specifically configured to perform the following operations:
[0033] When a first state is detected, the first control signal is sent to the illuminating lamp driving circuit to control the illuminating lamp to display at the first brightness, wherein the first state is a state in which the first switch is disconnected and the second switch is closed;
[0034] Accumulating the first duration of the first state,
[0035] When the first duration exceeds a first preset duration, the first control signal is continuously sent to the illuminating lamp driving circuit to control the illuminating lamp to continuously display at the first brightness, and the first alarm signal is sent to the buzzer driving circuit to control the buzzer to issue the first alarm mode reminder;
[0036] When a second state is detected, sending the second control signal to the illuminating lamp driving circuit to control the illuminating lamp to display at the second brightness, wherein the second state is a state in which both the first switch and the second switch are disconnected;
[0037] Accumulating a second duration of the second state;
[0038] When the second duration exceeds the second preset duration, the third control signal is sent to the lighting lamp driving circuit to control the lighting lamp to turn off, and the second alarm signal is sent to the buzzer driving circuit to control the buzzer to issue the second alarm mode reminder.
[0039] In some embodiments, the first preset time length is less than or equal to the second preset time length, the first alarm mode reminder includes sending an alarm signal a preset number of times at each preset time length interval, and the second alarm mode reminder includes continuously sending an alarm signal.
[0040] In some embodiments, the first switch and the second switch are reed switches or Hall switches.
[0041] To achieve the above-mentioned purpose, a second aspect of an embodiment of the present application provides a refrigerator door opening alarm control method, wherein:
[0042] The refrigerator comprises:
[0043] Revolving door body;
[0044] A storage room and a first switch and a second switch arranged in the storage room, wherein the opening and closing states of the first switch and the second switch are related to the opening degree of the revolving door body:
[0045] When the revolving door body is closed, both the first switch and the second switch are closed;
[0046] When the opening of the revolving door body exceeds 0 degrees but does not exceed a first preset opening, the first switch is disconnected;
[0047] When the opening of the revolving door body exceeds the first preset opening, the first switch and the second switch are both disconnected;
[0048] An alarm module, used for issuing a door opening alarm signal;
[0049] The alarm control method comprises:
[0050] Detecting the opening and closing states of the first switch and the second switch and the duration of the opening and closing states;
[0051] The alarm module is controlled to issue a corresponding alarm according to the opening and closing state and the duration of the opening and closing state.
[0052] The present application proposes a refrigerator and a door opening alarm control method thereof, the refrigerator comprising: a revolving door body; a storage chamber and a first switch and a second switch arranged in the storage chamber, the opening and closing states of the first switch and the second switch being related to the opening of the revolving door body: when the revolving door body is closed, the first switch and the second switch are both closed; when the opening of the revolving door body exceeds 0 degrees but does not exceed a first preset opening, the first switch is disconnected; when the opening of the revolving door body exceeds the first preset opening, the first switch and the second switch are both disconnected; an alarm module for issuing a door opening alarm signal; a microcontroller connected to the first switch, the second switch and the alarm module, for detecting the opening and closing states of the first switch and the second switch and the duration of the opening and closing states, and controlling the alarm module to issue a corresponding alarm according to the opening and closing states and the duration of the opening and closing states. The present application can trigger the contact disconnection action of the first switch or the second switch following the opening and closing of the revolving door body by arranging the first switch and the second switch in the storage chamber, so that the opening of the revolving door body can be determined according to the opening and closing states of the first switch and the second switch and a corresponding alarm reminder can be issued, without changing the alarm-related circuit, the cost is low, and it is conducive to production promotion. BRIEF DESCRIPTION OF THE DRAWINGS
[0053] Figure 1 This is a schematic diagram of a structure of a refrigerator provided in an embodiment of the present application;
[0054] Figure 2 is another structural schematic diagram of a refrigerator provided in an embodiment of the present application;
[0055] Figure 3 is another structural schematic diagram of a refrigerator provided in an embodiment of the present application;
[0056] Figure 4 is another structural schematic diagram of a refrigerator provided in an embodiment of the present application;
[0057] Figure 5 is another structural schematic diagram of a refrigerator provided in an embodiment of the present application;
[0058] Figure 6 is another structural schematic diagram of a refrigerator provided in an embodiment of the present application;
[0059] Figure 7 is a door opening alarm control circuit diagram provided in an embodiment of the present application;
[0060] Figure 8 is a flow chart of a refrigerator door opening alarm control method provided by an embodiment of the present application;
[0061] Fig. 9 This is another flow chart of the refrigerator door opening alarm control method provided in an embodiment of the present application. DETAILED DESCRIPTION
[0062] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0063] It should be noted that, although the functional modules are divided in the device schematic diagram and the logical order is shown in the flowchart, in some cases, the steps shown or described may be performed in a different order than the module division in the device or the order in the flowchart. The terms "first", "second", etc. in the specification, claims and the above drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence.
[0064] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used herein are only for the purpose of describing the embodiments of this application and are not intended to limit this application.
[0065] The refrigerator is one of the commonly used household appliances and is generally used frequently, which leads to a high frequency of opening and closing of the refrigerator door.
[0066] Most refrigerators have a refrigerator on top and a freezer on the bottom. When closing the door, even if you don't have your hands free, the freezer door is easy to close (for example, use your legs or feet or other body parts to close it). When taking out a lot of food from the refrigerator, you will use both hands. When you don't have your hands free to close the refrigerator door, you will use the food in your hands or your elbows to push the door. The force used is very small, and the door cannot be closed properly, which is easy to leak. This causes cold air to leak. In areas with high humidity or during the rainy season, it is easy to freeze and cause energy loss. If the door is not completely closed and the door light is on, the user will make up for it and close the door, but when the door light is off and the gap is small, the user will not easily notice it, resulting in a long period of cold leakage, causing losses to the user.
[0067] Existing mechanical refrigerators rarely have a door closing reminder function, which causes users to forget to close the door when using the refrigerator, resulting in power loss and even food spoilage, affecting normal use by users. Some mechanical refrigerators with a door closing reminder function are also relatively complex to implement this function, requiring most of the circuits to be changed, which is costly and not conducive to production and promotion.
[0068] Based on this, an embodiment of the present application proposes a refrigerator and a door opening alarm control method thereof, which aims to set a magnet on the rotating door body of the refrigerator and a first switch and a second switch in the storage chamber. Based on the magnetic control principle, a corresponding alarm can be issued according to the detected opening and closing states of the first switch and the second switch and the duration of the opening and closing states. There is no need to change the alarm-related circuits, the cost is low, and it is conducive to production and promotion.
[0069] Reference Figure 1 , Figure 1 Schematic diagram of a refrigerator provided in an embodiment of the present application. Figure 1 As shown, the refrigerator 100 includes:
[0070] A revolving door body 110 and a magnet 111 disposed on the revolving door body 110;
[0071] The storage room 120 and the first switch 121 and the second switch 122 disposed in the storage room 120, the first distance between the first switch 121 and the magnet 111 is smaller than the second distance between the second switch 122 and the magnet 111, and the opening and closing states of the first switch 121 and the second switch 122 are related to the opening degree of the revolving door body 110:
[0072] When the revolving door body 110 is closed, the first switch 121 and the second switch 122 are both closed;
[0073] When the opening of the revolving door body 110 exceeds 0 degrees but does not exceed the first preset opening, the first switch 121 is disconnected under the action of the magnet 111;
[0074] When the opening of the revolving door body 110 exceeds a first preset opening, the first switch 121 and the second switch 122 are both disconnected under the action of the magnet 111;
[0075] An alarm module 130, for issuing a door opening alarm signal;
[0076] The microcontroller 140 is connected to the first switch 121, the second switch 122 and the alarm module 140, and is used to detect the opening and closing states of the first switch 121 and the second switch 122 and the duration of the opening and closing states, and control the alarm module 140 to alarm according to the opening and closing states and the duration of the opening and closing states.
[0077] In the embodiment of the present application, a magnet is arranged on the revolving door body, a first switch and a second switch are arranged in the storage room, and the first distance between the first switch and the magnet is arranged to be smaller than the second distance between the second switch and the magnet. That is, when the revolving door body is opened to a certain opening, the distance between the magnet and the first switch can trigger the contact disconnection action of the first switch, but cannot trigger the contact disconnection action of the second switch. Thus, when the revolving door body is closed, the first switch and the second switch are both closed. When the opening of the revolving door body exceeds 0 degrees but does not exceed the first preset opening, the first switch is disconnected under the action of the magnet. When the opening of the revolving door body exceeds the first preset opening, the first switch and the second switch are both disconnected under the action of the magnet. In this way, when the microcontroller detects that the first switch and the second switch are both in a closed state, it means that the revolving door body is closed. When the microcontroller detects that the first switch is disconnected and the second switch is closed, it means that the revolving door body is in an open state, and its opening degree is between 0 degrees and the first preset opening. When the microcontroller detects that the first switch and the second switch are both in an open state, it means that the revolving door body is in an open state, and its opening degree is between 0 degrees and the first preset opening. When the microcontroller detects that the first switch and the second switch are both in an open state, it means that the revolving door body is in an open state, and its opening degree exceeds the first preset opening. Furthermore, the alarm module can be controlled to send out a corresponding alarm signal according to the detected opening and closing states of the first switch and the second switch and the duration of the corresponding opening and closing states.
[0078] In the embodiment of the present application, a microcontroller is connected to the first switch, the second switch and the alarm module, so that only the opening and closing states of the first switch and the second switch and their duration need to be detected by the microcontroller, and then the microcontroller sends a corresponding control signal to the alarm circuit according to the detection result, so as to complete the alarm reminder without changing the alarm-related circuits, which is low-cost and conducive to production promotion.
[0079] In some embodiments, reference Figure 2 , Figure 2 is another structural schematic diagram of a refrigerator provided in an embodiment of the present application. Figure 2 As shown, the refrigerator 200 includes:
[0080] A revolving door body 210 and a first magnet 211 and a second magnet 212 disposed on the revolving door body 210, wherein the magnetic field strength of the first magnet 211 is greater than the magnetic field strength of the second magnet 212;
[0081] The storage room 220 and the first switch 221 and the second switch 222 disposed in the storage room 220, the first magnet 211 acts on the first switch 221, the second magnet 212 acts on the second switch 222, and the opening and closing states of the first switch 221 and the second switch 222 are related to the opening degree of the revolving door body 210:
[0082] When the revolving door body 210 is closed, the first switch 221 and the second switch 222 are both closed;
[0083] When the opening of the revolving door body 210 exceeds 0 degrees but does not exceed the first preset opening, the first switch 221 is disconnected under the action of the first magnet 211;
[0084] When the opening of the rotating door body 210 exceeds a first preset opening, the first switch 221 is disconnected under the action of the first magnet 211, and the second switch 222 is disconnected under the action of the second magnet 212;
[0085] An alarm module 230 is used to send a door opening alarm signal;
[0086] The microcontroller 240 is connected to the first switch 221, the second switch 222 and the alarm module 230, and is used to detect the opening and closing states of the first switch 221 and the second switch 222 and the duration of the opening and closing states, and control the alarm module 230 to alarm according to the opening and closing states and the duration of the opening and closing states.
[0087] In the embodiment of the present application, a first switch and a second switch are arranged in the storage room by setting a first magnet and a second magnet on the revolving door body, wherein the magnetic field strength of the first magnet is greater than the magnetic field strength of the second magnet, the first magnet acts on the first switch, and the second magnet acts on the second switch. Thus, when the revolving door body is closed, the first switch and the second switch are both closed. When the opening of the revolving door body exceeds 0 degrees, but does not exceed the first preset opening, since the magnetic field strength of the first magnet is greater than the magnetic field strength of the second magnet, the first switch is disconnected under the action of the first magnet, and the second switch cannot trigger the switch contact action, so the second switch continues to remain in a closed state. When the opening of the revolving door body exceeds the first preset opening, the first switch is disconnected under the action of the first magnet, and the second switch is disconnected under the action of the second magnet. In this way, the microcontroller can also control the alarm module to send a corresponding alarm signal according to the detected opening and closing states of the first switch and the second switch and the duration of the corresponding opening and closing states.
[0088] In the embodiment of the present application, by setting the first magnet and the second magnet on the revolving door body, and setting the magnetic field strength of the first magnet to be greater than the magnetic field strength of the second magnet, the first magnet acts on the first switch, and the second magnet acts on the second switch. Similarly, the contact disconnection action of the first switch or the second switch can be triggered following the opening and closing of the revolving door body, so that the alarm module can be controlled to send a corresponding alarm signal according to the detected opening and closing state of the first switch and the second switch and the duration of the corresponding opening and closing state. Similarly, detection and control are all completed based on a microcontroller, so there is no need to change the alarm-related circuit, the cost is low, and it is conducive to production and promotion.
[0089] In some embodiments, reference Figure 3 , Figure 3 is another structural schematic diagram of a refrigerator provided in an embodiment of the present application. Figure 3 As shown, the refrigerator 300 includes:
[0090] A revolving door body 310 and a magnet 311 disposed on the revolving door body 310;
[0091] The storage room 320 and the first switch 321 and the second switch 322 arranged in the storage room 320, the distance between the first switch 321 and the magnet 311 is equal to the distance between the second switch 322 and the magnet 311, the contact disconnection value of the first switch 321 is less than the contact disconnection value of the second switch 322, and the opening and closing states of the first switch 321 and the second switch 322 are related to the opening degree of the revolving door body:
[0092] When the revolving door body 310 is closed, the first switch 321 and the second switch 322 are both closed;
[0093] When the opening of the revolving door body 310 exceeds 0 degrees but does not exceed the first preset opening, the first switch 321 is disconnected under the action of the magnet 311;
[0094] When the opening of the rotating door body 310 exceeds the first preset opening, the first switch 321 and the second switch 322 are disconnected under the action of the magnet 311;
[0095] An alarm module 330 is used to send a door opening alarm signal;
[0096] The microcontroller 340 is connected to the first switch 321, the second switch 322 and the alarm module 330, and is used to detect the opening and closing states of the first switch 321 and the second switch 322 and the duration of the opening and closing states, and control the alarm module 330 to alarm according to the opening and closing states and the duration of the opening and closing states.
[0097] In the embodiment of the present application, a magnet is arranged on the revolving door body, and a first switch and a second switch are arranged in the storage room, wherein the distance between the first switch and the magnet is set equal to the distance between the second switch and the magnet, and the contact disconnection value of the first switch is less than the contact disconnection value of the second switch. That is, when the distance between the magnet and the first switch and the second switch is equal, since the contact disconnection value of the first switch is less than the contact disconnection value of the second switch, when the distance between the magnet and the first switch and the second switch reaches a certain distance, the contact disconnection action of the first switch can be triggered, but the contact disconnection action of the second switch cannot be triggered. Thus, when the revolving door body is closed, the first switch and the second switch are both closed. When the opening of the revolving door body exceeds 0 degrees, but does not exceed the first preset opening, the first switch is disconnected under the action of the magnet, and the second switch cannot trigger the switch contact action, so the second switch continues to remain in a closed state. When the opening of the revolving door body exceeds the first preset opening, the first switch and the second switch are both disconnected under the action of the magnet. In this way, the microcontroller can also control the alarm module to send a corresponding alarm signal according to the detected opening and closing states of the first switch and the second switch and the duration of the corresponding opening and closing states.
[0098] In the embodiment of the present application, a magnet is arranged in the revolving door body, a first switch and a second switch are arranged in the storage room, and the distance between the first switch and the magnet is set equal to the distance between the second switch and the magnet, and the contact disconnection value of the first switch is less than the contact disconnection value of the second switch. Similarly, the contact disconnection action of the first switch or the second switch can be triggered following the opening and closing of the revolving door body, so that the alarm module can be controlled to send a corresponding alarm signal according to the detected opening and closing state of the first switch and the second switch and the duration of the corresponding opening and closing state. Similarly, detection and control are all completed based on a microcontroller, so there is no need to change the alarm-related circuits, the cost is low, and it is conducive to production and promotion.
[0099] It should be noted that Figure 1-Figure 3 The switch action logic of the first switch and the second switch in the embodiment can also be opposite. That is, when the revolving door body is closed, the first switch and the second switch are both disconnected. When the opening of the revolving door body exceeds 0 degrees but does not exceed the first preset opening, the first switch is closed under the action of the magnet. When the opening of the revolving door body exceeds the first preset opening, the first switch and the second switch are both closed under the action of the magnet.
[0100] Understandably, Figure 1-Figure 3 It only shows the hardware structure of the refrigerator that needs to participate in the alarm control logic. In addition, the refrigerator also includes other hardware, such as a cold storage room, a refrigeration circuit, a temperature control circuit, etc. The embodiments of the present application do not limit the specific components of the refrigerator and the specific morphological features, relative positional relationships, and connection methods between the components.
[0101] Reference Figure 4 , Figure 4 is another structural schematic diagram of a refrigerator provided in an embodiment of the present application. Figure 4 As shown, the alarm module 130 includes a lighting lamp driving circuit 131 and a buzzer driving circuit 132. The lighting lamp driving circuit 131 and the buzzer driving circuit 132 are both connected to the microcontroller 140. Figure 5 , Figure 5 is another structural schematic diagram of a refrigerator provided in an embodiment of the present application. Figure 5 As shown, the alarm module 230 includes a lighting lamp driving circuit 231 and a buzzer driving circuit 232. The lighting lamp driving circuit 231 and the buzzer driving circuit 232 are both connected to the microcontroller 240. Figure 6 , Figure 6 is another structural schematic diagram of a refrigerator provided in an embodiment of the present application. Figure 6 As shown, the alarm module 330 includes a lighting lamp driving circuit 331 and a buzzer driving circuit 332. The lighting lamp driving circuit 331 and the buzzer driving circuit 332 are both connected to the microcontroller 340.
[0102] In the embodiment of the present application, the lighting lamp driving circuit is used to perform at least one of the following operations:
[0103] According to a first control signal sent by the microcontroller, driving the lighting lamp to display at a first brightness;
[0104] Alternatively, according to a second control signal sent by the microcontroller, the lighting lamp is driven to display at a second brightness;
[0105] Alternatively, according to a third control signal sent by the microcontroller, the lighting lamp is controlled to be turned off;
[0106] The buzzer driver circuit is used to perform at least one of the following operations:
[0107] According to the first alarm signal sent by the microcontroller, the buzzer is driven to issue a first alarm mode reminder;
[0108] Alternatively, according to the second alarm signal sent by the microcontroller, the buzzer is driven to issue a second alarm mode reminder;
[0109] The first brightness is less than or equal to the second brightness.
[0110] In the embodiment of the present application, the lighting lamp driving circuit can adjust the brightness of the lighting lamp according to different control signals sent by the microcontroller. It can save power consumption as much as possible while realizing the refrigerator door opening alarm reminder function. Similarly, the buzzer driving circuit can control the buzzer to issue different modes of alarm reminders according to different alarm signals sent by the microcontroller, which can realize the refrigerator door opening alarm reminder function and distinguish the alarm status, so that the refrigerator door opening status can be grasped according to the different modes of alarm reminders sent by the buzzer.
[0111] exist Figure 4-Figure 6 In the refrigerator structure shown, the microcontroller is specifically used to perform the following operations:
[0112] When a first state is detected, a first control signal is sent to the lighting lamp driving circuit to control the lighting lamp to display at a first brightness, wherein the first state is a state in which the first switch is disconnected and the second switch is closed;
[0113] The first duration of the first state is accumulated.
[0114] When the first duration exceeds the first preset duration, a first control signal is continuously sent to the illuminating lamp driving circuit to control the illuminating lamp to continuously display at the first brightness, and a first alarm signal is sent to the buzzer driving circuit to control the buzzer to issue a first alarm mode reminder;
[0115] When the second state is detected, a second control signal is sent to the lighting lamp driving circuit to control the lighting lamp to display at a second brightness, wherein the second state is a state in which both the first switch and the second switch are disconnected;
[0116] Accumulate the second duration of the second state;
[0117] When the second duration exceeds the second preset duration, a third control signal is sent to the lighting lamp driving circuit to control the lighting lamp to turn off, and a second alarm signal is sent to the buzzer driving circuit to control the buzzer to issue a second alarm mode reminder;
[0118] Among them, the first preset time length is equal to or less than the second preset time length, the first alarm mode reminder includes sending a preset number of alarm signals at each preset time length interval, and the second alarm mode reminder includes continuously sending an alarm signal.
[0119] In the embodiment of the present application, since the microcontroller is connected to the first switch and the second switch, the microcontroller can detect the open and closed states of the first switch and the second switch. Since the microcontroller is connected to the lighting lamp driving circuit and the buzzer driving circuit, the microcontroller can control the lighting lamp driving circuit and the buzzer driving circuit to perform corresponding alarm processing according to the detection result.
[0120] Specifically, the microcontroller can detect the following three results:
[0121] (1) Both the first switch and the second switch are in the closed state. At this time, it means that the revolving door is closed and no alarm processing is required.
[0122] (2) The first switch is in the open state, and the second switch is in the closed state. At this time, it means that the opening of the revolving door body is between 0 degrees and the first preset opening, that is, the revolving door body is open, but the opening angle is not large, or it can be understood that the revolving door body is not closed properly and a gap is left due to insufficient force when the user closes the revolving door body. At this time, the microcontroller can detect the first state, that is, the first switch is in the open state and the second switch is in the closed state. At this time, the microcontroller will send a first control signal to the lighting lamp driving circuit to control the lighting lamp to display at the first brightness and start to accumulate the first duration of the first state. During the accumulation of the first duration, the lighting lamp will continue to display at the first brightness. When the accumulated first duration exceeds the first preset duration, it means that the revolving door body may not be opened by the user during normal use, but may be due to insufficient force of the user to close the door, resulting in the revolving door body not being closed properly and leaving a gap. At this time, the microcontroller will control the lighting lamp to continue to display at the first brightness, and control the buzzer to send a preset number of alarm signals at intervals of a preset duration. When the revolving door is not closed properly and leaves a gap, on the one hand, the lighting lamp is continuously displayed at the first brightness, that is, the user is reminded by light, which makes it easier to find; on the other hand, an alarm signal is sent out a preset number of times at each preset time interval, that is, the user is reminded by sound, so that when the user cannot see the refrigerator but is near the refrigerator, he can know that there is an abnormality in the refrigerator through the alarm sound. In this process, since it is not easy to detect that the revolving door is not closed properly and leaves a gap, by controlling the lighting lamp to continuously display at the first brightness, it can be ensured that when the user hears the alarm sound, he can determine that the refrigerator alarm is due to the revolving door not being closed properly and leaving a gap by observing the light coming out of the storage room. At the same time, controlling the first brightness to be lower than the normal lighting brightness can save power consumption while playing the alarm reminder role.
[0123] (3) Both the first switch and the second switch are in the off state. This indicates that the opening of the revolving door exceeds the first preset opening, that is, the revolving door is open and the opening angle is large. At this time, the microcontroller can detect the second state, that is, both the first switch and the second switch are in the off state. At this time, the microcontroller will send a second control signal to the lighting lamp driving circuit to control the lighting lamp to display at the second brightness and start to accumulate the second duration of the second state. During the accumulated second duration, the lighting lamp will continue to display at the second brightness. When the accumulated second duration exceeds the second preset duration, it indicates that the user may not have opened the revolving door during normal use, but may have forgotten to close the revolving door. At this time, the microcontroller will control the lighting lamp to turn off and control the buzzer to continuously send out an alarm signal. In this process, since the angle of the revolving door is large, the user will know that the revolving door of the refrigerator is not closed as soon as he sees the refrigerator. Therefore, it is no longer necessary to use light to remind the user that the revolving door is not closed. The lighting lamp can be controlled to turn off to save power consumption. At the same time, by continuously sending out an alarm signal, when the user cannot see the refrigerator but is near the refrigerator, he can know that there is an abnormality in the refrigerator through the continuous alarm sound.
[0124] In the embodiment of the present application, it is considered that during the normal use of the refrigerator, the opening of the revolving door body generally exceeds the first preset opening. That is to say, when the opening of the revolving door body is between 0 degrees and the first preset opening, it can generally be considered that the revolving door body is not closed properly and there is a gap. At this time, the first preset time length can be set to be shorter, that is, the first state lasts for a shorter time before an alarm signal is issued. When the opening of the revolving door body exceeds the first preset opening, considering that the user is likely to use the refrigerator normally, at this time, the second preset time length can be set to be longer, that is, longer than the first preset time length, that is, the second state lasts for a longer time before an alarm signal is issued, which can avoid the continuous issuance of alarm signals during the normal use of the refrigerator by the user and affect the user experience.
[0125] Exemplarily, when the revolving door is open and its opening is at a small angle, the microcontroller detects that the first switch is in an open state and the second switch is in a closed state. At this time, the microcontroller sends a PWM signal to the lighting lamp drive circuit to control the lighting lamp to be dimly displayed. At the same time, the microcontroller accumulates the first duration of the first switch being in an open state and the second switch being in a closed state. When the first duration exceeds 30S, the microcontroller continues to send a PWM signal to the lighting lamp drive circuit, and also sends an alarm signal to the buzzer drive circuit to control the buzzer to emit an alarm sound 5 times every 1 minute. Therefore, when the revolving door is not closed properly and there is a gap, the user can be reminded by light and sound, so that the user can find abnormalities in time.
[0126] When the revolving door is open and its opening is at a large angle, the microcontroller detects that both the first switch and the second switch are in the disconnected state. At this time, the microcontroller sends a PWM signal to the lighting lamp driving circuit to control the lighting lamp to be fully lit. At the same time, the microcontroller accumulates the second duration of the first switch and the second switch being in the disconnected state. When the second duration exceeds 50S, the microcontroller sends another PWM signal to the lighting lamp driving circuit to control the lighting lamp to turn off. At the same time, it also sends an alarm signal to the buzzer driving circuit to control the buzzer to continuously sound an alarm. When the user forgets to close the refrigerator door, the continuous alarm sound can be used to remind the user in time.
[0127] It should be noted that in the embodiment of the present application, the first brightness, the second brightness, the first preset duration, and the second preset duration can all be set and adjusted according to actual conditions. The embodiment of the present application does not specifically limit the first brightness, the second brightness, the first preset duration, and the second preset duration. Similarly, the first preset opening can also be set and adjusted according to actual conditions. The embodiment of the present application does not specifically limit the first preset opening. However, the first preset opening is related to the contact disconnection trigger distance between the magnet and the first switch. That is, to adjust the first preset opening, it is necessary to determine it by adjusting parameters such as the magnetic field strength of the magnet, the distance between the first switch and the magnet, or the contact disconnection value of the first switch.
[0128] Reference Figure 7 , Figure 7 is a door opening alarm control circuit diagram provided in an embodiment of the present application, such as Figure 7 As shown, the microcontroller is connected to the first switch and the second switch, and the microcontroller is also connected to the lighting lamp driving circuit and the buzzer circuit. The door opening alarm control of the refrigerator is executed by the microcontroller.
[0129] Reference Figure 8 , Figure 8 : is a flow chart of a refrigerator door opening alarm control method provided by an embodiment of the present application. The refrigerator includes Figure 1-Figure 3 For any of the structures shown, the alarm control method includes but is not limited to steps S801 to S802.
[0130] Step S801, detecting the on / off state of the first switch and the second switch and the duration of the on / off state;
[0131] Step S802, controlling the alarm module to issue a corresponding alarm according to the opening and closing state and the duration of the opening and closing state.
[0132] The embodiments of this application are based on Figure 1-Figure 3In any of the refrigerator structures shown, the microcontroller is connected to the first switch, the second switch and the alarm module, so that the opening and closing states of the first switch and the second switch can be detected, and the duration of each state can be detected. Then, according to the opening and closing states of the first switch and the second switch and their corresponding durations, the alarm module can be controlled to issue a corresponding alarm.
[0133] Reference Fig. 9 , Fig. 9 is another flow chart of the refrigerator door opening alarm control method provided by the embodiment of the present application. The refrigerator includes Figure 4-Figure 6 For any of the structures shown, the alarm control method includes but is not limited to steps S901 to S906.
[0134] Step S901, when a first state is detected, controlling the lighting lamp driving circuit to display the lighting lamp at a first brightness, the first state being a state where the first switch is disconnected and the second switch is closed;
[0135] Step S902, accumulating the first duration of the first state,
[0136] Step S903, when the first duration exceeds the first preset duration, continuously controlling the lighting lamp driving circuit to display the lighting lamp at the first brightness, and controlling the buzzer driving circuit to issue a first alarm mode reminder;
[0137] Step S904, when the second state is detected, the lighting lamp driving circuit is controlled to display the lighting lamp at a second brightness, and the second state is a state where both the first switch and the second switch are disconnected;
[0138] Step S905, accumulating the second duration of the second state;
[0139] Step S906, when the second duration exceeds the second preset duration, the lighting lamp driving circuit is controlled to turn off the lighting lamp, and the buzzer driving circuit is controlled to issue a second alarm mode reminder.
[0140] In the embodiment of the present application, the alarm module includes a lighting lamp driving circuit and a buzzer driving circuit. Figure 4-Figure 6In any of the refrigerator structures shown, the microcontroller is connected to the first switch, the second switch, the lighting lamp driving circuit and the buzzer driving circuit, so that when the first state is detected, that is, the first switch is disconnected and the second switch is closed, the lighting lamp is first controlled to display at the first brightness, which can ensure that the storage room is illuminated when the user opens the revolving door normally. Then the first duration of the first state is accumulated. When the first duration exceeds the first preset duration, considering that the user may have used the refrigerator but did not close the revolving door properly due to insufficient force and other reasons, at this time, since the revolving door has only a small gap, it is impossible to directly detect that the revolving door is not closed properly. Therefore, it is necessary to control the lighting lamp to continue to display at the first brightness, so that the gap can transmit light, and the user can be reminded by light that the revolving door is not closed properly. At the same time, the buzzer is controlled to send a preset number of alarm signals at intervals of a preset duration to remind the user of the abnormality of the refrigerator in the form of sound. When the second state is detected, that is, it is detected that the first switch and the second switch are both in the disconnected state, at this time, the opening of the revolving door is large, and the lighting lamp is controlled to display at the second brightness, which can illuminate when the user opens the revolving door normally. Then the second duration of the second state is detected. When the second duration exceeds the second preset duration, considering that the user may forget to close the revolving door after using the refrigerator, at this time, due to the large opening of the revolving door, the user can notice at a glance that the revolving door is not closed after seeing the refrigerator. Therefore, it is only necessary to control the buzzer to continuously send out an alarm signal to remind the user in the form of sound.
[0141] The embodiments described in the embodiments of the present application are intended to more clearly illustrate the technical solutions of the embodiments of the present application and do not constitute a limitation on the technical solutions provided in the embodiments of the present application. Those skilled in the art will appreciate that with the evolution of technology and the emergence of new application scenarios, the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems.
[0142] Those skilled in the art will appreciate that the technical solutions shown in the figures do not constitute a limitation on the embodiments of the present application, and may include more or fewer steps than shown in the figures, or a combination of certain steps, or different steps.
[0143] The device embodiments described above are merely illustrative, and the units described as separate components may or may not be physically separated, that is, they may be located in one place or distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0144] Those skilled in the art will appreciate that all or some of the steps in the methods disclosed above, and the functional modules / units in the systems and devices may be implemented as software, firmware, hardware, or a suitable combination thereof.
[0145] The terms "first", "second", "third", "fourth", etc. (if any) in the specification of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0146] It should be understood that in the present application, "at least one (item)" means one or more, and "plurality" means two or more. "And / or" is used to describe the association relationship of associated objects, indicating that three relationships may exist. For example, "A and / or B" can mean: only A exists, only B exists, and A and B exist at the same time, where A and B can be singular or plural. The character " / " generally indicates that the objects associated before and after are in an "or" relationship. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, at least one of a, b or c can mean: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", where a, b, c can be single or multiple.
[0147] The preferred embodiments of the present invention are described above with reference to the accompanying drawings, but the scope of the rights of the present invention is not limited thereto. Any modification, equivalent substitution and improvement made by a person skilled in the art without departing from the scope and essence of the present invention should be within the scope of the rights of the present invention.
Claims
1. A refrigerator, characterized in that: include: Revolving door body; A storage room and a first switch and a second switch arranged in the storage room, wherein the opening and closing states of the first switch and the second switch are related to the opening degree of the revolving door body: When the revolving door body is closed, both the first switch and the second switch are closed; When the opening of the revolving door body exceeds 0 degrees but does not exceed a first preset opening, the first switch is disconnected; When the opening of the revolving door body exceeds the first preset opening, the first switch and the second switch are both disconnected; An alarm module, used for issuing a door opening alarm signal; a microcontroller connected to the first switch, the second switch and the alarm module, and configured to detect the opening and closing states of the first switch and the second switch and the duration of the opening and closing states, and control the alarm module to give a corresponding alarm according to the opening and closing states and the duration of the opening and closing states; The alarm module includes a lighting lamp driving circuit and a buzzer driving circuit; The lighting lamp driving circuit is used to perform at least one of the following operations: According to a first control signal sent by the microcontroller, driving the lighting lamp to display at a first brightness; Alternatively, according to a second control signal sent by the microcontroller, the lighting lamp is driven to display at a second brightness; Alternatively, according to a third control signal sent by the microcontroller, the lighting lamp is controlled to be turned off; The buzzer driving circuit is used to perform at least one of the following operations: According to the first alarm signal sent by the microcontroller, a buzzer is driven to issue a first alarm mode reminder; Alternatively, according to the second alarm signal sent by the microcontroller, the buzzer is driven to issue a second alarm mode reminder; The microcontroller is specifically used to perform the following operations: When a first state is detected, the first control signal is sent to the illuminating lamp driving circuit to control the illuminating lamp to display at the first brightness, wherein the first state is a state in which the first switch is open and the second switch is closed; Accumulating the first duration of the first state, When the first duration exceeds a first preset duration, continuously sending the first control signal to the illuminating lamp driving circuit to control the illuminating lamp to continuously display at the first brightness, and sending the first alarm signal to the buzzer driving circuit to control the buzzer to issue the first alarm mode reminder; When a second state is detected, sending the second control signal to the illuminating lamp driving circuit to control the illuminating lamp to display at the second brightness, wherein the second state is a state in which both the first switch and the second switch are disconnected; Accumulating a second duration of the second state; When the second duration exceeds the second preset duration, the third control signal is sent to the lighting lamp driving circuit to control the lighting lamp to turn off, and the second alarm signal is sent to the buzzer driving circuit to control the buzzer to issue the second alarm mode reminder.
2. The refrigerator according to claim 1, characterized in that: The refrigerator further comprises: A magnet is arranged in the revolving door body; A first distance between the first switch and the magnet is smaller than a second distance between the second switch and the magnet.
3. The refrigerator according to claim 1, characterized in that: The refrigerator further comprises: A magnet is arranged in the revolving door body; The distance between the first switch and the magnet is equal to the distance between the second switch and the magnet, and the contact breaking value of the first switch is smaller than the contact breaking value of the second switch.
4. The refrigerator according to claim 1, characterized in that: The refrigerator further comprises: A first magnet and a second magnet are arranged in the revolving door body; The magnetic field strength of the first magnet is greater than the magnetic field strength of the second magnet; The first magnet acts on the first switch, and the second magnet acts on the second switch.
5. The refrigerator according to claim 1, characterized in that: The first brightness is less than or equal to the second brightness.
6. The refrigerator according to claim 1, characterized in that: The first preset time length is less than or equal to the second preset time length, the first alarm mode reminder includes sending an alarm signal a preset number of times at intervals of a preset time length, and the second alarm mode reminder includes continuously sending an alarm signal.
7. The refrigerator according to any one of claims 1 to 6, characterized in that: The first switch and the second switch are reed switches or Hall switches.
8. A refrigerator door opening alarm control method, characterized in that: The refrigerator comprises: Revolving door body; A storage room and a first switch and a second switch arranged in the storage room, wherein the opening and closing states of the first switch and the second switch are related to the opening degree of the revolving door body: When the revolving door body is closed, both the first switch and the second switch are closed; When the opening of the revolving door body exceeds 0 degrees but does not exceed a first preset opening, the first switch is disconnected; When the opening of the revolving door body exceeds the first preset opening, the first switch and the second switch are both disconnected; An alarm module, used for issuing a door opening alarm signal; The alarm control method comprises: Detecting the opening and closing states of the first switch and the second switch and the duration of the opening and closing states; Controlling the alarm module to give a corresponding alarm according to the opening and closing state and the duration of the opening and closing state; The alarm module includes a lighting lamp driving circuit and a buzzer driving circuit; The lighting lamp driving circuit is used to perform at least one of the following operations: According to a first control signal sent by the microcontroller, driving the lighting lamp to display at a first brightness; Alternatively, according to a second control signal sent by the microcontroller, the lighting lamp is driven to display at a second brightness; Alternatively, according to a third control signal sent by the microcontroller, the lighting lamp is controlled to be turned off; The buzzer driving circuit is used to perform at least one of the following operations: According to the first alarm signal sent by the microcontroller, a buzzer is driven to issue a first alarm mode reminder; Alternatively, according to the second alarm signal sent by the microcontroller, the buzzer is driven to issue a second alarm mode reminder; The microcontroller is specifically used to perform the following operations: When a first state is detected, the first control signal is sent to the illuminating lamp driving circuit to control the illuminating lamp to display at the first brightness, wherein the first state is a state in which the first switch is open and the second switch is closed; Accumulating the first duration of the first state, When the first duration exceeds a first preset duration, continuously sending the first control signal to the illuminating lamp driving circuit to control the illuminating lamp to continuously display at the first brightness, and sending the first alarm signal to the buzzer driving circuit to control the buzzer to issue the first alarm mode reminder; When a second state is detected, sending the second control signal to the illuminating lamp driving circuit to control the illuminating lamp to display at the second brightness, wherein the second state is a state in which both the first switch and the second switch are disconnected; Accumulating a second duration of the second state; When the second duration exceeds the second preset duration, the third control signal is sent to the lighting lamp driving circuit to control the lighting lamp to turn off, and the second alarm signal is sent to the buzzer driving circuit to control the buzzer to issue the second alarm mode reminder.
