An intelligent lighting control system and its flash switch detection circuit

By designing a flash switch detection circuit, using the AD conversion function of the rectifier filter circuit and control circuit to analyze voltage changes, and identify the switch action of the flash switch, it solves the problem that smart electrical equipment cannot receive WIFI control instructions, and realizes the effectiveness of smart lamps Working status regulation.

CN109842985BActive Publication Date: 2024-12-03QINGDAO YEELINK INFORMATION TECH
View PDF 13 Cites 0 Cited by

Patent Information

Application Number
CN201910319572.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2018-04-26
Filing Date
2019-04-19
Publication Date
2024-12-03
Estimated Expiration
2039-04-19

AI Technical Summary

Technical Problem

The prior art lacks simple and practical detection circuits to detect the switch action of the flash switch, which causes the smart electrical equipment to be unable to effectively receive WIFI control instructions, affecting the working status of the smart lamp.

Method used

A flash switch detection circuit including a rectifying filter circuit, a detection circuit, a DC-DC converter and a control circuit is designed. By sampling the DC bus voltage output by the rectifying filter circuit, the voltage changes are analyzed using the AD conversion function of the control circuit. , judge the switch state of the flash switch, and generate corresponding detection signals to adjust the working state of the smart lamp.

Benefits of technology

Effectively identify the switch action of the flash switch, ensure that the smart light can receive WIFI control instructions, realize the control of the working status of the smart light, and solve the problem that smart electrical equipment cannot receive instructions due to power outage.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN109842985B_ABST
    Figure CN109842985B_ABST
Patent Text Reader

Abstract

The present application discloses a flash switch detection circuit, comprising: an input end of a rectifier and filter circuit is used to connect to an AC power source through a flash switch, an output end of the rectifier and filter circuit is connected to both the input end of the detection circuit and the input end of a DC-DC converter, and is used to rectify and filter the input AC power to output a DC bus voltage; the output end of the detection circuit is connected to the first AD input end of the control circuit, and is used to sample the DC bus voltage to detect the switching action of the flash switch, and to generate and output a flash detection signal to the control circuit; the output end of the DC-DC converter is connected to the power supply end of the control circuit, and is used to supply power to the control circuit; the control circuit is used to determine the switching state of the flash switch according to the flash detection signal. The present application can effectively determine the switching state of the flash switch, so as to regulate the working state of the electrical equipment. The present application also discloses an intelligent lighting control system, which also has the above-mentioned beneficial effects.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of circuit switches, and in particular to an intelligent lighting control system and a flash switch detection circuit thereof. Background Art

[0002] Traditional wall switches will completely cut off the power supply to electrical equipment when in the off state, which is not conducive to the application of smart electrical equipment (such as smart lights) that supports WIFI remote control, as such smart electrical equipment cannot receive WIFI control instructions and make corresponding adjustments due to power outages. A flash switch is a switch that will only cause a flash circuit to be disconnected when pressed, but will not cut off the power supply to the circuit all the time. It will only cause the circuit to temporarily lose power or the voltage to drop, and then the circuit voltage will return to the state before being touched. However, the prior art lacks an effective, simple and practical detection circuit to detect the switching action of the flash switch. In view of this, it is urgently needed for those skilled in the art to provide a solution to the above technical problems. Summary of the invention

[0003] The purpose of the present application is to provide an intelligent lighting control system and a flash switch detection circuit thereof, so as to detect the switching action of the flash switch through voltage changes, and then adjust the working state of the intelligent lamp.

[0004] To solve the above technical problems, in a first aspect, the present application discloses a flash switch detection circuit, including a rectifier filter circuit, a detection circuit, a DC-DC converter and a control circuit;

[0005] The input end of the rectifier and filter circuit is used to be connected to an AC power source through a flash switch, and the output end of the rectifier and filter circuit is connected to both the input end of the detection circuit and the input end of the DC-DC converter, and is used to rectify and filter the input AC power to output a DC bus voltage;

[0006] The output end of the detection circuit is connected to the first AD input end of the control circuit, and is used to sample the DC bus voltage to detect the switching action of the flash switch, and generate and output a flash detection signal to the control circuit;

