Method and device for controlling refrigerator, refrigerator and computer readable storage medium
By combining the temperature values collected by multiple temperature sensors in the refrigerator, accurately judge the sensor status and determine the compressor control plan, the problems of inaccurate control and energy waste caused by relying on a single sensor in the existing refrigerator control method are solved, and the precise control and energy saving effect of the refrigerator is achieved.
Patent Information
- Application Number
- CN202311390043.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-10-25
- Publication Date
- 2025-04-25
AI Technical Summary
The existing refrigerator control method relies on the temperature sensor of the main control board, resulting in inaccurate compressor control and waste of energy.
By combining the temperature values collected by the first temperature sensor and the second temperature sensor, it is accurate to determine whether there is a fault in the first temperature sensor, and the target control plan of the refrigerator compressor is determined based on the actual situation.
Accurate control of the refrigerator is achieved, the inaccurate compressor control problem caused by temperature sensor failure is avoided, and the energy-saving control needs of users are met.
Smart Images

Figure CN119879495A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of refrigerator control, for example, to a method and device for controlling a refrigerator, a refrigerator and a computer-readable storage medium. Background Art
[0002] As people's living standards continue to improve, smart home appliances are gradually entering users' lives. At present, with the increasing popularity of smart refrigerators, smart refrigerators have become an indispensable food preservation tool in people's lives.
[0003] At present, after the refrigerator is started, the start and stop cycle of the compressor is generally determined by the temperature data collected by the temperature sensor in the freezer compartment. Specifically, the refrigerator compressor can be controlled when the temperature collected by the temperature sensor reaches the set start and stop points. However, this control method is highly dependent on the temperature sensor set on the main control board. Once the temperature sensor set on the main control board fails, the refrigerator can only be controlled according to the set compressor start and stop time, which also causes unnecessary energy waste. Therefore, how to control the refrigerator more accurately to meet the user's energy-saving control needs has become a technical problem that needs to be solved urgently.
[0004] It should be noted that the information disclosed in the above background technology section is only used to enhance the understanding of the background of the present application, and therefore may include information that does not constitute the prior art known to ordinary technicians in the field. Summary of the invention
[0005] In order to provide a basic understanding of some aspects of the disclosed embodiments, a brief summary is given below. The summary is not an extensive review, nor is it intended to identify key / critical components or delineate the scope of protection of these embodiments, but rather serves as a prelude to the detailed description that follows.
[0006] The embodiments of the present disclosure provide a method, a device, a refrigerator, and a computer-readable storage medium for controlling a refrigerator, which can more accurately control the refrigerator to meet the energy-saving control needs of the user.
[0007] In some embodiments, the method for controlling a refrigerator includes: determining status information of the first temperature sensor based on temperature values collected by the first temperature sensor and the second temperature sensor respectively; determining a target control scheme for the refrigerator compressor based on the status information of the first temperature sensor; and controlling the refrigerator compressor to execute the target control scheme.
[0008] In some embodiments, the method for controlling a refrigerator includes: when the status information of the first temperature sensor is faulty, determining that the target control scheme of the refrigerator compressor is to control the refrigerator compressor to operate in a special mode; when the status information of the first temperature sensor is normal, determining that the target control scheme of the refrigerator compressor is to control the refrigerator compressor to operate in a normal mode.
[0009] In some embodiments, the method for controlling a refrigerator includes: calculating the difference between the temperature value collected by the first temperature sensor and the temperature value collected by the second temperature sensor when the first temperature sensor and the second temperature sensor meet the compressor start-up conditions; determining the status information of the first temperature sensor based on the difference between the temperature value collected by the first temperature sensor and the temperature value collected by the second temperature sensor.
[0010] In some embodiments, the method for controlling a refrigerator includes: when the difference between the temperature value collected by the first temperature sensor and the temperature value collected by the second temperature sensor is less than a first threshold, determining that the status information of the first temperature sensor is normal; when the difference between the temperature value collected by the first temperature sensor and the temperature value collected by the second temperature sensor is greater than or equal to the first threshold, determining that the status information of the first temperature sensor is faulty.
[0011] In some embodiments, the method for controlling a refrigerator includes: when the first temperature sensor and the second temperature sensor meet the compressor shutdown condition, calculating the difference between the current temperature value collected by the first temperature sensor and the current temperature value collected by the second temperature sensor; determining the status information of the first temperature sensor based on the difference between the current temperature value collected by the first temperature sensor and the current temperature value collected by the second temperature sensor.
[0012] In some embodiments, the method for controlling a refrigerator includes: when the difference between the current temperature value collected by the first temperature sensor and the current temperature value collected by the second temperature sensor is less than a second threshold, determining that the status information of the first temperature sensor is normal; when the difference between the current temperature value collected by the first temperature sensor and the current temperature value collected by the second temperature sensor is greater than or equal to the second threshold, determining that the status information of the first temperature sensor is faulty.
[0013] In some embodiments, the method for controlling a refrigerator includes: when it is determined that the status information of the first temperature sensor is faulty, uploading fault data of the first temperature sensor to a main control board.
[0014] In some embodiments, the device for controlling a refrigerator includes: a processor and a memory storing program instructions, and the processor is configured to execute the aforementioned method for controlling a refrigerator when running the program instructions.
[0015] In some embodiments, the refrigerator includes: a refrigerator body; a first temperature sensor installed on a main control board of the refrigerator body; a second temperature sensor installed on a frequency conversion board of the refrigerator body; and the aforementioned device for the refrigerator installed on the refrigerator body.
[0016] In some embodiments, the computer-readable storage medium stores program instructions, and when the program instructions are executed, the computer executes the method for controlling a refrigerator as described above.
[0017] The method, device, refrigerator and computer-readable storage medium for controlling a refrigerator provided by the embodiments of the present disclosure can achieve the following technical effects: it can accurately determine whether the first temperature sensor is faulty in combination with the temperature values collected by the first temperature sensor and the second temperature sensor, and accurately determine the target control scheme of the refrigerator compressor in combination with the actual situation, and then achieve precise control of the refrigerator while controlling the refrigerator to execute the target control scheme, thereby avoiding the occurrence of inaccurate compressor control due to failure of the temperature sensor of the main control board, and effectively meeting the user's energy-saving control needs for the refrigerator.
[0018] The above general description and the following description are exemplary and explanatory only and are not intended to limit the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] One or more embodiments are exemplarily described by corresponding drawings, which do not limit the embodiments. Elements with the same reference numerals in the drawings are shown as similar elements, and the drawings do not constitute a scale limitation, and wherein:
[0020] Figure 1 is a schematic diagram of a method for controlling a refrigerator provided by an embodiment of the present disclosure;
[0021] Figure 2 is a schematic diagram of a method for determining a target control scheme provided by an embodiment of the present disclosure;
[0022] Figure 3 is a schematic diagram of a method for determining status information provided by an embodiment of the present disclosure;
[0023] Figure 4 is a schematic diagram of another method for determining status information provided by an embodiment of the present disclosure;
[0024] Figure 5 is a schematic diagram of a device for controlling a refrigerator provided by an embodiment of the present disclosure;
[0025] Figure 6 It is a structural schematic diagram of a refrigerator provided in an embodiment of the present disclosure. DETAILED DESCRIPTION
[0026] In order to be able to understand the features and technical contents of the embodiments of the present disclosure in more detail, the implementation of the embodiments of the present disclosure is described in detail below in conjunction with the accompanying drawings. The attached drawings are for reference only and are not used to limit the embodiments of the present disclosure. In the following technical description, for the convenience of explanation, a full understanding of the disclosed embodiments is provided through multiple details. However, one or more embodiments can still be implemented without these details. In other cases, to simplify the drawings, well-known structures and devices can be simplified for display.
[0027] The terms "first", "second", etc. in the specification and claims of the embodiments of the present disclosure 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 terms used in this way can be interchanged where appropriate, so that the embodiments of the embodiments of the present disclosure described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions.
[0028] Unless otherwise stated, the term "plurality" means two or more.
[0029] In the embodiment of the present disclosure, the character " / " indicates that the preceding and following objects are in an "or" relationship. For example, A / B indicates: A or B.
[0030] The term "and / or" is a description of the association relationship between objects, indicating that three relationships can exist. For example, A and / or B means: A or B, or, A and B.
[0031] The term "correspondence" may refer to an association relationship or a binding relationship. The correspondence between A and B means that there is an association relationship or a binding relationship between A and B.
[0032] In the embodiments of the present disclosure, smart home appliances refer to home appliances that are formed by introducing microprocessors, sensor technology, and network communication technology into home appliances. They have the characteristics of intelligent control, intelligent perception, and intelligent application. The operation process of smart home appliances often relies on the application and processing of modern technologies such as the Internet of Things, the Internet, and electronic chips. For example, smart home appliances can be connected to electronic devices to enable users to remotely control and manage the smart home appliances.
[0033] In the embodiments of the present disclosure, the terminal device refers to an electronic device with a wireless connection function. The terminal device can communicate with the above-mentioned smart home appliances by connecting to the Internet, or can directly communicate with the above-mentioned smart home appliances through Bluetooth, Wi-Fi, etc. In some embodiments, the terminal device is, for example, a mobile device, a computer, or a vehicle-mounted device built into a hover car, or any combination thereof. Mobile devices may include, for example, mobile phones, smart home devices, wearable devices, smart mobile devices, virtual reality devices, etc., or any combination thereof, wherein wearable devices include, for example: smart watches, smart bracelets, pedometers, etc.
[0034] Figure 1 is a schematic diagram of a method for controlling a refrigerator provided by an embodiment of the present disclosure; Figure 1 As shown, the embodiment of the present disclosure provides a method for controlling a refrigerator, comprising:
[0035] S11, the refrigerator determines the state information of the first temperature sensor according to the temperature values collected by the first temperature sensor and the second temperature sensor respectively.
[0036] S12, the refrigerator determines a target control scheme for the refrigerator compressor according to the status information of the first temperature sensor.
[0037] S13, the refrigerator controls the refrigerator compressor to execute the target control scheme.
[0038] In this solution, the refrigerator is provided with a main control board and a frequency conversion board, the main control board and the frequency conversion board are connected through a bus, and the main control board and the frequency conversion board are arranged adjacent to each other. Among them, the main control board is provided with a first temperature sensor, and the frequency conversion board is provided with a second temperature sensor. Specifically, the refrigerator can obtain the temperature values collected by the first temperature sensor and the second temperature sensor respectively. Further, the refrigerator can determine the status information of the first temperature sensor according to the temperature values collected by the first temperature sensor and the second temperature sensor respectively. Here, the status information of the first temperature sensor includes fault or normal. In this way, the status information of the first temperature sensor can be accurately judged in combination with the temperature values collected by the first temperature sensor and the second temperature sensor respectively.
[0039] Furthermore, after the refrigerator determines the status information of the first temperature sensor, the refrigerator can determine the target control scheme of the refrigerator compressor in combination with the status information of the first temperature sensor. Specifically, the refrigerator determines the target control scheme of the refrigerator compressor based on the status information of the first temperature sensor, including: when the status information of the first temperature sensor is faulty, the refrigerator determines that the target control scheme of the compressor is to control the refrigerator compressor to operate in a special mode; when the status information of the first temperature sensor is normal, the refrigerator determines that the target control scheme of the compressor is to control the refrigerator compressor to operate in a normal mode. In this way, the target control scheme of the compressor can be accurately determined in combination with the status information of the first temperature sensor, providing an accurate data basis for the control process of the compressor. Further, after the refrigerator determines the target control scheme, the refrigerator controls the compressor to execute the target control scheme.
[0040] A method for controlling a refrigerator provided by an embodiment of the present disclosure can accurately determine whether the first temperature sensor is faulty based on the temperature values collected by the first temperature sensor and the second temperature sensor, and accurately determine the target control scheme of the refrigerator compressor based on actual conditions, thereby achieving precise control of the refrigerator while controlling the refrigerator to execute the target control scheme, avoiding inaccurate compressor control due to failure of the temperature sensor of the main control board, and effectively meeting the user's energy-saving control needs for the refrigerator.
[0041] Figure 2 is a schematic diagram of a method for determining a target control scheme provided by an embodiment of the present disclosure; Figure 2 As shown, optionally, in S12, the refrigerator determines a target control scheme for the refrigerator compressor according to the state information of the first temperature sensor, including:
[0042] S21, when the state information of the first temperature sensor is a fault, the refrigerator determines that a target control scheme of the refrigerator compressor is to control the refrigerator compressor to operate in a special mode.
[0043] S22, when the state information of the first temperature sensor is normal, the refrigerator determines that the target control scheme of the refrigerator compressor is to control the refrigerator compressor to operate in a normal mode.
[0044] In this solution, if it is determined that the status information of the first temperature sensor is a fault, it can be determined that the target control scheme of the refrigerator compressor is to control the refrigerator compressor to operate in a special mode. Here, the special mode is to perform periodic start and stop control on the compressor. Specifically, the start and stop strategy for each cycle is to control the compressor to run at a first speed for a first time, and then control the compressor to stop within a second time. As an example, the first speed is 3000r / min, the first time is 20 minutes, and the second time is 10 minutes. Optionally, the number of cycles in which the compressor operates in a special mode can be specifically determined based on actual conditions.
[0045] In this solution, when it is determined that the status information of the first temperature sensor is normal, it can be determined that the target control solution of the refrigerator compressor is to control the refrigerator compressor to operate in normal mode. Here, the normal mode includes the compressor start-up point normal mode and the compressor shutdown point normal mode. Specifically, the compressor start-up point normal mode includes controlling the compressor to operate at a first speed; the compressor shutdown point normal mode includes controlling the compressor to operate at a second speed. Among them, the first speed> the second speed. As an example, the first speed is 3000r / min and the second speed is 1800r / min.
[0046] With this solution, the target control solution of the compressor can be accurately determined in combination with the status information of the first temperature sensor, providing an accurate data basis for the control process of the compressor, so that the target control solution determined in this way is more in line with the status characteristics of the first temperature sensor.
[0047] Figure 3 is a schematic diagram of a method for determining status information provided by an embodiment of the present disclosure; Figure 3 As shown, S11, the refrigerator determines the state information of the first temperature sensor according to the temperature values collected by the first temperature sensor and the second temperature sensor, including:
[0048] S31, when the first temperature sensor and the second temperature sensor meet the compressor startup condition, the refrigerator calculates the difference between the temperature value collected by the first temperature sensor and the temperature value collected by the second temperature sensor.
[0049] S32, the refrigerator determines the state information of the first temperature sensor according to the difference between the temperature value collected by the first temperature sensor and the temperature value collected by the second temperature sensor.
[0050] In this solution, the refrigerator can determine whether the first temperature sensor and the second temperature sensor meet the compressor startup condition in the following way: the refrigerator obtains the startup point temperature of the compressor; when the temperature values collected by the first temperature sensor and the second temperature sensor reach the startup point temperature of the compressor, it is determined that the first temperature sensor and the second temperature sensor meet the compressor startup condition. As an example, the startup point temperature of the compressor in the refrigerator freezer compartment is -16°C. In this way, it is possible to accurately determine whether the first temperature sensor and the second temperature sensor meet the compressor startup condition.
[0051] Further, when the first temperature sensor and the second temperature sensor meet the compressor startup conditions, the temperature values collected by the first temperature sensor and the second temperature sensor are respectively obtained, and the difference between the temperature value collected by the first temperature sensor and the temperature value collected by the second temperature sensor is calculated. For example, if the temperature value collected by the first temperature sensor is -16.3°C and the temperature value collected by the second temperature sensor is -16.5°C, the difference between the temperature value collected by the first temperature sensor and the temperature value collected by the second temperature sensor is 0.2°C. Further, after obtaining the difference, the refrigerator can determine the status information of the first temperature sensor in combination with the difference between the temperature value collected by the first temperature sensor and the temperature value collected by the second temperature sensor. In one example, the refrigerator can determine the difference range where the difference between the temperature value collected by the first temperature sensor and the temperature value collected by the second temperature sensor is located; and determine the status information corresponding to the difference range as the status information of the first temperature sensor. In this way, the status information of the first temperature sensor can be judged in combination with the fluctuation of the temperature data collected by multiple temperature sensors arranged at adjacent positions, so as to ensure the accuracy of the status information of the first temperature sensor.
[0052] Optionally, in S32, the refrigerator determines the state information of the first temperature sensor according to the difference between the temperature value collected by the first temperature sensor and the temperature value collected by the second temperature sensor, including:
[0053] When the difference between the temperature value collected by the first temperature sensor and the temperature value collected by the second temperature sensor is less than the first threshold, the refrigerator determines that the state information of the first temperature sensor is normal.
[0054] When the difference between the temperature value collected by the first temperature sensor and the temperature value collected by the second temperature sensor is greater than or equal to the first threshold, the refrigerator determines that the state information of the first temperature sensor is faulty.
[0055] In this solution, the first threshold is 0.7°C. In this way, when the difference between the temperature value collected by the first temperature sensor and the temperature value collected by the second temperature sensor is less than 0.7°C, the refrigerator determines that the status information of the first temperature sensor is normal. When the difference between the temperature value collected by the first temperature sensor and the temperature value collected by the second temperature sensor is greater than or equal to 0.7°C, the refrigerator determines that the status information of the first temperature sensor is faulty. With this solution, when the first temperature sensor and the second temperature sensor meet the compressor startup conditions, the status information of the first temperature sensor can be judged in combination with the fluctuation of the temperature data collected by multiple temperature sensors arranged at adjacent positions, thereby ensuring the accuracy of the status information of the first temperature sensor.
[0056] Figure 4 is another schematic diagram of a method for determining status information provided by an embodiment of the present disclosure; Figure 4 As shown, optionally, in S11, the refrigerator determines the state information of the first temperature sensor according to the temperature values collected by the first temperature sensor and the second temperature sensor, including:
[0057] S41, when the first temperature sensor and the second temperature sensor meet the compressor shutdown condition, the refrigerator calculates the difference between the current temperature value collected by the first temperature sensor and the current temperature value collected by the second temperature sensor.
[0058] S42, the refrigerator determines the state information of the first temperature sensor according to the difference between the current temperature value collected by the first temperature sensor and the current temperature value collected by the second temperature sensor.
[0059] In this solution, the refrigerator can determine whether the first temperature sensor and the second temperature sensor meet the compressor shutdown condition in the following way: the refrigerator obtains the shutdown point temperature of the compressor; when the temperature values collected by the first temperature sensor and the second temperature sensor reach the compressor shutdown point temperature, it is determined that the first temperature sensor and the second temperature sensor meet the compressor shutdown condition. As an example, the shutdown point temperature of the compressor in the refrigerator freezer compartment is -19°C. In this way, it is possible to accurately determine whether the first temperature sensor and the second temperature sensor meet the compressor shutdown condition.
[0060] Furthermore, when the first temperature sensor and the second temperature sensor meet the compressor shutdown condition, the current temperature values collected by the first temperature sensor and the second temperature sensor are respectively obtained, and the difference between the current temperature value collected by the first temperature sensor and the current temperature value collected by the second temperature sensor is calculated. Furthermore, after obtaining the difference, the refrigerator can determine the status information of the first temperature sensor in combination with the difference between the current temperature value collected by the first temperature sensor and the current temperature value collected by the second temperature sensor. In this way, the status information of the first temperature sensor can be judged in combination with the fluctuation of the temperature data of the compressor shutdown point collected by multiple temperature sensors arranged at adjacent positions, thereby ensuring the accuracy of the status information of the first temperature sensor.
[0061] Optionally, in S42, the refrigerator determines the state information of the first temperature sensor according to the difference between the current temperature value collected by the first temperature sensor and the current temperature value collected by the second temperature sensor, including:
[0062] When the difference between the current temperature value collected by the first temperature sensor and the current temperature value collected by the second temperature sensor is smaller than the second threshold, the refrigerator determines that the state information of the first temperature sensor is normal.
[0063] When the difference between the current temperature value collected by the first temperature sensor and the current temperature value collected by the second temperature sensor is greater than or equal to the second threshold, the refrigerator determines that the state information of the first temperature sensor is faulty.
[0064] In this solution, the second threshold value is 0.4°C. In this way, when the difference between the current temperature value collected by the first temperature sensor and the current temperature value collected by the second temperature sensor is less than 0.4°C, the refrigerator determines that the status information of the first temperature sensor is normal. When the difference between the current temperature value collected by the first temperature sensor and the current temperature value collected by the second temperature sensor is greater than or equal to 0.4°C, the refrigerator determines that the status information of the first temperature sensor is faulty. With this solution, when the first temperature sensor and the second temperature sensor meet the compressor shutdown conditions, the status information of the first temperature sensor can be judged in combination with the fluctuation of the temperature data collected by multiple temperature sensors arranged at adjacent positions, thereby ensuring the accuracy of the status information of the first temperature sensor.
[0065] Optionally, determining whether the first temperature sensor and the second temperature sensor meet the compressor startup condition or the compressor shutdown condition includes:
[0066] The refrigerator obtains its startup count;
[0067] When the number of startup times of the refrigerator is greater than or equal to the first number, it is determined whether the first temperature sensor and the second temperature sensor meet the compressor startup condition or the compressor shutdown condition.
[0068] In this way, the timing of executing the judgment process is accurately determined, meeting the user's demand for precise control of the refrigerator.
[0069] Optionally, after controlling the refrigerator compressor to execute the target control scheme, the method further includes:
[0070] The refrigerator accumulates the number of starts of the refrigerator compressor that it stores.
[0071] In this way, the user can know the number of times the refrigerator compressor is started at any time, thereby ensuring the validity of data records.
[0072] Optionally, when it is determined that the status information of the first temperature sensor is faulty, the refrigerator uploads the fault data of the first temperature sensor to the main control board.
[0073] In this solution, when it is determined that the status information of the first temperature sensor is a fault, the refrigerator can upload the fault data of the first temperature sensor to the main control board. In this way, it is convenient to accurately upload the fault data of the first temperature sensor, which helps users to query the fault data.
[0074] Figure 5 is a schematic diagram of a device for controlling a refrigerator provided by an embodiment of the present disclosure; Figure 5 As shown, the embodiment of the present disclosure provides a device 200 for controlling a refrigerator, including a processor 201 and a memory 202. Optionally, the device 200 may also include a communication interface 203 and a bus 204. The processor 201, the communication interface 203, and the memory 202 may communicate with each other through the bus 204. The communication interface 203 may be used for information transmission. The processor 201 may call the logic instructions in the memory 202 to execute the method for controlling a refrigerator of the above embodiment.
[0075] In addition, the logic instructions in the memory 202 described above may be implemented in the form of software functional units and when sold or used as independent products, may be stored in a computer-readable storage medium.
[0076] The memory 202 is a computer-readable storage medium that can be used to store software programs and computer executable programs, such as program instructions / modules corresponding to the method in the embodiment of the present disclosure. The processor 201 executes the function application and data processing by running the program instructions / modules stored in the memory 202, that is, the method for controlling the refrigerator in the above embodiment is implemented.
[0077] The memory 202 may include a program storage area and a data storage area, wherein the program storage area may store an operating system and an application required for at least one function; the data storage area may store data created according to the use of the terminal device, etc. In addition, the memory 202 may include a high-speed random access memory and may also include a non-volatile memory.
[0078] The disclosed embodiment provides a refrigerator, including: a refrigerator body; a first temperature sensor, installed on the main control board of the refrigerator body; a second temperature sensor, installed on the frequency conversion board of the refrigerator body; and the aforementioned device 200 for the refrigerator, installed on the refrigerator body. The installation relationship described here is not limited to placement inside the refrigerator, but also includes installation connections with other components of the refrigerator, including but not limited to physical connections, electrical connections or signal transmission connections. It can be understood by those skilled in the art that the device 200 for controlling the refrigerator can be adapted to a feasible refrigerator body, thereby realizing other feasible embodiments.
[0079] An embodiment of the present disclosure provides a computer-readable storage medium storing computer-executable instructions, wherein the computer-executable instructions are configured to execute the above-mentioned method for controlling a refrigerator.
[0080] The technical solution of the embodiment of the present disclosure can be embodied in the form of a software product, which is stored in a storage medium and includes one or more instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the method described in the embodiment of the present disclosure. The aforementioned storage medium may be a non-transient storage medium, such as: a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a disk or an optical disk, and other media that can store program codes.
[0081] The above description and the accompanying drawings fully illustrate the embodiments of the present disclosure so that those skilled in the art can practice them. Other embodiments may include structural, logical, electrical, process and other changes. The embodiments represent only possible changes. Unless explicitly required, separate components and functions are optional, and the order of operation may vary. The parts and features of some embodiments may be included in or replace the parts and features of other embodiments. Moreover, the words used in this application are only used to describe the embodiments and are not used to limit the claims. As used in the description of the embodiments and the claims, unless the context clearly indicates, the singular forms of "a", "an" and "the" are intended to include plural forms as well. Similarly, the term "and / or" as used in this application refers to any and all possible combinations of listings containing one or more associated ones. In addition, when used in the present application, the term "comprise" and its variants "comprises" and / or comprising refer to the presence of stated features, wholes, steps, operations, elements, and / or components, but do not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components and / or groups thereof. In the absence of further restrictions, the elements defined by the sentence "comprising a ..." do not exclude the presence of other identical elements in the process, method or device comprising the elements. In this article, each embodiment may focus on the differences from other embodiments, and the same and similar parts between the various embodiments may refer to each other. For the methods, products, etc. disclosed in the embodiments, if they correspond to the method part disclosed in the embodiments, then the relevant parts can refer to the description of the method part.
[0082] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software may depend on the specific application and design constraints of the technical solution. The technicians may use different methods for each specific application to implement the described functions, but such implementations should not be considered to exceed the scope of the embodiments of the present disclosure. The technicians may clearly understand that, for the convenience and simplicity of description, the specific working processes of the systems, devices and units described above may refer to the corresponding processes in the aforementioned method embodiments, and will not be repeated here.
[0083] In the embodiments disclosed herein, the disclosed methods and products (including but not limited to devices, equipment, etc.) can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units can be only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the coupling or direct coupling or communication connection between each other shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms. The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to implement this embodiment. In addition, each functional unit in the embodiment of the present disclosure may be integrated in a processing unit, or each unit may exist physically alone, or two or more units may be integrated in one unit.
[0084] The flowchart and block diagram in the accompanying drawings show the possible architecture, function and operation of the system, method and computer program product according to the embodiment of the present disclosure. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a part of the code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. In some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, which can depend on the functions involved. In the description corresponding to the flowchart and the block diagram in the accompanying drawings, the operations or steps corresponding to different boxes can also occur in a different order from the order disclosed in the description, and sometimes there is no specific order between different operations or steps. For example, two consecutive operations or steps can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, which can depend on the functions involved. Each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, may be implemented by a dedicated hardware-based system that performs the specified functions or actions, or may be implemented by a combination of dedicated hardware and computer instructions.
Claims
1. A method for controlling a refrigerator, characterized in that: The refrigerator comprises a first temperature sensor disposed on a main control board and a second temperature sensor disposed on a frequency conversion board; the method comprises: Determine the state information of the first temperature sensor according to the temperature values collected by the first temperature sensor and the second temperature sensor; Determining a target control scheme for the refrigerator compressor according to the state information of the first temperature sensor; The refrigerator compressor is controlled to execute the target control scheme.
2. The method according to claim 1, characterized in that Determining a target control scheme for the refrigerator compressor according to the state information of the first temperature sensor includes: In the case where the state information of the first temperature sensor is a fault, determining that a target control scheme for the refrigerator compressor is to control the refrigerator compressor to operate in a special mode; When the state information of the first temperature sensor is normal, it is determined that the target control scheme of the refrigerator compressor is to control the refrigerator compressor to operate in a normal mode.
3. The method according to claim 1, characterized in that Determining state information of the first temperature sensor according to temperature values collected by the first temperature sensor and the second temperature sensor, including: When the first temperature sensor and the second temperature sensor meet the compressor startup condition, calculating the difference between the temperature value collected by the first temperature sensor and the temperature value collected by the second temperature sensor; The state information of the first temperature sensor is determined according to the difference between the temperature value collected by the first temperature sensor and the temperature value collected by the second temperature sensor.
4. The method according to claim 3, characterized in that: Determining state information of the first temperature sensor according to a difference between a temperature value collected by the first temperature sensor and a temperature value collected by the second temperature sensor includes: When the difference between the temperature value collected by the first temperature sensor and the temperature value collected by the second temperature sensor is less than a first threshold, determining that the state information of the first temperature sensor is normal; When the difference between the temperature value collected by the first temperature sensor and the temperature value collected by the second temperature sensor is greater than or equal to a first threshold, it is determined that the state information of the first temperature sensor is faulty.
5. The method according to claim 1, characterized in that Determining state information of the first temperature sensor according to temperature values collected by the first temperature sensor and the second temperature sensor, including: When the first temperature sensor and the second temperature sensor meet the compressor shutdown condition, calculating the difference between the current temperature value collected by the first temperature sensor and the current temperature value collected by the second temperature sensor; The state information of the first temperature sensor is determined according to the difference between the current temperature value collected by the first temperature sensor and the current temperature value collected by the second temperature sensor.
6. The method according to claim 5, characterized in that Determining state information of the first temperature sensor according to a difference between a current temperature value collected by the first temperature sensor and a current temperature value collected by the second temperature sensor includes: When the difference between the current temperature value collected by the first temperature sensor and the current temperature value collected by the second temperature sensor is less than a second threshold, determining that the state information of the first temperature sensor is normal; When the difference between the current temperature value collected by the first temperature sensor and the current temperature value collected by the second temperature sensor is greater than or equal to the second threshold, it is determined that the state information of the first temperature sensor is faulty.
7. The method according to claim 1, characterized in that The method further comprises: When it is determined that the state information of the first temperature sensor is faulty, the fault data of the first temperature sensor is uploaded to the main control board.
8. A device for controlling a refrigerator, comprising a processor and a memory storing program instructions, characterized in that: The processor is configured to execute the method for controlling a refrigerator according to any one of claims 1 to 7 when running the program instructions.
9. A refrigerator, characterized in that: include: Refrigerator body; A first temperature sensor is installed on the main control board of the refrigerator body; A second temperature sensor is installed on the frequency conversion board of the refrigerator body; The device for a refrigerator as claimed in claim 8 is installed on the refrigerator body.
10. A computer-readable storage medium storing program instructions, characterized in that: When the program instructions are executed, the computer is used to execute the method for controlling a refrigerator as described in any one of claims 1 to 7.