Refrigerator control method and refrigerator

By pausing the cycle task in the refrigerator controller to obtain compressor parameters and using room temperature sensors to control the compressor operation, the refrigerator control system is simplified, the cost is reduced and rapid refrigeration is achieved, and the complex problem of the refrigerator control system is solved.

CN119755904APending Publication Date: 2025-04-04HISENSE(SHANDONG)REFRIGERATOR CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510053205.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-01-13
Publication Date
2025-04-04

AI Technical Summary

Technical Problem

The existing refrigerator control system is complex and difficult to simplify.

Method used

By pausing the execution of cycle tasks at intervals in the refrigerator controller to obtain the control parameters of the compressor, and controlling the operation of the compressor in combination with the chamber temperature sensor, reducing the rewritten operation to the memory, canceling the ambient temperature sensor, and controlling the compressor speed using the chamber temperature sensor and the number of start-ups.

Benefits of technology

The control system of the refrigerator is simplified, the impact on the operation of each component is reduced, the impact of memory rewritten on the compressor, the cost is reduced and the rapid cooling effect is achieved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119755904A_ABST
    Figure CN119755904A_ABST
Patent Text Reader

Abstract

The embodiment provided by the present application belongs to the field of household appliance technology, and provides a refrigerator control method and a refrigerator, wherein the refrigerator includes a controller and a compressor; the method includes: in the process of executing a cyclic task, whenever the accumulated working time reaches a first preset time, pausing the execution of the cyclic task; obtaining the control parameters corresponding to the compressor, and controlling the operation of the compressor based on the control parameters; wherein the execution frequency of the cyclic task is lower than the first frequency, and the first frequency is the frequency of obtaining the control parameters corresponding to the compressor; and continuing to execute the cyclic task. In this way, by setting a controller in the refrigerator, the control system of the refrigerator can be simplified, and the normal operation of the refrigerator can be achieved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the field of household appliance technology, and more specifically, to a refrigerator control method and a refrigerator. Background Art

[0002] The circuit boards in the refrigerator usually include a display control board and a frequency conversion control board, wherein the display control board is used for display and control, and the frequency conversion control board is used for driving the compressor.

[0003] At present, the hardware on the display control board and the hardware on the frequency conversion control board in the refrigerator can be integrated into one control board to save the space occupied by the circuit board inside the refrigerator. The integrated circuit board includes two control chips, one control chip is used to realize key display and control, and the other control chip is used to realize compressor control.

[0004] However, although the above solution simplifies the circuit board, the control system is still relatively complex. Therefore, how to simplify the control system of the refrigerator needs to be solved. Summary of the invention

[0005] The embodiments of the present application provide a control method for a refrigerator and a refrigerator, which can simplify the control system of the refrigerator.

[0006] In a first aspect, an embodiment of the present application provides a control method for a refrigerator, which is applied to a refrigerator, wherein the refrigerator includes a controller and a compressor, and the method includes:

[0007] During the execution of the cyclic task, whenever the accumulated working time reaches a first preset time, the execution of the cyclic task is suspended;

[0008] Acquiring control parameters corresponding to the compressor, and controlling the operation of the compressor based on the control parameters; wherein the execution frequency of the cyclic task is lower than a first frequency, and the first frequency is a frequency for acquiring the control parameters corresponding to the compressor;

[0009] Continue to execute the loop task.

[0010] In the present application, the control pauses the task being executed at regular intervals during the execution of the cyclic task, and obtains the control parameters of the compressor. In this way, since the execution frequency of the cyclic task is low and its importance is lower than that of obtaining the control parameters of the compressor, the embodiment of the present application can simplify the control system of the refrigerator, and the simplification has little impact on the operation of each component in the refrigerator.

[0011] In some embodiments of the present application, the cyclic task includes a timed query task and a polling task;

[0012] The execution cycle tasks include:

[0013] When it is detected that the flag bit corresponding to the timer is the target flag bit, the timing query task and the polling task are executed in sequence.

[0014] In the present application, the scheduled query task and the polling task are executed in sequence in a cyclic manner, so that the refrigerator can operate normally.

[0015] In some embodiments of the present application, the refrigerator further includes a memory;

[0016] The method further comprises:

[0017] When it is detected that the compressor is in an undervoltage protection state;

[0018] Acquire the first gear information and the current second gear information stored in the memory, and compare whether the first gear information and the second gear information are the same;

[0019] When the first gear position information and the second gear position information are different, the first gear position information is erased from the memory, and the second gear position information is written into the memory.

[0020] In the present application, in the case of a controller, the gear information in the memory is erased and written only when the compressor is in the undervoltage protection state, which can reduce the influence of the gear information in the memory on the operation of the compressor.

[0021] In some embodiments of the present application, the method further includes:

[0022] When it is detected that the voltage at the power supply end is less than the voltage threshold and the duration is greater than or equal to the second preset duration, the compressor is controlled to enter the undervoltage protection state.

[0023] In the present application, the compressor is controlled to enter the undervoltage protection state only after the compressor has been in the undervoltage protection state for a period of time, which can reduce the situation where the compressor is shut down due to misjudgment.

[0024] In some embodiments of the present application, the refrigerator further includes a compartment temperature sensor;

[0025] The method further comprises:

[0026] Acquire a first temperature detected by the compartment temperature sensor;

[0027] When the first temperature is higher than a temperature threshold, the compressor is controlled to start up, and the number of startup operations of the compressor is obtained;

[0028] According to the startup operation times, corresponding operation parameters are used to control the operation of the compressor.

[0029] In the present application, the refrigerator includes a compartment temperature sensor but does not include an ambient temperature sensor. The controller can control the compressor to start up according to the compartment temperature sensor and a preset temperature threshold, and determine the compression operation parameters by the number of startup operations of the compressor, instead of using an ambient temperature sensor to determine the startup speed of the compressor as in the prior art, thereby reducing the number of temperature sensors in the refrigerator and saving costs.

[0030] In some embodiments of the present application, the controlling the operation of the compressor using corresponding operating parameters according to the startup operation times includes:

[0031] When it is determined that the compressor is started up for the first time, obtaining a first speed, a third preset time, and a target speed;

[0032] controlling the compressor to operate at the first speed;

[0033] Within the third preset time period, controlling the speed of the compressor to increase from the first speed to the target speed;

[0034] Acquire a second temperature detected by the compartment temperature sensor;

[0035] When the second temperature is lower than or equal to the temperature threshold, the compressor is controlled to stop running.

[0036] In the present application, when the refrigerator only includes a compartment temperature sensor but not an ambient temperature sensor, when controlling the compressor to start up, the startup speed of the compressor is determined according to the startup times corresponding to the current startup of the compressor, as well as the strategy for increasing the speed after startup. When the compressor is started up for the first time, the speed of the compressor is controlled to increase to a higher speed in a shorter time, so as to achieve the effect of rapid cooling when it is started up for the first time.

[0037] In some embodiments of the present application, the controlling the operation of the compressor using corresponding operating parameters according to the startup operation times includes:

[0038] When it is determined that the compressor has been started for the Mth time, the second speed and the fourth preset duration are obtained; M is an integer greater than or equal to 2 and less than a target value; the target value is an integer greater than 2;