[0007] The output end of the DC-DC converter is connected to the power supply end of the control circuit, and is used to supply power to the control circuit;

[0008] The control circuit is used to determine the switch state of the flash switch according to the flash detection signal.

[0009] Optionally, the detection circuit includes a first resistor and a second resistor;

[0010] One end of the first resistor is connected to the output end of the rectifier and filter circuit, and the other end is respectively connected to one end of the second resistor and the first AD input end of the control circuit; the other end of the second resistor is grounded.

[0011] Optionally, the detection circuit further includes a first capacitor connected in parallel with the second resistor.

[0012] Optionally, further comprising a distinguishing circuit;

[0013] The input end of the differentiation circuit is connected to the output end of the rectifier and filter circuit, and the output end of the differentiation circuit is connected to the second AD input end of the control circuit, and is used to perform delayed sampling of the DC bus voltage to detect power failure of the AC power, generate and output a power failure detection signal to the control circuit, and the control circuit distinguishes between flash and power failure of the AC power.

[0014] Optionally, the distinguishing circuit includes a diode, a third resistor, a fourth resistor and a second capacitor;

[0015] The anode of the diode is connected to the output end of the rectifier and filter circuit, and the cathode is connected to one end of the third resistor; the other end of the third resistor is respectively connected to one end of the fourth resistor, one end of the second capacitor, and the second AD input end of the control circuit; the other end of the fourth resistor and the other end of the second capacitor are both grounded.

[0016] Optionally, further comprising a distinguishing circuit;

[0017] The input end of the differentiation circuit is connected to the output end of the DC-DC converter, and the output end of the differentiation circuit is connected to the second AD input end of the control circuit, and is used to perform delayed sampling of the DC bus voltage to detect power failure of the AC power, generate and output a power failure detection signal to the control circuit, and the control circuit distinguishes between flash and power failure of the AC power.

[0018] Optionally, the distinguishing circuit includes a third resistor, a fourth resistor and a second capacitor;

[0019] One end of the third resistor is connected to the output end of the DC-DC converter, and the other end is respectively connected to one end of the fourth resistor, one end of the second capacitor, and the second input end of the control circuit; the other end of the fourth resistor and the other end of the second capacitor are both grounded.

[0020] Optionally, the capacitance of the second capacitor is greater than the capacitance of the first capacitor.

[0021] In a second aspect, the present application further discloses an intelligent lighting control system including a flash switch, a drive circuit, a light group, and any of the flash switch detection circuits described above;

[0022] The input end of the flash switch detection circuit is connected to the AC power supply through the flash switch; the power supply end of the drive circuit is connected to the output end of the rectifier and filter circuit, the input end of the drive circuit is connected to the output end of the control circuit, and the output end of the drive circuit is connected to the input end of the lamp group, for driving the lamp group according to the control instructions sent by the control circuit.

[0023] Optionally, the input end of the driving circuit is communicatively connected to the output end of the control circuit via a wireless communication unit; the driving circuit is specifically used to adjust the working state of the lamp group according to the wireless control instruction sent by the control circuit.

[0024] The flash switch detection circuit provided in the present application includes a rectifier and filter circuit, a detection circuit, a DC-DC converter and a control circuit; the input end of the rectifier and filter circuit is used to connect to an AC power supply through a flash switch, and the output end of the rectifier and filter circuit is connected to both the input end of the detection circuit and the input end of the DC-DC converter, and is used to rectify and filter the input AC power to output a DC bus voltage; the output end of the detection circuit is connected to the first AD input end of the control circuit, and is used to sample the DC bus voltage to detect the switching action of the flash switch, and generate and output a flash detection signal to the control circuit; the output end of the DC-DC converter is connected to the power supply end of the control circuit, and is used to supply power to the control circuit; the control circuit is used to determine the switching state of the flash switch according to the flash detection signal.

[0025] It can be seen that the flash switch detection circuit provided by the present application, according to the voltage drop and recovery phenomenon during the flash switch flashing process, uses the detection circuit to sample the DC bus voltage output by the rectifier filter circuit, and uses the AD conversion function of the control circuit to analyze the voltage size, which can effectively determine the switching state of the flash switch and identify the switching action of the flash switch, so as to regulate the working state of the electrical equipment based on the switching action of the flash switch. The intelligent lighting control system provided by the present application includes the above-mentioned flash switch detection circuit, which also has the above-mentioned beneficial effects. BRIEF DESCRIPTION OF THE DRAWINGS

