Refrigerator internal light control method and device and refrigerator

By setting up distance measuring sensors on the refrigerator door, we can judge the user's distance and proximity and control the switch of the lighting, solve the problems of air-conditioning escape, bacterial entry and energy consumption when the refrigerator door is opened, and achieve convenient viewing and energy consumption savings .

CN119222936APending Publication Date: 2024-12-31SUZHOU SAMSUNG ELECTRONICS CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310797199.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-06-30
Publication Date
2024-12-31

AI Technical Summary

Technical Problem

The existing refrigerator needs to open the door when users view internal food, which leads to air conditioning escape, bacterial entry and energy consumption, and is inconvenient to operate, and it is easy to misjudgment on the lighting.

Method used

By setting up a distance measuring sensor on the refrigerator door, we can determine whether the user is within a preset distance and control the switch of the internal lighting according to the user's proximity, so as to avoid the need for users to directly open the door to observe the inside of the refrigerator, saving energy consumption.

Benefits of technology

It realizes that the internal food situation can be viewed without opening the refrigerator door, avoiding air conditioning and bacteria entering, improving operational convenience and saving energy consumption in the refrigerator.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119222936A_ABST
    Figure CN119222936A_ABST
Patent Text Reader

Abstract

The invention discloses a control method and device for light in a refrigerator and the refrigerator, and relates to the field of light control, whether a user is within a preset distance in front of a cabinet door of the refrigerator is judged, and when the user is not within the preset distance, a lighting lamp in the refrigerator is controlled to be turned off; whether the user is approaching the refrigerator door or not is judged within the preset distance, and if the user is approaching the refrigerator door, an illuminating lamp in the refrigerator is controlled to be turned on so that the user can observe the interior of the refrigerator through a transparent window formed in the refrigerator door. According to the refrigerator, the transparent window is arranged, so that a user can observe the condition of food in the refrigerator without opening a refrigerator door when the illuminating lamp is turned on, and the conditions of inconvenient operation, cold air escape and bacteria invasion are avoided; in addition, by judging whether the user is in front of the cabinet door or not and further judging whether the user is approaching the cabinet door or not to control the illuminating lamp, the situation that the illuminating lamp is turned on mistakenly due to the fact that the situation that the user passes by the refrigerator is misjudged can be avoided, and energy consumption of the refrigerator is saved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of lighting control, and in particular to a method and device for controlling lighting inside a refrigerator and a refrigerator. Background Art

[0002] For refrigerators currently on the market, when users want to check the storage and integrity of food inside the refrigerator, they need to open the refrigerator door before checking. In order to allow users to clearly observe the inside of the refrigerator, the prior art usually sets a light inside the refrigerator. When the refrigerator door is opened, the light turns on, and when the refrigerator door is closed, the light turns off, so as to provide users with lighting inside the refrigerator. This method has the following disadvantages:

[0003] 1. When the refrigerator door is opened, cold air will escape. In order to maintain the internal temperature, the refrigerator will increase the refrigeration power and energy consumption, resulting in poor economic efficiency of the refrigerator.

[0004] 2. When the refrigerator door is opened, bacteria in the outside air will enter the refrigerator, causing an increase in bacteria inside the refrigerator and affecting the quality of food;

[0005] 3. Users need to manually open and close the refrigerator door, which is inconvenient to operate. Summary of the invention

[0006] The purpose of the present invention is to provide a method and device for controlling the light inside a refrigerator, and a refrigerator, so that a user can observe the food inside the refrigerator without opening the refrigerator door, thereby avoiding inconvenient operation, cold air escape and bacterial invasion; it can also avoid the situation where the user is misjudged to be passing by the refrigerator and the lighting is turned on by mistake, thereby saving energy consumption of the refrigerator.

[0007] In order to solve the above technical problems, the present invention provides a method for controlling the light inside a refrigerator, comprising:

[0008] Determining whether the user is within a preset distance in front of the refrigerator door;

[0009] If the user is not within the preset distance, controlling the lighting inside the refrigerator to turn off;

[0010] If the user is within the preset distance, determining whether the user is approaching the cabinet door;

[0011] If the user is approaching the refrigerator door, the lighting inside the refrigerator is controlled to turn on so that the user can observe the interior of the refrigerator through a transparent window arranged on the cabinet door.

