Flash interruption state detection circuit, detection method, electronic device, and control method

Through the combination of voltage divider circuit, calculation circuit and bias voltage circuit, the problem of easy failure of flash interrupt detection is solved, real-time accurate detection of flash interrupt state is achieved, and the accuracy of detection is improved.

CN114966311BActive Publication Date: 2025-07-25QINGDAO YEELINK INFORMATION TECH
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210530917.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-05-16
Publication Date
2025-07-25
Estimated Expiration
2042-05-16

AI Technical Summary

Technical Problem

In the prior art, flash break detection methods are prone to failure and have low accuracy, and cannot effectively detect short-term voltage drops and recovery.

Method used

Using a combination of voltage divider circuit, operation circuit and bias voltage circuit, by comparing the voltage at the in-phase input terminal and the inverting input terminal, the bias voltage provides a level signal when the voltage is zero, ensuring the accuracy of detection.

Benefits of technology

Real-time accurate detection of the flash break state is achieved, detection failure caused by excessive drop time of live voltage caused by capacitors is reduced, and detection accuracy is improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114966311B_ABST
    Figure CN114966311B_ABST
Patent Text Reader

Abstract

The present invention discloses a flash interruption state detection circuit, a detection method, an electronic device, and a control method. Among them, the flash interruption state detection circuit includes: a voltage division circuit, an operation circuit, and a bias voltage circuit; the voltage division circuit is respectively connected to an AC power supply and the operation circuit, and is used to convert a first AC voltage provided by the AC power supply into a second AC voltage and load the second AC voltage on the non-inverting input terminal and the inverting input terminal of the operation circuit; the bias voltage circuit is connected to the operation circuit and is used to provide a first bias voltage for the operation circuit when the second AC voltage is zero; the operation circuit is connected to the voltage division circuit and is used to compare the magnitudes of a first input voltage at the non-inverting input terminal and a second input voltage at the inverting input terminal, and output a level signal according to the comparison result; wherein, the level signal is used to determine whether a flash interruption occurs in the AC power supply. The problems that the flash interruption detection method in the related art is prone to failure and has low accuracy are solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of smart home, and in particular, to a flash-off state detection circuit, a detection method, an electronic device, and a control method. Background Art

[0002] With the development of the smart home industry, the types of smart appliances are increasing day by day. After the traditional local power switch of a smart appliance is closed, the smart appliance will also drop offline, and then the terminal cannot remotely control it. Therefore, a flash-off switch is widely used in smart home devices. In the normal state, the flash-off switch keeps the power supply and the electrical load connected. When pressed by an external force, the flash-off switch disconnects the power supply and the electrical load. After the external force is removed, the flash-off switch quickly returns to the normal state. By detecting the flash-off signal sent by the flash-off switch, the working state of the electrical device is controlled.

[0003] The existing technology obtains the flash-off signal from the detection of the voltage signal on the AC live wire. Figure 1 It is the schematic diagram of the flash-off detection circuit in the related technology. Due to the existence of components such as capacitors in the circuit, when a flash-off occurs, the voltage drop time of the live wire will be prolonged. If the voltage drop time of the live wire is too long, when a normal flash-off occurs (a short power outage from dozens of milliseconds to several seconds), the flash-off detection circuit cannot detect the voltage drop and return to normal within a short time, and the flash-off detection fails.

[0004] How to improve the effectiveness and accuracy of flash-off detection has become an urgent problem to be solved.

[0005] In view of the problems in the related technology that the flash-off detection method is prone to failure and has low accuracy, no effective solution has been proposed yet. Summary of the Invention

[0006] Embodiments of the present invention provide a flash-off state detection circuit, a detection method, an electronic device, and a control method to at least solve the problems in the related technology that the flash-off detection method is prone to failure and has low accuracy.

[0007] According to an embodiment of the present invention, a flash interruption state detection circuit is provided, including: a voltage dividing circuit, an operational circuit, and a bias voltage circuit; the voltage dividing circuit is respectively connected to an AC power supply and the operational circuit, and is configured to convert a first AC voltage provided by the AC power supply into a second AC voltage, and load the second AC voltage on the non-inverting input terminal and the inverting input terminal of the operational circuit; the bias voltage circuit is connected to the operational circuit, and is configured to provide a first bias voltage for the non-inverting input terminal or the inverting input terminal of the operational circuit when the second AC voltage is zero; the operational circuit is connected to the voltage dividing circuit, and is configured to compare the magnitude of a first input voltage at the non-inverting input terminal with a second input voltage at the inverting input terminal, and output a level signal according to the comparison result, wherein when the first bias voltage is input from the non-inverting input terminal, the first input voltage is one of the following: the live wire voltage corresponding to the second AC voltage, the first bias voltage, and the second input voltage is the neutral wire voltage corresponding to the second AC voltage; when the first bias voltage is input from the inverting input terminal, the first input voltage is the live wire voltage corresponding to the second AC voltage, and the second input voltage is one of the following: the neutral wire voltage corresponding to the second AC voltage, the first bias voltage; the level signal is used to determine whether the AC power supply has a flash interruption.

[0008] In an exemplary embodiment, the above voltage dividing circuit includes: at least two first control circuits, and the at least two first control circuits are both connected to the output terminal of the AC power supply, one of the at least two first control circuits is connected to the non-inverting input terminal of the operational circuit, and at least one of the other at least two first control circuits is connected to the inverting input terminal of the operational circuit; wherein, the at least two first control circuits are configured to convert the first AC voltage provided by the AC power supply into a second AC voltage.

[0009] In an exemplary embodiment, the above bias voltage circuit includes: a configuration power supply, connected in series with a third control circuit, for providing a third voltage for the voltage dividing circuit; the third control circuit is configured to divide the third voltage, and determine the first bias voltage loaded on the operational circuit when the second AC voltage output by the voltage dividing circuit is zero.

[0010] In an exemplary embodiment, the above AC power supply includes: a target power supply, a first capacitor connected in parallel with the target power supply, and a switch connected in series between the target power supply and the voltage dividing circuit; wherein, the switch is configured to control the first AC voltage loaded on the voltage dividing circuit.