[0026] In order to more clearly illustrate the technical solutions in the prior art and the embodiments of the present application, the drawings required for use in the description of the prior art and the embodiments of the present application are briefly introduced below. Of course, the drawings described below in relation to the embodiments of the present application are only part of the embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without creative work, and the obtained other drawings also belong to the protection scope of the present application.

[0027] Figure 1 A circuit module diagram of a flash switch detection circuit disclosed in the present application;

[0028] Figure 2 A circuit structure diagram of a detection circuit disclosed in this application;

[0029] Figure 3 A circuit module diagram of another flash switch detection circuit disclosed in the present application;

[0030] Figure 4 Disclosed for this application Figure 3 A circuit structure diagram of a distinguishing circuit in;

[0031] Figure 5 A circuit module diagram of another flash switch detection circuit disclosed in the present application;

[0032] Figure 6 Disclosed for this application Figure 5 A circuit structure diagram of a distinguishing circuit in;

[0033] Figure 7 This is a circuit module diagram of an intelligent lighting control system disclosed in this application. DETAILED DESCRIPTION

[0034] The core of the present application is to provide an intelligent lighting control system and a flash switch detection circuit thereof, so as to detect the switching action of the flash switch through voltage changes, and then adjust the working state of the intelligent light.

[0035] In order to describe the technical solutions in the embodiments of the present application more clearly and completely, the technical solutions in the embodiments of the present application will be introduced below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.

[0036] As mentioned above, a flash switch can be a circuit switch that only causes the circuit to flash for a moment after being pressed, and then restores. Specifically, a switching action performed by the flash switch will perform two states, causing two switching of the circuit's on and off states: that is, when the flash switch is pressed, the circuit switches from the on state to the off state, causing the voltage to drop or power off; and when the pressing ends, that is, the flash switch is released, the circuit switches to the on state, allowing the voltage to rise and recover. Alternatively, an automatic timed rebound structure may be provided inside the flash switch, which automatically restores the circuit to the on state after the circuit disconnection time reaches a preset fixed time length. Since the entire process of circuit disconnection and conduction is short, the flash switch will cause the circuit to flash once after each time it is pressed.

[0037] See also Figure 1 As shown, the embodiment of the present application discloses a flash switch detection circuit, which mainly includes a rectifier filter circuit, a detection circuit, a DC-DC converter and a control circuit;

[0038] The input end of the rectifier and filter circuit is used to connect to the AC power supply through the flash switch, and the output end of the rectifier and filter circuit is connected to the input end of the detection circuit and the input end of the DC-DC converter, and is used to rectify and filter the input AC power to output the DC bus voltage; the output end of the detection circuit is connected to the first AD input end of the control circuit, and is used to sample the DC bus voltage to detect the switching action of the flash switch, generate and output the flash detection signal to the control circuit; the output end of the DC-DC converter is connected to the power supply end of the control circuit, and is used to supply power to the control circuit; the control circuit is used to determine the switching state of the flash switch according to the flash detection signal.

[0039] Specifically, the flash switch can control the connection and disconnection of AC power: when the flash switch is pressed, the flash switch is disconnected and the AC power is disconnected; after the flash, the flash switch is automatically closed and the AC power is reconnected. The rectifier and filter circuit includes a rectifier circuit and a filter circuit, which rectifies and filters the AC power input through the flash switch, wherein the DC pulsating voltage obtained after rectification contains a DC voltage component and an AC voltage component, and the AC voltage component can be filtered out by filtering to obtain a DC bus voltage with stable voltage. Generally, if the input AC power is 220V mains power, the DC bus voltage is 310V.

[0040] Generally speaking, the DC bus voltage is relatively high and is not suitable for directly powering the control circuit. Therefore, a DC-DC converter is required to convert the DC bus voltage to obtain a lower and more stable supply voltage to power the control circuit.