[0012] On the one hand, determining whether the user is within a preset distance in front of the refrigerator door includes:

[0013] Acquire a measured distance between the user and the cabinet door collected by a distance measuring sensor disposed on the cabinet door;

[0014] Determining whether the measured distance is less than the preset distance;

[0015] If it is not less than, it is determined that the user is not within the preset distance;

[0016] If it is less than, it is determined that the user is within the preset distance.

[0017] On the one hand, obtaining the measured distance between the user and the cabinet door collected by a distance measuring sensor disposed on the cabinet door includes:

[0018] Acquire a first time difference between a time when the ranging sensor itself emits a ranging laser toward the front of the cabinet door and a time when the reflected laser of the ranging laser is received, which is collected by the ranging sensor;

[0019] The measured distance is determined according to the first time difference and a preset light speed.

[0020] On the one hand, obtaining a first time difference between a time when the ranging sensor itself emits a ranging laser to the front of the cabinet door and a time when the reflected laser of the ranging laser is received, which is collected by the ranging sensor, comprises:

[0021] Acquire a second time difference between the emission moment of the ranging laser emitted by the ranging sensor itself toward the front of the cabinet door and the reception moment of the reflected laser, which is collected by the single photon avalanche diode measurement array of the ranging sensor;

[0022] The second time difference is used as the first time difference.

[0023] On the one hand, determining whether the user is approaching the cabinet door includes:

[0024] When it is determined that the user is within the preset distance, start recording the user's stay time;

[0025] When it is determined that the user is not within the preset distance, stop recording the stay time and reset the stay time to zero;

[0026] When it is detected that the stay time is longer than the preset time, it is determined that the user is approaching the cabinet door.

[0027] On the one hand, controlling the lighting inside the refrigerator to turn on includes:

[0028] The brightness of the lighting lamp is controlled to increase to a preset brightness at a preset rate.

[0029] On the one hand, after controlling the lighting inside the refrigerator to turn on, the method further includes:

[0030] Determining whether the user is leaving the cabinet door;

[0031] If so, the lighting inside the refrigerator is controlled to be turned off.

[0032] The present application also provides a control device for lighting inside a refrigerator, comprising:

[0033] Memory for storing computer programs;

[0034] A processor is used to implement the steps of the method for controlling the light inside the refrigerator as described above when executing the computer program.

[0035] The present application also provides a refrigerator, comprising a refrigerator body and a transparent window, and also comprising a control device for the light inside the refrigerator as described above;

[0036] The control device for the light inside the refrigerator is connected to the refrigerator body;

[0037] The transparent window is arranged on the cabinet door of the refrigerator body.

[0038] On the one hand, it also includes distance measuring sensors;

[0039] The distance measuring sensor is arranged on the cabinet door of the refrigerator body;

[0040] The distance measuring sensor is connected to the control device of the light inside the refrigerator.

[0041] The beneficial effect of the present application is that a method, device and refrigerator for controlling the light inside a refrigerator are provided. By judging whether the user is within a preset distance in front of the cabinet door of the refrigerator, if not within the preset distance, the lighting inside the refrigerator is controlled to be turned off; if within the preset distance, it is further judged whether the user is approaching the cabinet door, and when it is judged that the user is approaching the refrigerator door, the lighting inside the refrigerator is controlled to be turned on, so that the user can observe the inside of the refrigerator through a transparent window set on the cabinet door. By setting a transparent window, the food inside the refrigerator can be observed without the user opening the refrigerator door when the lighting is turned on, avoiding inconvenient operation, cold air escape and bacterial invasion; in addition, by judging whether the user is within a certain distance in front of the cabinet door, and further judging whether the user is approaching the cabinet door, it is possible to avoid misjudging the situation of the user passing by the refrigerator and mistakenly turning on the lighting, saving energy consumption of the refrigerator. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the prior art and the drawings required for use in the embodiments are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0043] Figure 1 A flowchart of a method for controlling the internal lighting of a refrigerator provided in this application;

[0044] Figure 2 A schematic diagram of a user approaching a refrigerator door provided in the present application;

[0045] Figure 3 A flowchart of another method for controlling the internal lighting of a refrigerator provided in the present application;

[0046] Figure 4 A schematic diagram of the structure of a control device for the internal lighting of a refrigerator provided in the present application;

