CN110376946B - Control method for output power of electric appliance, electric appliance and computer readable storage medium - Google Patents

Control method for output power of electric appliance, electric appliance and computer readable storage medium Download PDF

Info

Publication number
CN110376946B
CN110376946B CN201910670596.9A CN201910670596A CN110376946B CN 110376946 B CN110376946 B CN 110376946B CN 201910670596 A CN201910670596 A CN 201910670596A CN 110376946 B CN110376946 B CN 110376946B
Authority
CN
China
Prior art keywords
time point
output power
electric appliance
control device
preset
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
CN201910670596.9A
Other languages
Chinese (zh)
Other versions
CN110376946A (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.)
GD Midea Air Conditioning Equipment Co Ltd
Original Assignee
GD Midea Air Conditioning Equipment 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 GD Midea Air Conditioning Equipment Co Ltd filed Critical GD Midea Air Conditioning Equipment Co Ltd
Priority to CN201910670596.9A priority Critical patent/CN110376946B/en
Publication of CN110376946A publication Critical patent/CN110376946A/en
Application granted granted Critical
Publication of CN110376946B publication Critical patent/CN110376946B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/042Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
    • G05B19/0423Input/output

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Control Of Ac Motors In General (AREA)

Abstract

The invention discloses a control method of output power of an electric appliance, which comprises the following steps: acquiring a first time point corresponding to a rising edge of an alternating voltage signal of a power supply of an electric appliance and a second time point corresponding to a falling edge adjacent to the rising edge; determining a third time point corresponding to the peak phase of the alternating voltage signal according to the first time point and the second time point; and adjusting the conduction angle of the electric appliance control device according to the third time point. The invention also discloses an electric appliance and a computer readable storage medium, which achieve the effect of accurately controlling the output power of the electric appliance when the power supply voltage fluctuates.

Description