[0041] The control circuit includes a microprocessor or a related electronic device integrated with a microprocessor, and has an AD conversion function; the microprocessor includes an MCU or a DSP, etc. In particular, the control circuit may also include a wireless module, so that after detecting the switching action of the flash switch, a wireless control instruction for adjusting the working state of the smart lamp is sent through the wireless module. The detection circuit samples and monitors the DC bus voltage, and inputs the sampling signal, i.e., the flash detection signal, to the first AD input terminal of the control circuit. By performing AD conversion and analysis on the flash detection signal, the control circuit can obtain the switching state of the flash switch and determine the switching action of the flash switch.

[0042] The detection circuit samples and monitors the DC bus voltage output by the rectifier and filter circuit, and outputs the flash detection signal to the control circuit. The voltage of the flash detection signal is directly related to the DC bus voltage. When the flash switch is pressed and the AC power is cut off, the DC bus voltage will drop, and accordingly, the voltage of the flash detection signal will also drop; when the AC power is reconnected after the flash, the DC bus voltage will rise, and accordingly, the voltage of the flash detection signal will also rise. Therefore, the switching state of the flash switch can be obtained based on the voltage change of the flash detection signal, and the switching action of the flash switch can be detected.

[0043] The flash switch detection circuit provided in the present application includes an input end of a rectifier and filter circuit for connecting to an AC power source through a flash switch, an output end of the rectifier and filter circuit connected to both the input end of the detection circuit and the input end of a DC-DC converter, for rectifying and filtering the input AC power to output a DC bus voltage; an output end of the detection circuit connected to a first AD input end of a control circuit, for sampling the DC bus voltage to detect the switching action of the flash switch, generating and outputting a flash detection signal to the control circuit; an output end of the DC-DC converter connected to a power supply end of the control circuit, for supplying power to the control circuit; and a control circuit for determining the switching state of the flash switch according to the flash detection signal. It can be seen that the flash switch detection circuit provided in the present application, according to the voltage drop and recovery phenomenon during the flashing process of the flash switch, uses the detection circuit to sample the DC bus voltage output by the rectifier and filter circuit, and uses the AD conversion function of the control circuit to perform voltage size analysis, which can effectively determine the switching state of the flash switch and identify the switching action of the flash switch, so as to regulate the working state of the electrical equipment based on the switching action of the flash switch.

[0044] See also Figure 2 As shown, the embodiment of the present application discloses a circuit structure of a detection circuit. Figure 1On the basis of, the detection circuit includes a first resistor R1 and a second resistor R2; one end of the first resistor R1 is connected to the output end of the rectifier and filter circuit, and the other end is respectively connected to one end of the second resistor R2 and the first AD input end of the control circuit; the other end of the second resistor R2 is grounded.

[0045] Specifically, the detection circuit in this embodiment uses a simple and low-cost resistor voltage divider circuit to detect the DC bus voltage. It is easy to understand that the output flash detection signal is the voltage across the second resistor R2, and those skilled in the art can reasonably set the resistance value according to actual application needs.

[0046] Furthermore, the detection circuit may further include a first capacitor C1 connected in parallel at both ends of the second resistor R2, so as to reduce voltage ripples and improve detection accuracy by utilizing the filtering effect of the first capacitor C1. It should be noted that the capacitance of the first capacitor C1 should not be too large, so as to avoid the discharge phenomenon of the first capacitor C1 affecting the accuracy of voltage detection. For example, the first capacitor C1 can be specifically set to 100nF.

[0047] In fact, the flash detection signal directly reflects the power failure of the AC power input into the circuit. In the above content, the control circuit identifies the AC power failure according to the voltage change of the flash detection signal, and then regards it as the switching action of the flash switch. However, in actual use, the long-term power failure of the power grid will interfere with the switching action detection of the flash switch. Therefore, the relevant circuit can be added to distinguish the two, so as to further improve the accuracy of the detection result.

[0048] See also Figure 3 As shown, the embodiment of the present application discloses another flash switch detection circuit, including a rectifier filter circuit, a detection circuit, a DC-DC converter, a control circuit and a distinguishing circuit;