[0039] controlling the compressor to operate at the second speed;

[0040] Controlling the speed of the compressor to increase once every fourth preset time period;

[0041] Acquiring a third temperature detected by the compartment temperature sensor;

[0042] When the third temperature is lower than or equal to the temperature threshold, the compressor is controlled to stop operating.

[0043] In the present application, when the compressor is started for the second time and thereafter, the startup speed of the compressor is determined by the corresponding startup times, without the need for an ambient temperature sensor.

[0044] In some embodiments of the present application, the controlling the operation of the compressor using corresponding operating parameters according to the startup operation times includes:

[0045] When it is determined that the compressor has been started for the Nth time, the startup rate of the compressor in the previous operation cycle is obtained; N is an integer greater than or equal to a target value, and the target value is an integer greater than 2;

[0046] Determining a third speed and a speed adjustment rule of the compressor according to the startup rate and the speed of the compressor when it was last shut down;

[0047] controlling the compressor to operate at the third speed;

[0048] According to the speed adjustment rule, the speed of the compressor is controlled to increase;

[0049] Acquiring a fourth temperature detected by the compartment temperature sensor;

[0050] When the fourth temperature is lower than or equal to the temperature threshold, the compressor is controlled to stop operating.

[0051] In the present application, when the compressor is started multiple times, the startup speed of the compressor is determined by the startup rate determined in the last operating cycle and the speed at which the compressor was stopped in the last operating cycle, without the need for an ambient temperature sensor.

[0052] In some embodiments of the present application, determining the third speed of the compressor according to the startup rate and the speed of the compressor when it was last shut down includes:

[0053] When the startup rate is within a first preset range, the difference between the rotation speed of the compressor when it was last shut down and the first preset rotation speed is determined as the third rotation speed;

[0054] When the startup rate is within a second preset range, the difference between the speed of the last shutdown of the compressor and the second preset speed is determined as the third speed; the value within the second preset range is greater than the value within the first preset range, and the second preset speed is less than the first preset speed;

[0055] When the startup rate is within a third preset range, the speed of the compressor when it was last shut down is determined as the third speed; the value within the third preset range is greater than the value within the second preset range;

[0056] When the startup rate is within a fourth preset range, the sum of the speed of the last shutdown of the compressor and the third preset speed is determined as the third speed; the value within the fourth preset range is greater than the value within the third preset range;

[0057] When the startup rate is within the fifth preset range, the sum of the speed of the compressor when it was last shut down and the fourth preset speed is determined as the third speed; the value within the fifth preset range is greater than the value within the fourth preset range, and the fourth preset speed is greater than the third preset speed.

[0058] In the present application, different startup speeds are determined for different startup rates. When the startup rate is high, it means that the refrigerator has a large cooling demand, so the startup speed is high. When the startup rate is low, it means that the refrigerator has a small cooling demand, so the startup speed is low.

[0059] In a second aspect, the present application provides a refrigerator, comprising:

[0060] Controllers and compressors;

[0061] The controller is configured to:

[0062] During the execution of the cyclic task, whenever the accumulated working time reaches a first preset time, the execution of the cyclic task is suspended;

[0063] Acquiring control parameters corresponding to the compressor, and controlling the operation of the compressor based on the control parameters; wherein the execution frequency of the cyclic task is lower than a first frequency, and the first frequency is a frequency for acquiring the control parameters corresponding to the compressor;

[0064] Continue to execute the loop task.

[0065] In a third aspect, the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer-executable instructions, and when the computer-executable instructions are executed by a computer, they are used to implement the method described in the second aspect.

[0066] The computer-readable storage medium provided in the embodiment of the present application can execute the technical solution in the above method embodiment, and its beneficial effects are similar and will not be repeated here.

[0067] In a fourth aspect, the present application provides a computer program product, including a computer program, wherein the computer program is used to implement the method described in the second aspect when executed by a computer.

[0068] The computer program product provided in the embodiment of the present application can execute the technical solution in the above method embodiment, and its beneficial effects are similar and will not be described in detail here. BRIEF DESCRIPTION OF THE DRAWINGS

[0069] In order to more clearly illustrate the implementation methods in the embodiments of the present application or the related technologies, the following is a brief introduction to the drawings required for use in the embodiments or the related technology descriptions. Obviously, the drawings described below are some embodiments of the present application, and a person skilled in the art can also obtain other drawings based on these drawings.

[0070] Figure 1 is a schematic diagram of a refrigerator according to some embodiments;

[0071] Figure 2 is a structural schematic diagram of a main variable display integrated board and a compressor in a refrigerator according to some embodiments;

[0072] Figure 3 is a flow chart of a refrigerator control method according to some embodiments;

[0073] Figure 4 A schematic diagram of a flow chart of a controller executing a cyclic task according to some embodiments;

[0074] Figure 5 is a schematic diagram of a polling task according to some embodiments;

[0075] Figure 6 is a flowchart of an interruption task according to some embodiments;

[0076] Figure 7 is a schematic diagram of a flow chart of a controller entering gear information recording according to some embodiments;

[0077] Figure 8 is a schematic diagram of a process of recording gear information according to some embodiments;

[0078] Fig. 9 is a schematic diagram of the structure inside a refrigerator according to some embodiments;

[0079] Fig.10 The figure is a flow chart of a controller controlling the operation of a compressor according to some embodiments. DETAILED DESCRIPTION

[0080] In order to make the purpose, implementation mode and advantages of the present application clearer, the exemplary implementation mode of the present application will be clearly and completely described below in conjunction with the drawings in the exemplary embodiments of the present application. Obviously, the described exemplary embodiments are only part of the embodiments of the present application, not all of the embodiments.

[0081] It should be noted that the brief description of terms in this application is only for the convenience of understanding the embodiments described below, and is not intended to limit the embodiments of this application. Unless otherwise specified, these terms should be understood according to their ordinary and common meanings.

[0082] In addition, the terms "include" and "have" and any variations thereof are intended to cover but not exclude inclusion, for example, a product or device comprising a list of components is not necessarily limited to those components expressly listed but may include other components not expressly listed or inherent to such products or devices.

[0083] The control system of a refrigerator is usually equipped with three circuit boards, which respectively realize the functions of display, control and compressor drive. Among them, the display function includes the setting of compartment temperature, gear setting and memory, etc. The control function includes the function of controlling loads such as compressors, lighting, heaters, etc. The compressor drive function includes driving the variable frequency compressor to run at the required speed.

[0084] In some implementations, in order to save the space occupied by the electronic board in the refrigerator, the electronic board corresponding to the display function and the electronic board corresponding to the control function are combined into one display and control electronic board.

[0085] In other implementations, in order to further save the space occupied by the electronic board, the display and control electronic board and the electronic board corresponding to the compressor drive function are collectively referred to as one electronic board. The combined electronic board includes two controllers, one controller is used to implement the display and control functions, and the other controller is used to implement the compressor drive function. The two controllers are independent of each other.

[0086] However, although the above-described implementation method simplifies the circuit board, the control system of the refrigerator is still relatively complex.