Control method for output power of electric appliance, electric appliance and computer readable storage medium
Technical Field
The present invention relates to the field of electrical appliance technologies, and in particular, to a method for controlling output power of an electrical appliance, and a computer-readable storage medium.
Background
In the process of power transmission, because the transmission efficiency of alternating current is much higher than that of direct current, electric appliances in daily life generally use alternating current as a power source. In a conventional electric appliance, the operating power of the electric appliance is generally controlled by a thyristor.
When an electric appliance using alternating current as a power source is controlled by a thyristor, the output power of the electric appliance fluctuates due to voltage changes because of instability of the alternating current power source voltage. For example, when the fan speed is controlled by controlling the opening conduction angle by the thyristor, the fan speed is caused to vary with the voltage variation when the conduction angle is fixed.
At present, in order to keep the output power of an electrical appliance stable, a rising edge and a falling edge of a power supply are generally detected through a bidirectional optocoupler, and then the conduction angle of a silicon controlled rectifier is adjusted according to the rising edge and the falling edge of the power supply, so that the output power of the electrical appliance is kept unchanged when the voltage of the power supply fluctuates. However, when the rising/falling edge detection is performed by the bidirectional optical coupler, the rising/falling edge detection error is caused by the interference of clutter signals, the engineering error of components and the like, so that the thyristor cannot accurately control the output power of the electric appliance according to the detected rising/falling edge of the power supply when the power supply voltage fluctuates.
Disclosure of Invention
The invention mainly aims to provide a control method of output power of an electric appliance, the electric appliance and a computer readable storage medium, aiming at achieving the effect of accurately controlling the output power of the electric appliance when the power supply voltage fluctuates.
Acquiring a first time point corresponding to a rising edge of an alternating voltage signal of a power supply of an electric appliance and a second time point corresponding to a falling edge adjacent to the rising edge;
determining a third time point corresponding to the peak phase of the alternating voltage signal according to the first time point and the second time point;
and adjusting the conduction angle of the electric appliance control device according to the third time point. Optionally, the electrical control device is a thyristor or a solid state electromagnetic relay.
Optionally, the step of adjusting the conduction angle of the appliance control device according to the third time point includes:
compensating the third time point according to the output power of the electric appliance and the preset power to obtain the starting time point of the electric appliance control device;
and adjusting the conduction angle of an electric appliance control device according to the starting time point, wherein when the output power of the electric appliance is greater than the preset output power, the compensated starting time point is later than the starting time point before compensation, and when the output power is less than the preset output power, the compensated starting time point is earlier than the starting time point before compensation.
Optionally, the step of compensating the third time point according to the output power of the electrical appliance and the preset power to obtain the starting time point of the electrical appliance control device includes:
determining a compensation value according to the output power and a preset power;
and compensating the third time point according to a compensation value to obtain a starting time point of the electric appliance control device, wherein when the output power of the electric appliance is greater than a preset output power, the preset compensation value is a positive value, and when the output power is less than the preset output power, the preset compensation value is a negative value.
Optionally, the compensation value is obtained according to a difference between the output power and a preset power, or the compensation value is a preset value.
Optionally, the determining a third time point corresponding to the peak phase of the ac power source according to the first time point and the second time point includes:
acquiring a plurality of first time points and a plurality of second time points;
and determining a third time point corresponding to the peak phase of the alternating current power supply according to the plurality of first time points and the plurality of second time points.
In addition, in order to achieve the above object, the present invention further provides an electrical appliance, which includes a memory, a processor and a control program stored in the memory and operable on the processor, wherein the control program, when executed by the processor, implements the steps of the control method for output power of the electrical appliance as described above.
Optionally, the electric appliance is a fan directly driven by alternating current, and the fan is electrically connected with the electric appliance control device and is set to control the rotating speed of the fan through the electric appliance control device.
Optionally, the processor is connected to the electrical control device, and the processor controls the rotation speed of the fan by controlling the conduction angle of the electrical control device.
Further, to achieve the above object, the present invention also provides a computer readable storage medium having stored thereon a control program, which when executed by a processor, implements the steps of the control method of electric appliance output power as described above.
The embodiment of the invention provides a control method of output power of an electric appliance, the electric appliance and a computer readable storage medium, firstly a first time point corresponding to a rising edge of an alternating voltage signal of the electric appliance and a second time point corresponding to a falling edge adjacent to the rising edge are obtained, then a third time point corresponding to a peak phase of the alternating voltage signal is determined according to the first time point and the second time point, and a conduction angle of an electric appliance control device is adjusted according to the third time point, because the thyristor is controlled to be turned on or turned off directly through a detection result of a bidirectional optical coupler, a rising/falling edge detection error is caused due to factors such as interference of clutter signals, self engineering errors of components and the like, so that the thyristor cannot accurately control the output power of the electric appliance according to the detected rising/falling edge of a power supply when the power supply voltage fluctuates, according to the invention, the first time point and the second time point of the voltage signal are firstly obtained through the unidirectional optical coupler, and then the third time point is determined according to the first time point and the second time point, so that the defect that single detection is large in error detection error is avoided.
Drawings
Fig. 1 is a schematic terminal structure diagram of a hardware operating environment according to an embodiment of the present invention;
FIG. 2 is a schematic flow chart illustrating a method for controlling output power of an electrical appliance according to an embodiment of the present invention;
fig. 3 is a schematic diagram of the relationship between an ac voltage signal and a rectangular wave signal.
FIG. 4 is a schematic flow chart of another embodiment of the present invention;
FIG. 5 is a flow chart illustrating another embodiment of 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.
The main solution of the embodiment of the invention is as follows:
acquiring a first time point corresponding to a rising edge of an alternating voltage signal of a power supply of an electric appliance and a second time point corresponding to a falling edge adjacent to the rising edge;
determining a third time point corresponding to the peak phase of the alternating voltage signal according to the first time point and the second time point;
and adjusting the conduction angle of the electric appliance control device according to the third time point.
The embodiment of the invention provides a control method of output power of an electric appliance, the electric appliance and a computer readable storage medium, firstly a first time point corresponding to a rising edge of an alternating voltage signal of the electric appliance and a second time point corresponding to a falling edge adjacent to the rising edge are obtained, then a third time point corresponding to a peak phase of the alternating voltage signal is determined according to the first time point and the second time point, and a conduction angle of an electric appliance control device is adjusted according to the third time point, because the thyristor is controlled to be turned on or turned off directly through a detection result of a bidirectional optical coupler, a rising/falling edge detection error is caused due to factors such as interference of clutter signals, self engineering errors of components and the like, so that the thyristor cannot accurately control the output power of the electric appliance according to the detected rising/falling edge of a power supply when the power supply voltage fluctuates, according to the invention, the first time point and the second time point of the voltage signal are firstly obtained through the unidirectional optical coupler, and then the third time point is determined according to the first time point and the second time point, so that the defect that single detection is large in error detection error is avoided.
As shown in fig. 1, fig. 1 is a schematic terminal structure diagram of a hardware operating environment according to an embodiment of the present invention.
The terminal of the embodiment of the invention can be an alternating current direct drive fan.
As shown in fig. 1, the terminal may include: a processor 1001, such as a CPU, a communication bus 1002, a power module 1003, a zero-crossing detection module 1004, a memory 1005, an appliance control device 1006, a feedback module 1007, and an operational component 1008. Wherein a communication bus 1002 is used to enable connective communication between these components. The power module 1003 is an ac power input terminal externally connected with an ac power source for providing energy to the terminal. The zero-crossing detection module 1004 may be a unidirectional optocoupler, and is configured to detect a zero-crossing point of an ac voltage signal input by the power module, where the zero-crossing detection module 1004 reaches an optocoupler starting voltage when the ac voltage signal is in a positive half period, so that when the optocoupler is started, a rising edge level of the voltage signal is transmitted to the processor 1001, and after the optocoupler is started, a high level is transmitted to the processor 1001; when the alternating voltage signal is in the negative half period or does not reach the optocoupler starting voltage, when the optocoupler is closed, the falling edge level of the closing signal is transmitted to the processor 1001, and after the optocoupler is closed, the low level is transmitted to the processor 1001. Or when the alternating voltage signal is in a positive half period and reaches the starting voltage of the optical coupler, when the optical coupler is started, the reverse isolation optical coupler reversely isolates the alternating voltage signal, then transmits the falling edge to the processor 1001, and transmits the low level of the alternating voltage signal after reverse isolation to the processor 1001; when the alternating voltage signal is in the negative half period or the optocoupler starting voltage is not reached, when the optocoupler is turned off, the turn-off signal transmits the rising edge to the processor 1001 after reverse isolation, and after the optocoupler is turned off, the turn-off signal transmits the low level after reverse isolation to the processor 1001. This makes the frequency of the rectangular wave received by the processor 1001 the same as the frequency of the ac voltage signal, and the corresponding relationship can be as shown in fig. 3. The memory 1005 may be a high-speed RAM memory or a non-volatile memory (e.g., a magnetic disk memory). The memory 1005 may alternatively be a storage device separate from the processor 1001. The appliance control device 1006 may be a thyristor or a solid state electromagnetic relay, and the operating component 1008 is a dc-driven appliance, for example, a dc-driven fan. The appliance control 1006 may control the output power of the operating assembly 1008 by adjusting the conduction angle. The feedback module 1007 may detect the output power of the operating component 1008 in real time and feed the output power back to the processor 1001. The processor 1001 may control the conduction angle of the electrical apparatus control device 1006 according to the received current operating power of the operating component and the rectangular wave determined by the zero-crossing detection module 1004, so as to control the output power of the operating component 1008, thereby avoiding the output power of the operating component 1008 from fluctuating.
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.
As shown in fig. 1, a control program may be included in a memory 1005, which is a kind of computer storage medium.
In the terminal shown in fig. 1, the processor 1001 may be configured to call a control program stored in the memory 1005 and perform the following operations:
acquiring a first time point corresponding to a rising edge of an alternating voltage signal of a power supply of an electric appliance and a second time point corresponding to a falling edge adjacent to the rising edge;
determining a third time point corresponding to the peak phase of the alternating voltage signal according to the first time point and the second time point;
and adjusting the conduction angle of the electric appliance control device according to the third time point.
Further, the processor 1001 may call the control program stored in the memory 1005, and also perform the following operations:
compensating the third time point according to the output power of the electric appliance and the preset power to obtain the starting time point of the electric appliance control device;
and adjusting the conduction angle of an electric appliance control device according to the starting time point, wherein when the output power of the electric appliance is greater than the preset output power, the compensated starting time point is later than the starting time point before compensation, and when the output power is less than the preset output power, the compensated starting time point is earlier than the starting time point before compensation.
Further, the processor 1001 may call the control program stored in the memory 1005, and also perform the following operations:
determining a compensation value according to the output power and a preset power;
and compensating the third time point according to a compensation value to obtain a starting time point of the electric appliance control device, wherein when the output power of the electric appliance is greater than a preset output power, the preset compensation value is a positive value, and when the output power is less than the preset output power, the preset compensation value is a negative value.
Further, the processor 1001 may call the control program stored in the memory 1005, and also perform the following operations:
acquiring a plurality of first time points and a plurality of second time points;
and determining a third time point corresponding to the peak phase of the alternating current power supply according to the plurality of first time points and the plurality of second time points.
Referring to fig. 2, in an embodiment of the method for controlling output power of an electrical appliance of the present invention, the method for controlling output power of an electrical appliance includes the following steps:
step S10, acquiring a first time point corresponding to a rising edge of an alternating voltage signal of a power supply of the electric appliance and a second time point corresponding to a falling edge adjacent to the rising edge;
in the present invention, the electric appliance is an electric appliance directly driven by an ac power supply, and may be an electric appliance such as a fan or a lamp directly driven by an ac power supply, for example. The electric appliance is provided with a zero-crossing detection module, wherein the zero-crossing detection module can be a unidirectional optical coupler. According to the on-off of the unidirectional optocoupler, the rising edge and the falling edge of the alternating voltage signal can be acquired. Therefore, a rectangular wave signal as shown in fig. 3 can be obtained by unidirectional optical coupling according to a sinusoidal wave type voltage signal as shown in fig. 3. Wherein, the frequency of the rectangular wave signal is the same as that of the sinusoidal voltage signal.
The unidirectional optical coupler has an opening voltage V0Therefore, a fixed time delay exists between the rising edge of the acquired rectangular wave and the corresponding rising edge of the sinusoidal voltage signal. It is understood that the fixed time delay is determined by the turn-on voltage of the unidirectional optocoupler, and therefore, when the unidirectional optocoupler is determined, the turn-on voltage thereof can also be determined, so that the fixed time delay generated by the turn-on voltage can also be determined. Therefore, according to the acquired rectangular wave signal, the frequency of the alternating current power supply currently connected to the electric appliance, and the first time point and the second time point corresponding to the rising edge and the falling edge of the frequency can be determined.
Step S20, determining a third time point corresponding to the peak phase of the ac voltage signal according to the first time point and the second time point;
in this embodiment, when the processor obtains the first time point, the second time point, and the rectangular wave corresponding to the voltage signal of the currently accessed ac power supply, a third time point corresponding to the peak phase of the voltage signal may be determined according to the first time point and the second time point. Namely, the arrival time of the voltage peak of the alternating current power supply currently connected to the electric appliance can be determined according to the first time point and the second time point.
And step S30, adjusting the conduction angle of the electric appliance control device according to the third time point.
In the present invention, after the third point in time is determined, the processor may adjust the conduction angle of the control device according to the third point in time. The control device may be a Silicon Controlled Rectifier (SCR). The SCR is a high-power electrical component, also called a thyristor. It has the advantages of small volume, high efficiency, long service life, etc. In an automatic control system, the device can be used as a high-power driving device to realize the control of high-power equipment by using a low-power control. It is widely applied to speed regulating systems, power regulating systems and follow-up systems of alternating current and direct current motors. The controllable silicon is divided into a unidirectional controllable silicon and a bidirectional controllable silicon. A triac is also called a triac. The bidirectional thyristor is structurally equivalent to two unidirectional thyristors which are reversely connected, and the bidirectional thyristor has a bidirectional conduction function. The on-off state of which is determined by the gate G. The positive (or negative) pulse is applied to the control electrode G to turn it on in the positive (or reverse) direction. The device has the advantages of simple control circuit and no reverse voltage resistance problem, and is particularly suitable for being used as an alternating-current contactless switch. In the embodiment, the unidirectional silicon controlled rectifier is used as an electric appliance control device, namely a driving device of an electric appliance.
Then the output power of the running component of the electric appliance is controlled by controlling the on-off of the bidirectional controllable silicon. When the conduction angle of the silicon controlled rectifier is reduced, the conduction time of the silicon controlled rectifier is prolonged, the output power of the operation assembly is increased, and when the conduction angle of the silicon controlled rectifier is increased, the conduction time of the silicon controlled rectifier is reduced, and the output power of the operation assembly is reduced. For example, when the operating component is a fan, the rotation speed of the fan is increased when the conduction angle of the silicon controlled rectifier is reduced, and the rotation speed of the fan is reduced when the conduction angle of the silicon controlled rectifier is increased. Therefore, the initial turn-on time node of the thyristor may be set to the third time point, and then the thyristor may be controlled to be turned off at a rising edge or a falling edge of the power signal (i.e., the first time point or the second time point). Thus, the electrifying phase of the controllable silicon is pi/2 (namely, the controllable silicon is controlled to be conducted when the power supply voltage signal reaches the peak value, and the controllable silicon is controlled to be closed when the rising edge or the falling edge comes).
Further, the electric appliance further comprises a feedback device for feeding back the real-time output power of the operation component to the processor. For example, when the operating component is a fan, the feedback component is a rotational speed detection feedback device for detecting and feeding back a real-time rotational speed of the fan to the processor.
When the voltage of the ac power supply fluctuates, for example, the mains supply with an effective voltage value of 220V is in different power transmission environments, the access mode of the electrical appliance is changed, and/or the power transmission environment of the power grid is changed, the effective voltage of the ac power supply accessed by the electrical appliance may exceed 220V or be lower than 220V. When the effective voltage of the power supply fluctuates, if the conduction angle of the silicon controlled rectifier is not changed, the output power of the operation assembly fluctuates along with the voltage fluctuation.
Therefore, the processor can judge whether the output power of the operation assembly is greater than or less than the preset output power according to the real-time output power of the operation assembly of the feedback device, and then control the starting time point of the electric appliance control device to move to the position behind the third time point when the output power of the electric appliance is greater than the preset output power so as to increase the conduction angle of the electric appliance control device; and when the output power of the electric appliance is smaller than the preset output power, controlling the starting time point of the electric appliance control device to move to the front of the third time point so as to reduce the conduction angle of the electric appliance control device. Wherein the preset power can be determined according to preset operating parameters of the electrical appliance. For example, when the operating component of the electrical appliance is a fan, a preset gear corresponding to the fan may be acquired, the communicated preset gear may correspond to different fan rotation speeds, and then the fan rotation speed corresponding to the preset gear is acquired as the preset output power.
In particular toAlternatively, the processor may obtain a preset compensation value, for example, ± 3 × 10, when the output power of the appliance (i.e., the output power of the operating component) is greater than or less than the preset output power-5And s. When the output power of the electric appliance is larger than the preset output power, the compensation value is a positive value, and when the output power is smaller than the preset output power, the compensation value is a negative value. When the output power of the electric appliance is greater than the preset output power, the third time point is added with the preset compensation value, so that the starting time point of the controllable silicon is delayed, the conduction angle of the controllable silicon is increased, the conduction time of the controllable silicon is reduced, and the output power of the electric appliance is reduced. And then detecting whether the output power is greater than the preset output power, and adding the preset compensation value to the current corresponding starting time point again when the output power is greater than the preset output power, so that the conduction angle is further increased, the conduction time is further shortened, and the output power is further reduced. And ending until the output power meets the preset condition. Wherein the preset condition may be that a difference between the output power and the preset output power is smaller than a preset value.
When the output power is smaller than the preset output power, the preset compensation value is a negative value, and when the preset value is subtracted from the third time point, the conduction angle of the controllable silicon is reduced, so that the electrifying duration of the controllable silicon is increased, the capacity obtained by the electric appliance is increased, and the output power of the electric appliance can be improved. Therefore, the conduction angle of the controllable silicon can be gradually adjusted according to the preset compensation value, so that the output power of the electric appliance gradually approaches to the preset output power.
In the embodiment, a first time point corresponding to a rising edge of an alternating voltage signal of an electric appliance and a second time point corresponding to a falling edge adjacent to the rising edge are firstly obtained, then a third time point corresponding to a peak phase of the alternating voltage signal is determined according to the first time point and the second time point, and a conduction angle of an electric appliance control device is adjusted according to the third time point, because the thyristor is controlled to be turned on or turned off by directly controlling a detection result of a bidirectional optical coupler, a rising/falling edge detection error is caused by factors such as noise signal interference, component self engineering error and the like, so that the thyristor cannot accurately control the output power of the electric appliance when the power voltage fluctuates according to the detected rising/falling edge of the power supply, the first time point and the second time point of the voltage signal are firstly obtained by the unidirectional optical coupler, and then, a third time point is determined according to the first time point and the second time point, so that the defect that single detection is large in error detection error is avoided, meanwhile, the scheme disclosed by the invention can replace a bidirectional optical coupler through a unidirectional optical coupler, and the production cost of the unidirectional optical coupler is low, so that the effect of reducing the manufacturing cost of the electric appliance is achieved.
Referring to fig. 4, based on the above embodiment, in another embodiment of the present invention, the step S30 further includes the following steps:
step S31, determining a compensation value according to the output power and the preset power;
step S32, compensating the third time point according to the compensation value to obtain the starting time point of the electric appliance control device;
and step S33, adjusting the conduction angle of the electric appliance control device according to the starting time point.
In the invention, when the output power of the electric power is not equal to the preset output power, the difference between the output power of the electric power at the current moment and the preset output power is obtained. For example, when the electrical appliance is a fan, if the current fan rotation speed is N and the preset fan rotation speed is M, the difference Δ S may be calculated according to the following formula:
N-M=△S
then, a compensation value Deltat for the opening time point is determined according to the difference quantity DeltaS. The difference quantity Delta S is in one-to-one correspondence with the compensation value Delta t, and the corresponding relation is stored in a storage medium, so that the compensation value Delta t can be directly inquired according to the difference quantity Delta S.
After the compensation value deltat is determined, when the difference deltaS is a positive value, moving the starting time point of the control device to the position behind the third time point by the compensation value deltat, namely taking the corresponding time point after the compensation value deltat is added to the third time point as the starting time point of the silicon controlled rectifier; and when the difference quantity deltaS is a negative value, moving the compensation value deltat to the front of the third time point by the opening time point of the control device, namely taking the time point corresponding to the subtraction of the compensation value deltat from the third time point as the opening time point of the silicon controlled rectifier.
And then, acquiring a phase corresponding to the opening time point as a conduction angle of the controllable silicon.
In this embodiment, the compensation value is determined according to the difference, and the on time point of the electrical appliance control device is adjusted according to the compensation value, so that the effect of quickly adjusting the on time point of the electrical appliance control device is achieved because gradual adjustment is not needed.
Referring to fig. 5, in a further embodiment of the present invention, the step S20 includes:
step S21, obtaining a plurality of the first time points and a plurality of the second time points;
step S22, determining a third time point corresponding to the peak phase of the ac power source according to the plurality of first time points and the plurality of second time points.
In the present invention, since the ac voltage signal is a sine wave signal, a rising edge signal and a falling edge signal can be obtained in each period. Therefore, in a plurality of adjacent cycles, the time points corresponding to the rising edge and the falling edge in each cycle can be obtained, and then a plurality of rising and falling edges are integrated to determine the voltage cycle frequency of the current power supply and the third time point corresponding to the voltage peak value.
In this embodiment, the third time point corresponding to the peak phase of the ac power source is determined by the plurality of first time points and the plurality of second time points, and the third time point is determined by the plurality of sets of data, so that the accuracy of the data result is improved.
In addition, an embodiment of the present invention further provides an electrical appliance, where the electrical appliance includes a memory, a processor, and a control program stored in the memory and executable on the processor, and the control program, when executed by the processor, implements the steps of the method for controlling output power of the electrical appliance according to the above embodiments.
In one embodiment, the electric appliance is a fan directly driven by alternating current, and the fan is electrically connected with the electric appliance control device and is set to control the rotating speed of the fan through the electric appliance control device.
In one embodiment, the processor is connected with the electrical control device, and the processor controls the rotation speed of the fan by controlling the conduction angle of the electrical control device.
Furthermore, an embodiment of the present invention further provides a computer-readable storage medium, where a control program is stored on the computer-readable storage medium, and the control program, when executed by a processor, implements the steps of the control method for output power of an electrical appliance according to the above embodiments.
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. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) as described above and includes instructions for enabling a terminal device (e.g. a fan, etc.) to execute the method according to the embodiments of the present invention.
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 (9)