[0049] The input end of the rectifier and filter circuit is used to connect to the AC power supply through the flash switch, and the output end of the rectifier and filter circuit is connected to the input end of the detection circuit and the input end of the DC-DC converter, and is used to rectify and filter the input AC power to output the DC bus voltage; the output end of the detection circuit is connected to the first AD input end of the control circuit, and is used to sample the DC bus voltage to detect the switching action of the flash switch, generate and output the flash detection signal to the control circuit; the output end of the DC-DC converter is connected to the power supply end of the control circuit, and is used to supply power to the control circuit; the control circuit is used to determine the switching state of the flash switch according to the flash detection signal; the input end of the distinguishing circuit is connected to the output end of the rectifier and filter circuit, and the output end of the distinguishing circuit is connected to the second AD input end of the control circuit, and is used to delay sampling of the DC bus voltage to detect power failure of the AC power, generate and output the power failure detection signal to the control circuit, and the control circuit distinguishes between flash failure and power failure of the AC power.

[0050] Specifically, the present embodiment is also provided with a differentiation circuit, which identifies long-term power outages in the power grid by performing delayed sampling on the DC bus voltage output by the rectifier and filter circuit, and outputs the delayed sampling signal, i.e., the power outage detection signal, to the second AD input terminal of the control circuit, and the control circuit performs AD conversion and voltage magnitude analysis, so that the control circuit can distinguish the long-term power outages in the power grid from short-term power outages, i.e., AC flash-off phenomena, caused by the switching action of the flash-off switch.

[0051] Therefore, when the flash switch performs a switching action and causes the AC power to flash, or when the power grid is disconnected for a long time, the detection circuit will output a corresponding flash detection signal to the control circuit for the control circuit to identify. On this basis, the distinguishing circuit for delayed sampling will output a corresponding power failure detection signal to the control circuit according to the length of the circuit disconnection time, so that the control circuit can distinguish between the AC flash caused by the flash switch and the long power failure of the power grid.

[0052] See also Figure 4 As shown, the embodiment of the present application discloses Figure 3 A circuit structure of a differentiation circuit in; the differentiation circuit includes a diode D, a third resistor R3, a fourth resistor R4 and a second capacitor C2; the anode of the diode D is connected to the output end of the rectifier and filter circuit, and the cathode is connected to one end of the third resistor R3; the other end of the third resistor R3 is respectively connected to one end of the fourth resistor R4, one end of the second capacitor C2 and the second AD input end of the control circuit; the other end of the fourth resistor R4 and the other end of the second capacitor C2 are both grounded.

[0053] Specifically, the discrimination circuit in this embodiment uses a circuit composed of resistors and capacitors to perform delayed sampling detection on the DC bus voltage, which not only has a simple circuit structure but also has low cost. It should be noted that the capacitance of the second capacitor C2 is greater than the capacitance of the first capacitor C1. Specifically, the second capacitor C2 is a large capacitance capacitor, for example, it can be in the order of μF or even in the order of F. Since the capacitance of the second capacitor C2 is large, its discharge phenomenon is significant after the AC power is cut off. Compared with the DC bus voltage, the power-off detection signal output by the discrimination circuit drops more slowly, and the drop rate can be adjusted by reasonably setting the resistance value and the capacitance value.

[0054] It should also be noted that, since the distinction circuit and the detection circuit in this embodiment are also arranged at the output end of the rectifier and filter circuit, in order to prevent the discharge current of the second capacitor C2 in the distinction circuit from affecting the output signal of the detection circuit, a diode D is arranged between the third resistor R3 and the output end of the rectifier and filter circuit in this embodiment to ensure the normal operation and monitoring of the circuit.

[0055] Considering that the user's touch time when using the flash switch is short, generally no longer than 5s, therefore, for the brief power outage that occurs when the flash switch is switched, the voltage value will drop to a range not lower than a preset voltage threshold. On the contrary, for a long power outage caused by a power outage in the power grid, the voltage value output by the differentiation circuit will be significantly lower than the voltage threshold, or even close to zero. Therefore, after the power outage is detected by the detection circuit, if the voltage of the power outage detection signal output by the differentiation circuit is lower than the voltage threshold, it is determined to be a long-term power outage of the power grid; if the voltage of the power outage detection signal output by the differentiation circuit is not lower than the voltage threshold, it is determined to be a brief power outage of the flash switch.

