Temperature collector, temperature collection method and device, refrigerator equipment and storage medium
By obtaining the set temperature of the intermediate chamber of the refrigerator equipment, determining the appropriate acquisition mode and dynamically adjusting the resistance value of the voltage divider circuit, the problem that existing temperature collectors cannot accurately collect the temperature of different chambers is solved, and high-precision temperature acquisition is achieved .
Patent Information
- Application Number
- CN202411802545.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-09
- Publication Date
- 2025-02-14
AI Technical Summary
The existing temperature collector cannot accurately collect temperatures for different chambers, resulting in inaccurate acquisition results.
By obtaining the set temperature of the target chamber, the appropriate acquisition mode is determined, thereby dynamically adjusting the resistance value of the voltage divider circuit of the temperature collector to ensure acquisition accuracy.
It realizes dynamic adjustment of the temperature acquisition accuracy according to the set temperature of different chambers to ensure the accuracy of temperature acquisition.
Smart Images

Figure CN119436722A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of temperature collection, and in particular to a temperature collector, a temperature collection method, a device, a refrigerator device and a storage medium. Background Art
[0002] Refrigerators are commonly used by household users. The temperature inside the refrigerator varies greatly depending on the user's adjustment, resulting in large differences in the temperature of each compartment. However, each compartment uses the same temperature collector, which uses a voltage divider resistor to collect the temperature sensing resistor voltage, and judge the current resistance value of the temperature sensing resistor by the voltage, and judge the current temperature by the resistance. The smaller the difference between the resistance value of the temperature sensing resistor and the voltage divider resistor, the more accurate the collection result. However, using the same temperature collector for temperature collection in all compartments has certain limitations, and it is impossible to accurately measure the temperature of different compartments. Summary of the invention
[0003] The present application provides a temperature collector, a temperature collection method, a device, a refrigerator device and a storage medium to solve the problem that the existing temperature collector cannot accurately measure the temperature of different compartments.
[0004] In a first aspect, the present application provides a temperature acquisition method, the method comprising:
[0005] Obtaining the set temperature of the target compartment where the target temperature collector is located, wherein the target compartment is a compartment in the refrigerator device where temperature collection is required;
[0006] According to the temperature collection scenario to which the set temperature of the target compartment belongs, determining the target collection mode currently used by the target temperature collector from multiple collection modes, wherein the target temperature collectors in different collection modes are used to cope with different temperature collection scenarios;
[0007] The target compartment temperature collected by the target temperature collector according to the target collection mode is obtained.
[0008] Optionally, the determining of the target acquisition mode currently used by the target temperature collector from a plurality of acquisition modes according to the temperature acquisition scenario to which the set temperature of the target compartment belongs includes at least one of the following:
[0009] When the set temperature of the target compartment belongs to the first temperature range, determining the first acquisition mode as the target acquisition mode of the target temperature collector, wherein in the first acquisition mode, only the first voltage-dividing resistor is enabled in the target temperature collector;
[0010] When the set temperature of the target compartment belongs to the second temperature range, the second acquisition mode is determined as the target acquisition mode of the target temperature collector, wherein the lower threshold limit of the second temperature range is higher than the upper threshold limit of the first temperature range, and in the second acquisition mode, the target temperature collector respectively enables the first voltage divider resistor and the second voltage divider resistor;
[0011] When the set temperature of the target compartment belongs to the third temperature range, the third acquisition mode is determined as the target acquisition mode of the target temperature collector, wherein the lower threshold of the third temperature range is higher than the upper threshold of the second temperature range, and in the third acquisition mode, only the second voltage-dividing resistor is enabled in the target temperature collector;
[0012] When the set temperature of the target compartment belongs to a fourth temperature range, the fourth acquisition mode is determined as the target acquisition mode of the target temperature collector, wherein the lower threshold limit of the fourth temperature range is higher than the upper threshold limit of the third temperature range, and the target temperature collector enables the second voltage-dividing resistor and the third voltage-dividing resistor respectively in the fourth acquisition mode;
[0013] When the set temperature of the target compartment belongs to the fifth temperature range, the fifth acquisition mode is determined as the target acquisition mode of the target temperature collector, wherein the lower threshold limit of the fifth temperature range is higher than the upper threshold limit of the fourth temperature range, and in the fifth acquisition mode, only the third voltage-dividing resistor is enabled in the target temperature collector, the resistance value of the first voltage-dividing resistor and the resistance value of the second voltage-dividing resistor are preset multiples, and the resistance value of the second voltage-dividing resistor and the resistance value of the third voltage-dividing resistor are preset multiples.
[0014] Optionally, the acquiring the target compartment temperature collected by the target temperature collector according to the target collection mode comprises at least one of the following:
[0015] When the target acquisition mode is the first acquisition mode, the first compartment temperature acquired by the target temperature collector when only the first voltage divider branch is turned on is used as the target compartment temperature;
[0016] When the target acquisition mode is the second acquisition mode, the average of the first compartment temperature acquired by the target temperature collector when only the first voltage-dividing branch is turned on and the second compartment temperature acquired by the target temperature collector when only the second voltage-dividing branch is turned on is determined as the target compartment temperature;
[0017] When the target acquisition mode is the third acquisition mode, the second compartment temperature acquired by the target temperature collector when only the second voltage-dividing branch is turned on is used as the target compartment temperature;
[0018] When the target acquisition mode is the fourth acquisition mode, the average of the second compartment temperature acquired by the target temperature collector when only the second voltage-dividing branch is turned on and the third compartment temperature acquired by the target temperature collector when only the third voltage-dividing branch is turned on is determined as the target compartment temperature;
[0019] When the target acquisition mode is the fifth acquisition mode, the third compartment temperature acquired by the target temperature collector when only the third voltage-dividing branch is turned on is used as the target compartment temperature.
[0020] In a second aspect, a temperature collector is provided, which includes a voltage divider circuit, a collection chip and a thermistor, wherein the voltage divider circuit includes multiple voltage divider branches connected in parallel, a first end of the voltage divider circuit is connected to a power supply, a second end of the voltage divider circuit is respectively connected to the collection chip and a first end of the thermistor, a second end of the thermistor is grounded, and each of the voltage divider branches is used to correspond to different temperature collection accuracies in different on-off states.
[0021] Optionally, the voltage-dividing circuit includes a first voltage-dividing branch, a second voltage-dividing branch and a third voltage-dividing branch, the first voltage-dividing branch includes a first switch and a first voltage-dividing resistor connected in series, the second voltage-dividing branch includes a second switch and a second voltage-dividing resistor connected in series, the third voltage-dividing branch includes a third switch and a third voltage-dividing resistor connected in series, the resistance value of the first voltage-dividing resistor is greater than the resistance value of the second voltage-dividing resistor, and the resistance value of the second voltage-dividing resistor is greater than the resistance value of the third voltage-dividing resistor.
[0022] Optionally, the resistance value of the first voltage-dividing resistor and the resistance value of the second voltage-dividing resistor are preset multiples, and the resistance value of the second voltage-dividing resistor and the resistance value of the third voltage-dividing resistor are preset multiples.
[0023] In a third aspect, a temperature collection device is provided, the temperature collection device comprising:
[0024] An acquisition module, used to acquire the set temperature of the target compartment where the target temperature collector is located, wherein the target compartment is a compartment in the refrigerator device where temperature acquisition is required;
[0025] a processing module, configured to determine the target acquisition mode currently used by the target temperature collector from a plurality of acquisition modes according to the temperature acquisition scenario to which the set temperature of the target compartment belongs, wherein the target temperature collectors in different acquisition modes are used to cope with different temperature acquisition scenarios;
[0026] The control module is used to obtain the target compartment temperature collected by the target temperature collector according to the target collection mode.
[0027] In a fourth aspect, a refrigerator device is provided, comprising a plurality of compartments and the temperature collection device as described above, wherein each of the compartments is provided with a temperature collector as described in any one of the above items.
[0028] In a fifth aspect, a computer-readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, any of the temperature acquisition methods described above is implemented.
[0029] In a sixth aspect, a computer program product is provided, comprising a computer program / instruction, which, when executed by a processor, implements any of the temperature acquisition methods described above.
[0030] The above technical solution provided by the embodiment of the present application has the following advantages over the prior art: the method provided by the embodiment of the present application obtains the set temperature of the target compartment where the target temperature collector is located, wherein the target compartment is a compartment in the refrigerator device that needs to perform temperature collection; according to the temperature collection scenario to which the set temperature of the target compartment belongs, determines the target collection mode currently used by the target temperature collector from multiple collection modes, wherein the target temperature collectors in different collection modes are used to cope with different temperature collection scenarios; obtains the target compartment temperature collected by the target temperature collector according to the target collection mode.
[0031] Based on the above method, the target acquisition mode of the target temperature collector is set based on the set temperature of the target compartment where the target temperature collector is located, so as to dynamically adjust the temperature acquisition accuracy of the target temperature collector, so that the temperature acquisition accuracy of the target temperature collector is adapted to the set temperature of the target compartment, ensuring that the target temperature collector can accurately collect the compartment temperature of the target compartment, thereby solving the problem that the existing temperature collector cannot accurately measure the compartment temperature of different compartments. BRIEF DESCRIPTION OF THE DRAWINGS
[0032] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.
[0033] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0034] One or more embodiments are exemplarily described by pictures in the corresponding drawings, and these exemplified descriptions do not constitute limitations on the embodiments. Elements with the same reference numerals in the drawings represent similar elements, and unless otherwise stated, the figures in the drawings do not constitute proportional limitations.
[0035] Figure 1 A schematic diagram of the structure of a temperature collector provided in an embodiment of the present application;
[0036] Figure 2 A schematic diagram of the structure of a temperature collector provided in an embodiment of the present application;
[0037] Figure 3 A schematic diagram of a temperature acquisition method provided in an embodiment of the present application;
[0038] Figure 4 A structural block diagram of a temperature acquisition device provided in an embodiment of the present application;
[0039] Figure 5 A schematic diagram of the internal structure of a refrigerator device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0040] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.
[0041] The disclosure below provides many different embodiments or examples to implement different structures of the present invention. In order to simplify the disclosure of the present invention, the parts and settings of specific examples are described below. Of course, they are only examples, and the purpose is not to limit the present invention. In addition, the present invention can repeat reference numbers and / or letters in different examples. This repetition is for the purpose of simplification and clarity, and does not itself indicate the relationship between the various embodiments and / or settings discussed.
[0042] In one embodiment, the temperature collection method is applied to a refrigerator device, which includes a plurality of compartments and a temperature collection device, wherein a temperature collector is disposed in each compartment, and the temperature collection device is used to control the collection mode of each temperature collector.
[0043] Reference Figure 1The temperature collector includes a voltage divider circuit 110, a collection chip 130 and a thermistor 120. The voltage divider circuit 110 includes a plurality of voltage divider branches connected in parallel. The first end of the voltage divider circuit 110 is connected to a power supply, and the second end of the voltage divider circuit 110 is respectively connected to the collection chip 130 and the first end of the thermistor 120. The second end of the thermistor 120 is grounded. Each of the voltage divider branches is used to correspond to different temperature collection accuracies in different on-off states.
[0044] Specifically, the thermistor 120 in the temperature collector is used to sense the compartment temperature and generate resistance changes and voltage changes accordingly. The acquisition chip 130 converts the resistance changes and voltage changes of the thermistor 120 into corresponding temperature signals and outputs them to the temperature acquisition device.
[0045] When the temperature collector is in working state, the smaller the difference between the resistance of the voltage divider circuit 110 and the resistance of thermistor 120, the more accurate the temperature collection accuracy. However, the resistance of thermistor 120 changes greatly according to the change of the room temperature. Generally, the higher the room temperature, the smaller the resistance. Therefore, it is necessary to dynamically adjust the on-off state of each voltage divider branch in combination with the room temperature of the temperature collector to reduce the difference between the resistance of the voltage divider circuit 110 and the resistance of thermistor 120 at the room temperature. The ratio between the collected voltage of the temperature collector and the voltage difference is equal to the ratio between the resistance of thermistor 120 and the resistance of the voltage divider circuit 110. The voltage difference is the difference between the power supply voltage and the collected voltage, that is, V / (V0-V)=R 热 / R 分 , where V0 is the power supply voltage, V is the acquisition voltage, R 热 is the resistance of thermistor 120, R 分 is the resistance of the voltage divider circuit 110. When the resistance of the thermistor 120 changes due to the change of the compartment temperature based on the ratio relationship, the resistance of the voltage divider circuit 110 needs to be adjusted accordingly. Specifically, the resistance of the voltage divider circuit 110 is changed by changing the on-off state of each voltage divider branch in the voltage divider circuit 110 to adapt to the temperature collection environment of the compartment where the temperature collector is located, thereby improving the collection accuracy of the compartment temperature by the temperature collector.
[0046] In one embodiment, referring to Figure 2 The voltage-dividing circuit 110 includes a first voltage-dividing branch, a second voltage-dividing branch and a third voltage-dividing branch. The first voltage-dividing branch includes a first switch and a first voltage-dividing resistor connected in series. The second voltage-dividing branch includes a second switch and a second voltage-dividing resistor connected in series. The third voltage-dividing branch includes a third switch and a third voltage-dividing resistor connected in series. The resistance value of the first voltage-dividing resistor is greater than the resistance value of the second voltage-dividing resistor, and the resistance value of the second voltage-dividing resistor is greater than the resistance value of the third voltage-dividing resistor.
[0047] Specifically, the voltage-dividing circuit 110 includes three voltage-dividing branches connected in parallel, each of which is formed by a switch and a voltage-dividing resistor in series, but the resistance values of the voltage-dividing resistors in different voltage-dividing branches are different. The switch is used to control the on-off state of the voltage-dividing branch. When the switch is in a closed state, the voltage-dividing branch where the switch is located is in an on state, and when the switch is in an open state, the voltage-dividing branch where the switch is located is in an off state. The resistance value of the voltage-dividing circuit 110 is determined by the resistance value of the voltage-dividing resistor in the voltage-dividing branch that is in an on state.
[0048] The first switch is denoted as K1, the second switch is denoted as K2, the third switch is denoted as K3, the first voltage-dividing resistor is denoted as R1, the second voltage-dividing resistor is denoted as R2, and the third voltage-dividing resistor is denoted as R3, R1>R2>R3, as the temperature of the compartment in the compartment gradually decreases, the resistance of the thermistor 120 will gradually increase, and accordingly, the resistance of the voltage-dividing circuit 110 needs to be gradually increased, so the resistance of the voltage-dividing circuit 110 can be changed by changing the switch states of the third switch, the second switch, and the first switch, so as to dynamically adjust the resistance of the voltage-dividing circuit 110 as the compartment temperature changes, so as to ensure the temperature acquisition accuracy in different temperature acquisition scenarios.
[0049] In one embodiment, the resistance value of the first voltage-dividing resistor is a preset multiple of the resistance value of the second voltage-dividing resistor, and the resistance value of the second voltage-dividing resistor is a preset multiple of the resistance value of the third voltage-dividing resistor.
[0050] Specifically, the preset multiple is N, that is, R1 = N * R2 = N 2 *R3, the preset multiple can be any positive integer, such as 2, 5, 10, etc., and is customized in combination with the temperature adjustment range of the refrigerator. In this embodiment, the preset multiple is 10, that is, R1=10R2=100R3, to ensure that there is a certain resistance span between different voltage-dividing resistors to adapt to a wider temperature adjustment range.
[0051] In one embodiment, Figure 2 A schematic diagram of a temperature acquisition method in an embodiment, referring to Figure 2 , provides a temperature collection method. This embodiment mainly applies this method to the above Figure 1 Taking the temperature collection device in the example as an example, the temperature collection method specifically includes the following steps:
[0052] Step S210, obtaining the set temperature of the target compartment where the target temperature collector is located, wherein the target compartment is a compartment in the refrigerator device where temperature collection is required.
[0053] Specifically, the target temperature collector is a temperature collector set in the target compartment. The target compartment is any compartment in the refrigerator device, which can be a refrigeration compartment, a freezing compartment, a fresh-keeping compartment, an ice-making compartment, etc. Different compartments correspond to different set temperatures. The set temperature is used to determine the ambient temperature of the compartment, that is, the compartment is refrigerated according to the set temperature, so the set temperature can be used to reflect the ambient temperature of the compartment.
[0054] Step S220, according to the temperature collection scene to which the set temperature of the target compartment belongs, determining the target collection mode currently used by the target temperature collector from multiple collection modes, wherein the target temperature collector in different collection modes is used to cope with different temperature collection scenes.
[0055] Specifically, when the set temperature of the compartment is determined, the resistance value of the thermistor 120 in the target temperature collector at the set temperature can be determined, and then the resistance value of the voltage divider circuit 110 in the target temperature collector at the set temperature can be selected, that is, the target temperature collector is determined to be in a target acquisition mode when the target compartment is at the set temperature. The target temperature collector can accurately collect the compartment temperature of the target compartment at the set temperature in the target acquisition mode, that is, the target temperature collector responds to different temperature acquisition scenarios in different acquisition modes to ensure the temperature acquisition accuracy in different temperature acquisition scenarios. Different temperature acquisition scenarios mean different set temperatures of the compartments.
[0056] Step S230, obtaining the target compartment temperature collected by the target temperature collector according to the target collection mode.
[0057] Specifically, the target temperature collector is controlled to work in the target collection mode, that is, the on-off states of different voltage-dividing branches in the target temperature collector are determined. Different collection modes correspond to different on-off states of each voltage-dividing branch, so as to determine that the voltage-dividing circuit 110 in the target temperature collector corresponds to different resistance values, which are used to adapt the resistance value of the thermistor 120 in the target temperature collector under different temperature collection scenarios, thereby ensuring the temperature collection accuracy of the target temperature collector under different temperature collection scenarios.
[0058] The temperature acquisition device obtains the target compartment temperature acquired by the target temperature collector according to the target acquisition mode. Since the resistance of the voltage divider circuit 110 matches the resistance of the thermistor 120 at the set temperature when the target temperature collector works according to the target acquisition mode, the target temperature collector can accurately feedback the target compartment temperature at this time, that is, the accuracy of the target compartment temperature is high.
[0059] The target collection mode of the target temperature collector is set based on the set temperature of the target compartment where the target temperature collector is located, so as to dynamically adjust the temperature collection accuracy of the target temperature collector, so that the temperature collection accuracy of the target temperature collector is adapted to the set temperature of the target compartment, ensuring that the target temperature collector can accurately collect the compartment temperature of the target compartment, thereby solving the problem that the existing temperature collector cannot accurately measure the compartment temperature of different compartments.
[0060] In one embodiment, the target acquisition mode currently used by the target temperature collector is determined from a plurality of acquisition modes according to the temperature acquisition scenario to which the set temperature of the target compartment belongs, including at least one of the following:
[0061] When the set temperature of the target compartment belongs to the first temperature range, determining the first acquisition mode as the target acquisition mode of the target temperature collector, wherein in the first acquisition mode, only the first voltage-dividing resistor is enabled in the target temperature collector;
[0062] When the set temperature of the target compartment belongs to the second temperature range, the second acquisition mode is determined as the target acquisition mode of the target temperature collector, wherein the lower threshold limit of the second temperature range is higher than the upper threshold limit of the first temperature range, and in the second acquisition mode, the target temperature collector respectively enables the first voltage divider resistor and the second voltage divider resistor;
[0063] When the set temperature of the target compartment belongs to the third temperature range, the third acquisition mode is determined as the target acquisition mode of the target temperature collector, wherein the lower threshold of the third temperature range is higher than the upper threshold of the second temperature range, and in the third acquisition mode, only the second voltage-dividing resistor is enabled in the target temperature collector;
[0064] When the set temperature of the target compartment belongs to a fourth temperature range, the fourth acquisition mode is determined as the target acquisition mode of the target temperature collector, wherein the lower threshold limit of the fourth temperature range is higher than the upper threshold limit of the third temperature range, and the target temperature collector enables the second voltage-dividing resistor and the third voltage-dividing resistor respectively in the fourth acquisition mode;
[0065] When the set temperature of the target compartment belongs to the fifth temperature range, the fifth acquisition mode is determined as the target acquisition mode of the target temperature collector, wherein the lower threshold limit of the fifth temperature range is higher than the upper threshold limit of the fourth temperature range, and in the fifth acquisition mode, only the third voltage-dividing resistor is enabled in the target temperature collector, the resistance value of the first voltage-dividing resistor and the resistance value of the second voltage-dividing resistor are preset multiples, and the resistance value of the second voltage-dividing resistor and the resistance value of the third voltage-dividing resistor are preset multiples.
[0066] Specifically, the first temperature range is denoted as T1, the second temperature range is denoted as T2, the third temperature range is denoted as T3, the fourth temperature range is denoted as T4, and the fifth temperature range is denoted as T5, where T1 < T2 < T3 < T4 < T5. In this embodiment, the first temperature range is set as the temperature range less than -25°C, the second temperature range is (-15°C to -25°C), the third temperature range is (5°C to -15°C), the fourth temperature range is (5°C to 15°C), and the fifth temperature range is the temperature range greater than 15°C.
[0067] When the set temperature of the target compartment is within the first temperature range, it indicates that the target compartment is a super-freezing compartment, belonging to the first temperature acquisition scenario. At this time, the thermistor 120 in the target temperature collector has a large resistance due to the low temperature. At this time, it is necessary to make the resistance of the voltage division circuit 110 as large as possible. Then only the first voltage division resistor with the largest resistance is enabled, that is, the thermistor 120 is voltage-divided only through the first voltage division branch to collect the compartment temperature. The first acquisition mode that only enables the first voltage division resistor is determined as the target acquisition mode of the target temperature collector in this temperature acquisition scenario to adapt to the thermistor 120 with a large resistance, so as to ensure the temperature acquisition accuracy of the target temperature collector in this temperature acquisition scenario.
[0068] When the set temperature of the target compartment is within the second temperature range, it indicates that the target compartment is a freezing compartment, belonging to the second temperature acquisition scenario. At this time, the thermistor 120 in the target temperature collector has a large resistance due to the low temperature, but the resistance of the thermistor 120 in this second temperature acquisition scenario is smaller than that in the first temperature acquisition scenario. At this time, the first voltage division resistor and the second voltage division resistor are enabled respectively. That is, first, the first voltage division branch is enabled to voltage-divide the thermistor 120 to collect the first compartment temperature, and then after turning off the first voltage division branch and enabling the second voltage division branch to voltage-divide the thermistor 120 to collect the second compartment temperature, the average value of the first compartment temperature and the second compartment temperature is used as the final target compartment temperature of the target temperature collector, so as to ensure the temperature acquisition accuracy of the target temperature collector in this temperature acquisition scenario.
[0069] When the set temperature of the target compartment is within the third temperature range, it indicates that the target compartment belongs to the third temperature acquisition scenario. At this time, the thermistor 120 in the target temperature collector has a larger resistance value due to the lower temperature, but the resistance value of the thermistor 120 in this third temperature acquisition scenario is less than the resistance value of the thermistor 120 in the second temperature acquisition scenario. At this time, only the second voltage-dividing resistor is enabled, that is, the thermistor 120 is divided by the second voltage-dividing branch to collect the compartment temperature. The third acquisition mode in which only the second voltage-dividing resistor is enabled is determined as the target acquisition mode of the target temperature collector in the temperature acquisition scenario to adapt to the resistance value of the thermistor 120 in the temperature acquisition scenario, thereby ensuring the temperature acquisition accuracy of the target temperature collector in the temperature acquisition scenario.
[0070] When the set temperature of the target compartment is within the fourth temperature range, it indicates that the target compartment is a cold storage compartment, which belongs to the fourth temperature acquisition scenario. The resistance value of the thermistor 120 in the fourth temperature acquisition scenario is less than the resistance value of the thermistor 120 in the third temperature acquisition scenario. At this time, the second voltage divider resistor and the third voltage divider resistor are respectively enabled, that is, the second voltage divider branch is first enabled to divide the voltage of the thermistor 120 to obtain the second compartment temperature, and then the second voltage divider branch is turned off and the third voltage divider branch is enabled to divide the voltage of the thermistor 120 to obtain the third compartment temperature, and the average value of the second compartment temperature and the third compartment temperature is used as the final target compartment temperature of the target temperature collector, thereby ensuring the temperature acquisition accuracy of the target temperature collector in this temperature acquisition scenario.
[0071] When the set temperature of the target compartment is within the fifth temperature range, it indicates that the target compartment belongs to the fifth temperature acquisition scenario. The thermistor 120 in the target temperature collector has a small resistance value due to the high temperature. At this time, it is necessary to make the resistance value of the voltage divider circuit 110 as small as possible. Then, only the third voltage divider resistor with the smallest resistance value is enabled, that is, the thermistor 120 is divided by the third voltage divider branch to collect the compartment temperature. The fifth acquisition mode in which only the third voltage divider resistor is enabled is determined as the target acquisition mode of the target temperature collector in the temperature acquisition scenario to adapt to the resistance value of the thermistor 120 in the temperature acquisition scenario, thereby ensuring the temperature acquisition accuracy of the target temperature collector in the temperature acquisition scenario.
[0072] In one embodiment, in the first acquisition mode, only the first voltage-dividing resistor is enabled in the target temperature collector; in the second acquisition mode, only the first voltage-dividing resistor and the second voltage-dividing resistor are enabled in the target temperature collector, at which time the first voltage-dividing resistor and the second voltage-dividing resistor are enabled at the same time and in parallel, and the resistance value of the voltage-dividing circuit 110 is the parallel resistance value of the first voltage-dividing resistor and the second voltage-dividing resistor; in the third acquisition mode, only the second voltage-dividing resistor is enabled in the target temperature collector; in the fourth acquisition mode, only the second voltage-dividing resistor and the third voltage-dividing resistor are enabled in the target temperature collector, at which time the second voltage-dividing resistor and the third voltage-dividing resistor are enabled at the same time and in parallel, and the resistance value of the voltage-dividing circuit 110 is the parallel resistance value of the second voltage-dividing resistor and the third voltage-dividing resistor; in the fifth acquisition mode, only the third voltage-dividing resistor is enabled in the target temperature collector.
[0073] That is, the resistance of the voltage divider circuit 110 is dynamically adjusted to cope with the resistance change of the thermistor 120 in different temperature acquisition scenarios, so as to improve the temperature acquisition accuracy.
[0074] In one embodiment, the step of obtaining the target compartment temperature collected by the target temperature collector according to the target collection mode includes at least one of the following:
[0075] When the target acquisition mode is the first acquisition mode, the first compartment temperature acquired by the target temperature collector when only the first voltage divider branch is turned on is used as the target compartment temperature;
[0076] When the target acquisition mode is the second acquisition mode, the average of the first compartment temperature acquired by the target temperature collector when only the first voltage-dividing branch is turned on and the second compartment temperature acquired by the target temperature collector when only the second voltage-dividing branch is turned on is determined as the target compartment temperature;
[0077] When the target acquisition mode is the third acquisition mode, the second compartment temperature acquired by the target temperature collector when only the second voltage-dividing branch is turned on is used as the target compartment temperature;
[0078] When the target acquisition mode is the fourth acquisition mode, the average of the second compartment temperature acquired by the target temperature collector when only the second voltage-dividing branch is turned on and the third compartment temperature acquired by the target temperature collector when only the third voltage-dividing branch is turned on is determined as the target compartment temperature;
[0079] When the target acquisition mode is the fifth acquisition mode, the third compartment temperature acquired by the target temperature collector when only the third voltage-dividing branch is turned on is used as the target compartment temperature.
[0080] Specifically, when the target acquisition mode is the first acquisition mode, the target temperature collector only conducts the first voltage dividing branch, that is, the first voltage dividing resistor is used to divide the voltage of the thermistor 120. At this time, the first compartment temperature collected is the target compartment temperature.
[0081] When the target acquisition mode is the second acquisition mode, the target temperature collector uses the first voltage-dividing branch and the second voltage-dividing branch to divide the thermistor 120 to respectively acquire the first compartment temperature and the second compartment temperature, that is, the target temperature collector uses one voltage-dividing resistor each time, but the greater the difference between the resistance value of the voltage-dividing resistor and the resistance value of the thermistor 120, the greater the temperature acquisition error will be. Therefore, the average value of the compartment temperatures acquired by conducting different voltage-dividing branches is combined to reduce the acquisition error, that is, the average value of the first compartment temperature and the second compartment temperature is taken as the final target compartment temperature in the second acquisition mode to reduce the acquisition error of a single voltage-dividing branch.
[0082] When the target acquisition mode is the third acquisition mode, the target temperature collector only conducts the second voltage dividing branch, that is, the second voltage dividing resistor is used to divide the voltage of the thermistor 120. At this time, the collected second compartment temperature is the target compartment temperature.
[0083] When the target acquisition mode is the fourth acquisition mode, the target temperature collector uses the second voltage-dividing branch and the third voltage-dividing branch to divide the thermistor 120 to respectively acquire the second compartment temperature and the third compartment temperature, that is, the target temperature collector uses one voltage-dividing resistor each time, but the greater the difference between the resistance value of the voltage-dividing resistor and the resistance value of the thermistor 120, the greater the temperature acquisition error will be. Therefore, the average value of the compartment temperatures acquired by conducting different voltage-dividing branches is combined to reduce the acquisition error, that is, the average value of the second compartment temperature and the third compartment temperature is taken as the final target compartment temperature in the fourth acquisition mode to reduce the acquisition error of a single voltage-dividing branch.
[0084] When the target acquisition mode is the fifth acquisition mode, the target temperature collector only conducts the third voltage-dividing branch, that is, the third voltage-dividing resistor is used to divide the voltage of the thermistor 120. At this time, the third compartment temperature collected is the target compartment temperature.
[0085] Figure 3 FIG. 1 is a flow chart of a temperature acquisition method in one embodiment. It should be understood that although Figure 3 The steps in the flowchart are shown in sequence as indicated by the arrows, but these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified in this document, there is no strict order restriction for the execution of these steps, and these steps can be executed in other orders. Moreover, Figure 3At least part of the steps may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily executed at the same time, but can be executed at different times. The execution order of these sub-steps or stages is not necessarily sequential, but can be executed in turn or alternately with other steps or at least part of the sub-steps or stages of other steps.
[0086] In one embodiment, Figure 4 As shown, a temperature collection device is provided, comprising:
[0087] The acquisition module 310 is used to acquire the set temperature of the target compartment where the target temperature collector is located, wherein the target compartment is a compartment in the refrigerator device where temperature acquisition is required;
[0088] The processing module 320 is used to determine the target acquisition mode currently used by the target temperature collector from multiple acquisition modes according to the temperature acquisition scenario to which the set temperature of the target compartment belongs, wherein the target temperature collector in different acquisition modes is used to cope with different temperature acquisition scenarios;
[0089] The control module 330 is used to obtain the target compartment temperature collected by the target temperature collector according to the target collection mode.
[0090] In one embodiment, the processing module 320 is further configured to implement at least one of the following:
[0091] When the set temperature of the target compartment belongs to the first temperature range, determining the first acquisition mode as the target acquisition mode of the target temperature collector, wherein in the first acquisition mode, only the first voltage-dividing resistor is enabled in the target temperature collector;
[0092] When the set temperature of the target compartment belongs to the second temperature range, the second acquisition mode is determined as the target acquisition mode of the target temperature collector, wherein the lower threshold limit of the second temperature range is higher than the upper threshold limit of the first temperature range, and in the second acquisition mode, the target temperature collector respectively enables the first voltage divider resistor and the second voltage divider resistor;
[0093] When the set temperature of the target compartment belongs to the third temperature range, the third acquisition mode is determined as the target acquisition mode of the target temperature collector, wherein the lower threshold of the third temperature range is higher than the upper threshold of the second temperature range, and in the third acquisition mode, only the second voltage-dividing resistor is enabled in the target temperature collector;
[0094] When the set temperature of the target compartment belongs to a fourth temperature range, the fourth acquisition mode is determined as the target acquisition mode of the target temperature collector, wherein the lower threshold limit of the fourth temperature range is higher than the upper threshold limit of the third temperature range, and the target temperature collector enables the second voltage-dividing resistor and the third voltage-dividing resistor respectively in the fourth acquisition mode;
[0095] When the set temperature of the target compartment belongs to the fifth temperature range, the fifth acquisition mode is determined as the target acquisition mode of the target temperature collector, wherein the lower threshold limit of the fifth temperature range is higher than the upper threshold limit of the fourth temperature range, and in the fifth acquisition mode, only the third voltage-dividing resistor is enabled in the target temperature collector, the resistance value of the first voltage-dividing resistor and the resistance value of the second voltage-dividing resistor are preset multiples, and the resistance value of the second voltage-dividing resistor and the resistance value of the third voltage-dividing resistor are preset multiples.
[0096] In one embodiment, the control module 330 is further configured to implement at least one of the following:
[0097] When the target acquisition mode is the first acquisition mode, the first compartment temperature acquired by the target temperature collector when only the first voltage divider branch is turned on is used as the target compartment temperature;
[0098] When the target acquisition mode is the second acquisition mode, the average of the first compartment temperature acquired by the target temperature collector when only the first voltage-dividing branch is turned on and the second compartment temperature acquired by the target temperature collector when only the second voltage-dividing branch is turned on is determined as the target compartment temperature;
[0099] When the target acquisition mode is the third acquisition mode, the second compartment temperature acquired by the target temperature collector when only the second voltage-dividing branch is turned on is used as the target compartment temperature;
[0100] When the target acquisition mode is the fourth acquisition mode, the average of the second compartment temperature acquired by the target temperature collector when only the second voltage-dividing branch is turned on and the third compartment temperature acquired by the target temperature collector when only the third voltage-dividing branch is turned on is determined as the target compartment temperature;
[0101] When the target acquisition mode is the fifth acquisition mode, the third compartment temperature acquired by the target temperature collector when only the third voltage-dividing branch is turned on is used as the target compartment temperature.
[0102] like Figure 5As shown, the embodiment of the present application provides a refrigerator device, including a processor 711, a communication interface 712, a memory 713 and a communication bus 714, wherein the processor 711, the communication interface 712, and the memory 713 communicate with each other through the communication bus 714;
[0103] Memory 713, used for storing computer programs;
[0104] The processor 711 is used to implement the temperature collection method provided by any one of the above method embodiments when executing the program stored in the memory 713.
[0105] Those skilled in the art will understand that Figure 5 The structure shown in the figure is merely a block diagram of a partial structure related to the scheme of the present application, and does not constitute a limitation on the refrigerator device to which the scheme of the present application is applied. The specific refrigerator device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0106] In one embodiment, the temperature acquisition device provided by the present application can be implemented in the form of a computer program. The computer program can be Figure 5 The memory of the refrigerator device can store various program modules constituting the temperature acquisition device, for example, Figure 4 The acquisition module 310, the processing module 320 and the control module 330 are shown. The computer program composed of various program modules enables the processor to execute the temperature acquisition method of each embodiment of the present application described in this specification.
[0107] Figure 5 The refrigerator device shown can be Figure 4 The acquisition module 310 in the temperature acquisition device shown in the figure acquires the set temperature of the target compartment where the target temperature collector is located, wherein the target compartment is a compartment in the refrigerator device that needs to perform temperature acquisition. The refrigerator device can determine the target acquisition mode currently used by the target temperature collector from multiple acquisition modes according to the temperature acquisition scene to which the set temperature of the target compartment belongs through the processing module 320, wherein the target temperature collectors in different acquisition modes are used to cope with different temperature acquisition scenes. The refrigerator device can acquire the target compartment temperature collected by the target temperature collector according to the target acquisition mode through the control module 330.
[0108] An embodiment of the present application further provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the temperature acquisition method provided by any of the aforementioned method embodiments is implemented.
[0109] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0110] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a general hardware platform, and of course, by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the relevant technology can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a refrigerator device (which can be a personal computer, a server, or a network device, etc.) to execute the temperature acquisition method described in each embodiment or some parts of the embodiment.
[0111] It should be understood that the terms used herein are only for the purpose of describing specific example embodiments and are not intended to be limiting. Unless the context clearly indicates otherwise, the singular forms "one", "an" and "said" as used herein may also be meant to include plural forms. The terms "include", "comprise", "contain", and "have" are inclusive and therefore specify the existence of stated features, steps, operations, elements and / or parts, but do not exclude the existence or addition of one or more other features, steps, operations, elements, parts, and / or combinations thereof. The method steps, processes, and operations described herein are not interpreted as necessarily requiring them to be performed in the specific order described or illustrated, unless the execution order is clearly indicated. It should also be understood that additional or alternative may be used.
[0112] The foregoing is merely a specific embodiment of the present invention, which enables those skilled in the art to understand or implement the present invention. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but rather to the widest scope consistent with the principles and novel features claimed herein.
Claims
1. A temperature collection method, characterized in that: The method comprises: Obtaining the set temperature of the target compartment where the target temperature collector is located, wherein the target compartment is a compartment in the refrigerator device where temperature collection is required; According to the temperature collection scenario to which the set temperature of the target compartment belongs, determining the target collection mode currently used by the target temperature collector from multiple collection modes, wherein the target temperature collectors in different collection modes are used to cope with different temperature collection scenarios; The target compartment temperature collected by the target temperature collector according to the target collection mode is obtained.
2. The temperature acquisition method according to claim 1, characterized in that: The step of determining the target acquisition mode currently used by the target temperature collector from a plurality of acquisition modes according to the temperature acquisition scenario to which the set temperature of the target compartment belongs includes at least one of the following: When the set temperature of the target compartment belongs to the first temperature range, determining the first acquisition mode as the target acquisition mode of the target temperature collector, wherein in the first acquisition mode, only the first voltage-dividing resistor is enabled in the target temperature collector; When the set temperature of the target compartment belongs to the second temperature range, the second acquisition mode is determined as the target acquisition mode of the target temperature collector, wherein the lower threshold limit of the second temperature range is higher than the upper threshold limit of the first temperature range, and in the second acquisition mode, the target temperature collector respectively enables the first voltage divider resistor and the second voltage divider resistor; When the set temperature of the target compartment belongs to the third temperature range, the third acquisition mode is determined as the target acquisition mode of the target temperature collector, wherein the lower threshold of the third temperature range is higher than the upper threshold of the second temperature range, and in the third acquisition mode, only the second voltage-dividing resistor is enabled in the target temperature collector; When the set temperature of the target compartment belongs to a fourth temperature range, the fourth acquisition mode is determined as the target acquisition mode of the target temperature collector, wherein the lower threshold limit of the fourth temperature range is higher than the upper threshold limit of the third temperature range, and the target temperature collector enables the second voltage-dividing resistor and the third voltage-dividing resistor respectively in the fourth acquisition mode; When the set temperature of the target compartment belongs to the fifth temperature range, the fifth acquisition mode is determined as the target acquisition mode of the target temperature collector, wherein the lower threshold limit of the fifth temperature range is higher than the upper threshold limit of the fourth temperature range, and in the fifth acquisition mode, only the third voltage-dividing resistor is enabled in the target temperature collector, the resistance value of the first voltage-dividing resistor and the resistance value of the second voltage-dividing resistor are preset multiples, and the resistance value of the second voltage-dividing resistor and the resistance value of the third voltage-dividing resistor are preset multiples.
3. The temperature acquisition method according to claim 2, characterized in that: The step of obtaining the target compartment temperature collected by the target temperature collector according to the target collection mode includes at least one of the following: When the target acquisition mode is the first acquisition mode, the first compartment temperature acquired by the target temperature collector when only the first voltage-dividing branch is turned on is used as the target compartment temperature; When the target acquisition mode is the second acquisition mode, the average of the first compartment temperature acquired by the target temperature collector when only the first voltage-dividing branch is turned on and the second compartment temperature acquired by the target temperature collector when only the second voltage-dividing branch is turned on is determined as the target compartment temperature; When the target acquisition mode is the third acquisition mode, the second compartment temperature acquired by the target temperature collector when only the second voltage divider branch is turned on is used as the target compartment temperature; When the target acquisition mode is the fourth acquisition mode, the average of the second compartment temperature acquired by the target temperature collector when only the second voltage-dividing branch is turned on and the third compartment temperature acquired by the target temperature collector when only the third voltage-dividing branch is turned on is determined as the target compartment temperature; When the target acquisition mode is the fifth acquisition mode, the third compartment temperature acquired by the target temperature collector when only the third voltage-dividing branch is turned on is used as the target compartment temperature.
4. A temperature collector, characterized in that: The temperature collector includes a voltage divider circuit, a collection chip and a thermistor. The voltage divider circuit includes multiple voltage divider branches connected in parallel. The first end of the voltage divider circuit is connected to a power supply, the second end of the voltage divider circuit is respectively connected to the collection chip and the first end of the thermistor, the second end of the thermistor is grounded, and each of the voltage divider branches is used to correspond to different temperature collection accuracies in different on-off states.
5. The temperature collector according to claim 4, characterized in that: The voltage-dividing circuit includes a first voltage-dividing branch, a second voltage-dividing branch and a third voltage-dividing branch. The first voltage-dividing branch includes a first switch and a first voltage-dividing resistor connected in series. The second voltage-dividing branch includes a second switch and a second voltage-dividing resistor connected in series. The third voltage-dividing branch includes a third switch and a third voltage-dividing resistor connected in series. The resistance value of the first voltage-dividing resistor is greater than the resistance value of the second voltage-dividing resistor, and the resistance value of the second voltage-dividing resistor is greater than the resistance value of the third voltage-dividing resistor.
6. The temperature collector according to claim 5, characterized in that: The resistance value of the first voltage-dividing resistor and the resistance value of the second voltage-dividing resistor are preset multiples, and the resistance value of the second voltage-dividing resistor and the resistance value of the third voltage-dividing resistor are preset multiples.
7. A temperature collection device, characterized in that: The temperature acquisition device comprises: An acquisition module, used to acquire the set temperature of the target compartment where the target temperature collector is located, wherein the target compartment is a compartment in the refrigerator device where temperature acquisition is required; a processing module, configured to determine the target acquisition mode currently used by the target temperature collector from a plurality of acquisition modes according to the temperature acquisition scenario to which the set temperature of the target compartment belongs, wherein the target temperature collectors in different acquisition modes are used to cope with different temperature acquisition scenarios; The control module is used to obtain the target compartment temperature collected by the target temperature collector according to the target collection mode.
8. A refrigerator device, characterized in that: The refrigerator device comprises a plurality of compartments and the temperature collecting device as claimed in claim 7, and each of the compartments is provided with a temperature collector as claimed in any one of claims 4 to 7.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the temperature acquisition method according to any one of claims 1 to 3 is implemented.
10. A computer program product comprising a computer program / instructions, characterized in that When the computer program / instruction is executed by a processor, the temperature acquisition method according to any one of claims 1 to 3 is implemented.