Disclosure of Invention
The present invention is directed to solving, at least to some extent, one of the technical problems in the art described above. To this end, an object of the present invention is to provide a power plug discharging device. The discharge device can meet the requirements of low-power consumption standby, can also meet the capacitor discharge test in safety certification, and has small change on hardware and low cost.
A second object of the invention is to propose a household appliance.
A third objective of the present invention is to provide a control method for a power plug discharging device.
In order to achieve the above object, a first embodiment of the present invention provides a power plug discharging device, including: the zero-crossing detection circuit is connected with the power plug and is used for detecting a zero-crossing signal of the voltage flowing through the power plug; the controller comprises a power consumption I/O port, is respectively connected with the power plug and the zero-crossing detection circuit, and is used for judging whether the zero-crossing detection circuit detects a zero-crossing signal within a preset time, and controlling the power consumption I/O port to be opened when the zero-crossing detection circuit does not detect the zero-crossing signal so as to accelerate the discharge of the power plug and enable the live voltage of the power plug to be less than or equal to a safe voltage.
According to the power plug discharging device provided by the embodiment of the invention, the zero-crossing signal of the voltage of the power plug is detected through the zero-crossing detection circuit, and the power consumption I/O port is controlled to be opened when the controller detects the zero-crossing signal within the preset time, so that the discharging of the power plug is accelerated, and the charged voltage of the power plug is smaller than or equal to the safe voltage. The power plug discharging device can meet the requirements of low-power consumption standby, can also meet the capacitor discharging test in safety certification, and is small in hardware change and low in cost.
In addition, the power plug discharge device according to the above embodiment of the present invention may further have the following additional technical features:
according to an embodiment of the invention, the preset time is 200-400 ms.
According to one embodiment of the present invention, the power consuming I/O port is a control port for controlling a low power consuming load, wherein the low power consuming load comprises an LED lamp, a nixie tube or a buzzer.
According to an embodiment of the present invention, the discharge device further includes: and the rectifying circuit is respectively connected with the power plug and the zero-crossing detection circuit and is used for rectifying the alternating current flowing through the power plug so as to reduce the zero-crossing period of the alternating current.
Further, the zero-crossing period of the alternating current after the reduction is 10 ms.
In order to achieve the above object, a second aspect of the present invention provides a household appliance, which includes the power plug discharging device according to the above embodiment of the present invention.
The household appliance provided by the embodiment of the invention can meet the requirement of low power consumption standby through the power plug discharging device, can also meet the capacitor discharging test in safety certification, and has the advantages of small change on hardware and low cost.
In addition, the household appliance according to the above embodiment of the present invention may further have the following additional technical features:
according to one embodiment of the invention, the household appliance is a soymilk maker, an electric cooker, an induction cooker or a food processor.
In order to achieve the above object, a third embodiment of the present invention provides a method for controlling a power plug discharging device, including: detecting, by the zero-cross detection circuit, a zero-cross signal of a voltage flowing through the power plug; the controller judges whether the zero-crossing detection circuit detects a zero-crossing signal of the voltage flowing through the power plug within a preset time; if the zero-crossing signal is not detected, the controller judges that the power plug is powered off, and controls an I/O port of the controller to be opened so as to accelerate the discharging of the power plug and enable the electrified voltage of the power plug to be smaller than or equal to the safe voltage.
The control method of the power plug discharging device comprises the steps of firstly detecting a zero-crossing signal of voltage of a power plug through a zero-crossing detection circuit, then judging whether the zero-crossing detection circuit detects the zero-crossing signal within preset time through a controller, and controlling a power consumption I/O port to be opened when the zero-crossing signal is detected so as to accelerate discharging of the power plug and enable live voltage of the power plug to be smaller than or equal to safe voltage. Therefore, the requirement of low-power consumption standby can be met, and the capacitor discharge test in safety certification can be met.
Additional aspects and advantages of the invention will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the invention.
Detailed Description
Reference will now be made in detail to embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the drawings are illustrative and intended to be illustrative of the invention and are not to be construed as limiting the invention.
A power plug discharging device, a control method of the power plug discharging device, and a home appliance according to embodiments of the present invention are described below with reference to the accompanying drawings.
In the embodiment of the invention, the power plug can be a plug of electric equipment (such as household appliances, industrial electric equipment and the like), and the electric equipment is provided with a zero-crossing electric measuring circuit and has a software control function.
Fig. 1 is a block diagram of a power plug discharging apparatus according to an embodiment of the present invention. As shown in fig. 1, the power plug discharging device includes: a zero-crossing detection circuit 10 and a controller 20.
The zero-cross detection circuit 10 is connected to the power plug, and is configured to detect a zero-cross signal of a voltage flowing through the power plug. The controller 20 includes a power consumption I/O port 21, and the controller 20 is connected to the power plug and the zero-crossing detection circuit 10, and is configured to determine whether the zero-crossing detection circuit 10 detects a zero-crossing signal within a preset time, and control the power consumption I/O port 21 to open when the zero-crossing detection circuit 10 does not detect the zero-crossing signal, so as to accelerate the discharging of the power plug, and make the live voltage of the power plug less than or equal to the safe voltage.
In one embodiment of the present invention, to meet the low power consumption standby requirement, the power consumption I/O port 21 is a control port for controlling a low power consumption load, wherein the low power consumption load may include an LED lamp, a nixie tube, a buzzer, or the like.
Specifically, the zero-crossing detection circuit 10 detects a zero-crossing signal of the voltage of the power plug in real time, and the controller 20 determines whether the power plug is powered off according to the zero-crossing signal. When the zero-crossing signal is judged, namely the power plug is not powered off, the equipment works in a normal running program; when it is judged that there is no zero-crossing signal, i.e., the power plug is powered off, the power consuming I/O port 21 in the off state in the controller 20 is turned on.
It can be understood that when the alternating current commercial power changes from positive to negative or from negative to positive, a process of 0 voltage occurs, and the point of 0 voltage is called a zero crossing point. These zero-crossing points are detected by the zero-crossing detection circuit 10, and corresponding zero-crossing information is generated and transmitted to the controller 20 by way of voltage. The controller 20 determines whether there is a zero-crossing signal by detecting the voltage signal transmitted from the zero-crossing detection circuit 10, i.e., determines whether the power plug is powered off.
Therefore, the power consumption of the equipment can be increased, the discharge time of the power plug is shortened, the requirement of low-power-consumption standby of the equipment can be met, and the capacitor discharge test in safety certification can be met.
In an embodiment of the present invention, the preset time may be 200 to 400 ms.
Specifically, the preset time may be obtained through a test, and when the preset time is less than 200ms, the zero-cross detection circuit 10 may erroneously detect due to the voltage fluctuation of the power plug, and further, the controller 20 may erroneously determine; when the time is more than 400ms, the voltage of the power plug may not reach the safe voltage at 1 second due to too little post-discharge time.
Wherein the safe voltage may be 36V.
It is understood that the current through the human body is below 5mA at a voltage of 36V. Therefore, a voltage of 36V is generally safe for human body.
It should be noted that, in a humid environment, the safe voltage value should be lower than 36V. Since the resistance of the skin of the human body becomes small in such an environment, the voltage applied between two parts of the human body is dangerous even if it is 36V. Therefore, the safe voltage can now be lower 24V or 12V.
In an embodiment of the present invention, as shown in fig. 2, the power plug discharging device may further include a rectifying circuit 30. The rectifying circuit 30 is connected to the power plug and the zero-crossing detection circuit 10, and is configured to rectify the alternating current flowing through the power plug to reduce a zero-crossing period of the alternating current.
Optionally, the zero-crossing period of the reduced alternating current is 10 ms.
Specifically, the frequency of the alternating current commercial power in China is 50HZ, and the period is 20 ms. When the zero-crossing detection circuit 10 detects a zero-crossing signal, if the detection is performed before the alternating current is rectified by the rectifying circuit 30, the zero-crossing period is 20 ms; if the detection is made after the alternating current is rectified by the rectifier circuit 30, the zero-crossing period is 10 ms.
It can be understood that both the zero-crossing detection can meet the requirement, and in order to improve the detection accuracy, a detection mode with a zero-crossing period of 10ms can be used.
According to the power plug discharging device provided by the embodiment of the invention, the zero-crossing signal of the voltage of the power plug is detected through the zero-crossing detection circuit, and the power consumption I/O port is controlled to be opened when the controller detects the zero-crossing signal within the preset time, so that the discharging of the power plug is accelerated, and the charged voltage of the power plug is smaller than or equal to the safe voltage. The power plug discharging device can meet the requirements of low-power consumption standby, can also meet the capacitor discharging test in safety certification, and is small in hardware change and low in cost.
Based on the above embodiments, the present invention provides a control method for a power plug discharging device.
Fig. 3 is a flowchart of a control method of a power plug discharging apparatus according to an embodiment of the present invention. As shown in fig. 3, the control method of the power plug discharging device includes the following steps:
s101, a zero-crossing signal of a voltage flowing through the power plug is detected by a zero-crossing detection circuit.
In the embodiment of the present invention, the zero-crossing signal of the voltage flowing through the power plug may be directly detected by the zero-crossing detection circuit; or the voltage flowing through the power plug can be rectified firstly, and then the zero-crossing signal of the rectified voltage of the power plug is detected.
Specifically, the frequency of the alternating current commercial power in China is 50HZ, and the period is 20 ms. When the zero-crossing detection circuit detects a zero-crossing signal, if the detection is carried out before alternating current rectification, the zero-crossing period is 20 ms; the zero-crossing period is 10ms if detected after rectification of the alternating current.
It can be understood that both the zero-crossing detection can meet the requirement, and in order to improve the detection accuracy, a detection mode with a zero-crossing period of 10ms can be used.
S102, the controller judges whether the zero-crossing detection circuit detects the zero-crossing signal of the voltage flowing through the power plug within the preset time.
S103, if the zero-crossing signal is not detected, the controller judges that the power plug is powered off and controls an I/O port of the controller to be opened so as to accelerate the discharging of the power plug and enable the electrified voltage of the power plug to be smaller than or equal to the safe voltage.
In order to meet the low-power consumption standby requirement, the power consumption I/O port is a control port for controlling a low-power consumption load, and the low-power consumption load can comprise an LED lamp, a nixie tube or a buzzer and the like.
In an embodiment of the present invention, the preset time may be 200 to 400 ms.
Specifically, the preset time may be obtained through testing, and when the preset time is less than 200ms, the zero-cross detection circuit may be erroneously detected due to the fluctuation of the voltage of the power plug, and further, the controller may be erroneously determined; when the time is more than 400ms, the voltage of the power plug may not reach the safe voltage at 1 second due to too little post-discharge time.
Wherein the safe voltage is 34V.
Further, in one embodiment of the present invention, the controller determines that the power plug is not powered off if the zero-crossing signal is detected. At the moment, the electric equipment works according to a normal operation program.
The control method of the power plug discharging device comprises the steps of firstly detecting a zero-crossing signal of voltage of a power plug through a zero-crossing detection circuit, then judging whether the zero-crossing detection circuit detects the zero-crossing signal within preset time through a controller, and controlling a power consumption I/O port to be opened when the zero-crossing signal is detected so as to accelerate discharging of the power plug and enable live voltage of the power plug to be smaller than or equal to safe voltage. Therefore, the requirement of low-power consumption standby can be met, and the capacitor discharge test in safety certification can be met.
Further, the present invention provides a household appliance, which includes the power plug discharging device of the above embodiment of the present invention.
Optionally, the household appliance may be a soymilk maker, an electric cooker, an induction cooker, a food processor, or the like.
The household appliance provided by the embodiment of the invention can meet the requirement of low power consumption standby through the power plug discharging device, can also meet the capacitor discharging test in safety certification, and has the advantages of small change on hardware and low cost.
In addition, other configurations and functions of the household appliance according to the embodiment of the present invention are known to those skilled in the art, and are not described herein in detail in order to reduce redundancy.
In the description herein, references to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, the schematic representations of the terms used above do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
In the description of the present invention, it is to be understood that the terms "central," "longitudinal," "lateral," "length," "width," "thickness," "upper," "lower," "front," "rear," "left," "right," "vertical," "horizontal," "top," "bottom," "inner," "outer," "clockwise," "counterclockwise," "axial," "radial," "circumferential," and the like are used in the orientations and positional relationships indicated in the drawings for convenience in describing the invention and to simplify the description, and are not intended to indicate or imply that the referenced devices or elements must have a particular orientation, be constructed and operated in a particular orientation, and are therefore not to be considered limiting of the invention.
In the present invention, unless otherwise expressly stated or limited, the terms "mounted," "connected," "secured," and the like are to be construed broadly and can, for example, be fixedly connected, detachably connected, or integrally formed; can be mechanically or electrically connected; they may be directly connected or indirectly connected through intervening media, or they may be connected internally or in any other suitable relationship, unless expressly stated otherwise. The specific meanings of the above terms in the present invention can be understood by those skilled in the art according to specific situations.
In the present invention, unless otherwise expressly stated or limited, the first feature "on" or "under" the second feature may be directly contacting the first and second features or indirectly contacting the first and second features through an intermediate. Also, a first feature "on," "over," and "above" a second feature may be directly or diagonally above the second feature, or may simply indicate that the first feature is at a higher level than the second feature. A first feature being "under," "below," and "beneath" a second feature may be directly under or obliquely under the first feature, or may simply mean that the first feature is at a lesser elevation than the second feature.
Although embodiments of the present invention have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present invention, and that variations, modifications, substitutions and alterations can be made to the above embodiments by those of ordinary skill in the art within the scope of the present invention.