[0056] See also Figure 5 As shown, the embodiment of the present application discloses another flash switch detection circuit; including a rectifier filter circuit, a detection circuit, a DC-DC converter, a control circuit and a distinguishing circuit;

[0057] The input end of the rectifier and filter circuit is used to connect to the AC power supply through the flash switch, and the output end of the rectifier and filter circuit is connected to the input end of the detection circuit and the input end of the DC-DC converter, and is used to rectify and filter the input AC power to output the DC bus voltage; the output end of the detection circuit is connected to the first AD input end of the control circuit, and is used to sample the DC bus voltage to detect the switching action of the flash switch, generate and output the flash detection signal to the control circuit; the output end of the DC-DC converter is connected to the power supply end of the control circuit, and is used to supply power to the control circuit; the control circuit is used to determine the switching state of the flash switch according to the flash detection signal; the input end of the distinguishing circuit is connected to the output end of the DC-DC converter, and the output end of the distinguishing circuit is connected to the second AD input end of the control circuit, and is used to delay sampling of the DC bus voltage to detect power failure of the AC power, generate and output the power failure detection signal to the control circuit, and the control circuit distinguishes between flash failure and power failure of the AC power.

[0058] Specifically, the present embodiment is also provided with a distinguishing circuit, which identifies a long-term power outage of the power grid by performing delayed sampling detection on the power supply voltage output by the DC-DC converter, and outputs the delayed sampling signal, i.e., the power outage detection signal, to the second AD input terminal of the control circuit, and the control circuit performs AD conversion and voltage magnitude analysis, so that the control circuit can distinguish the long-term power outage of the power grid from the flash-off phenomenon caused by the switching action of the flash-off switch.

[0059] It is easy to understand that the supply voltage output by the DC-DC converter is a stable voltage output after being stabilized by the voltage stabilization circuit inside the converter. Compared with the DC bus voltage, the supply voltage drops more slowly after the AC power is cut off. Therefore, when the flash switch performs a switching action and causes the AC power to flash off, the delayed sampling value of the supply voltage, i.e., the magnitude of the power failure detection signal, will not be lower than a certain voltage threshold; and when the power grid fails and cuts off the power supply of the entire circuit, the delayed sampling value of the supply voltage, i.e., the magnitude of the power failure detection signal, will be significantly lower than the voltage threshold, thereby achieving the distinction between the AC flash off phenomenon caused by the flash switch performing a switching action and the long-term power failure phenomenon of the grid.

[0060] See also Figure 6 As shown, the embodiment of the present application discloses Figure 5 A circuit structure diagram of a differentiation circuit in; the differentiation circuit includes a third resistor R3, a fourth resistor R4 and a second capacitor C2; one end of the third resistor R3 is connected to the output end of the DC-DC converter, and the other end is respectively connected to one end of the fourth resistor R4, one end of the second capacitor C2 and the second AD input end of the control circuit; the other end of the fourth resistor R4 and the other end of the second capacitor C2 are both grounded.

[0061] Similarly, the distinguishing circuit in this embodiment uses a circuit composed of resistors and capacitors to perform delayed sampling detection on the DC bus voltage, which not only has a simple circuit structure but also has low cost. It is easy to understand that the output power failure detection signal is the voltage across the fourth resistor R4. Those skilled in the art can reasonably set the resistance values ​​of the third resistor R3 and the fourth resistor R4 according to actual application needs to adjust the discharge time of the second capacitor C2. In particular, the third resistor R3 and the fourth resistor R4 can be variable resistors to facilitate the adjustment of the resistance value.

[0062] In addition, the capacitance of the second capacitor C2 is greater than that of the first capacitor C1, that is, the second capacitor C2 is a large capacitance capacitor, for example, it can be in the order of μF or even in the order of F. Since the capacitance of the second capacitor C2 is large, its discharge phenomenon is significant after the AC power is cut off. Compared with the DC bus voltage, the power-off detection signal output by the discrimination circuit drops more slowly, and its drop rate can be adjusted by reasonably setting the resistance value and the capacitance value.