[0011] According to another embodiment of the embodiments of the present invention, there is also provided an electronic device, including: a voltage dividing circuit, an operational circuit, and a bias voltage circuit; the voltage dividing circuit is respectively connected to an AC power supply and the operational circuit, and is configured to convert a first AC voltage provided by the AC power supply into a second AC voltage, and load the second AC voltage on the non-inverting input terminal and the inverting input terminal of the operational circuit; the bias voltage circuit is connected to the operational circuit, and is configured to provide a first bias voltage for the non-inverting input terminal or the inverting input terminal of the operational circuit when the second AC voltage is zero; the operational circuit is connected to the voltage dividing circuit, and is configured to compare the magnitude of a first input voltage at the non-inverting input terminal with a second input voltage at the inverting input terminal, and output a level signal according to the comparison result, wherein when the first bias voltage is input from the non-inverting input terminal, the first input voltage is one of the following: the live wire voltage corresponding to the second AC voltage, the first bias voltage, and the second input voltage is the neutral wire voltage corresponding to the second AC voltage; when the first bias voltage is input from the inverting input terminal, the first input voltage is the live wire voltage corresponding to the second AC voltage, and the second input voltage is one of the following: the neutral wire voltage corresponding to the second AC voltage, the first bias voltage; the level signal is used to determine whether the AC power supply has a momentary interruption.

[0012] In an exemplary embodiment, the above-mentioned electronic device further includes: a signal receiving and processing circuit, and the signal receiving and processing circuit at least includes: a processor and a driving circuit; the processor is configured to determine that the AC power supply has a momentary interruption, generate a driving signal corresponding to the momentary interruption, and send the driving signal to the driving circuit through a preset communication method when the duration corresponding to the high level in the level signal output by the momentary interruption detection circuit is greater than a preset time, wherein the processor is sequentially connected to the output terminal of the second control circuit and the momentary interruption detection circuit, and the level signal includes: a high level and a low level; the driving circuit is connected in series with the processor, and is configured to control a load connected in series with the driving circuit according to the driving signal sent by the processor.

[0013] In an exemplary embodiment, the above-mentioned signal receiving and processing circuit further includes: a communication circuit, and the communication circuit is connected in series with the processor, and is configured to establish a communication channel between the driving circuit and the processor according to a preset communication method, so as to send the driving signal existing in the processor to the driving circuit through the communication channel.

[0014] According to another embodiment of the embodiments of the present invention, there is also provided a method for detecting a flash-off state. The method includes: determining a digital signal output by a flash-off state detection circuit according to a live wire voltage and a neutral wire voltage corresponding to an AC power supply, where the digital signal is a level signal output by an arithmetic circuit in the flash-off state detection circuit by comparing a first input voltage at a non-inverting input terminal with a second input voltage at an inverting input terminal. In the case where there is a first bias voltage at the non-inverting input terminal, the first input voltage includes at least one of the following: the live wire voltage corresponding to a second AC voltage processed by the flash-off state detection circuit, the first bias voltage, and the second input voltage is the neutral wire voltage corresponding to the second AC voltage; in the case where there is a first bias voltage at the inverting input terminal, the first input voltage is the live wire voltage corresponding to the second AC voltage processed by the flash-off state detection circuit, and the second input voltage includes at least one of the following: the neutral wire voltage corresponding to the second AC voltage, the first bias voltage; determining whether the AC power supply has a flash-off through the digital signal.

[0015] In an exemplary embodiment, the digital signal is determined in the following manner: in the case where the first input voltage is greater than or equal to the second input voltage, determining that the digital signal output by the flash-off state detection circuit is a high level; in the case where the first input voltage is less than the second input voltage, determining that the digital signal output by the flash-off state detection circuit is a low level.

[0016] In an exemplary embodiment, determining whether the AC power supply has a flash-off through the digital signal includes at least one of the following: in the case where there are two adjacent change cycles in the digital signal corresponding to the same level, determining that the AC power supply has a flash-off; in the case where the digital signal is a high level and the duration of the high level is greater than a preset time, determining that the AC power supply has a flash-off; in the case where the digital signal is a low level and the duration of the low level is greater than a preset time, determining that the AC power supply has a flash-off.

[0017] According to another embodiment of the embodiments of the present invention, there is also provided a control method for an electronic device. Based on the flash-off state detection method, the electronic device is supported to be in a continuous online state, where the continuous online state is to ensure the power supply of the signal receiving and processing circuit of the electronic device through a flash-off state detection circuit when the AC power supply has a flash-off; in the case where it is determined that the electronic device is in the continuous online state, remote control of the electronic device is performed through the signal receiving and processing circuit.

[0018] According to another aspect of the embodiments of the present invention, there is also provided a computer-readable storage medium storing a computer program, wherein the computer program is configured to execute the detection method of the above-mentioned flash interruption state detection circuit when running.

[0019] According to another aspect of the embodiments of the present invention, there is also provided an electronic device, including a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the above-mentioned processor executes the detection method of the above-mentioned flash interruption state detection circuit through the computer program.

[0020] In the embodiments of the present invention, the flash interruption state detection circuit includes: a voltage division circuit, an operation circuit, and a bias voltage circuit; the voltage division circuit is respectively connected to an AC power supply and the operation circuit, and is configured to convert a first AC voltage provided by the AC power supply into a second AC voltage and load the second AC voltage on the non-inverting input terminal and the inverting input terminal of the operation circuit; the bias voltage circuit is connected to the operation circuit and is configured to provide a first bias voltage for the non-inverting input terminal or the inverting input terminal of the operation circuit when the second AC voltage is zero; the operation circuit is connected to the voltage division circuit and is configured to compare the magnitude of a first input voltage at the non-inverting input terminal with a second input voltage at the inverting input terminal and output a level signal according to the comparison result, wherein when the first bias voltage is input from the non-inverting input terminal, the first input voltage is one of the following: the live wire voltage corresponding to the second AC voltage, the first bias voltage, and the second input voltage is the neutral wire voltage corresponding to the second AC voltage; when the first bias voltage is input from the inverting input terminal, the first input voltage is the live wire voltage corresponding to the second AC voltage, and the second input voltage is one of the following: the neutral wire voltage corresponding to the second AC voltage, the first bias voltage; the level signal is used to determine whether a flash interruption occurs in the AC power supply. That is, the flash interruption state detection circuit performs real-time and accurate flash interruption detection on the flash interruption situation of the AC power supply, and the above-mentioned flash interruption state detection circuit is not affected by the too long drop time of the live wire voltage caused by capacitors, etc., and the flash interruption detection accuracy is high. By adopting the above technical solution, the problems in the related art that the flash interruption detection method is prone to failure and has low accuracy are solved, and the accuracy of flash interruption detection of circuits in different states can be achieved through the embodiments of the present invention, and the occurrence of flash interruption detection failure situations is reduced. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] The drawings described herein are used to provide a further understanding of the present invention, form a part of this application, and the schematic embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation to the present invention. In the drawings:

[0022] Figure 1 is a schematic diagram of a flash interruption detection circuit in the related art;

[0023] Figure 2It is a structural block diagram of the flash interruption state detection circuit according to an embodiment of the present invention;

[0024] Figure 3 It is a structural block diagram of a dimming circuit or a dimmer according to an embodiment of the present invention;