[0047] Figure 5 A schematic diagram of the structure of a refrigerator provided in this application;

[0048] Figure 6 A schematic diagram of the structure of a transparent window provided in this application;

[0049] Figure 7 A schematic diagram of the structure of a distance measuring sensor provided in this application. DETAILED DESCRIPTION

[0050] The core of the present invention is to provide a method, device and refrigerator for controlling the light inside a refrigerator, so that the user can observe the food inside the refrigerator without opening the refrigerator door, avoiding inconvenient operation, cold air escape and bacterial invasion; it can also avoid the situation where the user is passing by the refrigerator and mistakenly turning on the lighting, thereby saving energy consumption of the refrigerator.

[0051] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0052] For ordinary refrigerators currently on the market, when users want to check the food inside the refrigerator, they need to open the refrigerator door to check. This is not only inconvenient, but also causes cold air to escape, increasing the energy consumption of the refrigerator, and external bacteria to invade the interior of the refrigerator and affect the quality of food.

[0053] In the prior art, a transparent window is usually installed on the refrigerator door, and a touch panel for controlling the refrigerator is set on the door. The user can control the lighting inside the refrigerator to turn on by operating on the touch panel, so that the user can observe the food inside the refrigerator through the transparent window. Although this method can also avoid the above-mentioned problems of cold air escape and bacteria invasion, this method requires the user to operate on the touch panel, which not only does not solve the problem of requiring user operation, but also the sensitivity of the touch panel will decrease with the increase of usage time, making it difficult to respond to user operations.

[0054] To solve the above technical problems, please refer to Figure 1 , Figure 1 A flowchart of a method for controlling the internal lighting of a refrigerator provided in this application includes:

[0055] S1: Determine whether the user is within a preset distance in front of the refrigerator door;

[0056] S2: If the user is not within the preset distance, the lighting inside the refrigerator is controlled to be turned off;

[0057] S3: If the user is within the preset distance, determine whether the user is approaching the cabinet door;

[0058] S4: If the user is approaching the refrigerator door, the lighting inside the refrigerator is controlled to turn on so that the user can observe the interior of the refrigerator through a transparent window arranged on the cabinet door.

[0059] The present application also provides a transparent window on the cabinet door of the refrigerator so that the user can observe the food inside the refrigerator through the transparent window. The size and thickness of the transparent window need to be determined according to the refrigeration capacity of the refrigerator, the thermal conductivity of the transparent window, the transparency of the transparent window, and the size of the refrigerator cabinet door. The following two points need to be ensured: the thickness and size of the transparent window will not affect the temperature inside the refrigerator, and avoid that a too thin or too large transparent window brings additional heat to the refrigerator due to heat conduction, causing the refrigerator to require a higher refrigeration power; the thickness of the transparent window cannot be too thick, and the size cannot be too small. The user needs to clearly observe the food inside the refrigerator through the transparent window.

[0060] When actually controlling the light inside the refrigerator, it continuously detects whether there is a user within a certain distance in front of the refrigerator door. If a user is detected within this distance, in order to avoid mistakenly thinking that the user passing by is approaching the refrigerator, the light inside the refrigerator will not be turned on directly when the user is detected within this distance. Instead, it will further determine whether the user is approaching the refrigerator. If the user is approaching, it can be determined that the user is not passing by the refrigerator but approaching the refrigerator. At this time, the light inside the refrigerator can be controlled to turn on. When the light is turned on, the user can observe the food inside the refrigerator through the transparent window.

[0061] For details, please refer to Figure 2 , Figure 2 A schematic diagram of a user approaching a refrigerator door provided for the present application, when detecting whether there is a user within a certain distance in front of the refrigerator door, a device can be set in front of the refrigerator (such as a door or a refrigerator top, etc.), and the detection is performed by the device, and the device can be a sensor or a camera. When the device is a camera, it can be judged by image recognition. First, it is judged whether there are human features of the user in the image collected in front of the refrigerator door. If so, it is judged whether the user's face direction in the image is toward the refrigerator door. If so, it can be determined that the user is approaching the refrigerator, and the lighting inside the refrigerator can be controlled to turn on. When the device is a sensor, it can be determined by emitting lasers or sound waves in front of the refrigerator door, and the distance between the nearest object in front of the door and the sensor can be determined by using the reflected light waves or sound waves. If the distance is less than the preset distance, it means that there is a user in front of the door. Further, it can be judged whether the user is approaching the door according to whether the detected distance is gradually reduced, or it can be judged according to whether the detected distance is continuously less than the preset distance. It can be simply and accurately judged whether the user is approaching the refrigerator. (For the preset distance, in actual applications, in order to leave operating space for the user to open the refrigerator door, there are usually no other objects within a certain distance in front of the refrigerator door. Therefore, this distance in actual applications can be used as the preset distance.) Similarly, when the camera detects that there are no human features of the user in front of the refrigerator door, or the sensor detects that the distance between the nearest object in front of the door and the sensor is greater than the preset distance, it means that there is no user in front of the refrigerator door or the user has left. At this time, the light inside the refrigerator is controlled to be turned off.