1. A control method for the output power of an electric appliance is characterized by comprising the following steps:
acquiring a first time point corresponding to a rising edge of an alternating voltage signal of a power supply of an electric appliance and a second time point corresponding to a falling edge adjacent to the rising edge;
determining a third time point corresponding to the peak phase of the alternating voltage signal according to the first time point and the second time point;
adjusting the conduction angle of the electric appliance control device according to the third time point;
wherein the step of adjusting the conduction angle of the electrical control apparatus according to the third time point comprises:
compensating the third time point according to the output power of the electric appliance and the preset power to obtain the starting time point of the electric appliance control device;
and adjusting the conduction angle of an electric appliance control device according to the starting time point, wherein when the output power of the electric appliance is greater than the preset output power, the compensated starting time point is later than the starting time point before compensation, and when the output power is less than the preset output power, the compensated starting time point is earlier than the starting time point before compensation.
2. The method for controlling the output power of an electrical appliance according to claim 1, wherein the electrical appliance control device is a thyristor or a solid state electromagnetic relay.
3. The method for controlling the output power of the electric appliance according to claim 1, wherein the step of compensating the third time point according to the output power of the electric appliance and the preset power to obtain the on time point of the electric appliance control device comprises:
determining a compensation value according to the output power and a preset power;
and compensating the third time point according to a compensation value to obtain a starting time point of the electric appliance control device, wherein the compensation value is a positive value when the output power of the electric appliance is greater than a preset output power, and the compensation value is a negative value when the output power is less than the preset output power.
4. The method for controlling the output power of an electric appliance according to claim 3, wherein the compensation value is obtained according to a difference between the output power and a preset power, or the compensation value is a preset value.
5. The method for controlling output power of an electrical appliance according to claim 1, wherein the determining a third time point corresponding to the peak phase of the ac voltage signal according to the first time point and the second time point comprises:
acquiring a plurality of first time points and a plurality of second time points;
and determining a third time point corresponding to the peak phase of the alternating voltage signal according to the first time points and the second time points.
6. An electrical appliance, characterized in that it comprises: memory, a processor and a control program stored on the memory and executable on the processor, the control program, when executed by the processor, implementing the steps of the method of controlling the output power of an appliance according to any one of claims 1 to 5.
7. The appliance according to claim 6, wherein the appliance is a fan directly driven by alternating current, the fan being electrically connected to the appliance control device and configured to control the rotational speed of the fan via the appliance control device.
8. The appliance according to claim 7, wherein the processor is connected to the appliance control device, and the processor controls the rotational speed of the fan by controlling the conduction angle of the appliance control device.
9. A computer-readable storage medium, characterized in that the computer-readable storage medium has stored thereon a control program which, when executed by a processor, implements the steps of the control method of electric appliance output power according to any one of claims 1 to 5.
CN201910670596.9A 2019-07-23 2019-07-23 Control method for output power of electric appliance, electric appliance and computer readable storage medium Active CN110376946B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910670596.9A CN110376946B (en) 2019-07-23 2019-07-23 Control method for output power of electric appliance, electric appliance and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910670596.9A CN110376946B (en) 2019-07-23 2019-07-23 Control method for output power of electric appliance, electric appliance and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN110376946A CN110376946A (en) 2019-10-25
CN110376946B true CN110376946B (en) 2021-06-22