[0025] Figure 4 It is a structural block diagram of an electronic device according to an embodiment of the present invention;

[0026] Figure 5 It is a schematic diagram of the intelligent electronic device control system according to an embodiment of the present invention;

[0027] Figure 6 It is a waveform schematic diagram of the corresponding input end of the flash interruption detection circuit in the related art under normal working conditions;

[0028] Figure 7 It is a waveform schematic diagram of the corresponding output end of the flash interruption detection circuit in the related art under normal working conditions;

[0029] Figure 8 It is a waveform schematic diagram of the corresponding input end of the flash interruption detection circuit in the related art under abnormal working conditions;

[0030] Figure 9 It is a waveform schematic diagram of the corresponding output end of the flash interruption detection circuit in the related art under abnormal working conditions;

[0031] Figure 10 It is a circuit schematic diagram of the flash interruption state detection circuit according to an alternative embodiment of the present invention;

[0032] Figure 11 For the flash interruption state detection circuit according to an alternative embodiment of the present invention in Figure 6 The waveform schematic diagram of the corresponding output end under the waveform state of the input end;

[0033] Figure 12 It is a waveform schematic diagram output by the flash interruption state detection circuit according to an alternative embodiment of the present invention under normal conditions;

[0034] Figure 13 It is a waveform schematic diagram of the input end and the output end of the flash interruption state detection circuit when a flash interruption occurs according to an alternative embodiment of the present invention;

[0035] Figure 14 It is a circuit schematic diagram of another flash interruption state detection circuit according to an alternative embodiment of the present invention;

[0036] Figure 15 It is a flowchart of the flash interruption state detection method according to an embodiment of the present invention;

[0037] Figure 16 It is a flowchart of the control method of the electronic device according to an embodiment of the present invention. Detailed Implementation Modes

[0038] To facilitate the understanding of the present invention, the present invention will be described more comprehensively below with reference to the relevant drawings. The preferred embodiments of the present invention are shown in the drawings. However, the present invention can be implemented in many different forms and is not limited to the embodiments described herein. On the contrary, these embodiments are provided to make the disclosure of the present invention more thorough and comprehensive.

[0039] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by those of ordinary skill in the technical field to which the present invention belongs. The terms used in the specification of the present invention herein are only for the purpose of describing specific embodiments and are not intended to limit the present invention.

[0040] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects and do not necessarily need to be used to describe a specific order or sequence. It should be understood that such data can be interchanged under appropriate circumstances so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "comprising" and "having" and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, system, product or device that includes a series of steps or units does not necessarily need to be limited to those steps or units clearly listed, but may include other steps or units not clearly listed or inherent to these processes, methods, products or devices.

[0041] The flash interruption state detection circuit provided by the embodiments of the present application. Taking running on a lamp as an example, Figure 2 is the structural block diagram of the flash interruption state detection circuit of the embodiments of the present invention. The circuit includes the following:

[0042] The voltage dividing circuit 12 is respectively connected to the AC power supply 11 and the operation circuit 13, and is used to convert the first AC voltage provided by the AC power supply into a second AC voltage and load the second AC voltage on the non-inverting input terminal and the inverting input terminal of the operation circuit;

[0043] The bias voltage circuit 14 is connected to the operation circuit 13, and is used to provide a first bias voltage for the non-inverting input terminal or the inverting input terminal of the operation circuit when the second AC voltage is zero;

[0044] The operation circuit 13, which is connected to the voltage division circuit 12, is configured to compare the magnitude of the first input voltage at the non-inverting input terminal with the second input voltage at the inverting input terminal, and output a level signal according to the comparison result. When the first bias voltage is input from the non-inverting input terminal, the first input voltage is one of the following: the live wire voltage corresponding to the second AC voltage, the first bias voltage, and the second input voltage is the neutral wire voltage corresponding to the second AC voltage; when the first bias voltage is input from the inverting input terminal, the first input voltage is the live wire voltage corresponding to the second AC voltage, and the second input voltage is one of the following: the neutral wire voltage corresponding to the second AC voltage, the first bias voltage; the level signal is used to determine whether the AC power supply has a flash interruption.

[0045] The flash interruption state detection circuit includes a voltage division circuit, an operation circuit, and a bias voltage circuit. The voltage division circuit is respectively connected to the AC power supply and the operation circuit, and is configured to convert the first AC voltage provided by the AC power supply into a second AC voltage, and load the second AC voltage on the non-inverting input terminal and the inverting input terminal of the operation circuit; the bias voltage circuit is connected to the operation circuit, and is configured to provide a first bias voltage for the non-inverting input terminal or the inverting input terminal of the operation circuit when the second AC voltage is zero; the operation circuit is connected to the voltage division circuit, and is configured to compare the magnitude of the first input voltage at the non-inverting input terminal with the second input voltage at the inverting input terminal, and output a level signal according to the comparison result. When the first bias voltage is input from the non-inverting input terminal, the first input voltage is one of the following: the live wire voltage corresponding to the second AC voltage, the first bias voltage, and the second input voltage is the neutral wire voltage corresponding to the second AC voltage; when the first bias voltage is input from the inverting input terminal, the first input voltage is the live wire voltage corresponding to the second AC voltage, and the second input voltage is one of the following: the neutral wire voltage corresponding to the second AC voltage, the first bias voltage; the level signal is used to determine whether the AC power supply has a flash interruption. That is, the flash interruption state detection circuit performs real-time and accurate flash interruption detection on the flash interruption situation of the AC power supply, and the above flash interruption state detection circuit will not be affected by the too long drop time of the live wire voltage caused by capacitors, etc., and the flash interruption detection accuracy is high. By adopting the above technical solution, the problems in the related art that the flash interruption detection method is prone to failure and has low accuracy are solved. Through the embodiments of the present invention, the accuracy of flash interruption detection for circuits in different states can be achieved, and the occurrence of flash interruption detection failure can be reduced.

[0046] In an exemplary embodiment, the above-mentioned voltage dividing circuit includes: at least two first control circuits, and the at least two first control circuits are all connected to the output end of the AC power supply. One of the at least two first control circuits is connected to the non-inverting input end of the arithmetic circuit, and at least one of the other first control circuits among the at least two first control circuits is connected to the inverting input end of the arithmetic circuit; wherein, the at least two first control circuits are used to convert the first AC voltage provided by the AC power supply into a second AC voltage.

[0047] In an exemplary embodiment, the above-mentioned bias voltage circuit includes: a configuration power supply, connected in series with a third control circuit, for providing a third voltage to the voltage dividing circuit; the third control circuit is used to divide the third voltage and determine a first bias voltage applied to the arithmetic circuit when the second AC voltage output by the voltage dividing circuit is zero.