[0062] In summary, by judging whether the user is within a preset distance in front of the door of the refrigerator, if not, the light inside the refrigerator is controlled to be turned off; if within the preset distance, it is further judged whether the user is approaching the door, and when it is judged that the user is approaching the door, the light inside the refrigerator is controlled to be turned on, so that the user can observe the inside of the refrigerator through the transparent window set on the door. By setting a transparent window, the food inside the refrigerator can be observed without the user opening the door when the light is turned on, avoiding inconvenient operation, cold air escape, and bacterial invasion; in addition, by judging whether the user is within a certain distance in front of the door, and further judging whether the user is approaching the door, it is possible to avoid misjudging the user passing by the refrigerator and mistakenly turning on the light, saving energy consumption of the refrigerator.

[0063] Based on the above embodiments:

[0064] In some embodiments, determining whether the user is within a preset distance in front of a door of the refrigerator includes:

[0065] Obtaining the measured distance between the user and the cabinet door collected by a distance measuring sensor disposed on the cabinet door;

[0066] Determine whether the measured distance is less than the preset distance;

[0067] If it is not less than, it is determined that the user is not within the preset distance;

[0068] If it is less than, it is determined that the user is within the preset distance.

[0069] In order to simply determine whether the distance between the user and the cabinet door is within the preset distance, in the present application, a distance sensor is also provided on the cabinet door of the refrigerator, and a distance sensor is continuously transmitted to the front of the refrigerator cabinet door through the distance sensor, and the distance between the object in front of the refrigerator cabinet door and the sensor is determined according to the distance returned. It can be understood that in actual applications, except for the user himself, other objects usually do not move frequently; and in order to facilitate the user to open the refrigerator cabinet door, there is usually a distance in front of the refrigerator cabinet door that is an open space; therefore, when the user is not in front of the refrigerator cabinet door, the distance measured by the distance sensor is usually greater than the distance of the above-mentioned open space (because at this time the distance sensor will detect the distance between other furniture or walls far from the refrigerator and the refrigerator cabinet door), and the distance can be used as the preset distance. If the distance sensor detects that the distance between the object in front of the refrigerator cabinet door and the sensor is less than the preset distance, it means that the object in front of the refrigerator cabinet door is the user, and then it can be determined that the user is within the preset distance. Based on this, it can be simply determined whether the distance between the user and the cabinet door is within the preset distance.

[0070] In some embodiments, obtaining the measured distance between the user and the cabinet door collected by a distance measuring sensor disposed on the cabinet door includes:

[0071] Obtaining the time difference between the emission time of the ranging laser emitted by the ranging sensor itself toward the front of the cabinet door and the reception time of the reflected laser of the ranging laser collected by the ranging sensor;

[0072] The measured distance is determined based on the time difference and the preset light speed.