[0063] When the AC power is disconnected, the DC bus voltage drops rapidly. When it drops to a certain level, the power supply voltage begins to drop. When the power supply voltage drops to a certain value, the control circuit stops working, and the voltage across the second capacitor C2 begins to drop. If the AC power is disconnected for a long time, the wireless module or microprocessor in the control circuit will restart. When the AC power is powered on again, the power supply voltage gradually rises to a normal value, and the wireless module or microprocessor in the control circuit begins to work normally. The control circuit continues to use the AD conversion function to perform voltage analysis on the power-off detection signal. Therefore, for the AC power flash caused by the flash switch, because the AC power-off time is short, when the circuit quickly restores power after the flash, the power of the second capacitor C2 has not been completely discharged, that is, the second capacitor C2 is still in a discharge state, and the voltage is high; for the long-term power outage of the power grid, because the AC power-off time is long, the power of the second capacitor C2 is almost completely released, and when the circuit is powered on again, the power of the second capacitor C2 has returned to zero, the voltage is low, and it will be ready to start charging.

[0064] Therefore, after the power outage is detected by the detection circuit, if the voltage of the power outage detection signal output by the distinguishing circuit is lower than the preset voltage threshold, it is determined to be a long-term power outage in the power grid; if the voltage of the power outage detection signal output by the distinguishing circuit is not lower than the voltage threshold, it is determined to be an AC power flash caused by the switching action of the flash switch.

[0065] See also Figure 7 As shown, the embodiment of the present application discloses an intelligent lighting control system, including a flash switch, a driving circuit, a light group, and any one of the flash switch detection circuits described above;

[0066] The input end of the flash switch detection circuit is connected to the AC power supply through the flash switch; the power supply end of the drive circuit is connected to the output end of the rectifier and filter circuit, the input end of the drive circuit is connected to the output end of the control circuit, and the output end of the drive circuit is connected to the input end of the lamp group, which is used to drive the lamp group according to the control instructions sent by the control circuit.

[0067] As a specific embodiment, the input end of the driving circuit is communicatively connected with the output end of the control circuit via a wireless communication unit; the driving circuit is specifically used to adjust the working state of the lamp group according to the wireless control instruction sent by the control circuit.

[0068] For example, specifically, after detecting a switching action of the flash switch, the control circuit may send a state reversal control instruction to the drive circuit so as to reverse the working state of the lamp group, for example, from the on state to the off state, that is, turning off the lights, or from the off state to the on state, that is, turning on the lights.

[0069] It can be seen that according to the voltage drop and recovery phenomenon during the flashing process of the flash switch, the DC bus voltage output by the rectifier and filter circuit is sampled by the detection circuit, and the AD conversion function of the control circuit is used to analyze the voltage size. The switching state of the flash switch can be effectively judged and the switching action of the flash switch can be identified, so as to adjust the working state of the electrical equipment based on the switching action of the flash switch.

[0070] The specific implementation of the intelligent lighting control system provided in the present application can be referred to in correspondence with the flash switch detection circuit described above, and will not be described in detail here.

[0071] In this application, each embodiment is described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the embodiments can be referred to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part.

[0072] It should also be noted that, in this application document, relational terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. In addition, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the statement "comprises a ..." does not exclude the presence of other identical elements in the process, method, article or device including the element.

[0073] The technical solution provided by the present application is described in detail above. The principle and implementation method of the present application are described in detail using specific examples herein, and the description of the above embodiments is only used to help understand the method and core idea of ​​the present application. It should be pointed out that for ordinary technicians in this technical field, without departing from the principle of the present application, several improvements and modifications can be made to the present application, and these improvements and modifications also fall within the scope of protection of the present application.

Claims