[0048] Optionally, in Figure 10 in the bias voltage circuit, VCC is equivalent to the above-mentioned configuration power supply, and the series-connected resistors R7 and R5 are equivalent to the above-mentioned third control circuit, and finally the first bias voltage applied to the positive end of the arithmetic circuit is the voltage corresponding to both ends of R5.

[0049] It should be noted that the configuration power supply always provides the third voltage to the voltage dividing circuit under normal power supply conditions, but only when the second AC voltage has a flash break and is 0, the bias voltage will affect the level signal at the output end.

[0050] In an exemplary embodiment, the above-mentioned AC power supply includes: a target power supply 42, a first capacitor 44 connected in parallel with the target power supply, and a switch 46 connected in series between the target power supply and the voltage dividing circuit; wherein, the switch is used to control the first AC voltage applied to the voltage dividing circuit.

[0051] Optionally, the above-mentioned switch 46 can be a flash break switch or a self-returning switch.

[0052] In the embodiment of the present invention, through the switch, the target power supply, and the first capacitor, the control of the voltage at the input end of the flash break state detection circuit is realized. The above-mentioned first capacitor is used to stabilize the voltage output by the target power supply; the above-mentioned switch is closed under normal conditions. When the AC power supply is abnormal, the switch acts, so that the target power supply disconnects the input of the first AC voltage to the flash break state detection circuit, and then there is a situation where the alternating current is disconnected (i.e., flash break).

[0053] As an optional implementation manner, Figure 3It is a structural block diagram of a dimming circuit or a dimmer according to an embodiment of the present invention; it not only includes the above-mentioned flash interruption state detection circuit, but also includes a signal receiving and processing circuit 15, and the signal receiving and processing circuit 15 is connected to the operation circuit 13 in the flash interruption state detection circuit, and is used to determine whether the AC power supply has a flash interruption according to the level signal.

[0054] Optionally, the signal receiving and processing circuit 15 at least includes: a processor 48 and a driving circuit 50; wherein, the processor 48 is used to determine that the AC power supply has a flash interruption when the duration corresponding to the high level in the level signal output by the flash interruption state detection circuit is greater than a preset time, generate a driving signal corresponding to the flash interruption, and send the driving signal to the driving circuit through a preset communication method. The processor is sequentially connected to the output end of the second control circuit and the flash interruption state detection circuit, and the level signal includes: high level and low level. The driving circuit 50 is connected in series with the processor 48 and is used to control the load connected in series with the driving circuit according to the driving signal sent by the processor.

[0055] In an exemplary embodiment, the above-mentioned signal receiving and processing circuit further includes: a communication circuit 46, and the communication circuit is connected in series with the processor 48 and is used to establish a communication channel between the driving circuit and the processor according to a preset communication method, so as to send the driving signal existing in the processor to the driving circuit through the communication channel.

[0056] Briefly speaking, the processor is connected to the output end of the operation circuit through the second control circuit. The processor determines whether the AC power supply is abnormal by analyzing the level signal at the output end, determines the driving signal according to the level signal output by the flash interruption detection circuit, and sends the driving signal to the driving circuit through a preset communication method, so that the driving circuit can change the power supply state corresponding to the load according to the driving signal, so that the load can make corresponding adjustments to its state according to the flash interruption occurring in the circuit.

[0057] As an optional implementation manner, the embodiment of the present invention also provides an electronic device. Figure 4 It is a structural block diagram of an electronic device according to an embodiment of the present invention. Among them, the electronic device is composed of the above-mentioned dimming circuit or dimmer and a load 52, and the operation state of the load is controlled by the dimming circuit or dimmer. Optionally, the load 52 in the present invention can be a lamp or other power-consuming devices. The present invention does not make too many limitations in this regard.

[0058] For example, when the load in the working circuit is a lamp, the lamp is on before the switch action in the AC power supply. The flash-off operation after the switch action is determined by the flash-off detection circuit and a corresponding waveform diagram is output. Then, the processor outputs a driving signal to control the driving circuit based on the obtained waveform diagram. The driving circuit controls the display of the lamp according to the driving signal. When the lamp is on before the flash-off operation, the lamp will turn off after the flash-off operation; vice versa, when the lamp is off before the switch action and a flash-off operation occurs after the switch action, the lamp will turn on.

[0059] As an alternative embodiment, taking the bias voltage applied to the live wire of the alternating current as an example, when the processor determines that the voltage signal is at a high or low level with the same frequency as the mains power, it indicates that the power supply is normal; when the processor determines that the voltage signal is a continuous high level and the duration exceeds a preset time, it indicates that a flash-off has occurred in the power supply. That is, when the switch in the circuit is in a normally closed state, before the switch action, since the circuit is connected to the common mains voltage, the frequency of the level signal output by the flash-off state detection circuit is the same as that of the mains power under normal circuit conditions. Then, when the switch acts, the flash-off state detection circuit will detect that the alternating current is disconnected and 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, it indicates that a flash-off has occurred in the alternating current at this time. Further, the micro-control unit in the processor generates a driving signal according to the situation of the flash-off to control the state of the load.

[0060] Optionally, there are various methods for the processor to process. For example, when the level signal is output in the form of a rectangular wave according to the change period corresponding to the alternating current, and the period T of the rectangular wave > T0; that is, in the case of edge triggering, if no trigger signal arrives after exceeding T0, it can be determined as a flash-off signal. Further, when the processor determines a flash-off signal, the processor will output a driving signal and send it to the driving circuit through the wireless communication unit to reverse the state of the load.

[0061] As an alternative implementation manner, the optional embodiment of the present invention also proposes an intelligent electronic device control system. Figure 5 It is a schematic diagram of the intelligent electronic device control system of the embodiment of the present invention; this system is composed of the above-mentioned electronic device and the control terminal 60. Among them, the control terminal is used to dynamically change the operating state of the electronic device, that is, corresponding control instructions can be sent to the electronic device through the control terminal. The control instructions carry corresponding signals. Then, the signal receiving and processing circuit in the electronic device that is in a continuous online state can change the operating state of the electronic device through the signals in the control instructions, improving the control efficiency of the electronic device.

[0062] Optionally, the above control terminal may be, but is not limited to, a mobile terminal (e.g., a mobile phone, a remote control, etc.), or an operation interface on a related application, a mini-program plug-in, etc.

[0063] The above is only an example, and this embodiment does not make any specific limitations.

[0064] To better understand the principle of the above flash break state detection circuit, the implementation of the above flash break state detection circuit will be further described below in combination with optional embodiments, but it is not used to limit the technical solutions of the embodiments of the present invention.