Family

ID=68255540

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910670596.9A Active CN110376946B (en) 2019-07-23 2019-07-23 Control method for output power of electric appliance, electric appliance and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN110376946B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112230127B (en) * 2020-11-04 2024-03-19 百富计算机技术(深圳)有限公司 Circuit interference detection method and device, terminal equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201853158U (en) * 2010-10-19 2011-06-01 佛山市顺德区瑞德电子实业有限公司 Power regulating circuit for direct-current motor and heating plate
CN203215024U (en) * 2012-12-26 2013-09-25 佛山市顺德区瑞德电子实业有限公司 Magnetic valve driving circuit with improved structure
CN105873312A (en) * 2015-02-06 2016-08-17 巨铠实业股份有限公司 Control device using changing conduction angle as control command
CN109378976A (en) * 2018-10-25 2019-02-22 广东美的厨房电器制造有限公司 Power regulation method, apparatus, kitchen appliance and computer readable storage medium
CN110187734A (en) * 2019-05-29 2019-08-30 广东美的制冷设备有限公司 Control method, device, electric appliance, air conditioner and the storage medium of electric appliance

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201853158U (en) * 2010-10-19 2011-06-01 佛山市顺德区瑞德电子实业有限公司 Power regulating circuit for direct-current motor and heating plate
CN203215024U (en) * 2012-12-26 2013-09-25 佛山市顺德区瑞德电子实业有限公司 Magnetic valve driving circuit with improved structure
CN105873312A (en) * 2015-02-06 2016-08-17 巨铠实业股份有限公司 Control device using changing conduction angle as control command
CN109378976A (en) * 2018-10-25 2019-02-22 广东美的厨房电器制造有限公司 Power regulation method, apparatus, kitchen appliance and computer readable storage medium
CN110187734A (en) * 2019-05-29 2019-08-30 广东美的制冷设备有限公司 Control method, device, electric appliance, air conditioner and the storage medium of electric appliance

