Temperature detection method and detection device, electronic device and medium
By using temperature detection modules and voltage divider modules in the temperature detection circuit, the resistance ratio is adjusted to match the detection requirements of different temperature ranges, the problem of increased error when the temperature span is large is solved, more accurate temperature detection is achieved, and application scenarios are expanded.
Patent Information
- Application Number
- CN202411470063.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-21
- Publication Date
- 2025-03-21
- Estimated Expiration
- 2044-10-21
AI Technical Summary
When the temperature span to be detected is large, existing temperature detection methods are difficult to match the detection requirements of different temperature ranges, resulting in an increase in error and cannot meet the usage needs of application scenarios.
By using the temperature detection module and the voltage divider module in the temperature detection circuit, the detection resistance value of the temperature detection module is determined, and the set resistance value of the voltage divider module is adjusted according to the detection resistance value and the detection temperature, thereby performing temperature detection to obtain real-time temperature. This method ensures that the ratio between the detection resistance value of the temperature detection module and the set resistance value of the voltage divider module is less than 10.
Match appropriate temperature detection conditions within different temperature ranges to effectively reduce errors when the temperature span is large and expand the application scenarios of temperature detection.
Smart Images

Figure CN119023087B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of temperature detection technology, and more specifically, to a temperature detection method and detection equipment, electronic equipment and medium. Background Art
[0002] Temperature detection is widely used in various production, experiments, and life. The accuracy of temperature detection has an important impact on product quality, production safety, and improving the quality of life.
[0003] However, when the temperature span to be detected is large, the error of temperature detection will increase, making it difficult to meet the usage requirements of the application scenario. Summary of the invention
[0004] In view of the above problems, the present invention proposes a temperature detection method and detection device, a device control method, an electronic device and a medium.
[0005] In a first aspect, an embodiment of the present application provides a temperature detection method, which is applied to a temperature detection circuit, wherein the temperature detection circuit includes a temperature detection module and a voltage divider module, and the method includes: determining a detection resistance of the temperature detection module; determining a detection temperature based on the detection resistance; adjusting a set resistance of the voltage divider module based on the detection temperature; performing temperature detection based on the temperature detection module and the voltage divider module to obtain a real-time temperature; wherein the ratio of the detection resistance corresponding to the temperature detection module to the set resistance corresponding to the voltage divider module is less than 10.
[0006] Optionally, the voltage divider module includes multiple voltage divider sub-modules; wherein, the set resistance value of the voltage divider module is adjusted according to the detected temperature, including: determining a target voltage divider module among the multiple voltage divider sub-modules according to the detected temperature; the target voltage divider module includes at least one voltage divider sub-module; connecting the target voltage divider module with the temperature detection module; and disconnecting the other voltage divider sub-modules except the target voltage divider module from the temperature detection module.
[0007] Optionally, the multiple voltage divider submodules include a first voltage divider submodule and a second voltage divider submodule; wherein the set resistance value corresponding to the first voltage divider submodule is smaller than the set resistance value corresponding to the second voltage divider submodule; wherein a target voltage divider module is determined among the multiple voltage divider submodules according to the detected temperature, including: when the detected temperature is within a first temperature range, determining the first voltage divider submodule as the target voltage divider module; when the detected temperature is within a second temperature range, determining the second voltage divider submodule as the target voltage divider module; wherein the numerical value within the first temperature range is greater than the numerical value within the second temperature range.
[0008] Optionally, the voltage divider module includes multiple voltage divider sub-modules, including an initial voltage divider sub-module. Before determining the detection resistance of the temperature detection module, the method also includes: when it is detected that the temperature detection circuit is powered on, connecting the initial voltage divider sub-module with the temperature detection module; and disconnecting the other voltage divider sub-modules among the multiple voltage divider sub-modules except the initial voltage divider sub-module from the temperature detection module.
[0009] In a second aspect, an embodiment of the present application further provides a temperature detection device, including a temperature detection circuit, which uses the temperature detection method described in the first aspect to detect real-time temperature.
[0010] In a third aspect, an embodiment of the present application also provides a device control method, which is applied to an electronic device, and the method includes: obtaining the real-time temperature obtained by the temperature detection method described in the first aspect above; or obtaining the real-time temperature obtained by the temperature detection device described in the second aspect above; determining the control measures corresponding to the real-time temperature based on the real-time temperature.
[0011] Optionally, the electronic device includes a lighting module; wherein determining a control measure corresponding to the real-time temperature according to the real-time temperature includes: determining a control lighting effect of the lighting module according to the real-time temperature; and controlling the lighting module to display the control lighting effect.
[0012] Optionally, the electronic device includes a display module; determining control measures corresponding to the real-time temperature based on the real-time temperature, including: obtaining the detection depth of the temperature detection circuit; determining the cooking process based on the real-time temperature, the detection depth and a preset cooking mode; determining the cooking display information based on the cooking process; and controlling the display module to display the cooking display information.
[0013] In a fourth aspect, an embodiment of the present application further provides an electronic device, comprising: one or more processors, a memory, and one or more applications; wherein the one or more applications are stored in the memory and configured to be executed by the processor to implement the above-mentioned battery temperature control method.
[0014] In a fifth aspect, an embodiment of the present application further provides a computer-readable storage medium, in which a program code is stored, wherein the above-mentioned battery temperature adjustment method is executed when the program code is executed by a processor.
[0015] The technical solution provided by the present invention is applied to a temperature detection circuit, wherein the temperature detection circuit comprises a temperature detection module and a voltage divider module, and the method comprises: determining a detection resistance value of the temperature detection module; determining a detection temperature according to the detection resistance value; adjusting a set resistance value of the voltage divider module according to the detection temperature; performing temperature detection according to the temperature detection module and the voltage divider module to obtain a real-time temperature; wherein the ratio of the detection resistance value corresponding to the temperature detection module to the set resistance value corresponding to the voltage divider module is less than 10, thereby matching appropriate temperature detection conditions in different temperature ranges, effectively reducing errors caused when the temperature span is large, and expanding the application scenarios of temperature detection. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present application, not all embodiments. Based on the embodiments of the present application, all other embodiments and drawings obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0017] Figure 1 A schematic flow chart of a temperature detection method provided in an embodiment of the present application is shown.
[0018] Figure 2 A schematic structural diagram of a temperature detection device provided in an embodiment of the present application is shown.
[0019] Figure 3 A schematic structural diagram of another temperature detection device provided in an embodiment of the present application is shown.
[0020] Figure 4 A schematic structural diagram of another temperature detection device provided in an embodiment of the present application is shown.
[0021] Figure 5 A flow chart of a device control method provided in an embodiment of the present application is shown.
[0022] Figure 6 A schematic structural diagram of a temperature detection device provided in an embodiment of the present application is shown.
[0023] Figure 7 A schematic structural diagram of a device control device provided in an embodiment of the present application is shown.
[0024] Figure 8 A schematic structural diagram of an electronic device provided in an embodiment of the present application is shown.
[0025] Fig. 9 A schematic diagram of the structure of a computer-readable storage medium provided in an embodiment of the present application is shown. DETAILED DESCRIPTION
[0026] In order to enable those skilled in the art to better understand the solution of the present application, 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.
[0027] When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. Instead, they are only examples of devices and methods consistent with some aspects of the present application as detailed in the attached claims.
[0028] The terms used in this application are for the purpose of describing specific embodiments only and are not intended to limit this application. The singular forms of "a", "said" and "the" used in this application and the appended claims are also intended to include plural forms unless the context clearly indicates other meanings. It should also be understood that the term "and / or" used herein refers to and includes any or all possible combinations of one or more associated listed items.
[0029] Temperature detection is widely used in various production, experiments, and life. The accuracy of temperature detection has an important impact on product quality, production safety, and improving the quality of life.
[0030] However, the conditions for temperature detection are usually fixed. When the temperature span to be detected is large, the same temperature detection conditions are difficult to match the detection requirements of different temperature ranges, which will increase the error of temperature detection and make it difficult to meet the usage requirements of application scenarios.
[0031] In order to improve the above-mentioned problems, the inventors proposed the temperature detection method and detection equipment, electronic equipment and medium provided in the present application. The method is applied to a temperature detection circuit, and the temperature detection circuit includes a temperature detection module and a voltage divider module. The method includes: determining the detection resistance of the temperature detection module; determining the detection temperature according to the detection resistance; adjusting the set resistance of the voltage divider module according to the detection temperature; performing temperature detection according to the temperature detection module and the voltage divider module to obtain the real-time temperature; wherein the ratio of the detection resistance corresponding to the temperature detection module to the set resistance corresponding to the voltage divider module is less than 10, thereby matching appropriate temperature detection conditions in different temperature ranges, effectively reducing the errors caused by large temperature spans, and expanding the application scenarios of temperature detection.
[0032] The technical solutions 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.
[0033] See also Figure 1 , the present application embodiment provides a temperature detection method, such as Figure 1 As shown, the method includes: step 110 to step 140.
[0034] Step 110: Determine the detection resistance value of the temperature detection module.
[0035] Step 120: Determine the detection temperature according to the detection value.
[0036] Step 130: Adjust the set resistance value of the voltage divider module according to the detected temperature.
[0037] Step 140: Perform temperature detection according to the temperature detection module and the voltage division module to obtain the real-time temperature.
[0038] Among them, the ratio of the detection resistance value corresponding to the temperature detection module to the set resistance value corresponding to the voltage divider module is less than 10.
[0039] In the embodiments of the present application, the temperature detection method can be applied to a temperature detection circuit, and the temperature detection circuit can be used to detect the real-time temperature. In some embodiments, the temperature detection circuit includes a temperature detection module and a voltage divider module.
[0040] The corresponding resistance value of the temperature detection module will change as the temperature changes. By determining the detection resistance value of the temperature detection module, the current temperature condition can be determined. The voltage divider module is set in series with the temperature detection module. The voltage divider module and the temperature detection module share the voltage in the circuit. By selecting a suitable set resistance value of the voltage divider module, the voltage change at both ends of the temperature detection module can be made more significant within a specific temperature range, thereby improving the accuracy of temperature measurement.
[0041] In some embodiments, the temperature detection module may include an NTC (Negative Temperature Coefficient) thermistor, a thermal resistor, and the like.
[0042] The resistance of the temperature detection module changes with the temperature, and the temperature can be determined by obtaining the resistance of the temperature detection module. However, in different temperature ranges, the resistance change rate of the temperature detection module may be different. The same temperature detection conditions cannot meet the detection requirements of different temperature ranges. Therefore, the detection temperature can be determined by detecting the resistance, and the set resistance of the voltage divider module can be adjusted by detecting the temperature, so as to match the temperature detection conditions of the current temperature to perform temperature detection. The real-time temperature obtained by temperature detection through the adjusted voltage divider module and temperature detection module can more accurately reflect the current temperature, thereby improving the accuracy of temperature detection.
[0043] In some embodiments, the ratio of the detection resistance of the temperature detection module to the set resistance of the voltage divider module is less than 10. By adjusting the set resistance of the voltage divider module, the resistance of the temperature detection module and the temperature are close to a linear relationship, thereby improving the accuracy of temperature detection.
[0044] In some embodiments, the voltage divider module includes a plurality of voltage divider submodules. The step of adjusting the set resistance value of the voltage divider module according to the detected temperature includes the following steps.
[0045] (1) Determining a target voltage-dividing module among a plurality of voltage-dividing submodules according to the detected temperature; the target voltage-dividing module includes at least one voltage-dividing submodule.
[0046] (2) Connect the target voltage divider module to the temperature detection module.
[0047] (3) Disconnecting the other voltage divider sub-modules except the target voltage divider module from the temperature detection module.
[0048] In some embodiments, the voltage divider module includes a plurality of voltage divider submodules, and the set resistance value of the voltage divider module can be adjusted by adjusting the connectivity of the plurality of voltage divider submodules.
[0049] In an embodiment of the present application, the target voltage division module is connected to the temperature detection module, and the target voltage division module includes at least one voltage division sub-module.
[0050] Optionally, different voltage-dividing submodules correspond to different resistance values, and the target voltage-dividing module includes one of the voltage-dividing submodules.
[0051] Optionally, the resistance values corresponding to different voltage divider modules may be the same or different, and the target voltage divider module includes at least one voltage divider module. By combining different voltage divider modules (in series or in parallel), a wider resistance adjustment range can be obtained with fewer voltage divider modules.
[0052] In an embodiment of the present application, the target voltage divider module is connected to the temperature detection module, and the remaining voltage divider submodules are disconnected from the temperature detection module, that is, the total resistance value of the target voltage divider module corresponds to the set resistance value of the voltage divider module.
[0053] In some embodiments, the plurality of voltage-dividing submodules include a first voltage-dividing submodule and a second voltage-dividing submodule; wherein a set resistance value corresponding to the first voltage-dividing submodule is smaller than a set resistance value corresponding to the second voltage-dividing submodule.
[0054] The step of determining a target voltage-dividing module among a plurality of voltage-dividing submodules according to the detected temperature comprises the following steps.
[0055] (1) When the detected temperature is within a first temperature range, determining the first voltage dividing submodule as a target voltage dividing module.
[0056] (2) When the detected temperature is within the second temperature range, the second voltage dividing submodule is determined as the target voltage dividing submodule.
[0057] The value within the first temperature range is greater than the value within the second temperature range.
[0058] In an embodiment of the present application, the first voltage divider submodule is used to detect that when the temperature is in the first temperature range, it performs temperature detection together with the temperature detection module to obtain the real-time temperature. The second voltage divider submodule is used to detect that when the temperature is in the second temperature range, it performs temperature detection together with the temperature detection module to obtain the real-time temperature.
[0059] In some embodiments, assuming that the upper limit value of the first temperature range is the first temperature, the lower limit value is the second temperature, the detection resistance value corresponding to the temperature detection module at the first temperature is the first resistance value, and the detection resistance value corresponding to the second temperature is the second resistance value, then the value range of the first set resistance value of the first voltage divider submodule is: (first resistance value / first set resistance value) <10, that is, the first set resistance value > (first resistance value / 10); and (second resistance value / first set resistance value) <10, that is, the first set resistance value > (second resistance value / 10).
[0060] In some embodiments, assuming that the upper limit value of the second temperature range is the third temperature, the lower limit value is the fourth temperature, the detection resistance value corresponding to the temperature detection module at the third temperature is the third resistance value, and the detection resistance value corresponding to the fourth temperature is the fourth resistance value, then the value range of the second set resistance value of the second voltage divider submodule is: (third resistance value / second set resistance value) <10, that is, the second set resistance value> (third resistance value / 10); and (fourth resistance value / second set resistance value) <10, that is, the second set resistance value> (fourth resistance value / 10).
[0061] In some embodiments, the voltage divider module includes multiple voltage divider sub-modules, including an initial voltage divider sub-module. Before obtaining the detection resistance value of the temperature detection module, the temperature detection method provided in the embodiment of the present application also includes the following steps.
[0062] (1) When it is detected that the temperature detection circuit is powered on, the initial voltage divider module is connected to the temperature detection module.
[0063] (2) Disconnecting the other voltage-dividing sub-modules except the initial voltage-dividing sub-module from the temperature detection module.
[0064] When the temperature detection circuit is powered on, it is necessary to first detect the resistance value before determining the current temperature condition. Before confirming the current temperature condition, an initial voltage divider submodule can be selected from multiple voltage divider submodules to confirm the resistance value.
[0065] The selection of the initial voltage divider submodule may be determined according to actual use requirements. For example, the temperature interval corresponding to the voltage divider submodule may be selected as an interval with a high probability of the temperature detection circuit operating.
[0066] In some embodiments, the initial pressure division submodule can be determined by obtaining the current working scene. For example, the current working scene is a barbecue temperature determination scene. In order to detect whether the current barbecue reaches the target temperature to determine the cooking process, the temperature interval corresponding to the initial pressure division submodule can include the target temperature. Therefore, different initial pressure division submodules can be set for different working scenes to further improve the accuracy of temperature detection.
[0067] In an embodiment of the present application, after the detection resistance is obtained through the initial voltage divider module, the detection temperature can be periodically determined based on the detection resistance, and the set resistance can be adjusted based on the detection temperature. Thus, the set resistance is continuously adjusted based on the temperature conditions, thereby improving the real-time and accuracy of temperature detection.
[0068] See also Figure 2 The embodiment of the present application provides a temperature detection device 200, including a temperature detection circuit 210, wherein the temperature detection circuit 210 uses the above-mentioned temperature detection method to detect the real-time temperature. It is understandable that the present application is not limited thereto, and the temperature detection device 200 may also be provided with other components according to the use requirements.
[0069] like Figure 2 As shown, the temperature detection circuit includes a voltage division module 211 and a temperature detection module 212 .
[0070] In some embodiments, the temperature detection module 212 is used for temperature detection. The resistance of the temperature detection module corresponds to the temperature one by one. The temperature detection module may include an NTC (Negative Temperature Coefficient) thermistor, a thermal resistor, and the like.
[0071] In some implementations, the set resistance value of the voltage divider module 211 can be adjusted.
[0072] Optionally, the voltage dividing module 211 may include a plurality of voltage dividing sub-modules, and the set resistance value of the voltage dividing module may be adjusted by adjusting the connectivity of the plurality of voltage dividing sub-modules.
[0073] Optionally, the voltage dividing module 211 may include a sliding rheostat, and the set resistance value of the voltage dividing module may be adjusted by adjusting the position of the sliding contact of the sliding rheostat.
[0074] In some embodiments, since the voltage divider module 211 and the temperature detection module 212 are arranged in series, the current of the voltage divider module 211 and the voltage of the temperature detection module 212 can be detected, and then the corresponding resistance value of the temperature detection module 212 can be obtained according to Ohm's law, and then the current real-time temperature can be obtained through the corresponding relationship between the resistance value of the temperature detection module 212 and the temperature.
[0075] Exemplarily, the voltage across the temperature detection module and the voltage of the temperature detection circuit can be detected in real time to obtain the voltage of the voltage divider module, and then the current current can be obtained based on the voltage of the voltage divider module and the set resistance of the voltage divider module, and then the resistance of the temperature detection module 212 can be obtained based on the current and the voltage of the temperature detection module 212.
[0076] See also Figure 3 , an embodiment of the present application provides another temperature detection device 200 , wherein the voltage division module 211 includes a first voltage division submodule 2111 and a second voltage division submodule 2112 .
[0077] In an embodiment of the present application, the temperature detection range corresponding to the temperature detection device 200 includes a first temperature measurement range and a second temperature measurement range, and the temperature span is relatively large. The first pressure division submodule 2111 corresponds to the first temperature range, and the second pressure division submodule 2112 corresponds to the second temperature range.
[0078] In the embodiment of the present application, when the detected temperature is within the first temperature range, the first voltage-dividing submodule is connected, the second voltage-dividing submodule is disconnected, and the first voltage-dividing submodule and the temperature detection module perform temperature detection. When the detected temperature is within the second temperature range, the second voltage-dividing submodule is connected, the first voltage-dividing submodule is disconnected, and the second voltage-dividing submodule and the temperature detection module perform temperature detection.
[0079] Among them, the ratio of the resistance value corresponding to the temperature detection module 212 in the first temperature range to the set resistance value corresponding to the first voltage divider submodule 2111 is less than 10. It can be understood that, when the ratio of the resistance value corresponding to the temperature detection module 212 in the first temperature range to the set resistance value corresponding to the first voltage divider submodule 2111 is less than 10, the resistance value corresponding to the first voltage divider submodule 2111 can be selected according to actual use needs.
[0080] The ratio of the resistance value of the temperature detection module 212 corresponding to the second temperature range to the set resistance value corresponding to the second voltage divider module 2112 is less than 10. It can be understood that, when the ratio of the resistance value of the temperature detection module 212 corresponding to the second temperature range to the set resistance value corresponding to the second voltage divider module 2112 is less than 10, the resistance value corresponding to the second voltage divider module 2112 can be selected according to actual use needs.
[0081] See also Figure 4 The embodiment of the present application provides another temperature detection device 200, wherein the first voltage divider module includes a first resistor R1, the second voltage divider module includes a second resistor R2, and the temperature detection module includes an NTC thermistor NTC1.
[0082] In the embodiment of the present application, the temperature detection range corresponding to the temperature detection device 200 is -10°C~300°C, and the temperature span is relatively large. The first pressure divider submodule corresponds to the first temperature range (-10~100°C), and the second pressure divider submodule 2112 corresponds to the second temperature range (100~300°C).
[0083] The temperature detection module 212 uses an NTC (Negative Temperature Coefficient) thermistor. The corresponding resistance of the temperature detection module at -10°C is 554KΩ, the corresponding resistance at 100°C is 6610Ω, and the corresponding resistance at 300°C is 107Ω.
[0084] In the embodiment of the present application, when the detected temperature is in the first temperature range, the first resistor R1 is connected, the second resistor R2 is suspended, and the temperature is detected by the first resistor R1 and the thermistor NTC1. When the detected temperature is in the second temperature range, the second resistor R2 is connected, the first resistor R1 is suspended, and the temperature is detected by the second resistor R2 and the thermistor NTC1.
[0085] Among them, the ratio of the resistance value corresponding to the temperature detection module 212 in the first temperature range to the resistance value of the first resistor R1 is less than 10. Exemplarily, the resistance value corresponding to the first resistor R1 can be selected as 59KΩ, it can be understood that the present application is not limited thereto, and the resistance value corresponding to the first resistor R1 can also be selected according to actual use needs when the ratio of the resistance value corresponding to the temperature detection module 212 in the first temperature range to the set resistance value corresponding to the first resistor R1 is less than 10.
[0086] The ratio of the resistance value of the temperature detection module 212 corresponding to the second temperature range to the resistance value of the second resistor R2 is less than 10. Exemplarily, the resistance value corresponding to the second resistor R2 can be selected as 1KΩ, it can be understood that the present application is not limited thereto, and the resistance value corresponding to the second resistor R2 can also be selected according to actual use needs when the ratio of the resistance value of the temperature detection module 212 corresponding to the second temperature range to the set resistance value of the second resistor is less than 10.
[0087] In some embodiments, the temperature detection device 200 may further include a third resistor R3 and a first capacitor C1, one end of the third resistor R3 is connected to one end of the thermistor NTC1, one end of the first capacitor C1 is connected to the other end of the third resistor R3, and the other end of the first capacitor C1 is connected to the other end of the thermistor NTC1.
[0088] The third resistor R3 and the first capacitor C1 form a filtering module to avoid voltage fluctuation problems that may occur when collecting voltage from the thermistor NTC1.
[0089] Exemplarily, the resistance of the third resistor is 1KΩ, and the capacitance of the first capacitor is 10nF.
[0090] The temperature detection device 200 provided in the embodiment of the present application can achieve a detection accuracy of 1°C by switching different voltage divider modules in different temperature ranges, thereby meeting the temperature measurement accuracy requirements of application scenarios with a large temperature span.
[0091] See also Figure 5 , Figure 5 A device control method provided in an embodiment of the present application is shown, which is applied to an electronic device. The method includes steps 310 to 320.
[0092] Step 310: Acquire the real-time temperature obtained by the above-mentioned temperature detection method; or acquire the real-time temperature obtained by the above-mentioned temperature detection device.
[0093] Step 320: Determine control measures corresponding to the real-time temperature according to the real-time temperature.
[0094] Temperature detection can be applied to a variety of application scenarios such as production, experiments, and life. For example, on an automated production line, there are many production processes, and the product production process needs to undergo different temperature changes. For another example, during the cooking process, due to different cooking methods, food needs to undergo a large temperature change from the initial cooking to the completion of cooking. The temperature detection method provided in the embodiment of the present application can still obtain accurate real-time temperature when the temperature span is large, and can be applied to more use scenarios that require high temperature detection accuracy.
[0095] In some embodiments, the control measures correspond to the real-time temperature, and the control of the device can be triggered by the precise real-time temperature to meet the control requirements of different application scenarios. For example, the control measures may include control measures for the production process, reminder-related control measures, etc.
[0096] In some embodiments, the electronic device includes a lighting module, and step 320 includes the following steps.
[0097] (1) Determine the lighting effect of the lighting module based on the real-time temperature.
[0098] (2) Control the lighting module to display the controlled lighting effect.
[0099] In the embodiments of the present application, the lighting effect of the lighting module can be adjusted according to the real-time temperature, so that the current temperature condition can be intuitively judged.
[0100] In some embodiments, the lighting effect of the lighting module includes brightness, hue, etc. For the same real-time temperature, the lighting effect can be static or dynamic and can be adjusted according to actual needs.
[0101] In some embodiments, when the real-time temperature is within a preset temperature range, the light module is controlled to display a first light effect; when the real-time temperature is outside the preset temperature range, the light module is controlled to display a second light effect. The preset temperature range is the normal working range of the electronic device, so that it can be intuitively judged whether the electronic device is working normally.
[0102] In some embodiments, when the real-time temperature is within a preset temperature range, the lighting effect corresponding to the lighting module is controlled to increase in brightness as the real-time temperature increases, thereby being able to intuitively determine the current temperature condition of the electronic device.
[0103] In some embodiments, when the real-time temperature is within a preset temperature range, the lighting effect corresponding to the lighting module is controlled to display different tones according to the real-time temperature, for example, displaying cool-toned lights in low-temperature areas and warm-toned lights in high-temperature areas.
[0104] It is understandable that the present application is not limited thereto, and the specific control lighting effect can be set according to actual needs.
[0105] In some implementations, the electronic device includes a display module, and step 320 may include the following measures.
[0106] (1) Obtain the detection depth of the temperature detection circuit;
[0107] (2) Determine the cooking process based on the real-time temperature, detection depth and preset cooking mode.
[0108] (3) Determine the cooking display information according to the cooking process.
[0109] The display module is controlled to display the cooking display information.
[0110] In some embodiments, the electronic device can detect the temperature of food while it is cooking, obtain the real-time temperature, determine cooking information related to the real-time temperature, and provide real-time feedback to the user through a display module, which can effectively improve the cooking process.
[0111] In some embodiments, the electronic device may be a temperature measuring device, such as a wireless temperature measuring device, and the electronic device may detect temperature during cooking, such as by contacting food during barbecue.
[0112] Under different cooking modes, when food is being cooked, the temperatures corresponding to different depths of the food are different at different cooking stages. The electronic device can be provided with a position detection device to detect the depth of the food entering the food, thereby determining the cooking stage of the current food according to the current real-time temperature, detection depth and cooking mode.
[0113] The user can pre-select the current preset cooking mode, such as roast chicken, roast fish, roast steak, etc. The electronic device presets the temperature correspondence between different preset cooking modes and different depths of food in different cooking processes.
[0114] Different cooking modes can be set with corresponding cooking processes as needed. For example, the steak grilling mode may include: initial heating stage, uniform frying stage, and cooking completion stage.
[0115] Each cooking process can correspond to a temperature range, and corresponding cooking display information can be set according to the characteristics of each cooking process. For example, the cooking time can be estimated, and the remaining cooking time can be prompted according to the stage. For another example, corresponding cooking reminder information can be provided in combination with the current cooking stage, such as flipping reminders, heat adjustment reminders, and ingredient addition reminders.
[0116] In some embodiments, the electronic device can also determine the temperature change of the current food based on the real-time temperature obtained at different times, and then provide corresponding cooking reminders. For example, the temperature change rate is determined based on the real-time temperature obtained at different times, and a reminder to adjust the firepower is provided based on the current cooking process and the temperature change rate.
[0117] It is understandable that the present application is not limited thereto, and the specific cooking display information can be set according to actual needs.
[0118] See also Figure 6 An embodiment of the present application provides a temperature detection device 400, which is applied to a temperature detection circuit. The temperature detection circuit includes a temperature detection module and a voltage divider module. The device includes: a first determination module 410, a second determination module 420, a resistance setting module 430 and a resistance detection module 440.
[0119] The first determination module 410 is used to determine the detection resistance value of the temperature detection module.
[0120] The second determination module 420 is used to determine the detection temperature according to the detection resistance value.
[0121] The resistance setting module 430 is used to adjust the set resistance of the voltage divider module according to the detected temperature.
[0122] The resistance detection module 440 is used to perform temperature detection according to the temperature detection module and the voltage divider module to obtain the real-time temperature; wherein the ratio of the detection resistance corresponding to the temperature detection module to the set resistance corresponding to the voltage divider module is less than 10.
[0123] It should be noted that, for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment. Any processing method described in the method embodiment can be implemented by the corresponding processing module in the device embodiment, and will not be described one by one in the device embodiment.
[0124] In addition, each functional module in each embodiment of the present application can be integrated into a processing module, or each module can exist physically separately, or two or more modules can be integrated into one module. The above integrated modules can be implemented in the form of hardware or software functional modules.
[0125] See also Figure 7 An embodiment of the present application provides a device control apparatus 500 applied to an electronic device. The device control apparatus 500 includes: a temperature acquisition module 510 and a control determination module 520 .
[0126] The temperature acquisition module 510 is used to acquire the real-time temperature obtained by the above-mentioned temperature detection method; or to acquire the real-time temperature obtained by the above-mentioned temperature detection device.
[0127] The control determination module 520 is used to determine the control measures corresponding to the real-time temperature according to the real-time temperature.
[0128] It should be noted that, for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment. Any processing method described in the method embodiment can be implemented by the corresponding processing module in the device embodiment, and will not be described one by one in the device embodiment.
[0129] In addition, each functional module in each embodiment of the present application can be integrated into a processing module, or each module can exist physically separately, or two or more modules can be integrated into one module. The above integrated modules can be implemented in the form of hardware or software functional modules.
[0130] See also Figure 8Based on the above-mentioned temperature detection method or device control method, an embodiment of the present application also provides another electronic device 600 that can execute the above-mentioned temperature detection method or device control method.
[0131] In an embodiment of the present application, the electronic device 600 includes one or more processors 610, a memory 620, and one or more applications. The one or more applications are stored in the memory 620, wherein the memory 620 stores a program that can execute the content of the foregoing embodiment, and the processor 610 can execute the program stored in the memory.
[0132] Among them, the processor 610 may include one or more cores for processing data and a message matrix unit. The processor 610 uses various interfaces and lines to connect various parts of the entire electronic device, and executes various functions of the electronic device and processes data by running or executing instructions, programs, code sets or instruction sets stored in the memory, and calling data stored in the memory. Optionally, the processor 610 can be implemented in at least one hardware form of digital signal processing (Digital Signal Processing, DSP), field programmable gate array (Field-Programmable Gate Array, FPGA), and programmable logic array (Programmable Logic Array, PLA). The processor 610 can integrate one or more combinations of a central processing unit 610 (Central Processing Unit, CPU), a graphics processor (Graphics Processing Unit, GPU) and a modem. Among them, the CPU mainly processes the operating system, user interface and application programs; the GPU is responsible for rendering and drawing display content; and the modem is used to process wireless communications. It can be understood that the above-mentioned modem may not be integrated into the processor 610, but may be implemented separately through a communication chip.
[0133] The memory 620 may include a random access memory (RAM) or a read-only memory (ROM). The memory 620 may be used to store instructions, programs, codes, code sets, or instruction sets. The memory may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for implementing at least one function, instructions for implementing the following various method embodiments, etc. The data storage area may also store data created by the terminal during use, etc.
[0134] Please refer to Fig. 9, which shows a block diagram of a computer-readable storage medium 700 provided in an embodiment of the present application. The computer-readable storage medium 700 stores a program code 710, which can be called by a processor to execute the temperature detection method or device control method described in the above method embodiment.
[0135] The computer-readable storage medium 700 may be an electronic memory such as a flash memory, an EEPROM (electrically erasable programmable read-only memory), an EPROM, a hard disk, or a ROM. Optionally, the computer-readable storage medium includes a non-transitory computer-readable storage medium. The computer-readable storage medium 700 has a storage space for program codes for executing any method steps in the above-mentioned battery temperature adjustment method. These program codes 710 may be read from or written to one or more computer program products. The program code may be compressed, for example, in an appropriate form.
[0136] In summary, the embodiments of the present application provide a temperature detection method and detection device, electronic device and medium, the method is applied to a temperature detection circuit, the temperature detection circuit includes a temperature detection module and a voltage divider module, the method includes: determining the detection resistance of the temperature detection module; determining the detection temperature according to the detection resistance; adjusting the set resistance of the voltage divider module according to the detection temperature; performing temperature detection according to the temperature detection module and the voltage divider module to obtain the real-time temperature; wherein, the ratio of the detection resistance corresponding to the temperature detection module to the set resistance corresponding to the voltage divider module is less than 10, thereby matching appropriate temperature detection conditions in different temperature ranges, effectively reducing the error caused by a large temperature span, and expanding the application scenarios of temperature detection.
[0137] 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 make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present application.
Claims
1. A temperature detection method, characterized in that: Applied to a temperature detection circuit, the temperature detection circuit includes a temperature detection module and a voltage division module, the voltage division module includes a plurality of voltage division submodules; the plurality of voltage division submodules include an initial voltage division submodule; the method includes: When it is detected that the temperature detection circuit is powered on, obtaining a current working scene; Determine an initial voltage division submodule among the multiple voltage division submodules according to the current working scenario; Connecting the initial pressure division submodule to the temperature detection module; Disconnecting the other voltage-dividing submodules among the plurality of voltage-dividing submodules except the initial voltage-dividing submodule from the temperature detection module; Determining the detection resistance value of the temperature detection module; Determine the detection temperature according to the detection resistance value; Adjusting the set resistance value of the voltage divider module according to the detected temperature; Perform temperature detection according to the temperature detection module and the voltage division module to obtain real-time temperature; Wherein, the ratio of the detection resistance corresponding to the temperature detection module to the set resistance corresponding to the voltage divider module is less than 10, so that the resistance of the temperature detection module and the temperature are close to a linear relationship.
2. The temperature detection method according to claim 1, characterized in that: The voltage division module includes a plurality of voltage division sub-modules; The step of adjusting the set resistance value of the voltage divider module according to the detected temperature comprises: Determine a target pressure dividing module among the plurality of pressure dividing submodules according to the detected temperature; the target pressure dividing module includes at least one pressure dividing submodule; Connecting the target pressure division module to the temperature detection module; The other voltage division sub-modules among the plurality of voltage division sub-modules except the target voltage division sub-module are disconnected from the temperature detection module.
3. The temperature detection method according to claim 2, characterized in that: The plurality of voltage-dividing submodules include a first voltage-dividing submodule and a second voltage-dividing submodule; wherein the set resistance value corresponding to the first voltage-dividing submodule is smaller than the set resistance value corresponding to the second voltage-dividing submodule; The step of determining a target voltage division module among the plurality of voltage division submodules according to the detected temperature comprises: When the detected temperature is within a first temperature range, determining the first voltage division submodule as a target voltage division module; When the detected temperature is within a second temperature range, determining the second voltage division submodule as a target voltage division module; The value within the first temperature range is greater than the value within the second temperature range.
4. A temperature detection device, characterized in that: It comprises a temperature detection circuit, and the temperature detection circuit adopts the temperature detection method according to any one of claims 1 to 3 to detect the real-time temperature.
5. A device control method, characterized in that: The method is applied to an electronic device, and the method comprises: Acquire the real-time temperature obtained by the temperature detection method according to any one of claims 1 to 3; or acquire the real-time temperature obtained by the temperature detection device according to claim 4; A control measure corresponding to the real-time temperature is determined according to the real-time temperature.
6. The device control method according to claim 5, characterized in that: The electronic device comprises a lighting module; The determining, according to the real-time temperature, a control measure corresponding to the real-time temperature comprises: Determining a control lighting effect of the lighting module according to the real-time temperature; Control the lighting module to display the control lighting effect.
7. The device control method according to claim 5, characterized in that: The electronic device comprises a display module; The determining, according to the real-time temperature, a control measure corresponding to the real-time temperature comprises: Obtain the detection depth of the temperature detection circuit; Determine the cooking process according to the real-time temperature, the detection depth and a preset cooking mode; determining cooking display information according to the cooking process; The display module is controlled to display the cooking display information.
8. An electronic device, characterized in that: include: one or more processors; Memory; One or more applications, wherein the one or more applications are stored in the memory and configured to be executed by the one or more processors, and the one or more applications are configured to execute the device control method as described in any one of claims 5-7.
9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores program codes, and the program codes can be called by a processor to execute the temperature detection method as described in any one of claims 1 to 3, or the device control method as described in any one of claims 5 to 7.
Citation Information
Patent Citations
Wide range NTC temperature measuring device
CN204241124U
Temperature indicating device and cooking equipment
CN216925823U