[0065] It should be noted that Figure 1 is the schematic diagram of the flash break detection circuit in the related art (the HV terminal is connected to the live wire terminal of the AC line), and its detection principle is as follows: when the flash break switch on the live wire triggers a flash break operation, the voltage value of HV will drop rapidly, and when it drops to a certain extent, Q1 will turn off; when the flash break operation of the flash break switch is completed, the voltage value of HV will rise rapidly, and Q1 will conduct again. Therefore, when the MCU at the OUT terminal determines that the voltage value of this signal first drops and then rises within the first predetermined time, the MCU at the OUT terminal determines that this signal is a flash break signal, that is, the flash break signal generated by a normal flash break operation.

[0066] Figure 6 is the waveform schematic diagram of the corresponding input terminal of the flash break detection circuit in the related art under normal working conditions; the dotted part that returns to 0 in the figure is a flash break in the circuit;

[0067] Figure 7 is the waveform schematic diagram of the corresponding output terminal of the flash break detection circuit in the related art under normal working conditions; it can be seen that in the case of a flash break in the circuit, a high level will appear in the period of the flash break in this flash break detection circuit;

[0068] Figure 8 is the waveform schematic diagram of the corresponding input terminal of the flash break detection circuit in the related art under abnormal working conditions. Here, the abnormal working state is usually caused by the slow drop speed of the live wire voltage; during the flash break, Q1 does not turn off, and the MCU at the OUT terminal (equivalent to the micro control unit in the processor of the embodiment of the present invention) does not detect that the voltage value of this signal first drops and then rises within the first predetermined time, that is, does not detect a flash break signal.

[0069] Figure 9 is the waveform schematic diagram of the corresponding output terminal of the flash break detection circuit in the related art under abnormal working conditions (always low level, flash break detection fails). When multiple devices are controlled by one flash break switch, due to the extended drop time of the live wire voltage and the voltage recovering before reaching zero, the flash break detection often fails.

[0070] As an alternative embodiment, in order to avoid the above-mentioned flash interruption failure situation, the present invention proposes a structural diagram of a detection circuit (equivalent to the flash interruption state detection circuit in the embodiments of the present invention). Figure 10 It is a circuit schematic diagram of the detection circuit of an alternative embodiment of the present invention, including a voltage division circuit, a bias voltage circuit, and an operation circuit.

[0071] Among them, the voltage division circuit is used to convert the high-voltage alternating current input to the input end of the detection circuit (equivalent to the flash interruption state detection circuit in the above embodiment) into low-voltage alternating current through voltage division resistors R1, R2, R3, R4, R5, and R6; the bias voltage circuit is used to increase the bias voltage at the positive end (i.e., the non-inverting input terminal of the operational amplifier or comparator) of the operation circuit after the alternating current input to the detection circuit is disconnected by the switch, so that the voltage at the positive end of the operation circuit is always higher than the voltage at the negative end (i.e., the inverting input terminal of the operational amplifier or comparator). Furthermore, when the switch (for example, a flash interruption switch or a self-returning switch) operates, the operation circuit can output a definite high level.

[0072] Optionally, the above operation circuit can be composed of an operational amplifier or a comparator. For example, Figure 10 in [figure number] is an operational amplifier. Among them, port 1 is the non-inverting input terminal of the operational amplifier, port 2 is the GND (ground) of the operational amplifier chip, port 3 is the inverting input terminal of the operational amplifier, port 4 is the output terminal of the operational amplifier, and port 5 is the power supply pin of the operational amplifier. During operation, when the positive end 1 of the operational amplifier or comparator is larger than the negative end 3, the output is a high level; when the positive end 1 of the operational amplifier or comparator is smaller than the negative end 3, the output is a low level. Figure 11 is the waveform schematic diagram of the output terminal corresponding to the input terminal waveform state of the flash interruption detection circuit of an alternative embodiment of the present invention in Figure 6 (the duration of the high level is higher than the preset value, and the flash interruption detection is normal).

[0073] Optionally, Figure 12 is the waveform schematic diagram output by the detection circuit of an alternative embodiment of the present invention under normal conditions; the flash interruption switch is normally closed, so a rectangular wave signal with the same frequency as the alternating current can be detected in the detection circuit; Figure 12 In [figure number], the upper part is the waveform of the alternating current, and the lower part in the figure is the waveform output by the detection circuit under normal conditions.

[0074] Optionally, Figure 13It is a schematic diagram of the waveforms at the input and output ends of the flash interruption detection circuit in an alternative embodiment of the present invention when a flash interruption occurs; when the flash interruption switch is pressed, the detection circuit will detect that the alternating current is disconnected, and the corresponding waveform of the alternating current tends to be a straight line. At this time, due to the fact that a bias voltage is connected to the live wire of the alternating current (i.e., the non-inverting terminal of the operational circuit) in the alternative embodiment of the present invention, the voltage at the non-inverting terminal of the operational circuit is higher than that at the inverting terminal, enabling the operational circuit to continuously output a high level; subsequently, when the processor detects a high level that exceeds the preset time and determines it as abnormal, it judges that it is a flash interruption signal; there are various processing methods for the processor; for example: when the period T of the rectangular wave is greater than T0; for example: through edge triggering, when it is found that no trigger signal arrives after exceeding T0, it can be judged as a flash interruption signal; after the processor judges a flash interruption signal, it will output a driving signal to the driving circuit to reverse the state of the load; for example, the light is on before the switch action and the light will go off after the switch; vice versa. The upper part of the figure shows the waveform of the alternating current, and the lower part of the figure shows the waveform output by the detection circuit during a flash interruption.

[0075] It should be noted that if the alternating current is 220V, after being divided by resistors R1, R3, R2, R4 and R5, R6; the voltage difference between the non-inverting terminal (i.e., the non-inverting input terminal in the embodiment of the present invention) and the inverting terminal (i.e., the inverting input terminal in the embodiment of the present invention) of the operational circuit U2 is:

[0076] [(R5 + R6) / (R1 + R2 + R3 + R4 + R5 + R6)] * Uinput; where Uinput is the input voltage, and here it takes the value of 220.

[0077] When working normally: when the alternating current is in the positive half cycle, the voltage at the non-inverting terminal of the operational circuit U2 is higher than that at the inverting terminal, and at this time the operational circuit U2 outputs a high level; when the alternating current is in the negative half cycle, the voltage at the inverting terminal of the operational circuit U2 is higher than that at the non-inverting terminal, and at this time the operational circuit U2 outputs a low level; for example, when the alternating current is 50Hz or 60Hz, the operational circuit U2 will output a rectangular wave signal of 50 or 60Hz;

[0078] When a flash interruption occurs: because the alternating current is disconnected, and the bias voltage comes into play at this time. Since the bias voltage is added to the non-inverting terminal at this time, the non-inverting terminal is higher than the inverting terminal, so the operational circuit U2 always outputs a high level; until the switch is turned on and the alternating current resumes, at this time the operational circuit U2 will output a rectangular wave again.

