CN115015798A - Low-power-consumption detection circuit, electronic device and flash-off state detection method - Google Patents

Low-power-consumption detection circuit, electronic device and flash-off state detection method Download PDF

Info

Publication number
CN115015798A
CN115015798A CN202210833743.1A CN202210833743A CN115015798A CN 115015798 A CN115015798 A CN 115015798A CN 202210833743 A CN202210833743 A CN 202210833743A CN 115015798 A CN115015798 A CN 115015798A
Authority
CN
China
Prior art keywords
circuit
flash
alternating current
power supply
detection circuit
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.)
Pending
Application number
CN202210833743.1A
Other languages
Chinese (zh)
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.)
Qingdao Yilai Intelligent Technology Co Ltd
Original Assignee
Qingdao Yilai Intelligent Technology 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 Qingdao Yilai Intelligent Technology Co Ltd filed Critical Qingdao Yilai Intelligent Technology Co Ltd
Priority to CN202210833743.1A priority Critical patent/CN115015798A/en
Publication of CN115015798A publication Critical patent/CN115015798A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • G01R31/40Testing power supplies
    • G01R31/42AC power supplies
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R1/00Details of instruments or arrangements of the types included in groups G01R5/00 - G01R13/00 and G01R31/00
    • G01R1/30Structural combination of electric measuring instruments with basic electronic circuits, e.g. with amplifier
    • 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
    • Y02BCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
    • Y02B20/00Energy efficient lighting technologies, e.g. halogen lamps or gas discharge lamps
    • Y02B20/40Control techniques providing energy savings, e.g. smart controller or presence detection

Abstract

The invention discloses a low-power consumption detection circuit and an electronic device, wherein the low-power consumption detection circuit is applied to detection of a flash-off state and comprises the following steps: a power consumption circuit, an optical coupler and a control circuit; the power consumption circuit is used for correspondingly increasing the impedance of a live wire branch or a zero line branch between an alternating current power supply and the optical coupler according to the change condition of the alternating current waveform; the optical coupler is connected with the power consumption circuit in series and used for comparing a first current input at the input end of the optical coupler with a preset working current corresponding to the optical coupler and outputting a level signal according to a comparison result; and the control circuit is connected with the optocoupler in series and is used for detecting whether the alternating current power supply is subjected to flash break or not according to the level signal. The problems of high cost, high power consumption and the like of a detection circuit in the related technology are solved.

Description