[0073] In order to accurately determine the measured distance between the user and the refrigerator door, in the present application, a ToF (Time of Flight) sensor can be used as a distance measuring sensor for distance measurement. The ToF sensor directly uses pulse modulation to measure the distance. Specifically, the laser transmitter in the ToF sensor emits a distance measuring laser pulse to the front of the refrigerator door. The laser pulse will be reflected back after contacting the object. The laser receiver in the ToF sensor receives the reflected laser pulse. Based on the time difference between the emission time and the reception time of the laser pulse, multiply by the speed of light and divide by 2, the distance between the ToF sensor and the object contacted by the laser pulse can be obtained, that is, the measured distance between the refrigerator door and the object in front of the refrigerator door can be obtained. In combination with other embodiments, please refer to Figure 3 , Figure 3 A flowchart of another method for controlling the lights inside a refrigerator provided for this application: when the user is not in front of the refrigerator door, the measured distance is greater than the distance S, that is, the round-trip flight time of the ranging laser is greater than the preset time difference △t, the lights inside the refrigerator are turned off; when the user approaches the refrigerator, the measured distance is ≤ the preset distance S, that is, the round-trip flight time of the ranging laser is ≤ the preset time difference △t, if the time t when the measured distance ≤ the distance S is continuously detected to be greater than the preset time length t1, that is, when the user is detected to stay in front of the refrigerator door for longer than the preset time length, the lights inside the refrigerator are turned on; when the user leaves the refrigerator, the measured distance is greater than the preset distance S, and the round-trip flight time of the laser is greater than the preset time difference △t, the lights inside the refrigerator are turned off. In addition, if the user just passes by the refrigerator, that is, the measured distance is ≤ the preset distance S but the stay time t is ≤ the preset time length t1, the lights inside the refrigerator remain turned off.

[0074] Compared with other ranging sensors, such as infrared sensors, the measurement accuracy of ToF sensors is not affected by temperature, humidity and air pressure, and can be used in a wider range of environments.

[0075] In some embodiments, obtaining a first time difference between a time instant at which the ranging sensor itself emits a ranging laser toward the front of the cabinet door and a time instant at which a reflected laser of the ranging laser is received, collected by the ranging sensor, includes:

[0076] Obtaining a second time difference between the emission moment of the ranging laser emitted by the ranging sensor itself toward the front of the cabinet door and the reception moment of the reflected laser, which is collected by the single photon avalanche diode measurement array of the ranging sensor;

[0077] The second time difference is taken as the first time difference.

[0078] In order to accurately determine the time difference between the emission time and the reception time, in this application, it is considered that the distance measurement principle of the ToF sensor is to emit laser light to the outside, and the distance measurement is determined based on the time difference between the emission time of the same laser and the reception time of the reflected laser light. For the ranging laser, the ranging laser is a beam of light composed of a large number of photons. In an ideal situation, when all these photons are regarded as a whole, the measurement range can be determined based on the time difference between the emission time and the reception time; however, in actual situations, due to the scattering and diffuse reflection of the ranging laser, the time when each photon in this beam of ranging laser returns to the ToF sensor is different. Obviously, the result of calculating the distance based on the photon that returns to the ToF sensor first and the result of calculating the distance based on the photon that returns to the ToF sensor last are obviously different, making it difficult to determine the true distance between the refrigerator door and the user.

[0079] Therefore, using the SPADs (Single Photon Avalanche Diodes) array in the ToF sensor, when the ToF sensor emits a ranging laser, each single photon avalanche diode receives one reflected photon at the same time. When the entire ranging laser beam dissipates, during the time from the emission to the dissipation of the ranging laser, it is determined how many single photon avalanche diodes received the reflected photons at each moment, and the moment when the single photon avalanche diodes that received the most photons are taken as the actual receiving moment, so as to calculate the second time difference as the first time difference between the emission moment and the receiving moment of the ranging laser. Based on this, the time difference between the emission moment and the receiving moment can be accurately determined.

[0080] In some embodiments, determining whether the user is approaching the cabinet door includes:

[0081] When it is determined that the user is within the preset distance, the user's stay time is recorded;

[0082] When it is determined that the user is not within the preset distance, stop recording the stay time and reset the stay time to zero;

[0083] When it is detected that the stay time is longer than the preset time, it is determined that the user is approaching the cabinet door.

[0084] In order to reduce the amount of calculation, in this application, when judging whether the user is approaching the door, it is considered that in actual applications, other objects except the user himself will not usually move frequently; and in order to facilitate the user to open the refrigerator door, these other objects that do not move frequently are usually not placed in front of the refrigerator door, that is, only the user himself will move frequently and have the possibility of staying in front of the refrigerator door for a long time. Based on this, when it is detected that there is an object within a preset distance in front of the refrigerator door, it is only necessary to further detect whether the object stays in this preset distance in front of the refrigerator door for a long time. If so, it means that the object staying in front of the refrigerator door is the user. At this time, it can be determined that the user is approaching the refrigerator door and the lighting inside the refrigerator is turned on; otherwise, it may be that the user is just passing by the refrigerator and is not approaching the refrigerator door. At this time, the lighting inside the refrigerator will not be turned on. The selection of the preset duration is determined based on the user's moving speed. Specifically, the time taken by the user to pass by the refrigerator door at a normal moving speed is calculated. That is, based on the premise that the user passes by the refrigerator door, the time difference between the first time the user is determined to be within the preset distance in front of the refrigerator door and the last time the user is within the preset distance in front of the refrigerator door is calculated, and the time difference is used as the minimum value of the preset duration. Based on this, the amount of calculation can be reduced.