[0079] As an alternative embodiment, Figure 14 It is a circuit schematic diagram of another flash interruption detection circuit in an alternative embodiment of the present invention, which is different from the above embodiment in that a different voltage division circuit module is adopted; U2 is an operational amplifier or a comparator.

[0080] Optionally, when the alternating current is 220V, a low-voltage alternating voltage is generated after passing through the T1 transformer (100:1); after being divided by the resistors R3, R4 and R5, R6; the voltage difference between the non-inverting terminal and the inverting terminal of U2 is: [(R5 + R6) / (R3 + R4 + R5 + R6)] * Uinput2; where Uinput2 is the output voltage of the transformer, and here the value is 2.2.

[0081] When working normally: when the alternating current is in the positive half cycle, the voltage of the non-inverting terminal of U2 is higher than that of the inverting terminal, and at this time the output of U2 is high level; when the alternating current is in the negative half cycle, the voltage of the inverting terminal of U2 is higher than that of the non-inverting terminal, and at this time the output of U2 is low level; because the alternating current is 50Hz or 60Hz, U2 will output a rectangular wave signal of 50 or 60Hz;

[0082] When a flash interruption occurs: because the alternating current is disconnected, and the bias voltage acts at this time. Since the bias voltage is applied to the non-inverting terminal at this time, the non-inverting terminal is higher than the inverting terminal, so U2 always outputs a high level; until the switch is turned on and the alternating current resumes, U2 will output a rectangular wave again;

[0083] Through the above embodiments, the flash interruption of the AC power supply is detected in real time and accurately by the detection circuit, and the above flash interruption state detection circuit will not be affected by the excessive drop time of the live wire voltage caused by capacitors, etc., and the flash interruption detection accuracy is high. By adopting the above technical solution, the problems in the related art that the flash interruption detection method is prone to failure and the accuracy is low are solved. Through the embodiments of the present invention, the accuracy of the flash interruption detection of the circuit in different states can be realized, and the occurrence of flash interruption detection failure can be reduced. In addition, when the above circuit exists in the corresponding circuit system, it will not be affected by the excessive drop time of the live wire voltage caused by capacitors, etc., and the flash interruption detection accuracy is high, avoiding the occurrence of flash interruption detection failure caused by the slow drop of the analog signal of the live wire voltage.

[0084] Figure 15 is a flowchart of the flash interruption state detection method according to an embodiment of the present invention; as Figure 15 shown, it includes:

[0085] Step S1502: Determine the digital signal output by the flash interruption state detection circuit based on the live wire voltage and the neutral wire voltage corresponding to the AC power supply. Among them, the digital signal is a level signal output by the arithmetic circuit in the flash interruption state detection circuit by comparing the first input voltage at the non-inverting input terminal with the second input voltage at the inverting input terminal. When there is a first bias voltage at the non-inverting input terminal, the first input voltage includes at least one of the following: the live wire voltage corresponding to the second AC voltage after being processed by the flash interruption state detection circuit, the first bias voltage, and the second input voltage is the neutral wire voltage corresponding to the second AC voltage; when there is a first bias voltage at the inverting input terminal, the first input voltage is the live wire voltage corresponding to the second AC voltage after being processed by the flash interruption state detection circuit, and the second input voltage includes at least one of the following: the neutral wire voltage corresponding to the second AC voltage, the first bias voltage;

[0086] Step S1504: Determine whether the AC power supply has a flash interruption through the digital signal.

[0087] Through the above steps, determine the digital signal output by the flash interruption state detection circuit based on the live wire voltage and the neutral wire voltage corresponding to the AC power supply. Among them, the digital signal is a level signal output by the arithmetic circuit in the flash interruption state detection circuit by comparing the first input voltage at the non-inverting input terminal with the second input voltage at the inverting input terminal. When there is a first bias voltage at the non-inverting input terminal, the first input voltage includes at least one of the following: the live wire voltage corresponding to the second AC voltage after being processed by the flash interruption state detection circuit, the first bias voltage, and the second input voltage is the neutral wire voltage corresponding to the second AC voltage; when there is a first bias voltage at the inverting input terminal, the first input voltage is the live wire voltage corresponding to the second AC voltage after being processed by the flash interruption state detection circuit, and the second input voltage includes at least one of the following: the neutral wire voltage corresponding to the second AC voltage, the first bias voltage; Determine whether the AC power supply has a flash interruption through the digital signal. That is, the flash interruption state detection circuit performs real-time and accurate flash interruption detection on the flash interruption situation of the AC power supply, and the above flash interruption state detection circuit will not be affected by the too long drop time of the live wire voltage caused by capacitors, etc., and the flash interruption detection accuracy is high. By adopting the above technical solution, the problems in the related art that the flash interruption detection method is prone to failure and has low accuracy are solved. Through the embodiments of the present invention, the accuracy of the flash interruption detection of the circuit in different states can be realized, and the occurrence of flash interruption detection failure can be reduced.

[0088] In an exemplary embodiment, the digital signal is determined as follows: when the first input voltage is greater than or equal to the second input voltage, it is determined that the digital signal output by the flash-off state detection circuit is at a high level; when the first input voltage is less than the second input voltage, it is determined that the digital signal output by the flash-off state detection circuit is at a low level.

[0089] For example, during normal operation: when the alternating current is in the positive half-cycle, the input voltage at the non-inverting terminal of the operational circuit is higher than that at the inverting terminal, and at this time, the output of the operational circuit is at a high level; when the alternating current is in the negative half-cycle, the input voltage at the inverting terminal of the operational circuit is higher than that at the non-inverting terminal, and at this time, the output of the operational circuit is at a low level; for example, when the alternating current is 50 Hz or 60 Hz, the operational circuit outputs a rectangular wave signal of 50 or 60 Hz; when a flash-off occurs: because the alternating current is disconnected and the bias voltage comes into play at this time, since the bias voltage is applied to the non-inverting input terminal at this time, the non-inverting terminal is higher than the inverting terminal, so the operational circuit always outputs a high level; until the switch is turned on and the alternating current resumes, at this time, the operational circuit will output a rectangular wave again.

[0090] It should be noted that the above bias voltage can also be applied to the inverting input terminal, thereby making the non-inverting terminal lower than the inverting terminal, so the operational circuit always outputs a low level; until the switch is turned on and the alternating current resumes, at this time, the operational circuit will output a rectangular wave again.

[0091] In an exemplary embodiment, determining whether the AC power supply has a flash-off through the digital signal includes at least one of the following: when there are two adjacent change cycles in the digital signal with the same corresponding levels, it is determined that the AC power supply has a flash-off; when the digital signal is at a high level and the duration of the high level is greater than a preset time, it is determined that the AC power supply has a flash-off; when the digital signal is at a low level and the duration of the low level is greater than a preset time, it is determined that the AC power supply has a flash-off.