[0087] Based on this, the present application provides a refrigerator, which includes a controller. Considering that during the operation of the refrigerator, the controller needs to determine the control parameters of the compressor every once in a while to control the operation of the compressor. In the present application, the controller pauses the task being executed every once in a while during the execution of the cyclic task and obtains the control parameters of the compressor. In this way, since the execution frequency of the cyclic task is low and its importance is lower than the importance of obtaining the control parameters of the compressor, the embodiment of the present application can simplify the control system of the refrigerator, and the simplification has less impact on the operation of each component in the refrigerator.

[0088] It should be noted that the cycle task includes other tasks in addition to obtaining the control parameters corresponding to the compressor, and the embodiment of the present application does not specifically limit the specific content of the cycle task.

[0089] The technical solution of the present application is described in detail below in conjunction with specific embodiments. The following specific embodiments can be combined with each other or exist independently. The same or similar concepts or processes may not be repeated in some embodiments. The embodiments of the present application will be described below in conjunction with the accompanying drawings.

[0090] First, the structure of the refrigerator provided in some embodiments of the present application is described.

[0091] In one possible implementation, Figure 1 is a schematic diagram of a refrigerator according to some embodiments, such as Figure 1 As shown, the refrigerator 10 includes a cabinet 101 .

[0092] The refrigerator 10 further includes a door body 102 , and the door body 102 is connected to the cabinet 101 .

[0093] The refrigerator 10 further includes a storage chamber, which is disposed in the housing 101 .

[0094] In a possible implementation, the storage chamber includes a refrigerating chamber and / or a freezing chamber, etc.

[0095] In a possible implementation, the refrigerator 10 further includes a controller and a compressor. Both the controller and the compressor are arranged in the box.

[0096] In the embodiment of the present application, the controller may be a microcontroller unit (MCU) or other types of controllers. The embodiment of the present application does not specifically limit the controller.

[0097] In combination with the above content, the refrigerator also includes a main variable display integrated board, which is arranged in the box body, and the controller is arranged on the main variable display integrated board.

[0098] The internal structure of the main variable display integrated panel in the refrigerator is as follows Figure 2 As shown, Figure 2 The present invention is a schematic structural diagram of a main variable display integrated board and a compressor in a refrigerator according to some embodiments.

[0099] like Figure 2As shown, the refrigerator includes a main variable display integrated board 101, a compressor 102, a fan 103, and a compartment temperature sensor. The main variable display integrated board 101 includes a controller 201, a power filter circuit 202, a rectifier element 203, a voltage detection circuit 204, a three-phase inverter circuit 205, a drive circuit 206, a current sampling circuit 207, a memory 208, a voltage analog-to-digital conversion module 209, a pulse width modulation signal output module 2010, a temperature analog-to-digital conversion module 2011, an operational amplifier 2012, a key detection circuit 2013, a display drive circuit 2014, a display module 2015, a fan 103 drive circuit 206, and a fan interface 2017.

[0100] Figure 2 The power input from the city power supply is usually AC power, and the power supply filter circuit 202 can stabilize the DC voltage through the energy storage and release characteristics of the capacitor. The rectifier element 203 can convert the AC power into DC power. The three-phase inverter circuit 205 can convert the DC power into three-phase AC power to provide a suitable three-phase AC power supply for the compressor 102.