Also Published As

Publication number Publication date
CN110376946A (en) 2019-10-25

Similar Documents

Publication Publication Date Title
US9130460B2 (en) Master-slave interleaved BCM PFC controller and control method thereof
US9667178B2 (en) Variable frequency speed control system and method of the same
JP5161208B2 (en) Electric motor control method, system, and apparatus
EP4167422A1 (en) Control method for photovoltaic rapid switching-off system, and application apparatus and system therefor
EP3109990B1 (en) Semiconductor devices and methods for dead time optimization
JP6830205B2 (en) Load control device
US11921527B2 (en) High-speed optocoupler circuits
KR20020040615A (en) Motor control equipment
EP3970451A1 (en) Load control device having a closed-loop gate drive circuit
CN110376946B (en) Control method for output power of electric appliance, electric appliance and computer readable storage medium
JP6830204B2 (en) Load control device
CN107896083B (en) Motor speed adjusting method and device
CN110410346B (en) Fan speed regulation control method and system and electrical equipment
CN108551290B (en) PG motor control circuit, method and equipment
CN108336939B (en) System and method for using and controlling permanent magnet AC motor
EP3787373A1 (en) Induction cooker and operation method thereof
KR19980086732A (en) Method and device for controlling the output of electrical consumption connected to ac line voltage
JPH0210678B2 (en)
US9831798B2 (en) Power conversion apparatus, power generation system, and control method
CN111800085A (en) Photovoltaic system PID effect repairing method and device and photovoltaic system
CN214506926U (en) Frequency conversion circuit device, electrical appliance and air conditioner
CN117318499B (en) Voltage regulating method, regulating circuit, power supply circuit and electronic equipment
US20220231613A1 (en) Power supply device and voltage converting method
TWI719593B (en) Single firewire power control system
CN110456190B (en) Magnetron state detection method, controller, circuit and system

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