[0092] As an alternative embodiment, taking the case where a bias voltage is applied to the live wire of the alternating current as an example, when the processor determines that the voltage signal is at a high or low level with the same frequency as the mains power, it indicates that the power supply is normal; when the processor determines that the voltage signal is at a continuous high level and the duration exceeds a preset time, it indicates that a power flash has occurred. That is, when the switch in the circuit is in a normally closed state, before the switch operates, since the circuit is connected to the common mains voltage, therefore, the frequency of the level signal output by the flash detection circuit under normal circuit conditions is the same as that of the mains power. Subsequently, when the switch operates, the flash detection circuit will detect that the alternating current is disconnected, and 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, it indicates that a power flash has occurred at this time. Further, the micro-control unit in the processor generates a drive signal according to the situation of the flash, so as to control the state of the load.

[0093] In an exemplary embodiment, after determining whether a flash has occurred in the AC power supply through the level signal, the method further includes: in the case where a flash occurs in the AC power supply, adjusting the state of the load according to the flash occurrence period; when the load is in an operating state and it is determined that a flash has occurred in the AC power supply, adjusting the operating state of the load from the operating state to a non-operating state according to the drive signal corresponding to the level signal; when the load is in a non-operating state and it is determined that a flash has occurred in the AC power supply, adjusting the operating state of the load from the non-operating state to an operating state according to the drive signal corresponding to the level signal.

[0094] It can be understood that when the processor determines a flash signal, it will output a drive signal to the drive circuit to reverse the state of the load; for example: in the case where the load in the working circuit is a lamp, the lamp is on before the switch in the AC power supply operates. The flash operation after the switch operates is determined by the flash detection circuit, and a corresponding waveform diagram is output. Then, the processor outputs a drive signal to control the drive circuit according to the obtained waveform diagram. The drive circuit controls the display of the lamp according to the drive signal. When the lamp is on before the flash operation, the lamp will turn off after the flash operation; vice versa, when the lamp is off before the switch operates and a flash operation occurs after the switch operates, the lamp will turn on.

[0095] Figure 16 is a flowchart of a control method for an electronic device according to an embodiment of the present invention; as Figure 16 shown, it includes:

[0096] Step S1602: Support the electronic device to be in a continuous online state based on the flash interruption state detection method, where the continuous online state is to ensure the power supply of the signal receiving and processing circuit of the electronic device through the flash interruption state detection circuit when the AC power supply has a flash interruption.

[0097] Step S1604: When it is determined that the electronic device is in the continuous online state, perform remote control of the electronic device through the signal receiving and processing circuit.

[0098] It should be noted that through the above method, even when the electronic device has a flash interruption, resulting in the load being powered off, the signal receiving and processing circuit for remote control in the electronic device can still operate normally, enabling the electronic device to effectively respond to the remote control sent by the control terminal, solving the problems in the related art that the flash interruption detection method is prone to failure and has low accuracy. Through the above embodiments, while achieving the accuracy of flash interruption detection for circuits in different states, the occurrence of flash interruption detection failure can be reduced through the participation of remote control, thereby ensuring the safe and effective operation of the electronic device.