[0101] The voltage detection circuit 204 mainly detects the bus voltage through the voltage dividing resistor, and sends the detected voltage to the voltage analog-to-digital conversion module 209. The voltage analog-to-digital conversion module 209 converts the received voltage into a voltage signal, so that the controller 201 can obtain the voltage signal in the voltage analog-to-digital conversion module 209. The current sampling circuit 207 samples the DC bus current and sends the collected current to the operational amplifier 2012. The operational amplifier 2012 processes the collected current and sends the processed current to the current analog-to-digital conversion module ( Figure 2 The current analog-to-digital conversion module converts the received current into a current signal, so that the controller 201 can obtain the current signal in the current analog-to-digital conversion module.

[0102] The controller 201 analyzes and processes the digital current signal to obtain a pulse width modulation (PWM) signal for controlling the operation of the compressor 102, and sends the PWM signal to the drive circuit 206 through the pulse width modulation signal output module 2010. The drive circuit 206 uses the PWM signal to control the output of the three-phase inverter circuit 205 to control the operating state of the compressor 102.

[0103] The memory 208 is used to store information such as the gear position of the refrigerator. The embodiment of the present application does not specifically limit the information that the memory 208 can store.

[0104] The temperature analog-to-digital conversion module 2011 is used to convert the temperature collected by the temperature sensor into a temperature signal, so that the controller 201 can obtain the temperature signal in the temperature analog-to-digital conversion module 2011 .

[0105] The key detection circuit 2013 is used to detect the state of the key in real time and adjust the gear position and control mode of the refrigerator. The display driving circuit 2014 drives the display module 2015 to display the gear position and mode information.

[0106] It should be noted that the button is a button set on the refrigerator, and the user can set the temperature of the refrigerator, etc. by operating the button.

[0107] The fan 103 can be driven through the fan interface 2017 to drive the refrigerator fan 103 to work.

[0108] like Figure 2 As described above, the controller can obtain information from the key detection circuit through the interface, and transmit data to the display drive circuit and the fan drive circuit through the interface.

[0109] It should be noted that Figure 2 The structures shown are merely exemplary structures and do not constitute any limitation.

[0110] Combination Figure 2 The structure shown in FIG. 1 is shown in FIG. 1 . The control method of the controller for the refrigerator during the operation of the refrigerator is described below. For details, see Figure 3 shown. Figure 3 The figure is a flow chart of a method for controlling a refrigerator according to some embodiments.

[0111] Figure 3 As shown, the refrigerator control method may include the following steps:

[0112] S301. During the execution of a cyclic task, whenever the accumulated working time reaches a first preset time, the execution of the cyclic task is suspended.

[0113] In an embodiment of the present application, a cyclic task is a task that is executed cyclically. The cyclic task may include multiple subtasks. The subtasks may be query tasks such as compressor fault query, compressor speed query, display refresh query, as well as control tasks such as compartment temperature calculation, display tasks, button detection, and judgment of compressor startup and shutdown.

[0114] The accumulated working time is the timing time of the first timer, and the first preset time is the set time corresponding to the first timer, which can be set according to the actual situation of the refrigerator, for example, 0.2 milliseconds. The embodiment of the present application does not make any specific limitation on the first preset time.

[0115] Exemplarily, when the controller is executing a cyclic task, when the timing duration of the first timer reaches its corresponding set duration, the controller will detect a related signal. For example, when the timing duration of the first timer reaches its corresponding set duration, the first timer can set the corresponding flag position to 1, and when the controller detects that the flag position is 1, it determines that the accumulated working time reaches the first preset duration.

[0116] When the controller pauses a cyclic task, it needs to store the nodes before the current cyclic task so that it can continue the cyclic task later.

[0117] S302: Acquire control parameters corresponding to the compressor, and control the operation of the compressor based on the control parameters.

[0118] Combination Figure 2 The control parameter corresponding to the compressor may be the current collected by the current sampling circuit, and the controller may obtain it in the current analog-to-digital conversion module.

[0119] In a possible implementation, the current sampling circuit is controlled by a controller. When the controller controls the pause cycle task, the current sampling circuit can be controlled to collect current, and the collected current is sent to the operational amplifier, which processes the current and sends the processed current to the current analog-to-digital conversion module ( Figure 2 The current analog-to-digital conversion module converts the received current into a current signal, and the controller can obtain the current signal in the current analog-to-digital conversion module.

[0120] In another possible implementation, the current sampling circuit collects the current in real time. When the controller pauses the cycle task, the controller controls the current sampling circuit to send the collected current to the operational amplifier, the operational amplifier processes the current, and sends the processed current to the current analog-to-digital conversion module ( Figure 2 The current analog-to-digital conversion module converts the received current into a current signal, and the controller can obtain the current signal in the current analog-to-digital conversion module.

[0121] Of course, the controller may not control the current sampling circuit, so that the current collected by the current sampling circuit in real time is sent to the operational amplifier in real time, and the current processed by the operational amplifier is sent to the current analog-to-digital conversion module, and the current analog-to-digital conversion module converts the received current into a current signal. When the controller pauses the cycle task, the controller obtains the current signal in the current analog-to-digital conversion module.

[0122] In the embodiment of the present application, after the controller obtains the control parameters corresponding to the compressor, it can process the control parameters to obtain the operating parameters for controlling the operation of the compressor, for example, to obtain a PWM signal. The controller can send the obtained operating parameters to the operating parameter output module, and output the operating parameters to the drive circuit of the compressor through the operating parameter output module to control the operation of the compressor.

[0123] The operating parameter output module can be the above Figure 2 The pulse modulation signal output module in the embodiment of the present application is not specifically limited to this, and other modules are obtained.

[0124] In the present application, the execution frequency of the cyclic task is lower than the first frequency, and the first frequency is the frequency for obtaining the control parameters corresponding to the compressor.

[0125] Exemplarily, a cyclic task may include multiple subtasks, and the importance of each subtask is lower than the importance of obtaining the control parameters corresponding to the compressor.

[0126] S303, continue to execute the cyclic task.

[0127] Exemplarily, the controller may continue to execute the cyclic task after completing the acquisition of parameters and parameter processing, etc. When the controller continues to execute the cyclic task, it may continue to execute from the position where the cyclic task stopped.

[0128] In this way, since the compressor is an important component to maintain the operation of the refrigerator, and the control of the compressor requires the controller to obtain the corresponding control parameters of the compressor. In this application, when the controller executes the cyclic task, the control parameters corresponding to the compressor are obtained every time a certain length of time is reached, and the cyclic task can be continued thereafter. It is achieved that the cyclic task and the task of obtaining the control parameters corresponding to the compressor are controlled by one controller, so that the refrigerator can operate normally, and the control system of the refrigerator can be simplified.

[0129] Based on the above embodiments, the execution process of the cyclic task and the execution process of the task of obtaining the control parameters corresponding to the compressor are respectively described in detail below.

[0130] In the embodiment of the present application, the cyclic task includes a timed query task and a polling task, wherein the execution level of the timed query task is higher than the execution level of the polling task.

[0131] The controller executes the cyclic task process as follows Figure 4 As shown, Figure 4 The present invention is a flowchart of a controller executing a cyclic task according to some embodiments.

[0132] like Figure 4 As shown in the figure, the process of the controller executing the cyclic task includes the following steps:

[0133] S401. Start.

[0134] S402: Initialization.

[0135] After the refrigerator is powered on, the control system of the refrigerator is initialized to prepare for subsequent normal operation.

[0136] S403, enter the main loop.

[0137] The main cycle is a task that is cyclically executed during the normal operation of the refrigerator, and is the cyclic task described in the above embodiment. The content of the main cycle includes the timing query task described in the following steps S404 to S408.

[0138] S404: Determine whether there is a timing mark.

[0139] After the controller performs the main loop, the controller can determine whether there is a timing mark, which is generated by a timer according to a target set duration. The timer is a second timer, which is different from the first timer described in step S201 of the above embodiment.

[0140] Exemplarily, the controller can detect the flag bit corresponding to the second timer, and when it is detected that the flag bit corresponding to the second timer is the target flag bit, the timing query task and the polling task are executed in sequence. When the flag bit is a non-target flag bit, the timing query task is skipped and the polling task is executed.

[0141] The second timer can update the flag bit according to the time set by the second timer. When the timing duration of the second timer reaches the set duration, the second timer can update the flag bit. If the timing duration of the second timer reaches the set duration, the second timer updates the flag bit to 1. If the controller detects that the flag bit of the second timer is 1, the second timer updates the flag bit to 0.

[0142] The set duration of the second timer can be set according to the actual situation of the refrigerator, and the embodiment of the present application does not make any specific limitation on this.

[0143] Thus, when the controller determines that there is a timing mark, that is, the flag bit corresponding to the second timer is detected as the target flag bit, the controller can sequentially execute the following steps S404 to S4010. When the controller determines that there is no timing mark, the controller can execute the following steps S409 to S4010.

[0144] S405: Query the status of the compressor.

[0145] The states of the compressor include shutdown, positioning, open-loop operation, closed-loop operation, etc. The embodiments of the present application do not specifically limit the states of the compressor.

[0146] By querying the status of the compressor, it is convenient to follow up on the status of the compressor and take different control measures for the compressor.

[0147] S406: Query the fault status.

[0148] For example, the controller can detect whether the compressor has undervoltage, overvoltage, overcurrent or other faults based on the voltage and current signals collected in real time.

[0149] S407: Adjust the rotation speed of the compressor.

[0150] For example, the controller may adjust the speed of the compressor according to a preset logic, so as to adjust the speed of the compressor in real time according to the cooling demand.

[0151] S408: Display refresh.

[0152] The operating status of the compressor, the operating mode of the refrigerator, the temperature of the storage room in the refrigerator, the functions of the refrigerator, etc. are refreshed, and the displayed content is refreshed for the data that needs to be displayed on the display panel of the refrigerator.

[0153] S409, display and control time base.

[0154] According to the preset display control time base, after executing the above steps, the polling task of the following steps is executed, and the timing of the second timer provides a time base for executing the polling task of the following steps.

[0155] S4010, executing display control polling task.

[0156] The content of the display control polling task is as follows: Figure 5 As shown, Figure 5 A schematic diagram of a polling task provided in an embodiment of the present application.

[0157] like Figure 5 As shown, the polling tasks include temperature sensor abnormality judgment, compartment temperature calculation, display tasks, key detection, start and stop point judgment, and compressor start and stop control tasks.

[0158] Figure 5The polling tasks shown can be executed in sequence at certain time intervals, for example, a polling task is executed every 1 second. During the execution of the polling tasks, if the previous polling task has been completed but it is not time to execute the next polling task, all polling tasks are skipped in sequence, and step S404 is executed to check whether there is a timing flag. If so, the task after step S404 can be executed first. If not, step S404 is repeated. When it is time for the next polling task, the next polling task is started, until all polling tasks are executed. After all polling tasks are executed, the polling time base is cleared to 0, and repeated execution starts from the first polling task.

[0159] It is understandable that the embodiments of the present application are only Figure 5 The polling tasks shown are for illustration only and do not constitute any limitation.

[0160] In this way, the display timing query task and the polling task are executed in a cyclic manner, so that the refrigerator can operate normally.

[0161] In combination with the above embodiment, the parameter acquisition task performed by the controller after pausing the execution of the cyclic task is described below.

[0162] In an embodiment of the present application, the parameter acquisition task performed by the controller can be called an interrupt task. In this way, during the process of the controller executing a cyclic task, each time the accumulated working time reaches a first preset time, the controller can determine that the interrupt task needs to be executed. At this time, the controller suspends the execution of the cyclic task and executes the interrupt task instead.

[0163] The process of interrupting tasks can be found in Figure 6 As shown, Figure 6 The figure is a flowchart of an interruption task according to some embodiments.

[0164] like Figure 6 As shown, the process of interrupting a task may include:

[0165] S601, enter the interrupt task.

[0166] S602: Collect and process parameters to obtain processed parameters.

[0167] In combination with the above embodiments, the collected parameter may be a current signal.

[0168] Parameter acquisition can be for the controller to obtain a current signal in a current analog-to-digital conversion module, and process the acquired current to obtain a processed parameter.

[0169] S603: Perform vector operation on the processed parameters to obtain the operated parameters.

[0170] Exemplarily, by performing vector operations on the processed parameters, the current signal can be converted into a vector form to obtain a current signal in a vector form, that is, the operated parameters.

[0171] S604: Estimate the rotation speed and position of the compressor according to the calculated parameters.

[0172] S605: Calculate the duty cycle corresponding to the compressor.

[0173] The controller may calculate a duty cycle of the compressor according to the determined rotation speed and position of the compressor to control the operation of the compressor through the duty cycle.

[0174] S606: Exit the interrupt task.

[0175] In this way, the operating parameters of the compressor can be determined by executing the interruption to control the operation of the compressor so that the refrigerator can operate normally.

[0176] In the prior art, the refrigerator includes two controllers, one of which executes the display control program, and its main functions include real-time detection of buttons, real-time refresh of display, gear memory, special mode, etc. The other controller executes the frequency conversion program, and its main functions include real-time control of the compressor, which requires regular acquisition of the operating parameters of the compressor.

[0177] Among them, the gear memory function of the display panel is usually performed in a polling task. Every few seconds, the current gear information of the refrigerator is queried, and the gear information stored in the memory is compared to determine whether the gear information stored in the memory needs to be updated. When the gear information stored in the memory needs to be updated, the controller needs to suspend the currently executed task, erase the original gear information in the memory, and write the new gear information.

[0178] Since the prior art includes two controllers, erasing the data in the memory by interruption does not affect the control task performed by the other controller, that is, it does not affect the real-time control of the compressor by the controller. However, the refrigerator in the present application includes a controller, and when erasing the data in the memory by interruption, the controller needs to suspend the execution of the task, which will affect the controller's control over the operation of the compressor.

[0179] In the present application, when the compressor is detected to be in undervoltage protection state, the first gear information and the current second gear information stored in the memory are obtained; the first gear information and the second gear information are compared to see whether they are the same; when the first gear information and the second gear information are not the same, the first gear information is erased from the memory and the second gear information is written.

[0180] In an embodiment of the present application, when it is detected that the voltage at the power supply end is less than a voltage threshold and the duration is greater than or equal to a second preset duration, the compressor is controlled to enter an undervoltage protection state.

[0181] In combination with the above embodiments, the voltage detection circuit can collect the voltage of the power supply terminal of the refrigerator in real time, and send the voltage to the voltage analog-to-digital conversion module, and the voltage analog-to-digital conversion module converts the voltage to obtain a voltage signal. The controller can obtain the voltage signal in the voltage analog-to-digital conversion module in real time, that is, the controller can detect the voltage of the power supply terminal of the refrigerator in real time.

[0182] When the refrigerator is powered off, the controller detects that the voltage at the power supply end of the refrigerator is less than or equal to the voltage threshold, and can control the compressor to enter an undervoltage protection state, that is, control the compressor to stop.

[0183] Specifically, the controller may control to stop outputting a driving signal for controlling the operation of the compressor, so that the compressor stops operating.

[0184] Among them, the voltage threshold is the undervoltage protection value of the compressor, which can be specifically set according to the actual situation of the compressor, and the embodiment of the present application does not limit this.

[0185] In the embodiment of the present application, when it is detected that the voltage at the power supply end is continuously less than or equal to the voltage threshold and the duration reaches the second preset duration, the interruption can be turned off, that is, the timer for the accumulated working time is turned off. Since the compressor is in the undervoltage protection state at this time, turning off the interruption will not affect the operation of the compressor.

[0186] The second preset time length may be set according to the actual situation of the refrigerator, and the embodiment of the present application does not make any specific limitation on this.

[0187] In the embodiment of the present application, the hardware part of the refrigerator is mainly composed of 4 voltage values, namely, AC voltage, rectified DC bus voltage, and the first weak current voltage and the second weak current voltage output by the power chip. Among them, the DC voltage is mainly supplied to the inverter circuit for compressor operation, and at the same time supplies the power chip to generate the first weak current voltage and the second weak current voltage, and supplies the driver chip and the controller. Since the controller can detect the DC bus voltage in real time, and the DC bus voltage contains high-voltage electrolytic capacitors, in the case of a sudden power outage, the bus voltage will gradually decrease and maintain for a few seconds due to the capacitor energy storage effect. At the same time, since the controller is powered by weak electricity and also contains electrolytic capacitors, when the DC bus voltage drops to a lower voltage, the controller can also relatively maintain a period of working time. Therefore, when the refrigerator is about to lose power, the controller can work for a period of time, and the gear information in the memory can be erased and written.

[0188] In this way, the gear position can be erased when the refrigerator is about to be powered off to memorize the gear position information of the refrigerator, so that the refrigerator can be operated using the recorded gear position information when it is turned on next time. The influence of gear position memory on the operation of the compressor can be reduced.

[0189] For example, the process of the controller entering the gear information record can be found in Figure 7 As shown, Figure 7 The figure is a flow chart of a controller entering gear information recording according to some embodiments.

[0190] like Figure 7 As shown, the record of the controller entering the gear position information includes:

[0191] S701: Voltage detection.

[0192] S702: Determine whether the voltage is lower than the undervoltage protection value.

[0193] When the voltage is lower than the undervoltage protection value, the following step S703 is executed. When the voltage is higher than the undervoltage protection value, the following step S704 is executed.

[0194] S703: The count value is increased by 1.

[0195] S704, the count value is reduced by 1.

[0196] In this way, by adding 1 and subtracting 1 from the count value, the number of times the voltage is lower than the undervoltage protection value can be determined, that is, the duration of time the voltage is lower than the undervoltage protection value can be determined.

[0197] S705: Determine whether the count value reaches the set value.

[0198] When the count value reaches the set value, it means that the voltage has been below the undervoltage protection value for a second preset time, and step S706 can be executed. When the count value does not reach the set value, it means that the voltage has been below the undervoltage protection value for a second preset time, and step S708 can be executed.

[0199] S706: Enter the fault protection state.

[0200] Entering the fault protection state, the compressor is controlled to stop running.

[0201] S707. Record the gear position through the gear position memory module.

[0202] S708. Exit.

[0203] Further, the process of the controller recording the gear information through the gear memory module can be found in Figure 8 As shown, Figure 8 The figure is a schematic diagram of a process of recording gear information according to some embodiments.

[0204] like Figure 8 As shown, the record of gear information includes:

[0205] S801, gear memory module entry.

[0206] S802: Read memory data.

[0207] Specifically, the gear position in the memory is read.

[0208] S803: Determine whether it is consistent with the current gear position.

[0209] It is determined whether the read gear position is consistent with the current gear position, and if so, the following step S806 is executed. If not, the following step S804 is executed.

[0210] S804: Erase data.

[0211] Erase the gear position in the memory.

[0212] S805: Data writing.

[0213] Write the current gear position into memory.

[0214] S806. Exit.

[0215] In this way, when the compressor is stopped, the data in the memory is erased and written, which can reduce the impact on the operation of the compressor caused by erasing the data in the memory.

[0216] In the prior art, the temperature detection system of the variable frequency refrigerator usually consists of an ambient temperature sensor and a compartment sensor. The ambient temperature sensor is used to set the startup speed, and the compartment temperature sensor is used to set the startup and shutdown. When the refrigerator is refrigerating, the startup speed of the compressor is mainly detected by the ambient temperature sensor. When the ambient temperature is high, the startup speed is high, and when the ambient temperature is low, the startup speed is low, thereby achieving the effect of variable frequency energy saving.

[0217] However, the two temperature sensors make the manufacturing cost of the refrigerator high, and the temperature sensors also need to occupy a certain space in the refrigerator.

[0218] In the embodiment of the present application, the refrigerator includes a compartment temperature sensor but does not include an ambient temperature sensor. Fig. 9 As shown, Fig. 9 It is a schematic diagram of the structure inside a refrigerator according to some embodiments.

[0219] like Fig. 9As shown, the refrigerator includes a compartment temperature sensor 104, which can detect the temperature of the storage compartment in the refrigerator and send the detected temperature to the temperature analog-to-digital conversion module 2011. The temperature analog-to-digital conversion module 2011 converts the temperature to obtain a temperature signal, so that the controller 201 can obtain the temperature signal in the temperature analog-to-digital conversion module 2011.

[0220] The controller 202 can control the operation of the compressor according to the acquired temperature signal. The following is a description of a method for controlling the compressor of a refrigerator using a compartment temperature sensor.

[0221] In an embodiment of the present application, the controller can obtain a first temperature detected by a compartment temperature sensor; when the first temperature is higher than a temperature threshold, the compressor is controlled to start up, and the number of times the compressor is started up is obtained; and according to the number of times the compressor is started up, the corresponding operating parameters are used to control the operation of the compressor.

[0222] The temperature threshold is pre-set and is not specifically limited in the embodiments of the present application.

[0223] It is understandable that the refrigerator may include multiple storage chambers, each storage chamber may have a different set temperature, and different storage chambers may correspond to different compartment temperature sensors. Therefore, when the first temperature of any compartment temperature sensor is higher than its corresponding temperature threshold, the compressor needs to be controlled to run, that is, the number of times the compressor is turned on needs to be obtained.

[0224] In this way, by comparing the compartment temperature with the set temperature, it is determined whether the compressor is turned on and running, and there is no need to use an ambient temperature sensor, which can reduce the number of temperature sensors and reduce the cost of the refrigerator.

[0225] The compressor is started up at different times, and the corresponding operating parameters are different. The following describes the controller controlling the operation of the compressor at different startup times of the compressor.

[0226] In an embodiment of the present application, when it is determined that the compressor is started for the first time, a first speed, a third preset time, and a target speed are obtained; the compressor is controlled to run at the first speed; within the third preset time, the speed of the compressor is controlled to increase from the first speed to the target speed; a second temperature detected by the compartment temperature sensor is obtained; when the second temperature is lower than or equal to the temperature threshold, the compressor is controlled to stop running.

[0227] The first rotational speed may be a relatively high rotational speed, and the third preset time length may be a relatively short time length, such as 4 minutes, 5 minutes, etc., so that the temperature in the refrigerator can be quickly lowered when the compressor is turned on.

[0228] For example, when the compressor is turned on for the first time, the compressor is controlled to run at a speed corresponding to the 8th gear, and then increased to the highest speed after 5 minutes until it stops.

[0229] Exemplarily, when the refrigerator includes multiple compartment temperature sensors, and each compartment temperature sensor has its corresponding temperature threshold, when the temperature detected by each temperature sensor is lower than or equal to its corresponding temperature threshold, the compressor is controlled to stop running.

[0230] The target speed may be the maximum speed of the compressor, or a speed close to the maximum speed of the compressor, so as to achieve a rapid cooling effect when the compressor is turned on for the first time. The target speed is not specifically limited in the embodiment of the present application.

[0231] This way, when the compressor is first turned on, it can lower the temperature inside the refrigerator for a specific period of time.

[0232] In an embodiment of the present application, when it is determined that the compressor has been started up for the Mth time, the second speed and the fourth preset time are obtained; M is an integer greater than or equal to 2 and less than the target value; the target value is an integer greater than 2; the compressor is controlled to run at the second speed; the speed of the compressor is controlled to increase once every fourth preset time; the third temperature detected by the compartment temperature sensor is obtained; when the third temperature is lower than or equal to the temperature threshold, the compressor is controlled to stop running.

[0233] Among them, the target value can be a smaller value, for example, the target value can be 3 or 4, and the embodiment of the present application does not specifically limit the target value.

[0234] The first rotational speed may be a higher rotational speed, and the fourth preset time length may be pre-set. The embodiment of the present application does not specifically limit the fourth preset time length.

[0235] For example, the controller can control the compressor to start running at the speed corresponding to the high speed 9th gear, and the speed will automatically increase by 1 gear every 50 minutes until it stops.

[0236] In this way, when the compressor is not turned on for the first time, the operation of the compressor can be made more in line with the actual situation by reducing the time it takes to increase the speed, providing reference data support for subsequent compressor control.

[0237] In an embodiment of the present application, when it is determined that the number of times the compressor is started up is the Nth time, the start-up rate of the compressor in the previous operation cycle is obtained; N is an integer greater than or equal to the target value, and the target value is an integer greater than 2; according to the start-up rate and the speed of the compressor when it was last shut down, the third speed of the compressor and the speed adjustment rule are determined; the compressor is controlled to operate at the third speed; according to the speed adjustment rule, the speed of the compressor is controlled to increase; the fourth temperature detected by the compartment temperature sensor is obtained; when the fourth temperature is lower than or equal to the temperature threshold, the compressor is controlled to stop running.

[0238] The startup rate of each start-stop cycle is the ratio of the startup time to the total time of the start-stop cycle.

[0239] It is understandable that when the startup rate is high, it is considered that the current system cooling demand is strong and the compressor speed needs to be increased, and when the startup rate is low, it is considered that the cooling demand is low and the compressor speed can be reduced. Therefore, when the startup rate is high, the third speed determined is high, and when the startup rate is low, the third speed determined is low.

[0240] In the embodiment of the present application, according to the speed adjustment rule, controlling the speed of the compressor to increase may include the following two possible implementations:

[0241] In a possible implementation, the speed adjustment rules corresponding to different startup rates are the same. The speed adjustment rules may include a time interval for speed increase, etc.

[0242] For example, the speed adjustment rule may be that the speed of the compressor is increased by one gear every time the compressor runs for more than 70 minutes. If it is not increased to the highest gear, i.e., the highest speed, after two consecutive upshifts, it will be increased to the highest speed for the third time and then until it stops.

[0243] In another possible implementation, different startup rates correspond to different speed adjustment rules. The speed adjustment rule may include a time interval for speed increase, etc. When the third speed is relatively low, the time interval for speed increase in the speed adjustment rule is relatively low, or the speed increased each time is relatively high. When the third speed is relatively high, the time interval for speed increase in the speed adjustment rule is relatively high, or the speed increased each time is relatively low.

[0244] In this way, the initial speed of the compressor and the speed adjustment rule are determined by the startup rate in the last operation cycle, so that during the control process of the compressor, the speed can be adjusted without the ambient temperature sensor.

[0245] In the embodiment of the present application, according to the startup rate and the speed of the compressor when it was last shut down, determining the third speed of the compressor may include the following situations:

[0246] Case 1: when the startup rate is within the first preset range, the difference between the rotation speed of the compressor when it was last shut down and the first preset rotation speed is determined as the third rotation speed.

[0247] For example, the first preset range may be 60%. When the startup rate is ≤ 60%, the shutdown speed of the previous cycle is reduced by 2 gears as the startup speed. Since the lowest speed of the compressor is 1 gear, when the speed of the previous cycle is 2 gears, it is reduced by 1 gear.

[0248] Case 2: When the startup rate is within the second preset range, the difference between the speed of the compressor when it last stopped and the second preset speed is determined as the third speed; the value within the second preset range is greater than the value within the first preset range, and the second preset speed is less than the first preset speed.

[0249] For example, when 60% < startup rate < 78%, the shutdown speed of the previous cycle minus 1 gear can be used as the startup speed. Since the lowest speed of the compressor is 1 gear, when the speed of the previous cycle is 1 gear, the shutdown speed of the previous cycle is directly determined as the third speed.

[0250] Case 3: when the startup rate is within the third preset range, the rotation speed of the compressor when it was last shut down is determined as the third rotation speed; and the value within the third preset range is greater than the value within the second preset range.

[0251] For example, when the startup rate is 78%≤≤88%, the shutdown speed of the previous cycle is used as the startup speed.

[0252] Case 4: when the startup rate is within the fourth preset range, the sum of the speed of the last shutdown of the compressor and the third preset speed is determined as the third speed; the value within the fourth preset range is greater than the value within the third preset range.

[0253] For example, when 88% < startup rate < 95%, the shutdown speed of the previous cycle plus 1 gear is used as the startup speed. Since the highest speed of the compressor is 11 gears, when the speed of the previous cycle is 11 gears, there is no downshift, and the shutdown speed of the previous cycle is directly used as the startup speed.

[0254] Case 5: When the startup rate is within the fifth preset range, the sum of the speed of the compressor when it last stopped and the fourth preset speed is determined as the third speed; the value within the fifth preset range is greater than the value within the fourth preset range, and the fourth preset speed is greater than the third preset speed.

[0255] For example, when 95% ≤ the startup rate, the shutdown speed of the previous cycle plus 2 gears is used as the startup speed. Since the highest speed of the compressor is 11 gears, when the speed of the previous cycle is 10 gears, 1 gear is added.

[0256] It should be noted that during the operation of the refrigerator compressor, when it is detected that the compressor has been running continuously for more than a certain period of time in a certain operation cycle, the compressor is controlled to stop for a period of time. When it is turned on again, the compressor can be controlled to run at the highest speed to protect the compressor and reduce damage to the compressor.

[0257] For example, when the compressor runs continuously for 26 hours in a certain operation cycle, the compressor can be controlled to stop for 10 minutes.

[0258] Fig.10 The figure is a flow chart of a controller controlling the operation of a compressor according to some embodiments.

[0259] like Fig.10 As shown, the steps of the controller controlling the operation of the compressor may include:

[0260] S1001, compressor speed adjustment entrance.

[0261] S1002, determining whether the power-on point has been reached.

[0262] Exemplarily, the controller determines whether the startup point is reached based on the temperature collected by the compartment temperature sensor and the temperature threshold. When the temperature collected by the compartment temperature sensor is higher than the temperature threshold, it is determined that the startup point is reached and the compressor needs to be started and operated, and the following step S1003 can be executed. When the temperature collected by the compartment temperature sensor is lower than or equal to the temperature threshold, it is determined that the startup point is not reached, and the following step S1013 can be executed.

[0263] S1003: Determine whether the system is in a forced shutdown state.

[0264] Forced shutdown is the situation that the compressor described in the above embodiment continues to run for a certain period of time in a certain operation cycle. If the compressor is in a forced shutdown state, the following step S1013 can be executed. If the compressor is normally started, the following step S1004 can be executed.

[0265] S1004, control the compressor to start up.

[0266] S1005, determining whether the machine is restarted after forced shutdown.

[0267] If the compressor is restarted after forced shutdown, the following step S1006 may be executed. If the compressor is started normally, the following step S1007 may be executed.

[0268] S1006. Run at a speed corresponding to the restart strategy after forced shutdown.

[0269] The restart strategy after forced shutdown can be found in the above embodiment, which will not be described in detail here.

[0270] S1007, determining whether it is the first time to start the computer.

[0271] If the compressor is turned on for the first time, the following step S1008 may be performed. Otherwise, the following step S1009 may be performed.

[0272] S1008. Run at a speed corresponding to the initial startup strategy.

[0273] The first startup strategy can be found in the above embodiment and will not be described in detail here.

[0274] S1009: Determine whether this is the second time the computer is turned on.

[0275] If the compressor is started for the second time, the following step S1010 may be performed. Otherwise, the following step S1011 may be performed.

[0276] S1010. Run at a speed corresponding to the second startup strategy.

[0277] The second startup strategy can be found in the above embodiment, which will not be described in detail here.

[0278] S1011, determining whether it is the third or subsequent power-on time.

[0279] If the compressor is turned on for the third time or later, the following step S1012 may be performed. Otherwise, the following step S1013 may be performed.

[0280] S1012. Run at a speed determined according to the startup rate.

[0281] The speed operation determined according to the startup rate can be referred to the above embodiment, which will not be described in detail here.

[0282] S1013. Exit.

[0283] In this way, the refrigerator of the present application abandons the traditional ambient temperature sensor control and only retains the compartment sensor. The compartment sensor is used to give the start and stop commands, the start speed is determined by the start rate, and the speed gear is refined through the start rate adjustment algorithm to achieve intelligent frequency conversion.

[0284] The present application also provides a computer-readable storage medium, which may include: 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. Specifically, the computer-readable storage medium stores computer execution instructions, which are used to implement the technical solution shown in the above method embodiment when executed by a computer.

[0285] The present application also provides a program product, which includes execution instructions stored in a readable storage medium. When the computer program is executed by a computer, the technical solution shown in the above method embodiment is executed. The specific implementation method and technical effect are similar and will not be repeated here.

[0286] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present application.

[0287] For ease of explanation, the above description has been made in conjunction with specific embodiments. However, the above exemplary discussion is not intended to be exhaustive or limit the embodiments to the specific forms disclosed above. Based on the above teachings, various modifications and variations can be obtained. The selection and description of the above embodiments are intended to better explain the principles and practical applications, so that those skilled in the art can better use the embodiments and various different variations of the embodiments suitable for specific use considerations.

[0288] In this application, "and / or" is only a description of the association relationship of the associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article indicates that the associated objects before and after are in an "or" relationship.

[0289] "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single items 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, b and c, where each of a, b, c can be an element itself or a set containing one or more elements.

[0290] In this application, "at least one" means one or more. "Multiple" means two or more. The first, second, etc. descriptions that appear in the embodiments of this application are only used for illustration and distinction of the described objects. There is no order, nor does it represent a special limitation on the number of devices in the embodiments of this application, and cannot constitute any limitation on the embodiments of this application. For example, the first threshold and the second threshold are only used to distinguish different thresholds, and do not represent the difference in size, priority or importance of the two thresholds.

[0291] In this application, "exemplary", "in some embodiments", "in other embodiments", etc. are used to indicate examples, illustrations, or descriptions. Any embodiment or design described as "exemplary" in this application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of the word "exemplary" is intended to present concepts in a concrete way.

[0292] In this application, "of", "corresponding, relevant", "corresponding", and "associated" can sometimes be used interchangeably. It should be noted that when the distinction is not emphasized, the meanings they express are consistent. In the embodiments of this application, communication and transmission can sometimes be used interchangeably. It should be noted that when the distinction is not emphasized, the meanings they express are consistent. For example, transmission can include sending and / or receiving, which can be a noun or a verb.

[0293] In this application, "equal to" can be used in conjunction with "less than" or "greater than", but not with both "less than" and "greater than". When "equal to" is used in conjunction with "less than", it is applicable to the technical solution adopted by "less than". When "equal to" is used in conjunction with "greater than", it is applicable to the technical solution adopted by "greater than".

Claims

1. A refrigerator control method, characterized in that: Applied to a refrigerator, the refrigerator includes a controller and a compressor, and the method includes: During the execution of the cyclic task, whenever the accumulated working time reaches a first preset time, the execution of the cyclic task is suspended; Acquiring control parameters corresponding to the compressor, and controlling the operation of the compressor based on the control parameters; wherein the execution frequency of the cyclic task is lower than a first frequency, and the first frequency is a frequency for acquiring the control parameters corresponding to the compressor; Continue to execute the loop task.

2. The refrigerator according to claim 1, characterized in that: The cyclic tasks include timed query tasks and polling tasks; The execution cycle tasks include: When it is detected that the flag bit corresponding to the timer is the target flag bit, the timing query task and the polling task are executed in sequence.

3. The refrigerator according to any one of claims 1 or 2, characterized in that: The refrigerator further comprises a memory; The method further comprises: When it is detected that the compressor is in an undervoltage protection state; Acquire the first gear information and the current second gear information stored in the memory, and compare whether the first gear information and the second gear information are the same; When the first gear position information and the second gear position information are different, the first gear position information is erased from the memory, and the second gear position information is written into the memory.

4. The refrigerator according to claim 3, characterized in that: The method further comprises: When it is detected that the voltage at the power supply end is less than the voltage threshold and the duration is greater than or equal to the second preset duration, the compressor is controlled to enter the undervoltage protection state.

5. The refrigerator according to claim 1, characterized in that: The refrigerator also includes a compartment temperature sensor; The method further comprises: Acquire a first temperature detected by the compartment temperature sensor; When the first temperature is higher than a temperature threshold, the compressor is controlled to start up, and the number of startup operations of the compressor is obtained; According to the startup operation times, corresponding operation parameters are used to control the operation of the compressor.

6. The refrigerator according to claim 5, characterized in that: The step of controlling the operation of the compressor using corresponding operating parameters according to the startup operation times includes: When it is determined that the compressor is started up for the first time, obtaining a first speed, a third preset time, and a target speed; controlling the compressor to operate at the first speed; Within the third preset time period, controlling the speed of the compressor to increase from the first speed to the target speed; Acquire a second temperature detected by the compartment temperature sensor; When the second temperature is lower than or equal to the temperature threshold, the compressor is controlled to stop running.

7. The refrigerator according to claim 5, characterized in that: The step of controlling the operation of the compressor using corresponding operating parameters according to the startup operation times includes: When it is determined that the compressor has been started for the Mth time, the second speed and the fourth preset duration are obtained; M is an integer greater than or equal to 2 and less than a target value; the target value is an integer greater than 2; controlling the compressor to operate at the second speed; Controlling the speed of the compressor to increase once every fourth preset time period; Acquiring a third temperature detected by the compartment temperature sensor; When the third temperature is lower than or equal to the temperature threshold, the compressor is controlled to stop operating.

8. The refrigerator according to claim 5, characterized in that: The step of controlling the operation of the compressor using corresponding operating parameters according to the startup operation times includes: When it is determined that the compressor has been started for the Nth time, the startup rate of the compressor in the previous operation cycle is obtained; N is an integer greater than or equal to a target value, and the target value is an integer greater than 2; Determining a third speed and a speed adjustment rule of the compressor according to the startup rate and the speed of the compressor when it was last shut down; controlling the compressor to operate at the third speed; According to the speed adjustment rule, the speed of the compressor is controlled to increase; Acquiring a fourth temperature detected by the compartment temperature sensor; When the fourth temperature is lower than or equal to the temperature threshold, the compressor is controlled to stop operating.

9. The refrigerator according to claim 8, characterized in that: Determining the third speed of the compressor according to the startup rate and the speed of the compressor when it was last shut down includes: When the startup rate is within a first preset range, the difference between the rotation speed of the compressor when it was last shut down and the first preset rotation speed is determined as the third rotation speed; When the startup rate is within a second preset range, the difference between the speed of the last shutdown of the compressor and the second preset speed is determined as the third speed; the value within the second preset range is greater than the value within the first preset range, and the second preset speed is less than the first preset speed; When the startup rate is within a third preset range, the speed of the compressor when it was last shut down is determined as the third speed; the value within the third preset range is greater than the value within the second preset range; When the startup rate is within a fourth preset range, the sum of the speed of the last shutdown of the compressor and the third preset speed is determined as the third speed; the value within the fourth preset range is greater than the value within the third preset range; When the startup rate is within the fifth preset range, the sum of the speed of the compressor when it was last shut down and the fourth preset speed is determined as the third speed; the value within the fifth preset range is greater than the value within the fourth preset range, and the fourth preset speed is greater than the third preset speed.

10. A refrigerator, characterized in that: The refrigerator comprises: Controllers and compressors; The controller is configured to: During the execution of the cyclic task, whenever the accumulated working time reaches a first preset time, the execution of the cyclic task is suspended; Acquiring control parameters corresponding to the compressor, and controlling the operation of the compressor based on the control parameters; wherein the execution frequency of the cyclic task is lower than a first frequency, and the first frequency is a frequency for acquiring the control parameters corresponding to the compressor; Continue to execute the loop task.