[0085] In some embodiments, controlling a light inside the refrigerator to turn on includes:

[0086] Control the brightness of the lighting to increase to the preset brightness at a preset rate.

[0087] In order to improve the user experience, in this application, when the lighting lamp is turned on, the brightness of the lighting lamp is gradually increased to the preset brightness rather than directly reaching the preset brightness. Specifically, it can be achieved by gradually increasing the power supply current of the lighting lamp from low to high, or by gradually shortening the flashing frequency of the lighting lamp from long to short, and this application does not limit this. By gradually turning on the lighting lamp, compared to directly turning on the lighting lamp, the discomfort caused by sudden changes in light (especially at night) to the user's vision can be avoided, thereby improving the user experience.

[0088] In some embodiments, after controlling the lighting inside the refrigerator to turn on, the method further includes:

[0089] Determine whether the user is leaving the cabinet door;

[0090] If so, the light inside the refrigerator is controlled to be turned off.

[0091] In order to save energy consumption of the refrigerator, in this application, the lighting inside the refrigerator should be turned off in time after the user leaves the refrigerator. Specifically, the lighting can be controlled to be turned off once the distance between the user and the refrigerator door is greater than a preset distance. Alternatively, the distance between the user and the refrigerator door can be continuously detected. When it is found that the distance between the two is still within the preset distance but is getting farther and farther, the lighting can also be controlled to be turned off, thereby avoiding turning on the lighting when the user does not need to observe the internal situation of the refrigerator. Based on this, the energy consumption of the refrigerator can be saved.

[0092] Please refer to Figure 4 , Figure 4 A schematic diagram of a control device for lighting inside a refrigerator provided in this application includes:

[0093] A memory 21, used for storing computer programs;

[0094] The processor 22 is used to implement the steps of the method for controlling the light inside the refrigerator as described above when executing the computer program.

[0095] For a detailed introduction to a control device for the internal lighting of a refrigerator provided in the present application, please refer to the embodiment of the control method for the internal lighting of a refrigerator described above, and the present application will not go into details here.

[0096] Please refer to Figure 5 , Figure 5 A schematic diagram of the structure of a refrigerator provided in the present application includes a refrigerator body 31 and a transparent window 32, and also includes a control device 33 for the light inside the refrigerator as described above;

[0097] The control device 33 of the light inside the refrigerator is connected to the refrigerator body 31;

[0098] The transparent window 32 is disposed on the door of the refrigerator body 31 .

[0099] For a detailed introduction to a refrigerator provided in the present application, please refer to the embodiment of the control method for internal control of the refrigerator described above, and the present application will not go into details here.

[0100] Based on the above embodiments:

[0101] In some embodiments, a distance measuring sensor 34 is also included;

[0102] The distance measuring sensor 34 is arranged on the cabinet door of the refrigerator body 31;

[0103] The distance measuring sensor 34 is connected to the control device 33 of the light inside the refrigerator.

[0104] In order to save space, in the present application, the distance measuring sensor 34 is also arranged on the cabinet door, and specifically can be arranged below the transparent window 32. Figure 6, Figure 6 This is a schematic diagram of the structure of a transparent window provided by the present application. The transparent window 32 is composed of an inner liner 321, a hollow glass 322, an overall frame 323 and an exterior glass 324. The distance sensor 34 is installed below the overall frame 323 of the transparent window 31, such as the lower left part, for easy disassembly, detection and maintenance. For the specific structure of the distance sensor 34, please refer to Figure 7 , Figure 7 The present invention provides a structural schematic diagram of a distance measuring sensor, which is mainly composed of an upper cover 341, a PCB control board 342, a transparent protective cover 343, a lower cover 344, and a distance measuring sensor body 345. The distance measuring sensor body 345 is integrated on the PCB control board 342, and the PCB control board 342 is fixed to the transparent protective cover 343 and the lower cover 344 by buckles to form a subassembly, which is then mounted on the upper cover 341 by buckles to form the entire distance measuring sensor 34.

