CN112351538A - Method, system, terminal and storage medium for judging starting of microwave oven - Google Patents

Method, system, terminal and storage medium for judging starting of microwave oven Download PDF

Info

Publication number
CN112351538A
CN112351538A CN202011121276.7A CN202011121276A CN112351538A CN 112351538 A CN112351538 A CN 112351538A CN 202011121276 A CN202011121276 A CN 202011121276A CN 112351538 A CN112351538 A CN 112351538A
Authority
CN
China
Prior art keywords
cycle
active power
preset
increment
power
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202011121276.7A
Other languages
Chinese (zh)
Other versions
CN112351538B (en
Inventor
刘建
任智仁
汤博
梁家阁
刘宇轩
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Wasion Group Co Ltd
Original Assignee
Wasion Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Wasion Group Co Ltd filed Critical Wasion Group Co Ltd
Priority to CN202011121276.7A priority Critical patent/CN112351538B/en
Publication of CN112351538A publication Critical patent/CN112351538A/en
Application granted granted Critical
Publication of CN112351538B publication Critical patent/CN112351538B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B6/00Heating by electric, magnetic or electromagnetic fields
    • H05B6/64Heating using microwaves
    • H05B6/66Circuits
    • H05B6/664Aspects related to the power supply of the microwave heating apparatus
    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B6/00Heating by electric, magnetic or electromagnetic fields
    • H05B6/64Heating using microwaves
    • H05B6/66Circuits
    • H05B6/68Circuits for monitoring or control

Landscapes

  • Physics & Mathematics (AREA)
  • Electromagnetism (AREA)
  • Electric Ovens (AREA)

Abstract

The invention discloses a method, a system, a terminal and a storage medium for judging the starting of a microwave oven, wherein the method comprises the following steps: acquiring and judging whether a first preset condition is met or not according to the active power of the first cycle, the first cycle after the first cycle and the active power of the second cycle; when a first preset condition is met, selecting a first preset number of second cycles after the first cycle is separated; acquiring and judging whether a second preset condition is met or not according to the average active power of a first preset number of cycles and a second preset number of cycles of the second cycle; when a second preset condition is met, adding 1 to the effective frequency, and judging whether the current effective frequency is greater than a preset threshold value or not; if yes, the microwave oven is determined to be started. The method solves the problem that the judgment of the microwave oven starting based on the active power increment is easy to be interfered by other equipment to cause misjudgment in the prior art.

Description

Method, system, terminal and storage medium for judging starting of microwave oven
Technical Field
The invention relates to the technical field of electric power, in particular to a method, a system, a terminal and a computer readable storage medium for judging the starting of a microwave oven.
Background
Since the advent of microwave ovens over the forty years of the last century, microwave ovens have been deep into people's daily lives. The microwave oven has the advantages of cleanness, rapidness, convenience and the like when used for heating food. The existing judgment method for the starting of the microwave oven only judges based on the active power increment in the whole process, and the judgment result of the method is easily interfered by other working equipment which exists at the same time, so that the judgment result is wrong.
Disclosure of Invention
The invention mainly aims to provide a method, a system, a terminal and a computer readable storage medium for judging the starting of a microwave oven, and aims to solve the problem that the existing judgment of starting the microwave oven based on active power increment is easy to be interfered by other equipment to cause misjudgment.
In order to achieve the above object, the present invention provides a method for determining the start-up of a microwave oven, comprising the steps of:
acquiring active power of a cycle, and taking the acquired cycle as a first cycle;
obtaining active power of a first cycle and active power of a second cycle after the first cycle;
judging whether a first preset condition is met or not according to the active power of the first cycle, the active power of the first cycle and the active power of the second cycle after the first cycle;
when a first preset condition is met, taking the cycle which is behind the first cycle and has a first preset number with the interval from the first cycle as a second cycle;
acquiring the average active power of a first preset number of cycles of a second cycle and the average active power of a second preset number of cycles, wherein the first preset number is larger than the second preset number;
judging whether a second preset condition is met or not according to the average active power of the first preset number of cycles of the second cycle and the average active power of the second preset number of cycles;
when a second preset condition is met, adding 1 to the effective frequency, and judging whether the current effective frequency is greater than a preset threshold value or not;
if yes, resetting the effective frequency and determining the start of the microwave oven;
and if not, updating the first cycle after the second cycle to be the second cycle, and returning to execute the step of obtaining the average active power of the first preset number of cycles and the average active power of the second preset number of cycles.
Optionally, the step of determining whether the first preset condition is met according to the active power of the first cycle, the active power of the first cycle after the first cycle, and the active power of the second cycle after the first cycle includes:
and when the first preset condition is not met, updating the first cycle after the first cycle to be the first cycle, and returning to execute the step of obtaining the active power of the first cycle and the active power of the second cycle after the first cycle.
Optionally, the step of determining whether the second preset condition is met according to the average active power of the first preset number of cycles of the second cycle and the average active power of the second preset number of cycles further includes:
when the second preset condition is not met, judging whether the number of the cycles between the second cycle and the first cycle is less than the sum of a third preset number and the current effective cycle;
if so, updating the first cycle after the second cycle to be the second cycle, and returning to execute the step of obtaining the average active power of the first preset number of cycles and the average active power of the second preset number of cycles;
and if not, resetting the effective frequency, taking the first cycle after the second cycle as the first cycle, acquiring the active power of the first cycle, and returning to execute the step of acquiring the active power of the first cycle and the active power of the second cycle after the first cycle.
Optionally, the step of determining whether the first preset condition is met according to the active power of the first cycle, the active power of the first cycle after the first cycle, and the active power of the second cycle includes:
obtaining a difference value between the active power of the first cycle after the first cycle and the active power of the first cycle after the first cycle as a first power increment according to the active power of the first cycle and the active power of the first cycle after the first cycle;
obtaining a difference value between the active power of the first cycle after the first cycle and the active power of the second cycle after the first cycle as a second power increment according to the active power of the first cycle after the first cycle and the active power of the second cycle after the first cycle;
judging whether the first power increment is larger than a first preset increment threshold value or not and whether the second power increment is larger than a second preset increment threshold value or not;
if the first power increment is larger than a first preset increment threshold value and the second power increment is larger than a second preset increment threshold value, determining that a first preset condition is met;
and if the first power increment is smaller than or equal to a first preset increment threshold value and/or the second power increment is smaller than or equal to a second preset increment threshold value, determining that the first preset condition is not met.
Optionally, the step of determining whether the first preset condition is met according to the active power of the first cycle, the active power of the first cycle after the first cycle, and the active power of the second cycle includes:
obtaining a difference value between the active power of the first cycle after the first cycle and the active power of the first cycle after the first cycle as a first power increment according to the active power of the first cycle and the active power of the first cycle after the first cycle;
obtaining a difference value between the active power of the first cycle after the first cycle and the active power of the second cycle after the first cycle as a second power increment according to the active power of the first cycle after the first cycle and the active power of the second cycle after the first cycle;
obtaining a difference value between the active power of the second cycle after the first cycle and the active power of the first cycle according to the active power of the first cycle and the active power of the second cycle after the first cycle, and taking the difference value as a third power increment;
judging whether the first power increment is larger than a first preset increment threshold value, whether the second power increment is larger than a second preset increment threshold value and whether the third power increment is larger than a third preset increment threshold value;
if the first power increment is larger than a first preset increment threshold, the second power increment is larger than a second preset increment threshold and the third power increment is larger than a third preset increment threshold, determining that a first preset condition is met;
and if the first power increment is less than or equal to at least one of a first preset increment threshold, a second power increment is less than or equal to a second preset increment threshold and a third power increment is less than or equal to a third preset increment threshold, determining that the first preset condition is not met.
Optionally, the step of determining whether a second preset condition is met according to the average active power of a first preset number of cycles of the second cycle and the average active power of a second preset number of cycles of the second cycle includes:
obtaining a difference value between the average active power of the later second preset number of cycles and the average active power of the earlier second preset number of cycles of the second cycle as a fourth power increment according to the average active power of the earlier second preset number of cycles and the average active power of the later second preset number of cycles of the second cycle;
judging whether the fourth power increment is larger than a fourth preset increment threshold value or not;
if yes, determining whether a second preset condition is met;
if not, determining that the second preset condition is not met.
Optionally, the method for determining the start of the microwave oven further includes:
determining the number of sampling points of a cycle according to a preset sampling frequency and the frequency of an alternating current signal at the inlet of the main ammeter;
acquiring a voltage signal and a current signal at an inlet of the electric meter according to a preset sampling frequency;
and calculating the active power of one cycle according to the acquired voltage signal and current signal of each sampling point in one cycle.
In order to achieve the above object, the present invention further provides a system for determining the start-up of a microwave oven, the system comprising:
the first acquisition module is used for acquiring active power of a cycle and taking the acquired cycle as a first cycle;
the second obtaining module is used for obtaining the active power of a first cycle and the active power of a second cycle after the first cycle;
the first judgment module is used for judging whether a first preset condition is met or not according to the active power of the first cycle, the active power of the first cycle and the active power of the second cycle after the first cycle;
the third acquisition module is used for taking the cycle which is after the first cycle and has the interval with the first cycle and the number of which is the first preset number as the second cycle after the first cycle when the first preset condition is met;
the fourth obtaining module is used for obtaining the average active power of the first preset number of cycles and the average active power of the second preset number of cycles, wherein the first preset number is larger than the second preset number;
the second judgment module is used for judging whether a second preset condition is met or not according to the average active power of the first preset number of cycles of the second cycle and the average active power of the second preset number of cycles;
the third judging module is used for adding 1 to the effective frequency when a second preset condition is met, and judging whether the current effective frequency is larger than a preset threshold value or not; if yes, resetting the effective frequency and determining the start of the microwave oven; and if not, updating the first cycle after the second cycle to be the second cycle, and returning to call the fourth acquisition module to execute corresponding operation.
In order to achieve the above object, the present invention further provides a terminal, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program, when executed by the processor, implements the steps of the method for determining the start-up of a microwave oven as described above.
To achieve the above object, the present invention further provides a computer-readable storage medium, having a computer program stored thereon, where the computer program, when executed by a processor, implements the steps of the method for determining the start-up of a microwave oven as described above.
The invention provides a method, a system, a terminal and a computer readable storage medium for judging the start-up of a microwave oven, which judge whether the active power variation trend of three cycles is the pulse form of the first stage of the start-up of the microwave oven according to the active power of the three continuous adjacent cycles, after the active power variation trend of the first stage of the start-up of the microwave oven is determined to be in accordance with the active power variation trend, the difference value between the average active power of the previous preset number of cycles and the average active power of the next preset number of cycles of a certain cycle is obtained after a plurality of cycles are separated, whether the power variation trend near the cycle is the active power variation curve of the second stage of the microwave oven is judged according to the difference value, if yes, the number of the effective cycles in accordance with the second stage is added with 1, the next cycle is continuously judged until the number of the effective cycles in accordance with the second stage is continuously determined to reach the preset threshold value, it is determined that the microwave oven is started. When the microwave oven is started, if other electric appliances are overlapped, although the increment of the second-order lifting active power changes at a certain moment, the change trend of the 'climbing' of the active power always exists, and the influence of other electric appliances on the second-order judgment can be eliminated just by judging the change trend of the active power based on the average active power of a plurality of cycles and judging the second-order climbing time of the microwave oven in the judgment process of the second-order microwave oven, so that the judgment accuracy of the starting of the microwave oven is improved.
Drawings
FIG. 1 is a schematic diagram of a hardware operating environment according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating a method for determining the start-up of a microwave oven according to a first embodiment of the present invention;
FIG. 3 is a flowchart illustrating a method for determining the start-up of a microwave oven according to a second embodiment of the present invention;
FIG. 4 is a flowchart illustrating a method for determining the start-up of a microwave oven according to a third embodiment of the present invention;
FIG. 5 is a functional block diagram of a system for determining the start-up of a microwave oven according to the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
Referring to fig. 1, fig. 1 is a schematic diagram of a hardware structure of a terminal provided in various embodiments of the present invention. The terminal comprises a communication module 01, a memory 02, a processor 03 and the like. Those skilled in the art will appreciate that the terminal shown in fig. 1 may also include more or fewer components than shown, or combine certain components, or a different arrangement of components. The processor 03 is connected to the memory 02 and the communication module 01, respectively, and the memory 02 stores a computer program, which is executed by the processor 03 at the same time.
The communication module 01 may be connected to an external device through a network. The communication module 01 may receive data sent by an external device, and may also send data, instructions, and information to the external device, where the external device may be an electric meter, a mobile phone, a tablet computer, a notebook computer, a desktop computer, or other electronic devices.
The memory 02 may be used to store software programs and various data. The memory 02 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required by at least one function (obtaining active power of one cycle, and taking the obtained cycle as a first cycle), and the like; the storage data area may store data or information created according to the use of the terminal, or the like. Further, the memory 02 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 03, which is a control center of the terminal, connects various parts of the entire terminal using various interfaces and lines, and performs various functions of the terminal and processes data by operating or executing software programs and/or modules stored in the memory 02 and calling data stored in the memory 02, thereby integrally monitoring the terminal. Processor 03 may include one or more processing units; preferably, the processor 03 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 03.
Although not shown in fig. 1, the terminal may further include a circuit control module, where the circuit control module is used for being connected to a mains supply to implement power control and ensure normal operation of other components.
Those skilled in the art will appreciate that the terminal structure shown in fig. 1 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
Various embodiments of the method of the present invention are presented in terms of the above-described hardware architecture.
Referring to fig. 2, in a first embodiment of the method for determining the start-up of a microwave oven according to the present invention, the method for determining the start-up of a microwave oven includes the steps of:
step S10, obtaining active power of a cycle at the total electric meter, and taking the obtained cycle as a first cycle;
in the scheme, the terminal can obtain the active power of each cycle of the alternating current signal at the inlet of the main electric meter in real time. The specific steps of obtaining the active power of the cycle are that the terminal calculates the total number of sampling points of a cycle according to a preset sampling frequency and the frequency of an alternating current signal at an inlet of a total electric meter, for example, the preset sampling frequency is 1600Hz, the frequency of the alternating current signal is 50Hz, then the number of sampling points of a cycle is 1600/50-32, then the terminal can collect the voltage signal and the current signal at the inlet of the total electric meter according to the preset sampling frequency through an external voltage sensor and a built-in current sensor or an internal voltage sensor and an internal current sensor, when the voltage signal and the current signal of the sampling points of a cycle are continuously collected, for example, 32 voltage signals and corresponding current signals are continuously collected, the active power of a cycle is calculated according to the 32 continuous voltage signals and corresponding current signals, and then the next group of continuous 32 voltage signals and current signals are continuously collected, the same calculation method calculates the active power of the next cycle.
When active power of a cycle is acquired, the acquired cycle is taken as a first cycle, namely, an initial point for judging the starting of the microwave oven.
Step S20, obtaining the active power of the first cycle and the second cycle after the first cycle;
after the terminal acquires the first cycle, the terminal will continue to acquire the active power of two cycles after the first cycle, that is, the active power of the first cycle and the active power of the second cycle.
Step S30, judging whether a first preset condition is met according to the active power of the first cycle, the active power of the first cycle and the active power of the second cycle after the first cycle;
because can embody two characteristics on active power when microwave oven starts, the first stage is the power lifting, can produce the load of a similar pulse impact, and this stage time is short, and the impact amplitude is big, and active power can be quick suddenly rise by a wide margin and fall by a wide margin that immediately starts immediately, and the time span that the pulse rises and the time span that the pulse descends all are 1 cycle. The step is to determine whether the 3 cycles meet the characteristics of the first stage by using the characteristics of the first stage to obtain the active power of the consecutive 3 cycles, that is, to determine whether the first preset condition is met according to the active power of the first cycle, the active power of the first cycle and the active power of the second cycle after the first cycle.
Further, step S30 includes:
step S31, obtaining a difference value between the active power of the first cycle after the first cycle and the active power of the first cycle after the first cycle as a first power increment according to the active power of the first cycle and the active power of the first cycle after the first cycle;
step S32, obtaining a difference between the active power of the first cycle after the first cycle and the active power of the second cycle after the first cycle as a second power increment, according to the active power of the first cycle after the first cycle and the active power of the second cycle after the first cycle;
step S33, determining whether the first power increment is greater than a first preset increment threshold and the second power increment is greater than a second preset increment threshold; if the first power increment is greater than the first preset increment threshold and the second power increment is greater than the second preset increment threshold, executing step S34; if the first power increment is less than or equal to the first preset increment threshold and/or the second power increment is less than or equal to the second preset increment threshold, executing step S35;
step S34, determining that a first preset condition is met;
in step S35, it is determined that the first preset condition is not satisfied.
After obtaining the active power of the first cycle, the active power of the first cycle after the first cycle, and the active power of the second cycle, the terminal subtracts the active power of the first cycle from the active power of the first cycle after the first cycle, and obtains a first power increment, that is, a pulse rising amplitude in the first stage. And subtracting the active power of the second cycle after the first cycle from the active power of the first cycle after the first cycle to obtain a second power increment, namely the pulse falling amplitude in the first stage. Then, comparing the obtained first power increment with a first preset increment threshold value, and comparing the obtained second power increment with a second preset increment threshold value, wherein the first preset increment threshold value is preferably 450w, and the second preset increment threshold value is preferably 250 w; if the first power increment is larger than the first preset increment threshold and the second power increment is larger than the second preset increment threshold, the terminal can determine that the first preset condition is met, namely the characteristic of the first stage is met.
It should be noted that, in the process of determining whether the first preset condition is met, the first increment may be obtained first, and it is determined whether the first power increment is greater than a first preset increment threshold first, if the determination result is less than or equal to the first preset increment threshold, it is directly determined that the first preset condition is not met, if the determination result is greater than the first preset increment threshold, it is determined that the second power increment is performed, if the determination result is less than or equal to the second preset increment threshold, it is determined that the first preset condition is not met, and if the determination result is greater than the first preset condition, it is determined that the first preset condition is met.
Further, step S30 includes:
step S31, obtaining a difference value between the active power of the first cycle after the first cycle and the active power of the first cycle after the first cycle as a first power increment according to the active power of the first cycle and the active power of the first cycle after the first cycle;
step S32, obtaining a difference between the active power of the first cycle after the first cycle and the active power of the second cycle after the first cycle as a second power increment, according to the active power of the first cycle after the first cycle and the active power of the second cycle after the first cycle;
step S36, obtaining the difference value between the active power of the second cycle after the first cycle and the active power of the first cycle as a third power increment according to the active power of the first cycle and the active power of the second cycle after the first cycle;
step S37, determining whether the first power increment is greater than a first preset increment threshold, whether the second power increment is greater than a second preset increment threshold, and whether the third power increment is greater than a third preset increment threshold; if the first power increment is greater than the first preset increment threshold, the second power increment is greater than the second preset increment threshold, and the third power increment is greater than the third preset increment threshold, then step S34 is executed; if the first power increment is less than or equal to at least one of the first preset increment threshold, the second power increment is less than or equal to the second preset increment threshold, and the third power increment is less than or equal to the third preset increment threshold, executing step S35;
step S34, determining that a first preset condition is met;
in step S35, it is determined that the first preset condition is not satisfied.
Since the determination of the first phase may be affected by noise, in order to determine the first phase more accurately, in addition to obtaining the first power increment, i.e., the pulse rising amplitude in the first phase, and the second power increment, i.e., the pulse falling amplitude in the first phase, the active power of the first cycle is subtracted from the active power of the second cycle after the first cycle to obtain the third power increment, i.e., the pulse rising amplitude in the first phase. Comparing the obtained first power increment with a first preset increment threshold, comparing the obtained second power increment with a second preset increment threshold, and comparing the obtained third power increment with a third preset increment threshold, wherein the third preset increment threshold is preferably 450 w; if the first power increment is larger than the first preset increment threshold, the second power increment is larger than the second preset increment threshold, and the third power increment is larger than the third preset increment threshold, the terminal can determine that the first preset condition is met, that is, the characteristic of the first stage is met. And if at least one of the first power increment is smaller than or equal to a first preset increment threshold, the second power increment is smaller than or equal to a second preset increment threshold and the third power increment is smaller than or equal to a third preset increment threshold appears in the comparison result, judging that the first-stage characteristic is not satisfied.
It should be noted that, in the process of determining whether the first preset condition is met, the first increment may be obtained first, and it is determined first whether the first power increment is greater than a first preset increment threshold, if the determination result is less than or equal to the first preset condition, it is directly determined that the first preset condition is not met, if the determination result is greater than the first preset increment threshold, it is determined that the second power increment and the third power increment are determined, if the determination result is that the second power increment is less than or equal to the second preset increment threshold and/or that the third power increment is less than or equal to the third preset increment threshold, it is determined that the first preset condition is not met, and if the determination result is that the second power increment is greater than the second preset increment threshold and the third power increment is greater than the third preset increment threshold, it is determined that the first preset condition is met.
Step S40, when the first preset condition is satisfied, taking the cycle after the first cycle and separated from the first cycle by a first preset number as the second cycle;
step S50, obtaining the average active power of the first preset number of cycles and the average active power of the second preset number of cycles;
when the first preset condition is met, namely the first stage characteristic is determined to be met, whether the second stage characteristic is met or not is judged, a plurality of cycles are arranged between the second stage and the first stage, and the second stage characteristic mainly comprises that the active power uplift is generally in the form of slow increase of the active power and longer time span, and is similar to a slope-type curve. In order to determine whether the second-stage characteristic is satisfied, specifically, the active power of each cycle after the first cycle is continuously acquired until a cycle after the first cycle and separated from the first cycle by a first preset number is acquired as a second cycle, and the active power of the second cycle is acquired, where the first preset number may be any one of values from 60 to 100, and is preferably 80, and for example, an 81 th cycle after the first cycle is taken as the second cycle.
After the second cycle is determined, the active power of each cycle after the second cycle is continuously obtained until the active power of each cycle in a second preset number of cycles after the second cycle is obtained, and the active power of each cycle in a first second preset number of cycles of the second cycle is obtained from the cycles obtained before the second cycle, wherein the second preset number may be any one of values from 4 to 10, and is preferably 5, then the average active power of a later second preset number of cycles of the second cycle is calculated according to the active power of each cycle in the later second preset number of cycles of the second cycle, and the average active power of an earlier second preset number of cycles of the second cycle is calculated according to the active power of each cycle in the earlier second preset number of cycles of the second cycle.
Step S60, judging whether a second preset condition is met according to the average active power of the first preset number of cycles and the average active power of the second preset number of cycles;
after the terminal obtains the average active power of the first preset number of cycles of the second cycle and the average active power of the second preset number of cycles, the step is to determine whether the second cycle belongs to the middle point of the climbing curve in the second stage by using the characteristics of the second stage according to the average active power of the first preset number of cycles and the average active power of the second preset number of cycles, namely, whether the second preset condition is met is judged according to the average active power of the first preset number of cycles and the average active power of the second preset number of cycles.
Specifically, step S60 includes:
step S61, obtaining the difference value between the average active power of the later second preset number of cycles and the average active power of the earlier second preset number of cycles of the second cycle as a fourth power increment according to the average active power of the earlier second preset number of cycles and the average active power of the later second preset number of cycles;
step S62, judging whether the fourth power increment is larger than a fourth preset increment threshold value; if yes, go to step S63; if not, go to step S64;
step S63, determining whether a second preset condition is satisfied;
step S64, determining that the second preset condition is not satisfied
The terminal subtracts the average active power of the second preset number of cycles after the second cycle from the average active power of the second preset number of cycles before the second cycle to obtain a fourth power increment, and compares the obtained fourth power increment with a fourth preset increment threshold, wherein the fourth preset increment threshold is preferably 30 w; and if the fourth power increment is larger than a fourth preset increment threshold, determining that the second preset condition is met, and if the fourth power increment is smaller than or equal to the fourth preset increment threshold, determining that the second preset condition is not met.
Step S70, when a second preset condition is met, adding 1 to the effective frequency, and judging whether the current effective frequency is larger than a preset threshold value; if yes, go to step S80; if not, go to step S90;
step S80, clearing the effective frequency and determining the start of the microwave oven;
step S90 is executed to update the first cycle after the second cycle to the second cycle, and the process returns to step S50.
When a second preset condition is met, determining that the currently selected second cycle has the characteristics of the cycle in the climbing curve in the second stage, adding 1 to the effective cycle, before the first second cycle is judged, the effective cycle is 0, after each second cycle is judged to be in accordance with the characteristics of the cycle in the climbing curve, judging whether the current effective cycle is greater than a preset threshold value or not, if the current effective cycle is greater than the preset threshold value, namely the duration time of the climbing trend reaches the preset time, determining that the second stage exists, namely determining that the microwave oven is started, and clearing the effective cycle to be zero so as to facilitate the subsequent judgment of starting the microwave oven. If the current effective cycle number is not greater than the preset threshold, a cycle after the second cycle determined to belong to the cycle feature in the climbing curve is updated to the second cycle, and the step S50 is executed again, that is, the process of determining whether the second cycle has the cycle feature in the climbing curve before is repeated.
The method comprises the steps of judging whether the active power change trend of three cycles is the pulse form of a first stage of microwave oven starting according to the active power of three continuous adjacent cycles, obtaining the difference value between the average active power of a cycle with a preset number before and the average active power of a cycle with a preset number after the active power change trend of the first stage of microwave oven starting is determined to be consistent with the active power change trend of the first stage of microwave oven starting and then after a plurality of cycles are separated, judging whether the power change trend of the cycle nearby is the active power change curve of a second stage of the microwave oven according to the difference value, if yes, adding 1 to the number of effective cycles consistent with the second stage, continuously judging the next cycle, and determining that the microwave oven is started until the number of effective cycles consistent with the second stage reaches a preset threshold value continuously. When the microwave oven is started, if other electric appliances are overlapped, although the increment of the second-order lifting active power changes at a certain moment, the change trend of the 'climbing' of the active power always exists, and the influence of other electric appliances on the second-order judgment can be eliminated just by judging the change trend of the active power based on the average active power of a plurality of cycles and judging the second-order climbing time of the microwave oven in the judgment process of the second-order microwave oven, so that the judgment accuracy of the starting of the microwave oven is improved.
Further, referring to fig. 3, fig. 3 is a diagram illustrating a second embodiment of the method for determining the start-up of a microwave oven according to the first embodiment of the method for determining the start-up of a microwave oven of the present application, and in this embodiment, after step S30, the method further includes:
step S41, when the first preset condition is not satisfied, updating the first cycle after the first cycle to the first cycle, and returning to execute step S20.
When it is determined that the first cycle, the three consecutive cycles formed by the first cycle and the second cycle after the first cycle do not conform to the first-stage characteristics, the first cycle after the first cycle is taken as a new first cycle, and the process returns to step S20 to determine whether the three consecutive cycles formed by the new first cycle, the first cycle after the new first cycle and the second cycle conform to the first-stage characteristics. For example, in a cycle sequence, it is determined that three consecutive cycles consisting of the first cycle, the second cycle, and the third cycle do not match the first-stage feature, and it is determined whether three consecutive cycles consisting of the second cycle, the third cycle, and the fourth cycle match the first-stage feature, and if not, it is determined whether three consecutive cycles consisting of the third cycle, the fourth cycle, and the fifth cycle match the first-stage feature, and if it is not determined that three cycles matching the first-stage feature exist, it is determined until three cycles matching the first-stage feature are found.
Further, referring to fig. 4, fig. 4 is a third embodiment of the method for determining the start-up of a microwave oven according to the first embodiment and the second embodiment of the method for determining the start-up of a microwave oven of the present application, and in the present embodiment, after step S60, the method further includes:
step S71, when the second preset condition is not satisfied, judging whether the number of the cycles between the second cycle and the first cycle is less than the sum of the third preset number and the current effective cycle; if yes, go to step S72; if not, go to step S73;
step S72, updating the first cycle after the second cycle to be the second cycle, and returning to execute step S50;
and step S73, clearing the effective frequency, taking the first cycle after the second cycle as the first cycle, acquiring the active power of the first cycle, and returning to execute step S20.
When it is determined that the currently selected second cycle does not satisfy the second preset condition, it is determined whether the number of cycles between the currently selected second cycle and the first cycle is smaller than the sum of the third preset number and the current effective cycle, and if the number of cycles between the currently selected second cycle and the first cycle is greater than or equal to the sum of the third preset number and the current effective cycle, the determination of the second stage characteristics is immediately stopped, the current effective cycle is cleared, the currently selected first cycle after the second cycle is used as the first cycle, the active power of the first cycle is obtained, and then the step S20 is executed to restart the determination of the first stage. If the number of the currently selected second cycle and the first cycle is smaller than the sum of the third preset number and the current effective cycle, updating the currently selected second cycle to be the second cycle, and returning to the step S50. For example, assume that the second predetermined number is 80 and the third predetermined number is 115. If the number of the currently selected second cycles is 112, and the currently selected second cycles is determined not to satisfy the characteristics of the second-stage hill-climbing cancellation cycle, the current effective cycle number is 2, and at this time, 112 is smaller than 115+2, the next cycle of the currently selected second cycles is used as a new second cycle, and the process returns to continuously determine whether the new second cycle meets the second-stage characteristics. If the number of the cycles between the currently selected second cycle and the first cycle is 117, and the currently selected second cycle is determined not to satisfy the characteristics of the cycle in the hill climbing cancellation in the second stage, the current effective cycle is 2, and at this time, 117 is equal to 115+2, the determination of the second stage is stopped, and the determination of the first stage is restarted by taking the next cycle as the first cycle without continuing to determine whether the next cycle conforms to the characteristics of the second stage.
Referring to fig. 5, the present invention also provides a system for determining the start-up of a microwave oven, comprising:
a first obtaining module 10, configured to obtain active power of a cycle, and use the obtained cycle as a first cycle;
a second obtaining module 20, configured to obtain active power of a first cycle and an active power of a second cycle after the first cycle;
the first judging module 30 is configured to judge whether a first preset condition is met according to the active power of the first cycle, the active power of the first cycle and the active power of the second cycle after the first cycle;
a third obtaining module 40, configured to, when a first preset condition is met, take, as a second cycle, a cycle that is after the first cycle and whose cycle number is a first preset number apart from the first cycle;
a fourth obtaining module 50, configured to obtain an average active power of a first preset number of cycles of a second cycle and an average active power of a second preset number of cycles, where the first preset number is greater than the second preset number;
a second determining module 60, configured to determine whether a second preset condition is met according to an average active power of a first preset number of cycles of the second cycle and an average active power of a second preset number of cycles;
a third determining module 70, configured to add 1 to the effective frequency when a second preset condition is met, and determine whether the current effective frequency is greater than a preset threshold; if yes, resetting the effective frequency and determining the start of the microwave oven; and if not, updating the first cycle after the second cycle to be the second cycle, and returning to call the fourth acquisition module to execute corresponding operation.
The invention also proposes a computer-readable storage medium on which a computer program is stored. The computer-readable storage medium may be the Memory 02 in the terminal of fig. 1, and may also be at least one of a ROM (Read-Only Memory)/RAM (Random Access Memory), a magnetic disk, and an optical disk, and the computer-readable storage medium includes several pieces of information for enabling the terminal to perform the method according to the embodiments of the present invention.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (10)

1. A method for judging the start-up of a microwave oven, comprising the steps of:
acquiring active power of a cycle, and taking the acquired cycle as a first cycle;
obtaining active power of a first cycle and active power of a second cycle after the first cycle;
judging whether a first preset condition is met or not according to the active power of the first cycle, the active power of the first cycle and the active power of the second cycle after the first cycle;
when a first preset condition is met, taking the cycle which is behind the first cycle and has a first preset number with the interval from the first cycle as a second cycle;
acquiring the average active power of a first preset number of cycles of a second cycle and the average active power of a second preset number of cycles, wherein the first preset number is larger than the second preset number;
judging whether a second preset condition is met or not according to the average active power of the first preset number of cycles of the second cycle and the average active power of the second preset number of cycles;
when a second preset condition is met, adding 1 to the effective frequency, and judging whether the current effective frequency is greater than a preset threshold value or not;
if yes, resetting the effective frequency and determining the start of the microwave oven;
and if not, updating the first cycle after the second cycle to be the second cycle, and returning to execute the step of obtaining the average active power of the first preset number of cycles and the average active power of the second preset number of cycles.
2. The method of claim 1, wherein the step of determining whether the first predetermined condition is satisfied according to the active power of the first cycle, the active power of the first cycle and the active power of the second cycle after the first cycle comprises:
and when the first preset condition is not met, updating the first cycle after the first cycle to be the first cycle, and returning to execute the step of obtaining the active power of the first cycle and the active power of the second cycle after the first cycle.
3. The method of claim 2, wherein the step of determining whether the second predetermined condition is satisfied according to the average active power of the first preset number of cycles and the average active power of the second preset number of cycles further comprises:
when the second preset condition is not met, judging whether the number of the cycles between the second cycle and the first cycle is less than the sum of a third preset number and the current effective cycle;
if so, updating the first cycle after the second cycle to be the second cycle, and returning to execute the step of obtaining the average active power of the first preset number of cycles and the average active power of the second preset number of cycles;
and if not, resetting the effective frequency, taking the first cycle after the second cycle as the first cycle, acquiring the active power of the first cycle, and returning to execute the step of acquiring the active power of the first cycle and the active power of the second cycle after the first cycle.
4. The method of any one of claims 1 to 3, wherein the step of determining whether the first preset condition is satisfied according to the active power of the first cycle, the active power of the first cycle and the active power of the second cycle after the first cycle comprises:
obtaining a difference value between the active power of the first cycle after the first cycle and the active power of the first cycle after the first cycle as a first power increment according to the active power of the first cycle and the active power of the first cycle after the first cycle;
obtaining a difference value between the active power of the first cycle after the first cycle and the active power of the second cycle after the first cycle as a second power increment according to the active power of the first cycle after the first cycle and the active power of the second cycle after the first cycle;
judging whether the first power increment is larger than a first preset increment threshold value or not and whether the second power increment is larger than a second preset increment threshold value or not;
if the first power increment is larger than a first preset increment threshold value and the second power increment is larger than a second preset increment threshold value, determining that a first preset condition is met;
and if the first power increment is smaller than or equal to a first preset increment threshold value and/or the second power increment is smaller than or equal to a second preset increment threshold value, determining that the first preset condition is not met.
5. The method of claim 4, wherein the step of determining whether the first preset condition is satisfied according to the active power of the first cycle, the active power of the first cycle and the active power of the second cycle after the first cycle comprises:
obtaining a difference value between the active power of the first cycle after the first cycle and the active power of the first cycle after the first cycle as a first power increment according to the active power of the first cycle and the active power of the first cycle after the first cycle;
obtaining a difference value between the active power of the first cycle after the first cycle and the active power of the second cycle after the first cycle as a second power increment according to the active power of the first cycle after the first cycle and the active power of the second cycle after the first cycle;
obtaining a difference value between the active power of the second cycle after the first cycle and the active power of the first cycle according to the active power of the first cycle and the active power of the second cycle after the first cycle, and taking the difference value as a third power increment;
judging whether the first power increment is larger than a first preset increment threshold value, whether the second power increment is larger than a second preset increment threshold value and whether the third power increment is larger than a third preset increment threshold value;
if the first power increment is larger than a first preset increment threshold, the second power increment is larger than a second preset increment threshold and the third power increment is larger than a third preset increment threshold, determining that a first preset condition is met;
and if the first power increment is less than or equal to at least one of a first preset increment threshold, a second power increment is less than or equal to a second preset increment threshold and a third power increment is less than or equal to a third preset increment threshold, determining that the first preset condition is not met.
6. The method of claim 5, wherein the step of determining whether the second predetermined condition is satisfied according to the average active power of the first preset number of cycles and the average active power of the second preset number of cycles comprises:
obtaining a difference value between the average active power of the later second preset number of cycles and the average active power of the earlier second preset number of cycles of the second cycle as a fourth power increment according to the average active power of the earlier second preset number of cycles and the average active power of the later second preset number of cycles of the second cycle;
judging whether the fourth power increment is larger than a fourth preset increment threshold value or not;
if yes, determining whether a second preset condition is met;
if not, determining that the second preset condition is not met.
7. The method of claim 6, further comprising:
determining the number of sampling points of a cycle according to a preset sampling frequency and the frequency of an alternating current signal at the inlet of the main ammeter;
acquiring a voltage signal and a current signal at an inlet of the electric meter according to a preset sampling frequency;
and calculating the active power of one cycle according to the acquired voltage signal and current signal of each sampling point in one cycle.
8. A microwave oven start-up determining system, comprising:
the first acquisition module is used for acquiring active power of a cycle and taking the acquired cycle as a first cycle;
the second obtaining module is used for obtaining the active power of a first cycle and the active power of a second cycle after the first cycle;
the first judgment module is used for judging whether a first preset condition is met or not according to the active power of the first cycle, the active power of the first cycle and the active power of the second cycle after the first cycle;
the third acquisition module is used for taking the cycle which is after the first cycle and has the interval with the first cycle and the number of which is the first preset number as the second cycle after the first cycle when the first preset condition is met;
the fourth obtaining module is used for obtaining the average active power of the first preset number of cycles and the average active power of the second preset number of cycles, wherein the first preset number is larger than the second preset number;
the second judgment module is used for judging whether a second preset condition is met or not according to the average active power of the first preset number of cycles of the second cycle and the average active power of the second preset number of cycles;
the third judging module is used for adding 1 to the effective frequency when a second preset condition is met, and judging whether the current effective frequency is larger than a preset threshold value or not; if yes, resetting the effective frequency and determining the start of the microwave oven; and if not, updating the first cycle after the second cycle to be the second cycle, and returning to call the fourth acquisition module to execute corresponding operation.
9. A terminal, characterized in that the terminal comprises a memory, a processor and a computer program stored on the memory and executable on the processor, the computer program, when executed by the processor, implementing the steps of the microwave oven startup decision method according to any one of claims 1 to 7.
10. A computer-readable storage medium, having stored thereon a computer program which, when being executed by a processor, carries out the steps of the microwave oven startup determination method according to any one of claims 1 to 7.
CN202011121276.7A 2020-10-19 2020-10-19 Method, system, terminal and storage medium for judging starting of microwave oven Active CN112351538B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011121276.7A CN112351538B (en) 2020-10-19 2020-10-19 Method, system, terminal and storage medium for judging starting of microwave oven

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011121276.7A CN112351538B (en) 2020-10-19 2020-10-19 Method, system, terminal and storage medium for judging starting of microwave oven

Publications (2)

Publication Number Publication Date
CN112351538A true CN112351538A (en) 2021-02-09
CN112351538B CN112351538B (en) 2022-07-19

Family

ID=74362285

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011121276.7A Active CN112351538B (en) 2020-10-19 2020-10-19 Method, system, terminal and storage medium for judging starting of microwave oven

Country Status (1)

Country Link
CN (1) CN112351538B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5595674A (en) * 1994-08-29 1997-01-21 Lg Electronics Inc. Microwave oven with power switching controller
CN102313307A (en) * 2011-09-13 2012-01-11 深圳麦格米特电气股份有限公司 Method of switching power for variable frequency microwave oven
CN104832959A (en) * 2015-05-12 2015-08-12 广东美的厨房电器制造有限公司 Microwave oven and control method thereof
CN105351985A (en) * 2015-12-16 2016-02-24 广东美的厨房电器制造有限公司 Control method and control device of microwave oven
CN106501680A (en) * 2016-11-28 2017-03-15 国网江苏省电力公司苏州供电公司 Non-intrusion type microwave oven based on active two sections of liftings starts discrimination method
CN108738186A (en) * 2018-05-18 2018-11-02 广东美的厨房电器制造有限公司 Method for controlling microwave oven, micro-wave oven, control terminal and storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5595674A (en) * 1994-08-29 1997-01-21 Lg Electronics Inc. Microwave oven with power switching controller
CN102313307A (en) * 2011-09-13 2012-01-11 深圳麦格米特电气股份有限公司 Method of switching power for variable frequency microwave oven
CN104832959A (en) * 2015-05-12 2015-08-12 广东美的厨房电器制造有限公司 Microwave oven and control method thereof
CN105351985A (en) * 2015-12-16 2016-02-24 广东美的厨房电器制造有限公司 Control method and control device of microwave oven
CN106501680A (en) * 2016-11-28 2017-03-15 国网江苏省电力公司苏州供电公司 Non-intrusion type microwave oven based on active two sections of liftings starts discrimination method
CN108738186A (en) * 2018-05-18 2018-11-02 广东美的厨房电器制造有限公司 Method for controlling microwave oven, micro-wave oven, control terminal and storage medium

Also Published As

Publication number Publication date
CN112351538B (en) 2022-07-19

Similar Documents

Publication Publication Date Title
CN107576346B (en) Sensor detection method and device and computer readable storage medium
CN105872437A (en) Video call control method, video call control device and terminal
JP2018530270A5 (en)
CN106095994A (en) A kind of application program recommends method and terminal
CN109039843B (en) Intelligent kitchen equipment control method and device based on event chain linkage strategy
CN109614168A (en) Memory Optimize Method and device
CN110988570B (en) Method and device for identifying starting of fixed-frequency air conditioner and storage medium
CN110806908A (en) Application software pre-starting method, terminal and computer readable storage medium
CN110769457A (en) Family relation discovery method, server and computer readable storage medium
CN112351538B (en) Method, system, terminal and storage medium for judging starting of microwave oven
CN107241145B (en) Processing method, device, storage medium and the terminal of radio frequency interference
CN106027739A (en) Incoming call processing method and device, and terminal
CN111189469A (en) Step counting method, terminal device and storage medium
CA3139175C (en) Battery performance evaluation device, electronic apparatus, charger, and battery performance evaluation method
CN114697150A (en) Command issuing method and device, storage medium and electronic device
CN110619408A (en) Information acquisition method, equipment and computer storage medium
CN112378416B (en) Step counting method, step counting device and readable storage medium
CN107171741B (en) Radio frequency interference processing method, device, storage medium and terminal
CN115016989A (en) Method and device for determining target trimming parameters
CN105094682A (en) Weather information prompting method and apparatus
CN110493026B (en) Incoming call complaint processing method and device for wireless communication network
CN104423552A (en) Information processing method and electronic equipment
CN103914225B (en) A kind of method and device of information processing
CN111665390B (en) Non-invasive load detection method, terminal device and readable storage medium
CN116359734A (en) Correction method and device for battery charge state, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant