Method, device, storage medium and equipment for determining working state of kettle
Through the distance measurement module, the vibration data of the kettle body is detected and combined with the supplementary judgment of the temperature sensor, the problem of low efficiency in determining the boiling state of the kettle in the plateau area is solved, and a fast and accurate judgment of the boiling state is achieved.
Patent Information
- Application Number
- CN202011174123.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-10-28
- Publication Date
- 2025-01-03
- Estimated Expiration
- 2040-10-28
AI Technical Summary
In plateau areas, traditional pressure and temperature methods are used to determine the working state of the kettle with low efficiency and high overflow probability, and cannot adapt to the boiling conditions in plateau areas.
The distance measuring module is used to detect the vibration data of the kettle body. By matching or mismatching with the preset standard vibration characteristics, it is automatically determined whether the kettle is in a boiling state, and if necessary, it is made with a temperature sensor for additional judgment.
It realizes rapid and accurate judgment of the working state of the kettle, overcomes the limitations of traditional methods, and improves the efficiency and safety of boiling state determination.
Smart Images

Figure CN112336184B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of electrical appliances, and in particular to a method, a device, a storage medium and equipment for determining the working state of a kettle. Background Art
[0002] Kettles have become one of the essential household appliances in the home. There are many types of kettles, and there are also many methods to determine the working state of kettles. There are two main methods to determine the working state of kettles on the market. One is to rely on the increase of water temperature and air pressure. When the pressure generated by the water temperature increases to 100 degrees, the circuit will automatically cut off the power, and then determine that the working state of the kettle is boiling; the other is to rely on the temperature sensor to collect the temperature. When the temperature reaches 100 degrees or does not change for a long time, the working state of the kettle is determined to be boiling. The disadvantages of these two methods are that if you boil water in plateau areas, first of all, pressure judgment is obviously not applicable, and secondly, using temperature judgment will make it take a long time to determine the working state of the kettle, increase the probability of overflow, and the efficiency of determining the working state of the kettle is low. Summary of the invention
[0003] The main purpose of the present invention is to provide a method, device, storage medium and equipment for determining the working state of a kettle, which can effectively overcome the limitations of using traditional pressure and temperature to determine the working state of a kettle in plateau areas, thereby improving the efficiency of determining the working state of a kettle.
[0004] To achieve the above object, a first aspect of the present invention provides a method for determining the working state of a kettle, wherein the method is applied to a kettle, the kettle includes a distance measurement module, and the method includes:
[0005] Acquiring the kettle body vibration data detected by the distance measurement module;
[0006] The working state of the kettle is determined according to the vibration data of the kettle body, and the working state of the kettle is divided into a boiling state and a non-boiling state.
[0007] To achieve the above object, the second aspect of the present invention provides a device for determining the working state of a kettle, the device comprising:
[0008] Data acquisition module: used to acquire the kettle body vibration data detected by the distance measurement module;
[0009] Data comparison module: used to determine the working state of the kettle according to the vibration data of the kettle body, and the working state of the kettle is divided into a boiling state and a non-boiling state.
[0010] To achieve the above-mentioned purpose, the third aspect of the present invention provides a storage medium storing a computer instruction program. When the computer instruction program is executed by a processor, the processor executes each step of the method for determining the working state of the kettle as described in the first aspect.
[0011] To achieve the above-mentioned purpose, the fourth aspect of the present invention provides a device, comprising at least one memory and at least one processor, wherein the memory stores a computer instruction program, and when the computer instruction program is executed by the processor, the processor executes each step of the method for determining the working state of the kettle as described in the first aspect.
[0012] The embodiments of the present invention have the following beneficial effects:
[0013] The present invention provides a method, device, storage medium and equipment for determining the working state of a kettle. First, the vibration data of the kettle body detected by a distance measurement module is obtained; then, the working state of the kettle is determined according to the vibration data of the kettle body. The working state of the kettle is divided into a boiling state and an unboiled state. The present invention determines the working state of the kettle through the vibration data of the kettle body detected by the distance measurement module, overcomes the limitation of using traditional pressure and temperature to determine the working state of the kettle, and has the advantages of automatic calibration and efficient judgment. BRIEF DESCRIPTION OF THE DRAWINGS
[0014] 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, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0015] in:
[0016] Figure 1 A flow chart of a method for determining a kettle state in one embodiment;
[0017] Figure 2 In one embodiment Figure 1 A detailed flowchart of step 102 is shown;
[0018] Figure 3 A flow chart of another embodiment of a method for determining the working state of a kettle in one embodiment;
[0019] Figure 4 is a structural block diagram of a device for determining a kettle state in one embodiment;
[0020] FIG5( a ) is a structural diagram of a kettle in one embodiment;
[0021] FIG5( b ) is another structural diagram of a kettle in one embodiment;
[0022] Figure 6 A schematic diagram of a distance measurement module structure in an embodiment;
[0023] Figure 7 A front view of a fixed scale plate in one embodiment;
[0024] Figure 8 A schematic diagram of a side view of a fixed scale plate in one embodiment;
[0025] Fig. 9 is a structural block diagram of a computer device in one embodiment;
[0026] Fig.10 Schematic diagram of vibration data collected by a kettle in one embodiment. DETAILED DESCRIPTION
[0027] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0028] In the embodiment of the present invention, Figure 1 A schematic flow chart of a method for determining the working state of a kettle is provided, the method comprising:
[0029] Step 101, obtaining the kettle body vibration data detected by the distance measurement module;
[0030] Step 102: Determine the working state of the kettle according to the vibration data of the kettle body. The working state of the kettle is divided into a boiling state and a non-boiling state.
[0031] In an embodiment of the present invention, the kettle is provided with at least one set of distance measuring modules, such as Figure 6 The figure shows a schematic diagram of the structure of a distance measurement module group, which includes a distance measurement device 1 and a fixed scale plate 2.
[0032] Among them, the above-mentioned ranging device 1 can be any one of sensors with the same function, such as a laser ranging sensor, an ultrasonic ranging sensor, a lidar ranging sensor, an infrared ranging sensor, a camera ranging device, etc., and no specific limitation is made here.
[0033] The front schematic diagram of the fixed scale plate 2 is as follows: Figure 7 As shown, the front side of the fixed scale plate 2 is a disk composed of multiple concentric circles, and as shown in Figure 8As shown in the side schematic diagram of the fixed scale plate, the side of the fixed scale plate 2 is stepped. Combined with the front and side schematic diagrams of the fixed scale plate, it can be understood that the fixed scale plate 2 is a scale plate with the thickest bull's eye scale layer and the smallest diameter, the thinnest outermost scale layer and the largest diameter, and the radius difference and thickness difference between each concentric circle are equal.
[0034] As shown in FIG. 5( a ) and FIG. 5( b ), FIG. 5( a ) and FIG. 5( b ) respectively describe the structural schematic diagrams of the above-mentioned distance measurement module in the kettle, and the installation positions are different.
[0035] As shown in FIG. 5( a), the interior of the kettle power base is hollow, and the kettle power base is divided into an upper and lower part, and at least one set of spring groups with installation positions on opposite sides are provided on the inner outer edge of the power base and fixed to the lower part of the power base, and at least one set of distance measuring modules are installed inside the kettle power base. When the kettle is not in a boiling water state, the distance measuring device 1 is opposite to the fixed scale plate 2 and the position relationship is that the distance measuring device 1 emits light that hits the center of the fixed scale plate 2 and is vertically shot into the surface of the fixed scale plate 1, and either one of the two is installed on the vibration side, i.e., the upper part of the kettle power base, and the other is installed on the static side, i.e., the lower part of the kettle power base, and at the same time, the distance measuring module is kept vertical to the horizontal in the installation position of the receiving space.
[0036] As shown in Figure 5(b), the kettle shell is connected to the kettle liner, and there is a connection between the kettle shell and the kettle base. The kettle shell and the kettle base together constitute the kettle body. The kettle liner is installed inside the kettle body and connected to the bottom cover of the kettle shell, and there is a receiving space between the kettle liner and the kettle base. At least one set of ranging modules is installed in the receiving space between the kettle liner and the bottom cover of the kettle shell. When the kettle is in an unboiled state, the ranging device 1 is opposite to the fixed scale plate 2 and the positional relationship is that the ranging device 1 emits light that hits the center of the fixed scale plate 2 and is vertically shot into the surface of the fixed scale plate 1, and either one of the two is installed on the vibrating side, that is, the kettle body side, and the other is installed on the stationary side, that is, the kettle liner side. At the same time, the ranging module is kept vertical to the horizontal in the installation position of the receiving space.
[0037] Taking the distance measuring device 2 as a laser distance measuring sensor as an example, the process of obtaining the inner liner vibration data is described. Among them, the laser distance measuring sensor is an instrument that uses laser to accurately measure the distance to the target. Due to the characteristics of good monochromaticity and strong directionality of laser, coupled with the semiconductor integration of electronic circuits, compared with the photoelectric distance meter, it can not only work day and night, but also improve the distance measurement accuracy. When working, the laser distance measuring sensor emits a very thin laser beam to the target, and the laser beam reflected by the target is received by the photoelectric element. The timer measures the time from the emission to the reception of the laser beam, and calculates the distance from the observer to the target. As shown in Figure 5 (a) and Figure 5 (b), a kettle including a laser distance measuring sensor can be used to determine the working state of the kettle.
[0038] As shown in FIG5(a), when the kettle is in the boiling state, the water in the kettle vibrates. Since the power base of the kettle is divided into two parts, and there is at least one set of spring groups installed on the opposite sides at the inner outer edge of the power base and fixed to the lower part of the power base, when the water in the kettle vibrates, it is transmitted to the kettle body. Since the kettle body is placed above the kettle base and contacts the base, the vibration of the kettle body is transmitted to the upper part of the power base of the kettle, causing the spring group fixed at the lower part to generate the same vibration. The vibration of the kettle body will affect the positional relationship between the laser ranging sensor and the fixed scale plate 1. The vibration data measured by the laser ranging sensor is the excitation data. The distance between the optical ranging sensor and the fixed scale plate 1 is that the fixed scale plate 1 is a scale plate with a stepped surface, a bull's eye scale layer with the thickest diameter and the smallest diameter, and an outermost scale layer with the thinnest diameter and the largest diameter. When the positional relationship between the two changes, the laser ranging sensor emits light that hits different scale layers, causing the distance between the two to change. Therefore, if the distance changes, it means that the kettle is in a boiling state. If the distance does not change, it indicates that the kettle is not in a boiling state. When the kettle is in a boiling state, the vibration of the kettle body causes the change of the vibration data obtained by the laser ranging sensor. The technical solution in the embodiment of the present invention is implemented based on this principle.
[0039] In the embodiment of the present invention, a distance measuring module installation position is also provided, wherein when the distance measuring module installation position is the position shown in FIG. 5( b), when the kettle is in a boiling state, the water in the kettle liner vibrates. Since there is a connection between the kettle shell and the shell base constituting the kettle body, the vibration is transmitted to the kettle body, and the kettle body vibrates. The vibration of the kettle body will affect the positional relationship between the laser distance measuring sensor and the fixed scale plate 1. The vibration data measured by the laser distance measuring sensor is the distance between the laser distance measuring sensor and the fixed scale plate 1. Since the fixed scale plate 1 is a scale plate with a stepped surface, the bull's eye scale layer is the thickest and has the smallest diameter, and the outermost scale layer is the thinnest and has the largest diameter, when the positional relationship between the two changes, the laser distance measuring sensor emits light to hit different scale layers, which will cause the distance between the two to change. Therefore, if the distance changes, it means that the kettle is in a boiling state. If the distance does not change, it means that the kettle is not in a boiling state. When the kettle is in a boiling state, the vibration of the kettle body causes the vibration data acquired by the laser distance measuring sensor to change. The technical solution in the embodiment of the present invention is realized based on this principle.
[0040] The kettle body vibration data detected by the laser ranging sensor can be first obtained. The kettle body vibration data is vibration data containing a preset time length. The preset time length can be 5s, 10s, etc., and is not specifically limited in this example.
[0041] In the embodiment of the present invention, the material of the kettle can be 304 stainless steel, plastic, glass, etc.; the size of the kettle can be 500ml, 1L, 1.5L, etc.; the shape of the kettle can be spherical, elliptical, etc. The material, size, shape, etc. of the kettle are not specifically limited in this example.
[0042] The present invention determines the working state of the kettle by using the inner tank vibration data of the kettle detected by the laser ranging sensor 2, which overcomes the limitation of using traditional pressure and temperature to determine the working state of the kettle, and has the advantages of automatic calibration and efficient judgment.
[0043] In one possible implementation, Figure 2 As shown, the present invention Figure 1 The flowchart of the detailed steps of step 102 in the illustrated embodiment includes:
[0044] Step 201, extracting features from the kettle body vibration data to obtain actual vibration features of the kettle;
[0045] Among them, the vibration data collected by the kettle is actually an irregular sine curve, such as Fig.10 As shown, the vibration data is a peak (represented by M1) and a trough (represented by M2), where the amplitude of the kettle vibration is defined as A = M1-M2. The feature extraction method for the kettle body vibration data is as follows:
[0046] Step 1: Set the cache storage space. The size of the storage space can be set as needed. For example, set the capacity of the cache storage space to 25. From the beginning of heating, write data data1 to data25 collected by the laser ranging sensor into the cache storage space in sequence.
[0047] Step 2: Use the message queue method within the capacity of the cache storage space to remove the stored data one by one. For example, remove data1, then put data2 in the position of data1, data3 in the position of data2, and so on. Put data25 in the position of data24. When the next vibration data data26 comes in, it will be put in the position of data25 until the collected data tends to change stably.
[0048] Step 3: Extract the actual vibration characteristics of the kettle.
[0049] Among them, it is understandable that there are some noises in the acquired vibration data (including vibration data generated by artificial shaking, unstable placement of the inner tank, etc.), so it is necessary to extract the actual vibration characteristics of the kettle.
[0050] First, the acquired vibration data is sorted from small to large using the bubble method within the capacity of the cache storage space, and the three smallest values (i.e., data1-data3 after sorting) and the three largest values (i.e., data23-data25 after sorting) are removed, and the remaining values are averaged to obtain data A1. As time goes by, valid data A1, A2, A3, etc. can be obtained.
[0051] Among them, it is understandable that when multiple sensors are used for monitoring, we will get multiple sets of valid data. In this case, we use the averaging method to get relevant valid data:
[0052] For example: if three sensors are used for monitoring, three groups of data can be obtained: the first group: A1, A2, A3...; the second group B1, B2, B3..., the third group: C1, C2, C3...
[0053] The valid data is obtained by taking the average value of the three sets of data:
[0054] D1=(A1+B1+C1) / 3; D2=(A2+B2+C3) / 3; D3=(A3+B3+C3) / 3……;
[0055] Get valid data: D1, D2, D3...
[0056] The above-mentioned method of monitoring with multiple sensors to obtain effective data is only an example and not specifically limited.
[0057] Secondly, we define another cache storage space in the same way to store the valid data obtained above. Based on these data, we can obtain a vibration change curve, that is, the actual vibration characteristics of the kettle.
[0058] The actual vibration characteristics of the kettle are extracted by the above method, which is only one of the feature extraction methods. In practical applications, a specific feature extraction method can be selected as needed, and is not limited here.
[0059] Step 202: Determine the working state of the kettle according to the actual vibration characteristics of the kettle.
[0060] Among them, it can be understood that when the point on the above curve is close to a standard value and does not change for a long time, it means that the kettle may be close to or has boiled. At this time, the boiling standard curve obtained after a large number of tests locally or in the cloud, that is, the standard vibration characteristics of the kettle when boiling, and the current curve, that is, the actual vibration characteristics of the kettle, are matched and judged. If the match is successful, it means that the kettle is in a boiling state, otherwise it is in an unboiled state.
[0061] In an embodiment of the present invention, the standard vibration characteristics of the kettle when it is in a boiling state can be used together with the above-mentioned actual vibration characteristics to determine the working state of the kettle, wherein the standard vibration characteristics are mainly obtained by performing boiling tests on several common and widely used kettles on the market, and extracting the vibration characteristics of the kettle body when the kettle is boiling as the standard vibration characteristics of the corresponding kettle when it is boiling, and storing the corresponding standard vibration characteristics of the kettle when it is boiling in the corresponding local library and storing all the extracted standard vibration characteristics of the corresponding kettle when it is boiling in the cloud to form a cloud library of standard characteristics when boiling.
[0062] It can be understood that when the working state of the kettle is determined on the kettle side, the kettle side needs to store the above-mentioned standard vibration characteristics. Therefore, before executing the above-mentioned step 202, the following steps are also included:
[0063] Determine whether the standard vibration characteristics of the kettle when it is in a boiling state have been stored locally;
[0064] When the standard vibration characteristics during boiling have been stored locally, the above step 202 is continued to be executed.
[0065] When the standard vibration characteristics of the kettle boiling are not stored locally, the standard vibration characteristics of the kettle boiling are obtained from the cloud and stored, and the above step 202 is continued.
[0066] It is understandable that the matching can be performed only when the vibration characteristics are stored locally. If not, the comparison characteristics must be obtained and stored in the cloud before the above step 202 can be continued to determine the state of the kettle.
[0067] In the embodiment of the present invention, step 202 includes:
[0068] The actual vibration feature is matched with the standard vibration feature of the local end, including: determining whether the actual vibration feature of the kettle matches the standard vibration feature when boiling; if the actual vibration feature of the kettle matches the standard vibration feature when boiling, then determining that the working state of the kettle is boiling; if the actual vibration feature of the kettle does not match the standard vibration feature when boiling, then determining that the working state of the kettle is not boiling. Wherein, matching means that the similarity between the actual vibration feature and the standard vibration feature is greater than or equal to a preset threshold, and the preset threshold can be 95%.
[0069] It can be understood that when the feature matching result is a match, it is determined that the kettle is in a boiling state, and the subsequent steps will not be executed.
[0070] See also Figure 3 , is a schematic diagram of another embodiment of a method for determining the working state of a kettle in an embodiment of the present invention, the method comprising:
[0071] Step 301, obtaining the kettle body vibration data detected by the distance measurement module;
[0072] Step 302: determining the working state of the kettle according to the kettle body vibration data, where the working state of the kettle is divided into a boiling state and a non-boiling state;
[0073] Figure 3 The contents of steps 301 and 302 in the method for determining the working state of the kettle in the embodiment shown are similar to those in the above Figure 1 and Figure 2 The contents of each step in the method for determining the working state of the kettle involved in the illustrated embodiment are similar, and can be referred to in detail. Figure 1 and Figure 2 The contents described in each step in the chapter are not repeated here.
[0074] Step 303: if it is determined that the working state of the kettle is not boiling, then obtaining water temperature data of the water in the kettle detected by the temperature sensor within a preset time period;
[0075] Step 304: determining the working state of the kettle according to the water temperature data in the kettle;
[0076] Among them, when the local end and the cloud end do not have the standard features of the kettle boiling at this time, the kettle feature matching judgment result will still be an unboiled state. In order to judge whether the kettle is boiling, another judgment method is provided. This method judges the working state of the kettle by obtaining the water temperature data of the water in the kettle detected by the temperature sensor within a preset time period. The above-mentioned kettle is provided with a temperature sensor. The temperature sensor refers to a sensor that can sense temperature and convert it into a usable output signal. It is in direct contact with the object to be measured, is not affected by the intermediate medium, has high accuracy, and has a wide measurement range. As shown in Figure 5 (a) and Figure 5 (b), a kettle including a temperature sensor can be used to determine the working state of the kettle.
[0077] It can be understood that as shown in Figures 5(a) and 5(b), which are schematic diagrams of the structure of the kettle, a temperature sensor 3 is included, which is installed on the bottom surface of the inner wall of the kettle body and is in direct contact with the liquid in the kettle; the preset time period represents the time period setting, which can be 5 minutes, 10 minutes, etc., and the distance is not specifically limited.
[0078] Wherein, step 304 includes: obtaining a first temperature value and a second temperature value, and comparing the values until the first temperature value is equal to the second temperature value, and then determining that the kettle is in a boiling state at this time;
[0079] Step 304 also includes: obtaining a first temperature value of the water temperature in the kettle at the initial moment of a preset time period from the water temperature data, obtaining a second temperature value at the next moment from the water temperature data, if the first temperature value is not equal to the second temperature value, determining that the working state of the kettle is an unboiled state, and setting the second temperature value to the first temperature value, returning to execute obtaining the second temperature value at the next moment from the water temperature data; until the first temperature value is equal to the second temperature value, determining that the working state of the kettle is a boiling state.
[0080] It can be understood that when the kettle is in a boiling state, the water temperature in the kettle is constant, so when the first temperature value is equal to the second temperature value, it is judged that the water temperature no longer changes, and it can be determined that the kettle is in a boiling state.
[0081] Step 305: If it is determined that the working state of the kettle is a boiling state, the actual vibration characteristics are used to replace the standard vibration characteristics during boiling to update the local area, and the actual vibration characteristics are stored in the cloud.
[0082] Among them, the local update is for the next state judgment of this type of kettle; the storage in the cloud is to supplement the standard vibration feature library during boiling, so as to judge the state of this type of kettle.
[0083] It can be understood that in the embodiment of the present invention, the laser ranging sensor and the temperature sensor can cooperate with each other and complement each other. When the laser ranging sensor cannot determine the state of the kettle, the temperature sensor can be used for judgment; when the temperature sensor cannot determine the state of the kettle, the laser ranging sensor can also make a supplementary judgment.
[0084] The embodiment of the present invention discloses a method for determining the state of a kettle, the main feature of which is to use the vibration characteristics of the kettle body when the kettle is boiling and the characteristics when it is not boiling to make a judgment. The actual vibration characteristics of the kettle body are recorded by a distance measurement module, and compared with the standard vibration characteristics of boiling stored in a local segment or in the cloud. If the comparison matches, it is judged to be boiling; if the comparison does not match, the temperature sensor is used to judge the boiling state of the kettle by temperature. If the first temperature value and the second temperature value are equal within a preset time period, it means that the kettle has boiled. At this time, the actual vibration characteristics are updated to standard vibration characteristics and stored locally and uploaded to the cloud, overcoming the limitations of using traditional pressure and temperature to determine the working state of the kettle. This design makes full use of the cooperation and complementation of laser distance measurement and temperature sensors, and has the advantages of automatic calibration and efficient judgment.
[0085] In an embodiment of the present invention, a device for determining the working state of a kettle is provided. Figure 4 The structure diagram of the device is shown as follows, including:
[0086] The data acquisition module 401 is used to acquire the kettle body vibration data detected by the distance measurement module;
[0087] The data comparison module 402 is used to determine the working state of the kettle according to the kettle body vibration data. The working state of the kettle is divided into a boiling state and a non-boiling state.
[0088] Figure 4 The relevant contents of each module included in the working state determination device of the kettle involved in the embodiment shown are the same as those described above. Figure 1 and Figure 2 The contents of each step in the method for determining the working state of the kettle involved in the illustrated embodiment are similar, and can be referred to in detail. Figure 1 and Figure 2 The contents described in each step in the chapter are not repeated here.
[0089] In the embodiment of the present invention, the vibration characteristics of the kettle body when boiling and when not boiling are used for judgment. The actual vibration characteristics of the kettle body recorded by the distance measurement module are compared with the standard vibration characteristics of boiling stored in the local segment or the cloud. If the comparison matches, it is judged to be boiling; if the comparison does not match, the temperature sensor is used to judge the boiling state of the kettle by temperature. If the first temperature value and the second temperature value are equal within the preset time period, it means that it has boiled. At this time, the actual vibration characteristics are updated to the standard vibration characteristics and stored locally and uploaded to the cloud, overcoming the limitations of using traditional pressure and temperature to determine the working state of the kettle. This design makes full use of the distance measurement module and the temperature sensor to cooperate with each other and complement each other, and has the advantages of automatic calibration and efficient judgment.
[0090] Fig. 9 FIG. 1 shows an internal structure diagram of a computer device in an embodiment. The computer device may be a terminal or a server. Fig. 9 As shown, the computer device includes a processor, a memory and a network interface connected via a system bus. The memory includes a non-volatile storage medium and an internal memory. The non-volatile storage medium of the computer device stores an operating system and may also store a computer program. When the computer program is executed by the processor, the processor may implement a method for determining the working state of the kettle. The internal memory may also store a computer program. When the computer program is executed by the processor, the processor may implement a method for determining the working state of the kettle. Those skilled in the art will appreciate that Fig. 9 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0091] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the program can be stored in a non-volatile computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
[0092] The technical features of the above embodiments may be arbitrarily combined. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0093] The above-mentioned embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. A method for determining the working state of a kettle, characterized in that: The method is applied to a kettle, the kettle includes a distance measurement module, and the method includes: Acquiring the kettle body vibration data detected by the distance measurement module; Determining the working state of the kettle according to the kettle body vibration data, wherein the working state of the kettle is divided into a boiling state and a non-boiling state; Among them, a set of distance measuring modules includes a distance measuring device and a fixed scale plate. The distance measuring device can be any one of a laser distance measuring sensor, an ultrasonic distance measuring sensor, a lidar distance measuring sensor, an infrared distance measuring sensor, and a camera distance measuring device. The front of the fixed scale plate is a disk composed of multiple concentric circles, and the side of the fixed scale plate is stepped. The fixed scale plate is a disk with the thickest bull's eye scale layer and the smallest diameter, and the thinnest outermost scale layer and the largest diameter, and the radius difference and thickness difference between each concentric circle are equal. The inside of the kettle power base is hollow, and the kettle power base is divided into upper and lower parts, and there is at least one set of spring groups installed on the opposite sides on the inner outer edge of the power base and fixed to the lower part of the power base. At least one set of distance measuring modules is installed inside the kettle power base. When the kettle is in a state of not boiling water, the distance measuring device is opposite to the fixed scale plate and the position relationship is that the distance measuring device emits light to hit the bull's eye of the fixed scale plate and is vertical to the surface of the fixed scale plate. Directly enter, and either one of the two is installed on the vibration side, that is, the upper part of the kettle power base, and the other is installed on the static side, that is, the lower part of the kettle power base, and at the same time, the distance measuring module is kept vertical to the horizontal in the installation position of the receiving space, or the kettle shell is connected to the kettle liner, and there is a connection between the kettle shell and the kettle base, the kettle shell and the kettle base together constitute the kettle body, the kettle liner is installed inside the kettle body and connected to the bottom cover of the kettle shell, and there is a receiving space between the kettle liner and the kettle base, at least one set of distance measuring modules is installed in the receiving space between the kettle liner and the bottom cover of the kettle shell, when the kettle is in a state of not boiling water, the distance measuring device is opposite to the fixed scale plate and the position relationship is that the distance measuring device emits light to hit the bull's eye of the fixed scale plate and is vertically shot into the fixed scale plate surface, and either one of the two is installed on the vibration side, that is, the kettle body side, and the other is installed on the static side, that is, the kettle liner side, and at the same time, the distance measuring module is kept vertical to the horizontal in the installation position of the receiving space.
2. The method according to claim 1, characterized in that: The step of determining the working state of the kettle according to the kettle body vibration data comprises: Performing feature extraction on the kettle body vibration data to obtain actual vibration features of the kettle; The working state of the kettle is determined according to the actual vibration characteristics of the kettle.
3. The method according to claim 2, characterized in that Determining the working state of the kettle according to the actual vibration characteristics of the kettle includes: When a standard vibration characteristic of a kettle in a boiling state has been stored locally, determining whether the actual vibration characteristic of the kettle matches the standard vibration characteristic; If the actual vibration characteristic of the kettle matches the standard vibration characteristic, determining that the working state of the kettle is a boiling state; If the actual vibration characteristics of the kettle do not match the standard vibration characteristics, it is determined that the working state of the kettle is a non-boiling state.
4. The method according to claim 2, characterized in that: Determining the working state of the kettle according to the actual vibration characteristics of the kettle, the method also includes: Determine whether the standard vibration characteristics of the kettle when it is in a boiling state have been stored locally; When the standard vibration characteristics have been stored locally, continuing to perform the step of determining the working state of the kettle according to the actual vibration characteristics of the kettle; When the standard vibration feature is not stored locally, the standard vibration feature is obtained from the cloud and stored, and the step of determining the working state of the kettle according to the actual vibration feature of the kettle is continued.
5. The method according to claim 3, characterized in that: The kettle includes a temperature sensor, and the method further includes: If it is determined that the working state of the kettle is not boiling, then obtaining water temperature data of the water in the kettle detected by the temperature sensor within a preset time period; The working state of the kettle is determined according to the water temperature data in the kettle.
6. The method according to claim 5, characterized in that The step of determining the working state of the kettle according to the water temperature data in the kettle comprises: Acquire a first temperature value of the water temperature in the kettle at an initial moment of a preset time period from the water temperature data; Acquire a second temperature value at the next moment from the water temperature data; If the first temperature value is not equal to the second temperature value, determining that the working state of the kettle is an unboiled state, setting the second temperature value to the first temperature value, and returning to execute the step of obtaining the second temperature value at the next moment from the water temperature data; If the first temperature value is equal to the second temperature value, it is determined that the working state of the kettle is a boiling state.
7. The method according to claim 5, characterized in that After determining the working state of the kettle according to the water temperature data in the kettle, the method further includes: If it is determined that the working state of the kettle is a boiling state, the actual vibration feature is used to replace the standard vibration feature to update the local area, and the actual vibration feature is stored in the cloud.
8. A device for determining the working state of a kettle, characterized in that: The device is applied to a kettle, the kettle includes a distance measuring module, and the device includes: Data acquisition module: used to acquire the kettle body vibration data detected by the distance measurement module; Data comparison module: used to determine the working state of the kettle according to the vibration data of the kettle body, and the working state of the kettle is divided into boiling state and non-boiling state; Among them, a set of distance measuring modules includes a distance measuring device and a fixed scale plate. The distance measuring device can be any one of a laser distance measuring sensor, an ultrasonic distance measuring sensor, a lidar distance measuring sensor, an infrared distance measuring sensor, and a camera distance measuring device. The front of the fixed scale plate is a disk composed of multiple concentric circles, and the side of the fixed scale plate is stepped. The fixed scale plate is a disk with the thickest bull's eye scale layer and the smallest diameter, and the thinnest outermost scale layer and the largest diameter, and the radius difference and thickness difference between each concentric circle are equal. The inside of the kettle power base is hollow, and the kettle power base is divided into upper and lower parts, and there is at least one set of spring groups installed on the opposite sides on the inner outer edge of the power base and fixed to the lower part of the power base. At least one set of distance measuring modules is installed inside the kettle power base. When the kettle is in a state of not boiling water, the distance measuring device is opposite to the fixed scale plate and the position relationship is that the distance measuring device emits light to hit the bull's eye of the fixed scale plate and is vertical to the surface of the fixed scale plate. Directly enter, and either one of the two is installed on the vibration side, that is, the upper part of the kettle power base, and the other is installed on the static side, that is, the lower part of the kettle power base, and at the same time, the distance measuring module is kept vertical to the horizontal in the installation position of the receiving space, or the kettle shell is connected to the kettle liner, and there is a connection between the kettle shell and the kettle base, the kettle shell and the kettle base together constitute the kettle body, the kettle liner is installed inside the kettle body and connected to the bottom cover of the kettle shell, and there is a receiving space between the kettle liner and the kettle base, at least one set of distance measuring modules is installed in the receiving space between the kettle liner and the bottom cover of the kettle shell, when the kettle is in a state of not boiling water, the distance measuring device is opposite to the fixed scale plate and the position relationship is that the distance measuring device emits light to hit the bull's eye of the fixed scale plate and is vertically shot into the fixed scale plate surface, and either one of the two is installed on the vibration side, that is, the kettle body side, and the other is installed on the static side, that is, the kettle liner side, and at the same time, the distance measuring module is kept vertical to the horizontal in the installation position of the receiving space.
9. A storage medium storing a computer instruction program, characterized in that: When the computer instruction program is executed by a processor, the processor is caused to perform the method for determining the working state of the kettle as claimed in any one of claims 1 to 7.
10. A computer device, characterized in that: The invention comprises at least one memory and at least one processor, wherein the memory stores a computer instruction program, and when the computer instruction program is executed by the processor, the processor executes the method for determining the working state of the kettle as claimed in any one of claims 1 to 7.