Low-power-consumption detection circuit, electronic device and flash-off state detection method
Technical Field
The invention relates to the technical field of smart homes, in particular to a low-power-consumption detection circuit, an electronic device and a flash-off state detection method.
Background
Along with the development of the smart home industry, the types of smart appliances are increasingly diversified. The intelligent electrical appliance can be disconnected after the traditional local power switch is closed, and then the terminal can not remotely control the intelligent electrical appliance. Therefore, the flash switch is widely applied to smart home devices. In a conventional state, the flash switch keeps the power supply and the electric load connected, the flash switch is disconnected from the power supply and the electric load connected when being pressed by external force, and the flash switch is rapidly recovered to the conventional state after the external force is removed. In addition, the circuit structure of the existing flash detection circuit is complex, and the cost of components is high.
How to improve the accuracy of detecting the flash in the circuit, reduce the detection power consumption and save the circuit cost becomes a problem which needs to be solved urgently.
Aiming at solving the problems of high cost, high power consumption and the like of a detection circuit in the correlation technique, an effective solution is not provided.
Disclosure of Invention
The embodiment of the invention provides a low-power-consumption detection circuit, an electronic device and a flash state detection method, which are used for at least solving the problems of higher cost, higher power consumption and the like of a detection circuit in the related technology.
According to an embodiment of the present invention, there is provided a low power consumption detection circuit including: a power consumption circuit, an optical coupler and a control circuit; the power consumption circuit is used for correspondingly increasing the impedance of a live wire branch or a zero line branch between an alternating current power supply and the optocoupler according to the change condition of the alternating current waveform; the optical coupler is connected with the power consumption circuit in series and used for comparing a first current input at the input end of the optical coupler with a preset working current corresponding to the optical coupler and outputting a level signal according to a comparison result; and the control circuit is connected with the output end of the optocoupler and used for detecting whether the alternating current power supply is in flash break or not according to the level signal.
Optionally, the low power consumption detection circuit further includes: a first backward diode; the output end of the first backward diode is connected with the output end of the flash switch, and the input end of the first backward diode is connected with the input end of the power consumption circuit and used for determining whether to conduct or not based on the current alternating current waveform corresponding to the alternating current power supply.
Optionally, the power consumption circuit includes: a second backward diode, a target resistance; the second backward diode is connected with the optocoupler in series and used for controlling the conduction condition of the corresponding live wire branch or zero line branch of the alternating current power supply according to the alternating current waveform; the target resistor is connected in parallel with the second backward diode and used for increasing the impedance of the live wire branch or the zero wire branch under the condition that the second backward diode is not conducted.
Optionally, the low power consumption detection circuit further includes: and the current limiting resistor is respectively connected with the flash switch and the optocoupler in series and used for reducing the current input into the low-power consumption detection circuit by the alternating current power supply, wherein the reduction is used for indicating that the first current input by the alternating current power supply is limited to be the second current.
Optionally, the current limiting resistor includes: the current limiting circuit comprises a first current limiting resistor and a second current limiting resistor, wherein the resistance value of the first current limiting resistor is the same as that of the second current limiting resistor; the first current-limiting resistor and the second current-limiting resistor are respectively arranged on a live wire branch circuit and a zero wire branch circuit corresponding to the alternating current power supply.
Optionally, the optical coupler includes: a light emitting diode; the light emitting diode is used for emitting light after a second current input at the input end of the optocoupler is greater than or equal to a preset working current, and the preset working current is the lowest current of the light emitting diode entering a light emitting state.
Optionally, the upper optical coupler further comprises: a photo transistor; the light emitting diode is used for emitting light, the base electrode of the light emitting diode is used for receiving the light emitted by the light emitting diode, and the light emitting diode is used for emitting light; or the light-emitting diode enters a cut-off state after the light-emitting diode is determined not to enter a light-emitting state, and the preset high level of the phototriode in the cut-off state is output.
Optionally, the control circuit includes: a third resistor and a first capacitor; the third resistor is connected with the collector of the phototriode and used for dividing the preset voltage loaded on the collector to obtain a third voltage loaded on the collector of the phototriode; and the first capacitor is connected with the phototriode in parallel and is used for providing a fourth voltage for the phototriode.
According to another embodiment of the present invention, there is also provided an electronic apparatus including: a power consumption circuit, an optical coupler and a control circuit; the power consumption circuit is used for correspondingly increasing the impedance of a live wire branch or a zero line branch between an alternating current power supply and the optical coupler according to the change condition of the alternating current waveform; the optical coupler is connected with the power consumption circuit in series and used for comparing a first current input at the input end of the optical coupler with a preset working current corresponding to the optical coupler and outputting a level signal according to a comparison result; and the control circuit is connected with the output end of the optocoupler and used for detecting whether the alternating current power supply is in flash break or not according to the level signal.
Optionally, the electronic device further includes: the load control unit controls the load unit according to a signal corresponding to the detected flash-off state in the circuit.
According to another embodiment of the present invention, there is also provided a control system of an electronic apparatus, including: a power consumption circuit, an optical coupler and a control circuit; the power consumption circuit is used for correspondingly increasing the impedance of a live wire branch or a zero line branch between an alternating current power supply and the optical coupler according to the change condition of the alternating current waveform; the optical coupler is connected with the power consumption circuit in series and used for comparing a first current input at the input end of the optical coupler with a preset working current corresponding to the optical coupler and outputting a level signal according to a comparison result; the control circuit is connected with the output end of the optocoupler and used for detecting whether the alternating current power supply is in flash break or not according to the level signal; the control system further comprises: the load control unit controls the load unit according to a signal corresponding to the detected flash-off state in the circuit.
Optionally, the control system further includes: and the input end of the flash switch is connected with an alternating current power supply in series, and the output end of the flash switch is connected with an electronic device in series and used for controlling the on-off of the alternating current power supply and the electronic device according to the state change of the flash switch.
According to another embodiment of the present invention, there is also provided a flash status detection method, including: determining a digital signal corresponding to an alternating current power supply output by a low-power-consumption detection circuit, wherein the digital signal is a preset working current output level signal corresponding to an optical coupler by comparing a first current input at the input end of the optical coupler in the low-power-consumption detection circuit; and determining whether the alternating current power supply is in flash interruption or not through the digital signal.
According to another embodiment of the present invention, there is also provided a flash detection control apparatus including: the detection module is used for determining a digital signal corresponding to an alternating current power supply output by the low-power-consumption detection circuit, wherein the digital signal is a preset working current output level signal corresponding to an optical coupler by comparing a first current input at the input end of the optical coupler by the optical coupler in the low-power-consumption detection circuit; and the control module is used for determining whether the alternating current power supply is in flash through the digital signal.
According to another embodiment of the present invention, there is also provided a control method of an electronic apparatus, including: the method comprises the steps that an electronic device is supported to be in a continuous online state based on a flash state detection method, wherein the continuous online state is that power supply of a control circuit of the electronic device is guaranteed under the condition that an alternating current power supply flashes through a flash state detection circuit; and under the condition that the electronic device is determined to be in the continuous online state, the electronic device is remotely controlled through the control circuit.
In the embodiment of the invention, the power consumption circuit, the optical coupler and the control circuit are used; the power consumption circuit is used for correspondingly increasing the impedance of a live wire branch or a zero line branch between an alternating current power supply and the optocoupler according to the change condition of the alternating current waveform; the optical coupler is connected with the power consumption circuit in series and used for comparing a first current input at the input end of the optical coupler with a preset working current corresponding to the optical coupler and outputting a level signal according to a comparison result; and the control circuit is connected with the output end of the optocoupler and used for detecting whether the alternating current power supply is in flash break or not according to the level signal. The low-power consumption detection circuit is simple in circuit structure, low in component cost and high in flash detection accuracy, and in addition, the low-power consumption detection circuit works normally when the alternating current waveform is in the negative half shaft, and when the alternating current waveform is in the negative half shaft, the impedance in the low-power consumption detection circuit is expanded by the power consumption circuit so as to control the reduction of the power consumption of the negative half shaft. By adopting the technical scheme, the problems of higher cost, higher power consumption and the like of the detection circuit in the related technology are solved, the accuracy of the flash detection of the circuit can be realized, the occurrence of the failure condition of the flash detection is reduced, and the total power consumption of the whole detection is reduced.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
FIG. 1 is a block diagram of a low power consumption detection circuit according to an embodiment of the present invention;
FIG. 2 is a block diagram of another low power detection circuit according to an embodiment of the present invention;
FIG. 3 is an operational diagram of a related art flash detection circuit;
FIG. 4 is a schematic diagram of a related art isolated glitch detection circuit;
FIG. 5 is a circuit schematic of a low power consumption glitch detection circuit of an alternative embodiment of the invention;
FIG. 6 is a waveform schematic diagram of a low power consumption glitch state detection circuit of an alternate embodiment of the present invention showing no glitches;
FIG. 7 is a waveform schematic diagram of a low power consumption glitch state detection circuit of an alternate embodiment of the present invention;
FIG. 8 is a block diagram of an electronic device according to an embodiment of the invention;
FIG. 9 is a block diagram of a control system of an electronic device according to an embodiment of the invention;
FIG. 10 is a flow diagram of a flash status detection method according to an embodiment of the invention;
FIG. 11 is a flash detection control apparatus according to an embodiment of the present invention;
fig. 12 is a flowchart of a control method of an electronic device according to an embodiment of the present invention.
Detailed Description
To facilitate an understanding of the invention, the invention will now be described more fully with reference to the accompanying drawings. Preferred embodiments of the present invention are shown in the drawings. This invention may, however, be embodied in many different forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. The terminology used herein in the description of the invention is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
The low-power consumption detection circuit provided by the embodiment of the application. Fig. 1 is a block diagram of a low power consumption detection circuit according to an embodiment of the present invention. The circuit comprises the following: a power consumption circuit 12, an optical coupler 14 and a control circuit 16;
the power consumption circuit 12 is configured to correspondingly increase the impedance of a live line branch or a zero line branch between an ac power supply and the optocoupler according to a change condition of an ac waveform;
it should be noted that, the power consumption circuit may be added to a zero line branch of the ac power supply or a fire line branch of the ac power supply, when the power consumption circuit is added to the zero line branch, a second reverse diode in the power consumption circuit has the same direction as a light emitting diode in the optical coupler, and a first reverse diode has an opposite direction to a light emitting diode in the optical coupler, that is, an anode of the second reverse diode is connected to a cathode of the light emitting diode, and cathodes of the first reverse diode and the second reverse diode both point to a zero line branch side of the ac power supply; at this time, the cathode of the first backward diode is directed to the live line branch side of the ac power supply. When the power consumption circuit is added to the live wire branch circuit, the direction of a second reverse diode in the power consumption circuit is the same as that of a light emitting diode in the optical coupler, the direction of a first reverse diode is opposite to that of the light emitting diode in the optical coupler, namely, the anode of the second reverse diode is connected with the cathode of the light emitting diode, and the cathodes of the second reverse diode and the light emitting diode point to the live wire branch circuit side of the alternating current power supply. At this time, the cathode of the first backward diode is directed to the zero line branch side of the ac power supply.
The optical coupler 14 is connected in series with the power consumption circuit, and is configured to compare a first current input at an input end of the optical coupler with a preset working current corresponding to the optical coupler, and output a level signal according to a comparison result;
and the control circuit 16 is connected with the output end of the optocoupler and used for detecting whether the alternating current power supply is in flash break or not according to the level signal.
The low-power consumption detection circuit comprises a power consumption circuit, an optical coupler and a control circuit; the power consumption circuit is used for correspondingly increasing the impedance of a live wire branch or a zero line branch between an alternating current power supply and the optocoupler according to the change condition of the alternating current waveform; the optical coupler is connected with the power consumption circuit in series and used for comparing a first current input at the input end of the optical coupler with a preset working current corresponding to the optical coupler and outputting a level signal according to a comparison result; and the control circuit is connected with the output end of the optocoupler and used for detecting whether the alternating current power supply is in flash break or not according to the level signal. The low-power consumption detection circuit is simple in circuit structure, low in component cost and high in flash detection accuracy, and in addition, the low-power consumption detection circuit works normally when the alternating current waveform is in the negative half shaft, and when the alternating current waveform is in the negative half shaft, the impedance in the low-power consumption detection circuit is expanded by the power consumption circuit so as to control the reduction of the power consumption of the negative half shaft. By adopting the technical scheme, the problems of high cost, high power consumption and the like of the detection circuit in the related technology are solved, the accuracy of the flash detection of the circuit can be realized, the occurrence of the failure condition of the flash detection is reduced, and the total power consumption of the whole detection is reduced.
Optionally, the ac power supply is any power supply capable of providing ac power for an electrical appliance, and includes a mains supply, an uninterruptible power supply, an ac regulated power supply and accessories thereof, where the accessories are switches, sockets, and the like, and the application is not limited to this.
For example, the work flow of the optical coupler is as follows: when a light emitting diode in the optical coupler is larger than a preset working current through a forward second current, an output phototriode in the optical coupler is in saturated conduction, a fourth voltage output by a collector electrode of the phototriode is close to a zero potential, when the second current passes through a backward diode, the light emitting diode in the optical coupler does not have the current, the output phototriode in the optical coupler is cut off, the output voltage of the collector electrode of the phototriode is a third voltage, the voltage of the collector electrode of the phototriode jumps in high and low levels along with one period of alternating current (namely commercial power), and the jump signal indicates that the alternating current power supply is in a flash-off state.
Fig. 2 is a block diagram of another low power consumption detection circuit according to an embodiment of the present invention.
Optionally, the low power consumption detection circuit further includes: a first backward diode 24; the first backward diode is used for determining whether to conduct or not based on the current alternating current waveform corresponding to the alternating current power supply.
It should be noted that the direction of the first backward diode is opposite to the direction of the light emitting diode in the optocoupler having a parallel relationship, that is, in practical application, it needs to be satisfied that the second backward diode is in the same direction as the light emitting diode, the first backward diode is opposite to the light emitting diode, when the power consumption circuit is added to the zero line branch of the ac power supply, and the first current limiting resistor is added to the live line branch, and the second current limiting resistor is added to the zero line branch, the output end (i.e., the negative electrode) of the first backward diode is connected to the output end of the first current limiting resistor, and the input end of the first backward diode is connected to the input end of the power consumption circuit.
Optionally, the power consumption circuit 12 includes: a second backward diode 1202, a target resistance 1204; the second backward diode is connected with the optocoupler in series and used for controlling the conduction condition of the corresponding live wire branch or zero line branch of the alternating current power supply according to the alternating current waveform; the target resistor is connected in parallel with the second backward diode and used for increasing the impedance of the live wire branch or the zero wire branch under the condition that the second backward diode is not conducted.
As an optional embodiment, when the power consumption circuit exists in a zero line branch of the ac power supply, the first current-limiting resistor is added in the live line branch, and the second current-limiting resistor is added in the zero line branch, the second backward diode is connected in series with the optocoupler, and is configured to control a conduction condition of the zero line branch corresponding to the ac power supply according to the ac waveform; and the target resistor is connected with the second backward diode in parallel and used for increasing the impedance of the zero line branch when the alternating current waveform is in a negative half shaft.
Briefly, protect the isolation opto-coupler through above-mentioned second backward diode, after the voltage of loading at the input of opto-coupler is greater than the turn-on voltage that backward diode corresponds, the second backward diode between zero line branch road and the live wire branch road switches on, and at this moment, alternating current power supply's live wire branch road and zero line branch road lug connection for emitting diode avoids bearing too big backward voltage.
For example, when the ac power corresponding to the ac power source is in the negative half-axis, the ac power flows through the reverse protection diode D1, and the tube voltage drop of the reverse protection diode D1 is smaller than the turn-on voltage U0; and the maximum reverse voltage U2 borne by the light emitting diode in the isolation optocoupler is far greater than U0, so that the protection effect is achieved.
Optionally, the low power consumption detection circuit further includes: and a current limiting resistor 26, wherein the current limiting resistor is respectively connected in series with the flash switch and the optocoupler, and is configured to reduce a current input from the ac power supply to the low power consumption detection circuit, and the reduction is configured to indicate that a first current input from the ac power supply is limited to a second current.
Optionally, the current limiting resistor includes: a first current limiting resistor 2602 and a second current limiting resistor 2604 having the same resistance value as the first current limiting resistor; the first current-limiting resistor and the second current-limiting resistor are respectively arranged on a live wire branch and a zero line branch corresponding to the alternating-current power supply, and optionally, the first current-limiting resistor can be arranged on the live wire branch corresponding to the alternating-current power supply; the second current-limiting resistor is arranged on a zero line branch corresponding to the alternating-current power supply, and the second current-limiting resistor can also be arranged on a live line branch corresponding to the alternating-current power supply; the first current limiting resistor is arranged on a zero line branch corresponding to the alternating current power supply.
Optionally, the optical coupler includes: a light emitting diode; the light emitting diode is used for emitting light after a second current input by the input end of the optocoupler is larger than or equal to a preset working current, and the preset working current is the lowest current of the light emitting diode entering a light emitting state.
It should be noted that, the directions of the positive pole and the negative pole of the light emitting diode in the optical coupler determine the directions of the second backward diode and the first backward diode in the circuit, and after the directions of the positive pole and the negative pole of the light emitting diode in the optical coupler are determined, the directions of the positive pole and the negative pole of the first backward diode which are in parallel connection with the optical coupler are opposite to the directions of the positive pole and the negative pole of the light emitting diode; the positive and negative electrode directions of the second reverse diode which is in series connection with the optocoupler are the same as the positive and negative electrode directions of the light emitting diode.
Optionally, the optical coupler further includes: a photo transistor; the phototriode is used for entering a conducting state under the condition that the base electrode of the phototriode receives light rays emitted by the light emitting diode, and outputting a preset low level of the phototriode in the conducting state; or after the light emitting diode is determined not to be in the light emitting state, the light emitting diode enters a cut-off state, and the preset high level of the phototriode in the cut-off state is output.
Optionally, the optical coupler further includes: a peripheral circuit; wherein the peripheral circuit comprises: a third resistor and a first capacitor; the third resistor is connected with the collector of the phototriode and used for dividing the preset voltage loaded on the collector to obtain a third voltage loaded on the collector of the phototriode; the first capacitor is connected with the phototriode in parallel and used for providing fourth voltage for the phototriode.
Optionally, the control circuit includes: a processor and a drive circuit; the processor is used for receiving a level signal output by the optical coupler and detecting whether the alternating current power supply is in a flash-off state or not according to the level signal; and the driving circuit is connected with the processor and used for generating a control signal for controlling the load under the condition that the processor determines that the alternating current power supply is subjected to flash interruption.
For example, when the processor judges that the level signal output by the optocoupler is a high-low level with the same frequency as the commercial power, the processor indicates that the power supply is normally powered; when the processor judges that the voltage signal is continuously high level and the continuous time exceeds the preset time, the processor indicates that the power supply is in flash. When the switch in the circuit is in a normally closed state, before the switch acts, because the circuit is connected with a common mains voltage, the frequency of a level signal output by the low-power-consumption detection circuit under the normal state of the circuit is the same as the frequency of the mains, then when the alternating current power supply is abnormally disconnected, the low-power-consumption detection circuit can detect that the alternating current is disconnected, the output level signal is a stable high level, when the processor finds that the high level carried in the level signal exceeds the preset time, the flash-off of the alternating current is explained, and further, a micro control unit in the processor correspondingly generates a control signal according to the occurrence condition of the flash-off so as to further control the state of the load.
Optionally, there are multiple processing methods of the processor; such as: the processor outputs a driving signal to the driving circuit through the wireless communication unit, so that the state of the load is inverted. When the time interval of the high level or the low level is less than TO, no alternating current power supply is considered TO be not flashed; when the time interval of the high level or the low level is larger than or equal TO TO, the alternating current power supply is considered TO have flash; when the alternating current power supply is in a flash state, the state of the corresponding load is reversed after being controlled by the control signal.
Optionally, the control circuit further comprises: the communication circuit is connected with the processor in series and used for establishing a communication channel between the driving circuit and the processor according to a preset communication mode so as to send a driving signal existing in the processor to the driving circuit through the communication channel.
As an optional implementation manner, the implementation of the present invention further provides an electronic apparatus, wherein the electronic apparatus is composed of the low power consumption detection circuit, a load and a flash switch, and an operation state of the load can be controlled by the low power consumption detection circuit and the flash switch. The present invention is not limited to these.
Optionally, the electronic device further includes: the load control unit controls the load unit according to a signal corresponding to the detected flash-off state in the circuit. It should be noted that the load unit includes, but is not limited to, a motor, an LED, and the electronic device includes, but is not limited to, a lamp, a fan, a bathroom heater, and the like.
As an alternative embodiment, the present invention further provides a control system of an electronic device, including, in addition to the electronic device, the electronic device further including: the input end of the flash switch is connected with an alternating current power supply in series, and the output end of the flash switch is connected with the electronic device in series and used for controlling the on-off of the alternating current power supply and the electronic device according to the state change of the flash switch.
The input end of the flash switch is connected with an alternating current power supply in series, the output end of the flash switch is connected with the electronic device in series, and then the on-off of the alternating current power supply and the electronic device can be controlled according to the state change of the flash switch.
Optionally, the flash switch may be a self-rebounding switch; the switch controls the communication of the alternating current power supply in the circuit. The flash switch is normally closed, so that when an alternating current power supply is abnormal or the switch is acted by an external force, the target power supply is disconnected from the input of the low-power-consumption detection circuit, and further, the alternating current is disconnected (namely, flash).
It should be noted that the flash switch, the current limiting resistor, and the backward diode are similar elements of any type that can be used to meet the functional requirements of the present invention, and the types of the flash switch, the current limiting resistor, and the backward diode are selected according to the actual production requirements, and can be flexibly adjusted according to the actual application of the low power consumption detection circuit, which is not limited by the present invention.
In order to better understand the principle of the low power consumption detection circuit, the following describes the implementation of the low power consumption detection circuit with reference to an alternative embodiment, but the implementation is not limited to the technical solution of the embodiment of the present invention.
Fig. 3 is an operation diagram of a related art flash detection circuit, which controls an operation state of a consumer by detecting that a flash switch emits a flash signal by a power failure detection circuit. Wherein, press the disconnection and the external power source 4 is pressed when the flash switch 1 receives external force for external power source 4 and power consumption load 5 intercommunication interrupt, and at this moment, outage detection circuitry 2 carries out the flash detection to current circuit, and with the testing result synchronous to controller 3, controls the operating condition of consumer (promptly with power consumption load 5) through the controller.
FIG. 4 is a schematic diagram of a related art isolated glitch detection circuit; the isolated flashThe disconnection detection circuit includes: zero-crossing comparison module and output resistor R 0 And a discharge capacitor C i The circuit structure is complex, and the cost of components is high, so that the cost limit exists in application, and the application range is limited;
in order to reduce the cost of components and parts and power consumption, the invention provides a low-power consumption flash state detection circuit, and fig. 5 is a circuit schematic diagram of the low-power consumption flash state detection circuit according to an alternative embodiment of the invention;
specifically, in an actual application scenario, the low-power-consumption flash state detection circuit may include: flash switch S 1 A first current limiting resistor R 1 A second current limiting resistor R 2 Reverse protection diode D 1 And optical coupler U 1 Reverse protection diode D 2 Resistance R with large resistance 4 (ii) a The above is merely an example and does not limit the circuitry of the present application.
Optionally, a flash switch S 1 A first current limiting resistor R 1 Optical coupler and second current-limiting resistor R 2 The reverse protection diode D1 is connected in parallel between two input ports of the optocoupler U1 in reverse direction. A reverse diode D2 and a large-resistance resistor R connected in parallel with the reverse diode are added on the negative half shaft of the alternating current 4 When the alternating current is at the negative half shaft, the alternating current passes through L and S 1 ,R 1 ,D 1 ,R 4 (very high impedance), R 2 To the N line; because R is 4 Is large and therefore the power consumption is low when the alternating current is in the negative half-axis. The normal work of the positive half shaft and the reduction of the power consumption of the negative half shaft are ensured.
Optionally, fig. 6 is a waveform diagram illustrating that the low power consumption flash state detection circuit of the alternative embodiment of the present invention is not flashed; wherein, the I waveform is: the low-power consumption flash state detection circuit corresponds to the alternating current waveform of the input end; the waveform II is: outputting the waveform through a low-power consumption flash state detection circuit when flash does not occur; it should be noted that the conventional state of the flash switch in fig. 6 is closed, and therefore, the low-power consumption flash state detection circuit (i.e., the low-power consumption detection circuit) can detect a rectangular wave signal having the same frequency as the alternating current.
Optionally, fig. 7 is a waveform diagram illustrating a low power consumption flash state detection circuit according to an alternative embodiment of the present invention; when the flash switch in the low-power-consumption flash state detection circuit is pressed, the detection circuit can detect that the alternating current is disconnected, and the output waveform is shown in fig. 7, wherein the I waveform is: during the flash, the low-power-consumption flash state detection circuit corresponds to the alternating current waveform of the input end, the transverse line part is a period in which flash occurs, the alternating current power supply is disconnected with the low-power-consumption flash state detection circuit in the period, and no input voltage exists; the waveform II is: outputting a waveform through a low-power consumption flash state detection circuit when a flash occurs; furthermore, the controller can judge that the circuit is abnormal according to the rectangular wave signal output by the isolated flash detection circuit, so that the controller can judge that a flash switch action occurs.
Optionally, after the controller determines that one of the flash switches is actuated, the controller outputs a driving signal to the electric load to reverse the state of the electric load; for example: under the condition that the electric load in the circuit is a lamp, the lamp is on before the switch in the alternating current power supply acts, the flash operation after the switch acts is determined by the flash detection circuit and outputs a corresponding oscillogram, then the controller outputs a driving signal for controlling the electric load according to the obtained oscillogram, the driving circuit controls the display of the lamp according to the driving signal, and when the lamp is on before the flash operation, the lamp is turned off from the on state after the flash operation occurs; vice versa, when the lamp is turned off before the switch is operated, the lamp is turned on from off when the switch is operated to flash off.
As an alternative embodiment, the operation principle corresponding to fig. 5 will be described in detail, when the positive half period of the ac power is started, after the current exceeds the operating current of U1, U1 operates, the light emitting diode in the opto-coupler operates, the triode in the opto-coupler is in a conducting state, and the "agile detection output" is at a low level after R1 and the light emitting diode of the U1 opto-coupler, R2 and D2 (do not pass through R4) are operated; when the current flowing through a light emitting diode in the optocoupler is smaller than the working current, the optocoupler is in a turn-off state (namely a phototriode in the optocoupler is in a cut-off state), at the moment, the triode in the optocoupler is in a turn-off state, and the agile detection output is a high level;
it should be noted that when the alternating current is in the negative half-axis, the alternating current passes through line L from line S1, line R1, line D1, line R4 (impedance is large), line R2 to line N; because the impedance of R4 is large, power consumption is low when the alternating current is at the negative half-axis (P ═ U2/(R1+ RD1+ R4)); thus ensuring the normal work of the positive half shaft and the reduction of the power consumption of the negative half shaft;
optionally, the state of the load is controlled by a level signal continuously output by the low-power consumption flash state detection circuit, including: when the time interval of the high level or the low level in the level signal is less than TO, the flash switch is considered not TO act; when the time interval of the high level or the low level is larger than or equal TO TO, the flash switch is considered TO act; when the flash switch acts, the state of the corresponding lamp can be reversed;
optionally, D1 in fig. 5 functions to protect the isolation optocoupler; namely: when the AC is at the negative half-shaft, the AC flows through D1, and the tube voltage drop of D1 is less than U0; and the maximum reverse voltage U2 borne by the light emitting diode of the optical coupler is far greater than that of U0, so that the protection effect is achieved.
Through the embodiment, the low-power consumption detection circuit is used for detecting the flash condition of the alternating current power supply in real time, the circuit structure of the low-power consumption detection circuit is simple, the cost of components is low, the accuracy of flash detection is high, in addition, the low-power consumption detection circuit can work normally when the alternating current waveform is in the negative half shaft by introducing the power consumption circuit, and when the alternating current waveform is in the negative half shaft, the impedance in the low-power consumption detection circuit is expanded by using the power consumption circuit so as to control the power consumption reduction of the negative half shaft. By adopting the technical scheme, the problems of high cost, high power consumption and the like of the detection circuit in the related technology are solved, the accuracy of the flash detection of the circuit can be realized, the occurrence of the failure condition of the flash detection is reduced, and the total power consumption of the whole detection is reduced.
FIG. 8 is a block diagram of an electronic device according to an embodiment of the invention; as shown in fig. 8, includes: a low power consumption detection circuit 72; further comprising: a load unit 76 and a load control unit 74, wherein the load control unit controls the load unit flash switch according to a signal corresponding to the detected flash state in the circuit.
Optionally, the low power consumption detection circuit 72 includes: a power consumption circuit, an optical coupler and a control circuit; the power consumption circuit is used for correspondingly increasing the impedance of a live wire branch or a zero line branch between an alternating current power supply and the optocoupler according to the change condition of the alternating current waveform; the optical coupler is connected with the power consumption circuit in series and used for comparing a first current input at the input end of the optical coupler with a preset working current corresponding to the optical coupler and outputting a level signal according to a comparison result; and the control circuit is connected with the output end of the optocoupler and used for detecting whether the alternating current power supply is in flash break or not according to the level signal.
FIG. 9 is a block diagram of a control system of an electronic device according to an embodiment of the invention; as shown in fig. 9, the electronic device includes: and the flash switch 80 is connected with the input end of the flash switch in series with an alternating current power supply, and the output end of the flash switch is connected with the electronic device in series, and is used for controlling the on-off of the alternating current power supply and the electronic device according to the state change of the flash switch.
Optionally, the control system further includes: the display module is connected with the output end of the electronic device and is used for carrying out corresponding visual display on the level signal output by the low-power consumption detection circuit; the visual display is used for indicating that the detection result is correspondingly output according to the level signal, for example, the detection output is correspondingly displayed to be low level when the phototriode is in a conducting state; and displaying that the detection output is high level when the phototriode is in an off state.
In the embodiment of the invention, the control system detects the flash condition of the alternating current power supply in real time through the low-power-consumption detection circuit, the low-power-consumption detection circuit has the advantages of simple circuit structure, low component cost and high flash detection accuracy, in addition, the low-power-consumption detection circuit normally works when the alternating current waveform is in the negative half shaft by introducing the power consumption circuit, and the impedance in the low-power-consumption detection circuit is expanded by using the power consumption circuit when the alternating current waveform is in the negative half shaft so as to control the power consumption reduction of the negative half shaft. By adopting the technical scheme, the problems of high cost, high power consumption and the like of the detection circuit in the related technology are solved, the accuracy of the flash detection of the circuit can be realized, the occurrence of the failure condition of the flash detection is reduced, and the total power consumption of the whole detection is reduced.
FIG. 10 is a flow diagram of a flash status detection method according to an embodiment of the invention; as shown in fig. 10, includes:
step S902, determining a digital signal corresponding to an alternating current power supply output by a low power consumption detection circuit, wherein the digital signal is a level signal output by an optical coupler in the low power consumption detection circuit by comparing a first current input at an input end of the optical coupler with a preset working current corresponding to the optical coupler;
and step S904, determining whether the alternating current power supply is in flash interruption or not through the digital signal.
Through the steps, a digital signal corresponding to an alternating current power supply output by a low-power-consumption detection circuit is determined, wherein the digital signal is a level signal output by an optical coupler in the low-power-consumption detection circuit through comparing a first current input at an input end of the optical coupler with a preset working current corresponding to the optical coupler; and determining whether the alternating current power supply is in flash-off or not through the digital signal. The low-power consumption detection circuit is used for detecting the flash condition of the alternating current power supply in real time, and is simple in circuit structure, low in component cost and high in flash detection accuracy. By adopting the technical scheme, the problems of high cost, high power consumption and the like of the detection circuit in the related technology are solved, the accuracy of the flash detection of the circuit can be realized, the occurrence of the failure condition of the flash detection is reduced, and the total power consumption of the whole detection is reduced.
FIG. 11 is a flash detection control apparatus according to an embodiment of the present invention; as shown in fig. 11, includes:
the detection module 1002 is configured to determine a digital signal corresponding to an ac power source output by a low power consumption detection circuit, where the digital signal is a level signal output by an optocoupler in the low power consumption detection circuit by comparing a first current input at an input end of the optocoupler with a preset working current corresponding to the optocoupler;
and the control module 1004 is used for determining whether the alternating current power supply is subjected to flash break through the digital signal.
By the device, a digital signal corresponding to an alternating current power supply output by a low-power-consumption detection circuit is determined, wherein the digital signal is a level signal output by an optical coupler in the low-power-consumption detection circuit through comparing a first current input at an input end of the optical coupler with a preset working current corresponding to the optical coupler; and determining whether the alternating current power supply is in flash-off or not through the digital signal. The low-power consumption detection circuit is used for detecting the flash condition of the alternating current power supply in real time, and is simple in circuit structure, low in component cost and high in flash detection accuracy. By adopting the technical scheme, the problems of high cost, high power consumption and the like of the detection circuit in the related technology are solved, the accuracy of the flash detection of the circuit can be realized, the occurrence of the failure condition of the flash detection is reduced, and the total power consumption of the whole detection is reduced.
Fig. 12 is a flowchart of a control method of an electronic device according to an embodiment of the present invention; as shown in fig. 12, includes:
step S1102: supporting the electronic device to be in a continuous online state based on the flash state detection method, wherein the continuous online state is that power supply of a control circuit of the electronic device is ensured under the condition that the alternating current power supply flashes through a flash state detection circuit;
step S1104: performing, by the control circuit, remote control of the electronic device if it is determined that the electronic device is in the continuously online state.
It should be noted that, even if the electronic device is subjected to the flash interruption to cause the load to be stopped supplying power, the control circuit for remote control in the electronic device can still keep normal operation, so that the electronic device can effectively respond to the remote control sent by the control terminal, and the problems of failure, low accuracy and the like of the flash interruption detection mode in the related art are solved.
Optionally, the specific examples in this embodiment may refer to the examples described in the above embodiments and optional implementation manners, and this embodiment is not described herein again.
It will be apparent to those skilled in the art that the modules or steps of the present invention described above may be implemented by a general purpose computing device, they may be centralized on a single computing device or distributed across a network of multiple computing devices, and alternatively, they may be implemented by program code executable by a computing device, such that they may be stored in a storage device and executed by a computing device, and in some cases, the steps shown or described may be performed in an order different than that described herein, or they may be separately fabricated into individual integrated circuit modules, or multiple ones of them may be fabricated into a single integrated circuit module. Thus, the present invention is not limited to any specific combination of hardware and software.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the principle of the present invention should be included in the protection scope of the present invention.