1. A flash switch detection circuit, characterized in that: It includes a rectifier filter circuit, a detection circuit, a DC-DC converter and a control circuit; The input end of the rectifier and filter circuit is used to be connected to an AC power source through a flash switch, and the output end of the rectifier and filter circuit is connected to both the input end of the detection circuit and the input end of the DC-DC converter, and is used to rectify and filter the input AC power to output a DC bus voltage; The output end of the detection circuit is connected to the first AD input end of the control circuit, and is used to sample the DC bus voltage to detect the switching action of the flash switch, and generate and output the voltage value of the flash detection signal to the control circuit; The output end of the DC-DC converter is connected to the power supply end of the control circuit, and is used to supply power to the control circuit; The control circuit is used to determine the switch state of the flash switch according to the voltage drop phenomenon and voltage rise phenomenon of the flash detection signal; A differentiation circuit, wherein the input end of the differentiation circuit is connected to the output end of the rectifier and filter circuit, and is used to perform delayed sampling detection on the DC bus voltage, or the input end of the differentiation circuit is connected to the output end of the DC-DC converter, and is used to perform delayed sampling detection on the power supply voltage output by the DC-DC converter, so that after the control circuit detects the power failure phenomenon using the detection circuit, when it is detected that the voltage value of the power failure detection signal output by the differentiation circuit is greater than the voltage threshold, it determines that the power grid is powered off for a long time; when it is detected that the voltage value of the power failure detection signal output by the differentiation circuit is less than or equal to the voltage threshold, it determines that the flash switch is powered off temporarily; wherein the voltage threshold is determined according to the voltage value to which the flash switch is reduced after the switching action is performed.

2. The flash switch detection circuit according to claim 1, characterized in that: The detection circuit includes a first resistor and a second resistor; One end of the first resistor is connected to the output end of the rectifier and filter circuit, and the other end is respectively connected to one end of the second resistor and the first AD input end of the control circuit; the other end of the second resistor is grounded.

3. The flash switch detection circuit according to claim 2, characterized in that: The detection circuit also includes a first capacitor connected in parallel with the second resistor.

4. The flash switch detection circuit according to claim 3, characterized in that: The output end of the differentiation circuit is connected to the second AD input end of the control circuit, and is used to perform delayed sampling on the DC bus voltage to detect power failure of the AC power, generate and output a power failure detection signal to the control circuit, and the control circuit distinguishes between flash and power failure of the AC power.

5. The flash switch detection circuit according to claim 4, characterized in that: The distinguishing circuit includes a diode, a third resistor, a fourth resistor and a second capacitor; The anode of the diode is connected to the output end of the rectifier and filter circuit, and the cathode is connected to one end of the third resistor; the other end of the third resistor is respectively connected to one end of the fourth resistor, one end of the second capacitor, and the second AD input end of the control circuit; the other end of the fourth resistor and the other end of the second capacitor are both grounded.

6. The flash switch detection circuit according to claim 3, characterized in that: The output end of the differentiation circuit is connected to the second AD input end of the control circuit, and is used to perform delayed sampling on the DC bus voltage to detect power failure of the AC power, generate and output a power failure detection signal to the control circuit, and the control circuit distinguishes between flash and power failure of the AC power.

7. The flash switch detection circuit according to claim 6, characterized in that: The distinguishing circuit includes a third resistor, a fourth resistor and a second capacitor; One end of the third resistor is connected to the output end of the DC-DC converter, and the other end is respectively connected to one end of the fourth resistor, one end of the second capacitor, and the second input end of the control circuit; the other end of the fourth resistor and the other end of the second capacitor are both grounded.

8. The flash switch detection circuit according to claim 5 or 7, characterized in that: The capacitance of the second capacitor is greater than the capacitance of the first capacitor.

9. An intelligent lighting control system, characterized in that: It comprises a flash switch, a driving circuit, a lamp assembly and a flash switch detection circuit as claimed in any one of claims 1 to 8; The input end of the flash switch detection circuit is connected to the AC power supply through the flash switch; the power supply end of the drive circuit is connected to the output end of the rectifier and filter circuit, the input end of the drive circuit is connected to the output end of the control circuit, and the output end of the drive circuit is connected to the input end of the lamp group, for driving the lamp group according to the control instructions sent by the control circuit.

10. The intelligent lighting control system according to claim 9, characterized in that: The input end of the driving circuit is communicatively connected with the output end of the control circuit via a wireless communication unit; the driving circuit is specifically used to adjust the working state of the lamp group according to the wireless control instruction sent by the control circuit.

Citation Information

Patent Citations

  • Intelligent single live wire switch

    CN105093988A

  • Switch system based on manual and wireless double-control and control method therefor

    CN105182802A

  • LED lighting emergency integrated lamp and control system

    CN105554957A

  • Intelligent switch detection and identification circuit

    CN107135593A

  • Control circuit for regulating light source brightness by detecting power switch motion

    CN107197570A