CN112099562B - Power compensation control method and device, electric appliance, electronic equipment and storage medium - Google Patents

Power compensation control method and device, electric appliance, electronic equipment and storage medium Download PDF

Info

Publication number
CN112099562B
CN112099562B CN202010881409.4A CN202010881409A CN112099562B CN 112099562 B CN112099562 B CN 112099562B CN 202010881409 A CN202010881409 A CN 202010881409A CN 112099562 B CN112099562 B CN 112099562B
Authority
CN
China
Prior art keywords
clock
power compensation
power
motor
clock signal
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.)
Active
Application number
CN202010881409.4A
Other languages
Chinese (zh)
Other versions
CN112099562A (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.)
Midea Group Co Ltd
Jiangsu Midea Cleaning Appliances Co Ltd
Original Assignee
Midea Group Co Ltd
Jiangsu Midea Cleaning Appliances 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 Midea Group Co Ltd, Jiangsu Midea Cleaning Appliances Co Ltd filed Critical Midea Group Co Ltd
Priority to CN202010881409.4A priority Critical patent/CN112099562B/en
Publication of CN112099562A publication Critical patent/CN112099562A/en
Application granted granted Critical
Publication of CN112099562B publication Critical patent/CN112099562B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05FSYSTEMS FOR REGULATING ELECTRIC OR MAGNETIC VARIABLES
    • G05F1/00Automatic systems in which deviations of an electric quantity from one or more predetermined values are detected at the output of the system and fed back to a device within the system to restore the detected quantity to its predetermined value or values, i.e. retroactive systems
    • G05F1/66Regulating electric power
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02EREDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
    • Y02E40/00Technologies for an efficient electrical power generation, transmission or distribution
    • Y02E40/30Reactive power compensation

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Physics & Mathematics (AREA)
  • Electromagnetism (AREA)
  • General Physics & Mathematics (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Automation & Control Theory (AREA)
  • Control Of Electric Motors In General (AREA)

Abstract

The invention belongs to the technical field of electric appliances, and particularly relates to a control method and a control device for power compensation, an electric appliance, electronic equipment and a storage medium, wherein the control method for power compensation is used for the electric appliance with a circuit board and a motor and comprises the steps of inputting a voltage signal to the circuit board; acquiring a clock signal of a circuit board; and controlling the circuit board to enter a power compensation process according to the clock signal. According to the control method of the power compensation, the power is compensated according to different clock signals, the problem of large power fluctuation range caused by clock signal errors is solved, the power consistency and uniformity of the motor of the electric appliance product are improved, and the quality of the electric appliance product is further improved. The control method of the power compensation is realized through an algorithm, no new electronic element is added, the research and development difficulty is low, and the input cost is low.

Description

Power compensation control method and device, electric appliance, electronic equipment and storage medium
Technical Field
The invention belongs to the technical field of electric appliances, and particularly relates to a power compensation control method and device, an electric appliance, electronic equipment and a storage medium.
Background
This section provides background information related to the present disclosure only and is not necessarily prior art.
Along with the improvement of the living standard of people, more and more kinds of electric appliances including kitchen heat generators, cleaning electric appliances, living electric appliances and the like appear. The electric appliance product is directly connected to the mains supply signal to work, in order to improve the reliability and accuracy of the control of the running state of the kitchen electric appliance, a silicon controlled rectifier is usually arranged in the kitchen electric appliance to control the connection of the mains supply signal, and the silicon controlled rectifier is a non-contact semiconductor element and has the characteristics of small volume, low power consumption, high response speed, long service life and the like.
In the prior art, the on-time of the controlled silicon is controlled by the time delay of the timer, so that the power of the electric appliance is controlled, but because a clock of a singlechip of the electric appliance has certain error, the output power fluctuation range of the electric appliance is large when the clock with the error is used for controlling, the power consistency and uniformity of the same electric appliance are poor, and the quality of the electric appliance is influenced. The power compensation adopted at present is to adjust in real time by collecting the current of a motor and the constant power of the voltage of a bus, software control is complex, hardware support needs to be provided, the area of a circuit board is increased, and the cost is increased.
Disclosure of Invention
The invention aims to at least solve the problems of complex control and cost increase caused by adopting motor current and bus voltage constant power to adjust the consistency and uniformity of power. The purpose is realized by the following technical scheme:
a first aspect of the present invention provides a power compensation control method for an electrical appliance having a circuit board and a motor, including:
inputting a voltage signal to the circuit board;
acquiring a clock signal of the circuit board;
and controlling the motor to enter a power compensation process according to the clock signal.
According to the control method of the power compensation, which is disclosed by the embodiment of the invention, the output power fluctuation range is large due to the error of the clock of the single chip microcomputer in the prior art, the power is compensated according to different clock signals, namely the clock of the single chip microcomputer is corrected, so that the problem of the error of the clock is solved fundamentally, the problem of the large power fluctuation range caused by the error of the clock signal is further solved, the power consistency and the uniformity of the motor of an electric appliance product are improved, and the quality of the electric appliance product is further improved. Compared with the mode of collecting the motor current and the bus voltage constant power to adjust in real time in the prior art, the control method of the power compensation is realized through an algorithm, new electronic elements are not added, the control method can be realized by adopting an original circuit board, the research and development difficulty is low, and the input cost is low.
In addition, the control method for power compensation according to the embodiment of the present invention may further have the following additional technical features:
in some embodiments of the present invention, the acquiring the clock signal of the circuit board comprises:
acquiring the actual clock step number of the circuit board in fixed time;
acquiring the step number of the standard clock within the fixed time;
determining that the clock signal is fast according to the fact that the actual clock step number is larger than the standard clock step number;
and determining that the clock signal is slow according to the fact that the actual clock step number is smaller than the standard clock step number.
In some embodiments of the present invention, said controlling the motor to enter a power compensation process according to the clock signal comprises:
controlling the motor to enter a first power compensation process according to the clock signal speed;
and controlling the motor to enter a second power compensation process according to the slow clock signal.
In some embodiments of the present invention, said controlling the motor to enter a first power compensation process according to the clock signal being fast comprises:
acquiring a standard delay step length and a step length adjusting coefficient of the motor;
and calling a first power compensation function T1 to be T0+ k (T1-Ts), and calculating the actual delay step of the motor, wherein T1 is the actual delay step of the clock signal, T0 is the standard delay step, Ts is the standard clock step, T1 is the actual clock step, and k is the step adjustment coefficient.
In some embodiments of the present invention, said controlling the motor to enter the second power compensation process according to the clock signal being slow comprises:
acquiring a standard delay step length and a step length adjusting coefficient of the motor;
and calling a second power compensation function T2 to be T0+ k (T1-Ts), and calculating the actual delay step of the motor, wherein T2 is the slow actual delay step of the clock signal, T0 is a standard delay step, Ts is a standard clock step, T1 is the actual clock step, and k is a step adjustment coefficient.
In some embodiments of the invention, the voltage signal is an alternating current signal;
after the controlling the motor to enter a power compensation process according to the clock signal, the method further comprises the following steps:
storing the actual delay step;
and controlling the motor to operate according to the actual delay step length in each period time of the alternating current signal.
In some embodiments of the invention, the standard clock step number is a clock step number of a standard circuit board, or in the case of a plurality of the circuit boards, a clock step number of any one of the circuit boards.
In some embodiments of the invention, the frequency of the voltage signal is 50Hz or 60 Hz.
A second aspect of the present invention provides a power compensation control apparatus, including:
the input module is used for inputting a voltage signal to the circuit board;
the acquisition module is used for acquiring a clock signal of the circuit board;
and the power compensation module is used for controlling the motor to enter a power compensation process according to the clock signal.
The power compensation control apparatus of the embodiment of the present invention has the same advantages as the power compensation control method described above, and is not described herein again.
A third aspect of the present invention provides an electrical appliance, comprising a power compensation control device as in the above-mentioned technical solutions, the power compensation control device being configured to perform the power compensation control method in any of the above-mentioned technical solutions.
The electrical appliance of the embodiment of the invention has the same advantages as the control method of the power compensation, and the details are not repeated herein.
A fourth aspect of the present invention provides an electronic device, including a memory and a processor, where the processor executes a program corresponding to an executable program code by reading the executable program code stored in the memory, so as to implement the control method for power compensation in any one of the above technical solutions.
The electronic device of the embodiment of the present invention has the same advantages as the control method of the power compensation, and is not described herein again.
A fifth aspect of the present invention provides a computer-readable storage medium, having a computer program stored thereon, where the computer program is executed by a processor to implement the method for controlling power compensation in any one of the above-mentioned technical solutions.
The computer-readable storage medium of the embodiment of the present invention has the same advantages as the control method of the power compensation, and is not described herein again.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the invention. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
FIG. 1 is a flow chart of a control method of power compensation according to an embodiment of the present invention;
FIG. 2 is a flow chart of the circuit board clock acquisition shown in FIG. 1;
FIG. 3 is a flowchart illustrating a process of controlling a motor to enter a first power compensation process according to a clock signal being fast according to an embodiment of the present invention;
FIG. 4 is a flowchart of an embodiment of the present invention controlling the motor to enter a second power compensation process according to a clock signal being slow;
FIG. 5 is a complete flow chart of the control method of power compensation according to the embodiment of the present invention;
FIG. 6 is a schematic structural diagram of a power compensation control apparatus according to an embodiment of the present invention;
FIG. 7 is a histogram comparison before and after power compensation according to an embodiment of the present invention;
FIG. 8 is a schematic structural diagram of an electronic device according to an embodiment of the invention;
fig. 9 is a schematic structural diagram of a computer-readable storage medium according to an embodiment of the present invention.
Reference numerals:
1. an electronic device; 100. a processor; 101. a memory; 102. a bus; 103. a communication interface;
2. a computer readable storage medium.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
It is to be understood that the terminology used herein is for the purpose of describing particular example embodiments only, and is not intended to be limiting. As used herein, the singular forms "a", "an" and "the" may be intended to include the plural forms as well, unless the context clearly indicates otherwise. The terms "comprises," "comprising," "including," and "having" are inclusive and therefore specify the presence of stated features, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, steps, operations, elements, components, and/or groups thereof.
Although the terms first, second, third, etc. may be used herein to describe various elements, components, regions, layers and/or sections, these elements, components, regions, layers and/or sections should not be limited by these terms. These terms may be only used to distinguish one element, component, region, layer or section from another region, layer or section. Terms such as "first," "second," and other numerical terms when used herein do not imply a sequence or order unless clearly indicated by the context. Thus, a first element, component, region, layer or section discussed below could be termed a second element, component, region, layer or section without departing from the teachings of the example embodiments.
For convenience of description, spatially relative terms, such as "inner", "outer", "lower", "below", "upper", "above", and the like, may be used herein to describe one element or feature's relationship to another element or feature as illustrated in the figures. Such spatially relative terms are intended to encompass different orientations of the device in use or operation in addition to the orientation depicted in the figures. For example, if the device in the figures is turned over, elements described as "below" or "beneath" other elements or features would then be oriented "above" or "over" the other elements or features. Thus, the example term "below … …" can include both an orientation of above and below. The device may be otherwise oriented (rotated 90 degrees or at other orientations) and the spatially relative descriptors used herein interpreted accordingly.
As shown in fig. 1 to 5, an embodiment of the present invention provides a power compensation control method for an electrical appliance having a circuit board and a motor, including:
inputting a voltage signal to the circuit board;
acquiring a clock signal of a circuit board;
and controlling the motor to enter a power compensation process according to the clock signal.
According to the control method of the power compensation, the circuit board is provided with the single chip microcomputer, the resistor, the capacitor, the inductor and other components, the clock is arranged in the single chip microcomputer, in the prior art, due to the fact that the clock of the single chip microcomputer has an error, the fluctuation range of output power is large, when the actual clock is faster than the standard clock, the output power of the motor is too large, and when the actual clock is slower than the standard clock, the output power of the motor is too small. The invention compensates the power according to different clock signals, namely corrects the clock of the singlechip, the compensation comprises negative compensation and positive compensation, when the power output by the motor is overlarge, the power is reduced by the negative compensation, when the power output by the motor is too small, the power is increased by the positive compensation, the problem that the clock has errors is radically solved, the problem that the power fluctuation range is large due to clock signal errors is further solved, the power consistency and the uniformity of the motor of an electric appliance product are improved, and the quality of the electric appliance product is further improved. After the clock of the single chip microcomputer is corrected, the clock of the single chip microcomputer starts timing, when the clock of the single chip microcomputer times to a time value set by the timer, the silicon controlled rectifier is controlled to be conducted, and the motor starts to operate to output power outwards. Compared with the mode of collecting the motor current and the bus voltage constant power to adjust in real time in the prior art, the control method of the power compensation is realized only through an algorithm, has simple control logic, does not add new electronic elements, can be realized by adopting an original circuit board, and has low research and development difficulty and low input cost.
It should be noted that the control method of power compensation according to the embodiment of the present invention may be performed at least once before the electric product leaves a factory, or may be performed at least once during the use of the user, or may be performed at least once before leaving a factory, or may be performed at least once during each use of the user. In one embodiment, the control method of power compensation according to an embodiment of the present invention may be performed at least once before the electric product is shipped, and will be described as an example of a previous operation before the electric product is shipped.
In some embodiments of the present invention, as shown in fig. 2 and 5, acquiring the clock signal of the circuit board includes acquiring an actual number of clock steps of the circuit board within a fixed time; acquiring the step number of a standard clock within fixed time; determining the clock signal to be fast according to the fact that the actual clock step number is larger than the standard clock step number; and determining that the clock signal is slow according to the fact that the actual clock step number is smaller than the standard clock step number. As described above, power compensation is required differently between the case where the clock signal is fast and the case where the clock signal is slow, and a determination method of whether the clock signal is fast or slow will be described in detail below. The comparison between the fast and slow speed needs to be compared with a reference, so that the actual clock step number and the standard clock step number of the single chip microcomputer of the circuit board in a fixed time need to be obtained, if the actual clock step number is larger than the standard clock step number, the clock signal is determined to be fast, and the motor is controlled to enter a first power compensation process, namely a negative compensation process. And if the actual clock step number is smaller than the standard clock step number, determining that the clock signal is slow, and controlling the motor to enter a second power compensation process, namely a positive compensation process. The fixed time may be any time period, such as half a voltage signal period, an integer multiple of a voltage signal period, a quarter of a voltage signal period, and the like. In order to better describe the method for determining whether the clock signal is fast or slow, a specific numerical example is described below, in one voltage signal period, the standard clock step number of the single chip of the circuit board is 5 steps, the actual clock step number is 6 steps, and the clock signal can be determined to be fast. In a voltage signal period, the standard clock step number of the singlechip of the circuit board is 5 steps, the actual clock step number is 4 steps, and the clock signal can be determined to be slow.
In some embodiments of the present invention, as shown in fig. 5, controlling the motor to enter the first power compensation process according to the clock signal being fast includes controlling the motor to enter the first power compensation process according to the clock signal being fast; and controlling the motor to enter a second power compensation process according to the slow clock signal. As will be described in detail below, for different circuit boards, three situations exist in the clock signal of the single chip of the circuit board: first, the clock signal is faster than the standard clock signal, second, the clock signal is slower than the standard clock signal, and third, the clock signal is synchronized with the standard clock signal. When the clock signal is in the first condition, the power output by the motor is larger than the preset power, when the clock signal is in the second condition, the power output by the motor is smaller than the preset power, and when the clock signal is in the third condition, the power output by the motor is equal to the preset power. And aiming at the condition that the power output by the motor is equal to the preset power, power compensation is not needed. For the case that the output power of the motor is not equal to the preset power, different compensation processes need to be performed on the power. And controlling the motor to enter a first power compensation process to perform negative compensation to reduce the power under the condition that the first clock signal is fast, and controlling the motor to enter a second power compensation process to perform positive compensation to increase the power under the condition that the third clock signal is slow.
In some embodiments of the present invention, as shown in fig. 3 and 5, controlling the motor to enter the first power compensation process according to the clock signal being fast includes obtaining a standard delay step and a step adjustment coefficient of the motor; and calling a first power compensation function T1 to be T0+ k (T1-Ts), and calculating the actual delay step of the motor, wherein T1 is the actual delay step of the clock signal, T0 is the standard delay step, Ts is the standard clock step, T1 is the actual clock step, k is the step adjustment coefficient, and the value range of k is 0-1. According to the foregoing, when the clock signal is fast, which may cause that the time value set by the timer has not yet been reached, the thyristor is turned on in advance, which causes that the power output by the motor is too large, so that the delay time needs to be controlled to increase, and the turn-on time point of the thyristor is delayed backwards, thereby reducing the power output by the motor. The clock signal is fast, which means T1-Ts > 0, T1 ═ T0+ k (T1-Ts), that is, T1 is greater than T0, for different voltage signals, the following change of the adjustment coefficient k is compensated, k ═ Ts/T1, and the value range of k is 0-1. For each circuit board, the corresponding k value is fixed, the first power compensation function is determined, after power compensation is performed for one time before the electric product leaves a factory, the actual delay step length of the signal which is always fast can be obtained, and in the using process of a user, the time set by the timer is the actual delay step length.
In some embodiments of the present invention, as shown in fig. 4 and 5, controlling the motor to enter the second power compensation process according to the clock signal being slow includes obtaining a standard delay step and a step adjustment coefficient of the motor; and calling a second power compensation function T2 to be T0+ k (T1-Ts), and calculating the actual delay step of the motor, wherein T2 is the slow actual delay step of the clock signal, T0 is a standard delay step, Ts is a standard clock step, T1 is the actual clock step, and k is a step adjustment coefficient. According to the foregoing, when the clock signal is slow, the thyristor is not turned on and the output power of the motor is too low when the time value set by the timer is reached, so that the delay time needs to be controlled to be reduced, the turn-on time point of the thyristor is advanced, and the output power of the motor is increased. The clock signal is slow, which means T1-Ts < 0, T1 ═ T0+ k (T1-Ts), i.e. T1 is less than T0, for different voltage signals, the following change of the adjustment coefficient k is compensated, k ═ Ts/T1. For each circuit board, the corresponding k value is fixed, the second power compensation function is determined, after power compensation is performed for one time before the electric product leaves a factory, the actual delay step length when the signal is slow can be obtained all the time, and in the using process of a user, the time set by the timer is the actual delay step length.
In some embodiments of the invention, according to the foregoing, the circuit board or the electric product having the circuit board is required to be in a power-on state to perform the power compensation. As shown in fig. 5, the voltage signal is an ac signal, and the control of the output power of the motor is realized by controlling the on-time of the thyristor. In the period time of an alternating current signal, the period time comprises conduction time and delay time, the delay time corresponds to a control angle, and the conduction time corresponds to the conduction angle, namely the period time of the alternating current signal minus the control angle time is equal to the conduction angle time. After the first power compensation function is determined, a specific numerical value of the actual delay step length with the clock signal being fast in one alternating current signal period can be calculated, the numerical value is stored, when the next electric appliance product is used, the motor of the electric appliance product is controlled to run according to the actual delay step length with the clock signal being fast in each alternating current signal period, and compared with a mode of collecting the motor current and the bus voltage constant power to adjust in real time in the prior art, the control method of the power compensation does not need to adjust in real time, the calculation workload and the workload of the electric appliance product are reduced, the load of the electric appliance product is further reduced, and the service life of the electric appliance product is prolonged. Similarly, after the second power compensation function is determined, a specific numerical value of the actual delay step length of which the clock signal is slow in the period time of the alternating current signal can be calculated, the numerical value is stored, and when the electrical product is used next time, the motor of the electrical product is controlled to run according to the actual delay step length of which the clock signal is slow in each period time of the alternating current signal.
The frequency of the voltage signal used in various countries in the world is different, and the frequency of the voltage used in countries such as china, australia, india, japan is 50Hz, and the frequency of the voltage used in countries such as canada, usa, korea is 60 Hz.
In some embodiments of the present invention, the clock is corrected to eliminate the influence of the error of the clock on the power output by the motor, when the correction is performed, the actual clock step number and the standard clock step number within a fixed time need to be obtained, where the standard clock step number is not specifically a standard value, and the standard clock step number has two meanings, the first meaning is that the standard clock step number is the standard clock step number of the standard circuit board, that is, there is no error in the clock of the single chip of the circuit board, and the standard clock step number without error is used as the reference to determine whether the clock signal is fast or slow, and the standard constant step number of the standard circuit board is used as the standard to not only correct one circuit board, but also correct batches of a plurality of circuit boards, on one hand, the influence of the error of the clock on the power output by the motor can be eliminated, on the other hand, before the electric products leave a factory, power compensation is carried out on each electric product, the power output by the motor can be closer to the preset power, the difference among the electric products in the same batch is reduced, and the consistency and uniformity of the power are improved. Secondly, when batch correction is carried out on the condition of a plurality of circuit boards, the clock step number of any circuit board can be defined as a standard clock step number, and the standard clock step number is used as a reference to judge whether the clock signal is fast or slow. In one embodiment, the standard clock step count is a standard clock step count of a standard circuit board.
As shown in fig. 6, an embodiment of the present invention further provides a power compensation control apparatus, including:
the input module is used for inputting a voltage signal to the circuit board;
the acquisition module is used for acquiring a clock signal of the circuit board;
and the power compensation module is used for controlling the motor to enter a power compensation process according to the clock signal.
The power compensation control apparatus of the embodiment of the present invention has the same advantages as the power compensation control method described above, and is not described herein again.
In some embodiments of the present invention, the obtaining module includes a first obtaining unit, a second obtaining unit, a comparing unit, and a determining unit, where the first obtaining unit is configured to obtain an actual clock step number of the circuit board within a fixed time, the second obtaining unit is configured to obtain a standard clock step number within the fixed time, the comparing unit compares the actual clock step number with the standard clock step number, and finally the determining unit determines whether the clock signal is fast or slow.
In some embodiments of the present invention, the power compensation module includes a first power compensation unit and a second power compensation unit, the first power compensation unit and the second power compensation unit are selectively activated according to a result of the determination unit, when the result of the determination unit is that the clock signal is fast, the first power compensation unit is activated, the motor enters a first power compensation process, and when the result of the determination unit is that the clock signal is slow, the second power compensation unit is activated, the motor enters a second power compensation process. The first power compensation unit comprises a third obtaining subunit, a first calling subunit and a first calculating subunit, wherein the third obtaining subunit is used for obtaining a standard delay step length and a step length adjusting coefficient of the motor, the first calling subunit is used for calling a first power compensation function T1 to be T0+ k (T1-Ts), and the first calculating subunit is used for calculating an actual delay step length of the motor. The second power compensation unit comprises a fourth obtaining subunit, a second calling subunit and a second calculating subunit, wherein the fourth obtaining subunit is used for obtaining the standard delay step length and the step length adjusting coefficient of the motor, the second calling subunit is used for calling a second power compensation function T2 to be T0+ k (T1-Ts), and the second calculating subunit is used for calculating the actual delay step length of the motor.
In some embodiments of the present invention, the control apparatus for power compensation further comprises a storage module, a calculation module, and a control module. The storage module is used for storing the actual delay step length of the voltage signal which is the alternating current signal. The calculation module is used for calculating the actual delay step length according to the fact that the voltage signal is an alternating current signal. The control module is used for controlling the motor to operate according to the actual delay step length in each alternating current signal period time.
Before the electric appliance product leaves a factory, a plurality of groups of experiments are carried out by using the control method for power compensation, the standard power of the selected electric appliance product is 273W, a total of 11 samples are selected, each sample is subjected to 10 experiments, and the experimental data are as follows:
Figure BDA0002654232050000101
Figure BDA0002654232050000111
as shown in fig. 7, fig. 7 is a histogram comparing the power of samples 1-11 before and after power compensation, and it can be clearly seen that the power changes, and the compensated power is closer to the standard power, and the fluctuation range of samples 1-11 after compensation is smaller than that before compensation. The following description will be made specifically for the sample with serial number 1, and the samples with serial numbers 2-11 are similar to the sample with serial number 1, and will not be described herein again. From the tabular data, the following three conclusions can be drawn: first, there is a significant change in power before and after compensation; secondly, the compensated power is closer to the standard power; thirdly, the power variance after compensation is 0.44, the power variance before compensation is 0.89, and the power variance after compensation is smaller than the power variance before compensation. Through analysis, the difference between the compensated power and the standard power is within +/-5W, compared with the difference before compensation within +/-15, the fluctuation range is small, variance change can also indicate that the fluctuation range of the power is smaller and more stable, and the consistency and uniformity of the power are greatly improved. The above data are merely examples and are not meant to limit embodiments of the present invention.
An embodiment of the present invention further provides an electrical appliance, which includes the control device for power compensation in the above embodiments, and the control device for power compensation is configured to execute the control method for power compensation in any of the above embodiments.
The electrical appliance of the embodiment of the invention has the same advantages as the control method of the power compensation, and the details are not repeated herein. In addition, the power output by the motor is compensated through an algorithm, the control logic is simple, new electronic elements are not added, the method can be realized by adopting an original circuit board, and the input cost of the dust collector is reduced. The appliance may be a kitchen appliance, a cleaning appliance, a household appliance, etc., and in one embodiment, the appliance is a vacuum cleaner.
An embodiment of the present invention further provides an electronic device, which includes a memory 101 and a processor 100, and the processor 100 runs a program corresponding to an executable program code by reading the executable program code stored in the memory 101, so as to implement the control method for power compensation of any of the above embodiments.
The electronic device of the embodiment of the invention has the same advantages as the control method of the power compensation, and is not described herein again. The electronic device may be a cleaning appliance with a display screen, such as a sweeping robot, a mopping robot, a dust collector, a mite removing instrument, etc. with a display screen. The electronic device can also be a user terminal provided with an APP for managing the cleaning appliance, and the user terminal can be a mobile phone or a computer and the like. The embodiments of the present invention are not limited.
As shown in fig. 8, a schematic diagram of an electronic device of the present invention is shown, the electronic device includes a processor 100, a memory 101, a bus 102 and a communication interface 103, the processor 100, the communication interface 103 and the memory 101 are connected through the bus 102; the memory 101 stores a computer program operable on the processor 100, and the processor 100 executes the computer program to perform the method for controlling power compensation according to any of the above embodiments of the present invention.
The Memory 101 may include a Random Access Memory (RAM), and may further include a non-volatile Memory (NVM), such as at least one disk Memory. The communication connection between the network element of the system and at least one other network element can be realized through at least one communication interface 103, which can be wired or wireless, and the internet, a wide area network, a local network, a metropolitan area network, and the like can be used.
The bus 102 may be an ISA bus (Industry Standard Architecture), a PCI bus (Peripheral Component Interconnect Standard), an EISA bus (Extended Industry Standard Architecture), or the like. The bus 102 may be divided into an address bus, a data bus, a control bus, and the like. The memory 101 is used for storing a program, and the processor 100 executes the program after receiving an execution instruction, and the method for controlling power compensation according to any of the foregoing embodiments of the present invention may be applied to the processor 100, or implemented by the processor 100.
Processor 100 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware or instructions in the form of software in the processor 100. The Processor 100 may be a general-purpose Processor, and includes a Central Processing Unit (CPU), a Network Processor 100 (NP), and the like; the device can also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic device, discrete hardware component. The various methods, steps and logic blocks disclosed in the embodiments of the present invention may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in connection with the embodiments of the present invention may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software modules may be located in ram, flash, rom, programmable rom or eeprom, registers, etc. storage media as is well known in the art. The storage medium is located in a memory, and the processor 100 reads information in the memory 101 and performs the steps of the above method in combination with hardware thereof.
The embodiment of the present invention further provides a computer-readable storage medium 2, where the computer-readable storage medium 2 stores a computer program, and the computer program is characterized in that when being executed by the processor 100, the computer program implements the power compensation control method of any of the above embodiments.
The computer-readable storage medium 2 of the embodiment of the present invention has the same advantages as the control method of power compensation described above, and is not described herein again. As shown in fig. 9, the computer-readable storage medium 2 is an optical disc.
It should be noted that examples of the computer-readable storage medium 2 may further include, but are not limited to, a Phase Change Memory (PRAM), a Static Random Access Memory (SRAM), a Dynamic Random Access Memory (DRAM), other types of Random Access Memories (RAM), a Read-Only Memory (ROM), an Electrically Erasable Programmable Read-Only Memory (EEPROM), a flash Memory, or other optical and magnetic storage media, which are not described in detail herein.
The above description is only for the preferred embodiment of the present invention, but the scope of the present invention is not limited thereto, and any changes or substitutions that can be easily conceived by those skilled in the art within the technical scope of the present invention are included in the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the appended claims.

Claims (9)

1. A method of controlling power compensation for an electrical appliance having a circuit board and a motor, comprising:
inputting a voltage signal to the circuit board;
acquiring a clock signal of the circuit board;
controlling the motor to enter a first power compensation process according to the clock signal speed, so that the power is reduced;
controlling the motor to enter a second power compensation process according to the slow clock signal to increase the power;
the controlling the motor to enter a first power compensation process according to the clock signal is fast, and the method comprises the following steps:
acquiring a standard delay step length and a step length adjusting coefficient of the motor;
calling a first power compensation function T1 to be T0+ k (T1-Ts), and calculating the actual delay step of the motor, wherein T1 is the fast actual delay step of the clock signal, T0 is the standard delay step, Ts is the standard clock step, T1 is the actual clock step, and k is a step adjustment coefficient;
the step of controlling the motor to enter a second power compensation process according to the slow clock signal comprises the following steps:
acquiring a standard delay step length and a step length adjusting coefficient of the motor;
and calling a second power compensation function T2 to be T0+ k (T1-Ts), and calculating the actual delay step of the motor, wherein T2 is the slow actual delay step of the clock signal, T0 is a standard delay step, Ts is a standard clock step, T1 is the actual clock step, and k is a step adjustment coefficient.
2. The method according to claim 1, wherein the obtaining the clock signal of the circuit board comprises:
acquiring the actual clock step number of the circuit board in fixed time;
acquiring the step number of the standard clock within the fixed time;
determining that the clock signal is fast according to the fact that the actual clock step number is larger than the standard clock step number;
and determining that the clock signal is slow according to the fact that the actual clock step number is smaller than the standard clock step number.
3. The control method of power compensation according to claim 1 or 2, wherein the voltage signal is an alternating current signal;
after the controlling the motor to enter a power compensation process according to the clock signal, the method further comprises the following steps:
storing the actual delay step;
and controlling the motor to operate according to the actual delay step length in each period time of the alternating current signal.
4. The method according to claim 2, wherein the standard clock step number is a clock step number of a standard circuit board, or in the case of a plurality of circuit boards, the standard clock step number is a clock step number of any one of the circuit boards.
5. The method of claim 1, wherein the voltage signal has a frequency of 50Hz or 60 Hz.
6. A power-compensated control apparatus for performing the power-compensated control method according to any one of claims 1 to 5, comprising:
the input module is used for inputting a voltage signal to the circuit board;
the acquisition module is used for acquiring a clock signal of the circuit board;
and the power compensation module is used for controlling the motor to enter a power compensation process according to the clock signal.
7. An electric appliance, characterized in that it comprises a power-compensated control device according to claim 6, which is arranged to perform a power-compensated control method according to any one of claims 1-5.
8. An electronic device, comprising a memory and a processor, wherein the processor executes a program corresponding to an executable program code stored in the memory by reading the executable program code, for implementing the power compensation control method according to any one of claims 1 to 5.
9. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out a method of controlling power compensation according to any one of claims 1 to 5.
CN202010881409.4A 2020-08-27 2020-08-27 Power compensation control method and device, electric appliance, electronic equipment and storage medium Active CN112099562B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010881409.4A CN112099562B (en) 2020-08-27 2020-08-27 Power compensation control method and device, electric appliance, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010881409.4A CN112099562B (en) 2020-08-27 2020-08-27 Power compensation control method and device, electric appliance, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN112099562A CN112099562A (en) 2020-12-18
CN112099562B true CN112099562B (en) 2022-09-13

Family

ID=73758107

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010881409.4A Active CN112099562B (en) 2020-08-27 2020-08-27 Power compensation control method and device, electric appliance, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112099562B (en)

Family Cites Families (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US3487407A (en) * 1968-12-20 1969-12-30 Sierra Research Corp Clock frequency and phase correction
CN100446392C (en) * 2006-04-27 2008-12-24 电子科技大学 Optimized pulse over-cycle modulation switch stabilized voltage power supply controller
CN102882378B (en) * 2012-09-25 2014-11-26 西南交通大学 Control method and device for unit power factor flyback converter in critical continuous mode
CN103954833B (en) * 2014-05-12 2017-12-19 杭州万高科技股份有限公司 A kind of electric energy meter, computation chip and its onboard clock signal modulating method
CN105449994B (en) * 2014-09-10 2017-09-29 立锜科技股份有限公司 The control circuit of power supply changeover device
CN104869628B (en) * 2015-04-30 2019-01-08 广东美的制冷设备有限公司 Clock correcting method, air conditioner electric control device, terminal and the system of air conditioner electric control device
CN204539101U (en) * 2015-05-12 2015-08-05 广东美的厨房电器制造有限公司 Clock control device
CN104850170B (en) * 2015-06-04 2017-12-19 杭州万高科技股份有限公司 It is a kind of to measure SoC chip and its clock acquirement method without crystal
US9634676B2 (en) * 2015-07-01 2017-04-25 Qualcomm Incorporated Circuits and methods providing clock frequency adjustment in response to supply voltage changes
CN107062513B (en) * 2016-10-20 2019-10-25 广东美的暖通设备有限公司 The method for controlling stepping motor and air conditioner of air conditioner
JP6828482B2 (en) * 2017-02-08 2021-02-10 オムロン株式会社 Control system and pulse output device
CN107450305B (en) * 2017-08-14 2020-03-27 珠海格力电器股份有限公司 Time correction method and device for clock chip and intelligent equipment
CN109378976A (en) * 2018-10-25 2019-02-22 广东美的厨房电器制造有限公司 Power regulation method, apparatus, kitchen appliance and computer readable storage medium

Also Published As

Publication number Publication date
CN112099562A (en) 2020-12-18

Similar Documents

Publication Publication Date Title
US10338669B2 (en) Current sense accuracy improvement for MOSFET RDS (on) sense based voltage regulator by adaptive temperature compensation
US10641523B2 (en) Control device of water heating apparatus, water heating apparatus and control method thereof
CN107084556B (en) Control method, device and the computer readable storage medium of condenser
CN105376120A (en) Household appliance control method and household air conditioner
JP2013230034A (en) Input voltage data formation device, and ac/dc converter including the same
CN109539503B (en) Heating temperature compensation control method based on room heat load, air conditioner and computer readable storage medium
CN112099562B (en) Power compensation control method and device, electric appliance, electronic equipment and storage medium
CN113916971B (en) Flame signal detection adjusting method and device and gas appliance
CN108937806B (en) Dispenser control method, dishwasher, and computer-readable storage medium
CN112462913B (en) Power supply voltage adjusting device, method, equipment and medium of solid state hard disk controller
CN103677995B (en) A kind of control method and electronic equipment
CN108826572B (en) Air conditioner state determination method and device
CN110912222B (en) Multi-path power supply control method, device and system and readable medium
US11831151B2 (en) Photovoltaic electric appliance system, method and device of controlling voltage protection value thereof
CN110529982B (en) Air conditioner control method and device, air conditioner partner and air conditioner
CN111102750A (en) Blower control method, blower control device and storage medium
TW201022881A (en) Method of overclocking central processing unit in a computer mother board
CN111025007B (en) Power supply voltage detection method and device and storage medium
CN113668207B (en) Control method of air supply device, intelligent airing system and medium
CN112087353B (en) Function recommendation method of equipment, cloud server and storage medium
CN110359225B (en) Control method for laundry treatment apparatus and laundry treatment apparatus
CN113075887A (en) Control method of water using equipment, cloud server, system and readable storage medium
CN114545793B (en) Power-off compensation method and device for household appliance and household appliance
CN112714941B (en) Capacitance selection method and device and computer storage medium
CN113827168B (en) Control method of air supply and washing equipment

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