Claims (16)

1. A low power consumption detection circuit is applied to the detection of a flash-off state in a circuit, and is characterized by comprising: a power consumption circuit, an optical coupler and a control circuit;
the power consumption circuit is used for correspondingly increasing the impedance of a live wire branch or a zero line branch between an alternating current power supply and the optocoupler according to the change condition of the alternating current waveform;
the optical coupler is connected with the power consumption circuit in series and used for comparing a first current input at the input end of the optical coupler with a preset working current corresponding to the optical coupler and outputting a level signal according to a comparison result;
and the control circuit is connected with the output end of the optocoupler and used for detecting whether the alternating current power supply is in flash break or not according to the level signal.
2. The low power detection circuit of claim 1, further comprising: a first backward diode;
the first backward diode is used for determining whether to conduct or not based on the current alternating current waveform corresponding to the alternating current power supply.
3. The low power consumption detection circuit of claim 1, wherein the power consumption circuit comprises: a second backward diode, a target resistance;
the second backward diode is connected with the optocoupler in series and used for controlling the conduction condition of the corresponding live wire branch or zero line branch of the alternating current power supply according to the alternating current waveform;
the target resistor is connected in parallel with the second backward diode and used for increasing the impedance of the live wire branch or the zero wire branch under the condition that the second backward diode is not conducted.
4. The low power consumption detection circuit according to claim 1, wherein the low power consumption detection circuit further comprises: a current-limiting resistor is connected with the power supply,
the current limiting resistor is respectively connected with the flash switch and the optocoupler in series and used for reducing the current input into the low-power consumption detection circuit by the alternating current power supply, wherein the reduction is used for indicating that the first current input by the alternating current power supply is limited to be the second current.
5. The low power consumption detection circuit of claim 4, wherein the current limiting resistor comprises: the current limiting circuit comprises a first current limiting resistor and a second current limiting resistor, wherein the resistance value of the first current limiting resistor is the same as that of the second current limiting resistor; the first current-limiting resistor and the second current-limiting resistor are respectively arranged on a live wire branch circuit and a zero wire branch circuit corresponding to the alternating current power supply.
6. The low power detection circuit of claim 1, wherein the optocoupler comprises: a light emitting diode;
the light emitting diode is used for emitting light after a second current input by the input end of the optocoupler is greater than or equal to a preset working current, and the preset working current is the lowest current of the light emitting diode entering a light emitting state.
7. The low power detection circuit of claim 6, wherein the optocoupler further comprises: a photo transistor;
the phototriode is used for entering a conducting state under the condition that the base electrode of the phototriode receives light rays emitted by the light emitting diode, and outputting a preset low level of the phototriode in the conducting state; or after the light emitting diode is determined not to be in the light emitting state, the light emitting diode enters a cut-off state, and the preset high level of the phototriode in the cut-off state is output.
8. The low power detection circuit of claim 7, wherein the optocoupler further comprises: a peripheral circuit; wherein the peripheral circuit comprises: a third resistor and a first capacitor;
the third resistor is connected with the collector of the phototriode and used for dividing the preset voltage loaded on the collector to obtain a third voltage loaded on the collector of the phototriode;
the first capacitor is connected with the phototriode in parallel and used for providing fourth voltage for the phototriode.
9. The low power detection circuit of claim 1, wherein the control circuit comprises: a processor and a drive circuit; wherein the content of the first and second substances,
the processor is used for receiving a level signal output by the optocoupler and detecting whether the alternating current power supply is in flash break or not according to the level signal;
and the driving circuit is connected with the processor and used for generating a control signal for controlling the load under the condition that the processor determines that the alternating current power supply is subjected to flash interruption.
10. An electronic device comprising the low power consumption detection circuit of any one of claims 1 to 9.
11. The electronic device of claim 10, further comprising: the load control unit controls the load unit according to a signal corresponding to the detected flash-off state in the circuit.
12. A control system of an electronic device, characterized by comprising the electronic device of any one of claims 10 to 11.
13. The control system of the electronic device according to claim 12, further comprising: the input end of the flash switch is connected with an alternating current power supply in series, and the output end of the flash switch is connected with the electronic device in series and used for controlling the on-off of the alternating current power supply and the electronic device according to the state change of the flash switch.
14. A flash status detection method, comprising:
determining a digital signal corresponding to an alternating current power supply output by a low-power-consumption detection circuit, wherein the digital signal is a preset working current output level signal corresponding to an optical coupler by comparing a first current input at an input end of the optical coupler in the low-power-consumption detection circuit;
and determining whether the alternating current power supply is in flash-off or not through the digital signal.
15. An apparatus for detecting and controlling flash, comprising:
the detection module is used for determining a digital signal corresponding to an alternating current power supply output by a low-power-consumption detection circuit, wherein the digital signal is a level signal output by an optical coupler in the low-power-consumption detection circuit by comparing a first current input at an input end of the optical coupler with a preset working current corresponding to the optical coupler;
and the control module is used for determining whether the alternating current power supply is in flash through the digital signal.
16. A control method of an electronic device to which the flash status detection method according to claim 14 is applied, comprising:
supporting the electronic device to be in a continuous online state based on the flash state detection method, wherein the continuous online state is that power supply of a control circuit of the electronic device is ensured under the condition that the alternating current power supply flashes through a flash state detection circuit;
performing, by the control circuit, remote control of the electronic device if it is determined that the electronic device is in the continuously online state.
CN202210833743.1A 2022-07-15 2022-07-15 Low-power-consumption detection circuit, electronic device and flash-off state detection method Pending CN115015798A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210833743.1A CN115015798A (en) 2022-07-15 2022-07-15 Low-power-consumption detection circuit, electronic device and flash-off state detection method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210833743.1A CN115015798A (en) 2022-07-15 2022-07-15 Low-power-consumption detection circuit, electronic device and flash-off state detection method