[0105] In this specification, each embodiment is described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the embodiments can be referred to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part.

[0106] Professionals may further appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in the above description according to function. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians may use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.

[0107] The steps of the method or algorithm described in conjunction with the embodiments disclosed herein may be implemented directly using hardware, a software module executed by a processor, or a combination of the two. The software module may be placed in a random access memory (RAM), a memory, a read-only memory (ROM), an electrically programmable ROM, an electrically erasable programmable ROM, a register, a hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.

Claims

1. A method for controlling the lighting inside a refrigerator, characterized in that: include: Determining whether the user is within a preset distance in front of the refrigerator door; If the user is not within the preset distance, controlling the lighting inside the refrigerator to turn off; If the user is within the preset distance, determining whether the user is approaching the cabinet door; If the user is approaching the refrigerator door, the lighting inside the refrigerator is controlled to turn on so that the user can observe the interior of the refrigerator through a transparent window arranged on the cabinet door.

2. The method for controlling the light inside the refrigerator according to claim 1, characterized in that: Determining whether the user is within a preset distance in front of the refrigerator door includes: Acquire a measured distance between the user and the cabinet door collected by a distance measuring sensor disposed on the cabinet door; Determining whether the measured distance is less than the preset distance; If not, it is determined that the user is not within the preset distance; If it is less than, it is determined that the user is within the preset distance.

3. The method for controlling the light inside the refrigerator according to claim 2, characterized in that: Acquiring a measured distance between the user and the cabinet door collected by a distance measuring sensor disposed on the cabinet door, comprising: Acquire a first time difference between a time when the ranging sensor itself emits a ranging laser toward the front of the cabinet door and a time when the reflected laser of the ranging laser is received, which is collected by the ranging sensor; The measured distance is determined according to the first time difference and a preset light speed.

4. The method for controlling the light inside the refrigerator according to claim 3, characterized in that: Acquiring a first time difference between a time instant at which the ranging sensor itself emits a ranging laser toward the front of the cabinet door and a time instant at which a reflected laser of the ranging laser is received, which is collected by the ranging sensor, comprises: Acquire a second time difference between the emission moment of the ranging laser emitted by the ranging sensor itself toward the front of the cabinet door and the reception moment of the reflected laser, which is collected by the single photon avalanche diode measurement array of the ranging sensor; The second time difference is used as the first time difference.

5. The method for controlling the light inside the refrigerator according to claim 1, characterized in that: Determining whether the user is approaching the cabinet door includes: When it is determined that the user is within the preset distance, start recording the user's stay time; When it is determined that the user is not within the preset distance, stop recording the stay time and reset the stay time to zero; When it is detected that the stay time is longer than the preset time, it is determined that the user is approaching the cabinet door.

6. The method for controlling the light inside the refrigerator according to claim 1, characterized in that: Controlling the lighting inside the refrigerator to turn on, comprising: The brightness of the lighting lamp is controlled to increase to a preset brightness at a preset rate.

7. The method for controlling the interior lighting of a refrigerator according to any one of claims 1 to 6, characterized in that: After controlling the lighting inside the refrigerator to turn on, the method further includes: Determining whether the user is leaving the cabinet door; If so, the lighting inside the refrigerator is controlled to be turned off.

8. A control device for the light inside a refrigerator, characterized in that: include: Memory for storing computer programs; A processor is used to implement the steps of the method for controlling the light inside the refrigerator as described in any one of claims 1 to 7 when executing the computer program.

9. A refrigerator, characterized in that: It comprises a refrigerator body and a transparent window, and also comprises the control device for the light inside the refrigerator as claimed in claim 8; The control device for the light inside the refrigerator is connected to the refrigerator body; The transparent window is arranged on the cabinet door of the refrigerator body.

10. The refrigerator according to claim 9, characterized in that: Also included is a distance measuring sensor; The distance measuring sensor is arranged on the cabinet door of the refrigerator body; The distance measuring sensor is connected to the control device of the light inside the refrigerator.