[0099] Through the description of the above embodiments, those skilled in the art can clearly understand that the method according to the above embodiments can be implemented by means of software plus a necessary general hardware platform. Of course, it can also be implemented by hardware, but in many cases, the former is a better implementation method. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) and includes several instructions for causing a terminal device (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods of the various embodiments of the present invention.

[0100] The embodiment of the present invention also provides a storage medium, which includes a stored program, where the above program executes the method of any one of the above when running.

[0101] Optionally, in this embodiment, the above storage medium can be set to store program codes for executing the following steps:

[0102] S1. Determine the digital signal output by the flash interruption state detection circuit based on the live wire voltage and the neutral wire voltage corresponding to the AC power supply. Among them, the digital signal is a level signal output by an operational circuit in the flash interruption state detection circuit by comparing a first input voltage at the non-inverting input terminal with a second input voltage at the inverting input terminal. When there is a first bias voltage at the non-inverting input terminal, the first input voltage includes at least one of the following: the live wire voltage corresponding to the second AC voltage processed by the flash interruption state detection circuit, the first bias voltage, and the second input voltage is the neutral wire voltage corresponding to the second AC voltage; when there is a first bias voltage at the inverting input terminal, the first input voltage is the live wire voltage corresponding to the second AC voltage processed by the flash interruption state detection circuit, and the second input voltage includes at least one of the following: the neutral wire voltage corresponding to the second AC voltage, the first bias voltage;

[0103] S2. Determine whether the AC power supply has a flash interruption based on the digital signal.

[0104] An embodiment of the present invention further provides an electronic device, including a memory and a processor. A computer program is stored in the memory, and the processor is configured to run the computer program to execute the steps in any one of the above method embodiments.

[0105] Optionally, the above electronic device may further include a transmission device and an input / output device. Among them, the transmission device is connected to the above processor, and the input / output device is connected to the above processor.

[0106] Optionally, in this embodiment, the above processor may be configured to execute the following steps through a computer program:

[0107] S1. Determine the digital signal output by the flash interruption state detection circuit based on the live wire voltage and the neutral wire voltage corresponding to the AC power supply. Among them, the digital signal is a level signal output by an operational circuit in the flash interruption state detection circuit by comparing a first input voltage at the non-inverting input terminal with a second input voltage at the inverting input terminal. When there is a first bias voltage at the non-inverting input terminal, the first input voltage includes at least one of the following: the live wire voltage corresponding to the second AC voltage processed by the flash interruption state detection circuit, the first bias voltage, and the second input voltage is the neutral wire voltage corresponding to the second AC voltage; when there is a first bias voltage at the inverting input terminal, the first input voltage is the live wire voltage corresponding to the second AC voltage processed by the flash interruption state detection circuit, and the second input voltage includes at least one of the following: the neutral wire voltage corresponding to the second AC voltage, the first bias voltage;

[0108] S2. Determine whether the AC power supply has a flash interruption based on the digital signal.

[0109] Optionally, in this embodiment, the above storage medium may include, but is not limited to: various media that can store program codes such as USB flash drives, read-only memories (ROM), random access memories (RAM), mobile hard disks, magnetic disks, or optical discs.

[0110] Optionally, specific examples in this embodiment may refer to the examples described in the above embodiments and optional implementation manners, and will not be elaborated herein.

[0111] Obviously, those skilled in the art should understand that the above modules or steps of the present invention can be implemented by a general-purpose computing device. They can be concentrated on a single computing device or distributed on a network composed of multiple computing devices. Optionally, they can be implemented by program codes executable by the computing device, so that they can be stored in a storage device and executed by the computing device. And in some cases, the steps shown or described can be executed in a different order from here, or they can be separately fabricated into individual integrated circuit modules, or multiple modules or steps among them can be fabricated into a single integrated circuit module to be implemented. Thus, the present invention is not limited to any specific combination of hardware and software.

[0112] The above are only the preferred embodiments of the present invention and are not used to limit the present invention. For those skilled in the art, the present invention can have various changes and modifications. Any modification, equivalent replacement, improvement, etc. made within the principle of the present invention shall be included in the protection scope of the present invention.

Claims

1. A flash break state detection circuit, characterized in that, Including: A voltage dividing circuit, an operational circuit, and a bias voltage circuit; The voltage dividing circuit is respectively connected to an AC power supply and the operational circuit, and is configured to convert a first AC voltage provided by the AC power supply into a second AC voltage, and load the second AC voltage on the non-inverting input terminal and the inverting input terminal of the operational circuit; The bias voltage circuit is connected to the operational circuit, and is configured to provide a first bias voltage for the non-inverting input terminal or the inverting input terminal of the operational circuit when the second AC voltage is zero; The operational circuit is connected to the voltage dividing circuit, and is configured to compare the magnitudes of a first input voltage at the non-inverting input terminal and a second input voltage at the inverting input terminal, and output a level signal according to the comparison result. Wherein, when the first bias voltage is input from the non-inverting input terminal, the first input voltage is one of the following: the live wire voltage corresponding to the second AC voltage, the first bias voltage, and the second input voltage is the neutral wire voltage corresponding to the second AC voltage; when the first bias voltage is input from the inverting input terminal, the first input voltage is the live wire voltage corresponding to the second AC voltage, and the second input voltage is one of the following: the neutral wire voltage corresponding to the second AC voltage, the first bias voltage; the level signal is used to determine whether the AC power supply has a flash interruption.

2. The flash break state detection circuit according to claim 1, wherein The voltage dividing circuit includes: At least two first control circuits, and the at least two first control circuits are both connected to the output terminal of the AC power supply. One of the at least two first control circuits is connected to the non-inverting input terminal of the operational circuit, and at least one of the other at least two first control circuits is connected to the inverting input terminal of the operational circuit; wherein, the at least two first control circuits are configured to convert the first AC voltage provided by the AC power supply into a second AC voltage.

3. The flash break state detection circuit according to claim 1, characterized in that, The bias voltage circuit includes: A configured power supply, connected in series with a third control circuit, and configured to provide a third voltage for the voltage dividing circuit; The third control circuit is configured to divide the third voltage, and determine the first bias voltage loaded on the operational circuit when the second AC voltage output by the voltage dividing circuit is zero.

4. The flash break state detection circuit according to claim 1, characterized in that, The AC power supply includes: A target power supply, a first capacitor connected in parallel with the target power supply, and a switch connected in series between the target power supply and the voltage dividing circuit; wherein, the switch is configured to control the first AC voltage loaded on the voltage dividing circuit.

5. An electronic device, characterized in that, Including the flash interruption state detection circuit according to any one of claims 1 to 4.

6. The electronic device according to claim 5, characterized in that, The electronic device further includes: a signal receiving and processing circuit, and the signal receiving and processing circuit at least includes: a processor and a driving circuit; The processor is configured to determine that the AC power supply has a flash interruption when the duration corresponding to the high level in the level signal output by the flash interruption state detection circuit is greater than a preset time, generate a drive signal corresponding to the flash interruption, and send the drive signal to the drive circuit through a preset communication method. The processor is sequentially connected to the second control circuit and the output end of the flash interruption state detection circuit. The level signal includes: a high level and a low level; The drive circuit is connected in series with the processor and is configured to control a load connected in series with the drive circuit according to the drive signal sent by the processor.

7. The electronic device according to claim 6, wherein: The signal receiving and processing circuit further includes: a communication circuit. The communication circuit is connected in series with the processor and is configured to establish a communication channel between the drive circuit and the processor according to a preset communication method, so as to send the drive signal existing in the processor to the drive circuit through the communication channel.

8. A flash state detection method applied to the flash state detection circuit as described in claim 1, characterized in that, Comprising: Determine the digital signal output by the flash interruption state detection circuit according to the live wire voltage and the neutral wire voltage corresponding to the AC power supply. The digital signal is a level signal output by an arithmetic circuit in the flash interruption state detection circuit by comparing a first input voltage at the non-inverting input terminal with a second input voltage at the inverting input terminal. When there is a first bias voltage at the non-inverting input terminal, the first input voltage includes at least one of the following: the live wire voltage corresponding to the second AC voltage processed by the flash interruption state detection circuit, the first bias voltage, and the second input voltage is the neutral wire voltage corresponding to the second AC voltage; When there is a first bias voltage at the inverting input terminal, the first input voltage is the live wire voltage corresponding to the second AC voltage processed by the flash interruption state detection circuit, and the second input voltage includes at least one of the following: the neutral wire voltage corresponding to the second AC voltage, the first bias voltage; Determine whether the AC power supply has a flash interruption through the digital signal.

9. The flash interruption state detection method according to claim 8, characterized in that, The digital signal is determined by the following method: When the first input voltage is greater than or equal to the second input voltage, it is determined that the digital signal output by the flash interruption state detection circuit is a high level; When the first input voltage is less than the second input voltage, it is determined that the digital signal output by the flash interruption state detection circuit is a low level.

10. The flash interruption state detection method according to claim 8, wherein Determining whether the AC power supply has a flash interruption through the digital signal includes at least one of the following: When there are two adjacent change cycles in the digital signal with the same corresponding level, it is determined that the AC power supply has a flash interruption; When the digital signal is a high level and the duration of the high level is greater than a preset time, it is determined that the AC power supply has a flash interruption; When the digital signal is a low level and the duration of the low level is greater than a preset time, it is determined that the AC power supply has a flash interruption.

11. A control method for an electronic device applying the flash interruption state detection method according to any one of claims 8 to 10, characterized in that, Comprising: Based on the flash interruption state detection method, the electronic device is supported to be in a continuous online state, where the continuous online state is to ensure the power supply of the signal receiving and processing circuit of the electronic device in the case of flash interruption of the AC power supply through the flash interruption state detection circuit; When it is determined that the electronic device is in the continuous online state, remote control of the electronic device is performed through the signal receiving and processing circuit.

Citation Information

Patent Citations

  • Fault detection device and method

    CN102890210A

  • Insulation impedance detection circuit and insulation impedance detection method for vehicle-mounted charger

    CN111413545A