Publications (1)

Publication Number Publication Date
CN115015798A true CN115015798A (en) 2022-09-06

Family

ID=83082148

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210833743.1A Pending CN115015798A (en) 2022-07-15 2022-07-15 Low-power-consumption detection circuit, electronic device and flash-off state detection method

Country Status (1)

Country Link
CN (1) CN115015798A (en)

Similar Documents

Publication Publication Date Title
US20100295371A1 (en) Sequential control master-slave socket device
CN101604282A (en) Voltage detection alarm device
CN102043693B (en) Circularly electrifying test device
CN109342973B (en) Direct current power supply input state monitoring circuit and system
JP2016092881A (en) Breaker and breaker device control
CN103210563A (en) Electronic control device and method for reducing stand-by state energy consumption of an electric household appliance
CN218003674U (en) Flash-off state detection circuit and electronic device
CN102570580A (en) Zero-standby power consumption power supply circuit, power supply device and household appliance
CN115015798A (en) Low-power-consumption detection circuit, electronic device and flash-off state detection method
CN114466481B (en) Circuit and method for detecting no-load of LED constant-voltage driving power supply and LED driver
CN212726976U (en) Display outage system and display
KR101587646B1 (en) Illumination system and driving method thereof
CN209767238U (en) Intelligent isolating switch
KR100373452B1 (en) Power supply cutoff apparatus
CN113267685A (en) Phase sequence detection device and method and electrical equipment
CN105785168A (en) Detection circuit and automatic detection device
KR100382926B1 (en) Power supply auto switching apparatus and method
CN102854436B (en) A kind of power polarity detection circuit
CN103957650A (en) LED power supply management circuit
CN218767201U (en) Testing device
CN102955062B (en) Electronic device
CN115527803A (en) Control circuit and control method of relay and switch equipment
KR100600439B1 (en) Automatic power supply cutoff apparatus
CN216672981U (en) Key circuit, power control system and vehicle
CN114966311A (en) Flash-off state detection circuit, detection method, electronic device and control method

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