CN109991535B - Flash switch control system and input flash detection circuit thereof - Google Patents

Flash switch control system and input flash detection circuit thereof Download PDF

Info

Publication number
CN109991535B
CN109991535B CN201910319585.6A CN201910319585A CN109991535B CN 109991535 B CN109991535 B CN 109991535B CN 201910319585 A CN201910319585 A CN 201910319585A CN 109991535 B CN109991535 B CN 109991535B
Authority
CN
China
Prior art keywords
input
module
flash
resistor
zero
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910319585.6A
Other languages
Chinese (zh)
Other versions
CN109991535A (en
Inventor
孙胜利
魏巍
姜兆宁
刘达平
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Qingdao Yeelink Information Technology Co Ltd
Original Assignee
Qingdao Yeelink Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Qingdao Yeelink Information Technology Co Ltd filed Critical Qingdao Yeelink Information Technology Co Ltd
Priority to CN201910319585.6A priority Critical patent/CN109991535B/en
Priority to PCT/CN2019/084484 priority patent/WO2020211114A1/en
Publication of CN109991535A publication Critical patent/CN109991535A/en
Application granted granted Critical
Publication of CN109991535B publication Critical patent/CN109991535B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • G01R31/327Testing of circuit interrupters, switches or circuit-breakers
    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01HELECTRIC SWITCHES; RELAYS; SELECTORS; EMERGENCY PROTECTIVE DEVICES
    • H01H9/00Details of switching devices, not covered by groups H01H1/00 - H01H7/00
    • H01H9/54Circuit arrangements not adapted to a particular application of the switching device and for which no provision exists elsewhere
    • H01H9/56Circuit arrangements not adapted to a particular application of the switching device and for which no provision exists elsewhere for ensuring operation of the switch at a predetermined point in the ac cycle

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Electronic Switches (AREA)
  • Measurement Of Current Or Voltage (AREA)

Abstract

The application discloses an input flash detection circuit which comprises a zero-crossing comparison module, an output resistor, a discharge capacitor, an isolation optocoupler and a switch detection module, wherein the zero-crossing comparison module is used for comparing the output resistor with the discharge capacitor; the output end of the zero-crossing comparison module is respectively connected with the first end of the output resistor and the cathode input end of the isolation optocoupler; the second end of the output resistor is respectively connected with the first end of the discharge capacitor and the anode input end of the isolation optocoupler; the second end of the discharge capacitor is connected with the second input end of the zero-crossing comparison module; the input end of the switch detection module is connected with the output end of the isolation optocoupler and is used for outputting an on-off detection signal of the isolation optocoupler; the conduction phenomenon of the isolation optocoupler marks that the direct current input signal is flashed; when the conducting interval time of the isolation optocoupler is longer than the signal period of the alternating current input signal, the mark alternating current input signal is flashed. The application effectively reduces the system power consumption and improves the product competitiveness and economic benefit. The application also discloses a flash switch control system which has the beneficial effects.

Description

Flash switch control system and input flash detection circuit thereof
Technical Field
The application relates to the technical field of intelligent home, in particular to a flash switch control system and an input flash detection circuit thereof.
Background
The conventional switch such as a household wall switch is usually switched in a switching state only once after the switch is operated, that is, the switch is switched and kept in an off state until the switch is pressed in a next time after the switch is pressed in a conducting state. Thus, the conventional switch would not be suitable for intelligent control in a smart home. Because, in modern intelligent house technique, for being convenient for use, adopt WIFI etc. remote control mode to come intelligent start consumer more, and traditional switch will cut off the power supply of whole circuit after cutting off for WIFI module self can't power on work, therefore also can't start the consumer. Thus, it is desirable to implement modern smart home control using a flash switch that is different from the traditional switch mode of operation. Unlike traditional switch, the flash switch can only cut off the power supply instantaneously or drop the voltage after being touched, then can make the voltage resume to the original state again, so, the user touches and presses the power that the flash switch did not cut off the consumer on the line, the WIFI module still can work, can start or close through remote control instruction control consumer after detecting that the flash switch is touched. The flash detection circuit is a circuit for detecting whether the flash switch acts or not, and can utilize an isolation optocoupler device to carry out flash detection on the basis of realizing isolation. However, in the prior art flash detection circuit, the isolation optocoupler is in a conductive state most of the time, and the conductive current is at least 1mA, so that higher system power consumption is generated. In view of this, it is a urgent need to provide a solution to the above technical problems.
Disclosure of Invention
The application aims to provide a flash switch control system and an input flash detection circuit thereof, so as to effectively reduce system power consumption and improve economic benefits of products.
In order to solve the technical problems, in a first aspect, the application discloses an input flash detection circuit, which comprises a zero-crossing comparison module, an output resistor, a discharge capacitor, an isolation optocoupler and a switch detection module;
The first input end of the zero-crossing comparison module is used as the first input end of the input flash detection circuit, the second input end of the zero-crossing comparison module is used as the second input end of the input flash detection circuit, and the output end of the zero-crossing comparison module is respectively connected with the first end of the output resistor and the cathode input end of the isolation optocoupler; the second end of the output resistor is respectively connected with the first end of the discharge capacitor and the anode input end of the isolation optocoupler; the second end of the discharge capacitor is connected with the second input end of the zero-crossing comparison module; the input end of the switch detection module is connected with the output end of the isolation optocoupler, and the output end of the switch detection module is used as the output end of the input flash detection circuit and used for outputting an on-off detection signal of the isolation optocoupler; the zero-crossing comparison module is used for carrying out zero-crossing detection on an input signal and providing a discharge loop for the discharge capacitor when the input signal crosses zero;
If the input signal is a direct current signal, the conduction phenomenon of the isolation optocoupler marks that the direct current signal is flashed; if the input signal is an alternating current signal, when the conduction interval time of the isolation optocoupler is longer than the signal period of the alternating current signal, the alternating current signal is marked to be flashed.
Optionally, the switch detection module includes a pull-up resistor and a first power supply;
The first output end of the isolation optocoupler is connected with the first power supply through the pull-up resistor and serves as the output end of the switch detection module, and the second output end of the isolation optocoupler is grounded.
Optionally, the switch detection module further includes a protection capacitor connected between the first output terminal and the second output terminal of the isolation optocoupler.
Optionally, an input resistor connected to the first input of the zero crossing comparison module is also included.
Optionally, a regulator tube is connected between the first input terminal and the second input terminal of the zero-crossing comparison module.
Optionally, the zero-crossing comparison module comprises a first resistor, a second resistor, a third resistor, a fourth resistor, a first PMOS tube, a second PMOS tube, a first NMOS tube, a second NMOS tube, a reference voltage source, a comparator and an inverter; the first end of the first resistor, the source electrode of the first PMOS tube, the source electrode of the second PMOS tube and the first power input end of the reference voltage source are all connected with each other and serve as the first input end of the zero-crossing comparison module; the second end of the first resistor, the first end of the second resistor and the drain electrode of the first PMOS tube are all connected with each other; the second end of the second resistor, the first end of the third resistor and the non-inverting input end of the comparator are all connected with each other; the output end of the reference voltage source is connected with the inverting input end of the comparator; the second end of the third resistor, the first end of the fourth resistor and the drain electrode of the first NMOS tube are all connected with each other; the grid electrode of the first PMOS tube, the grid electrode of the first NMOS tube, the output end of the comparator and the input end of the inverter are all connected with each other; the output end of the inverter, the grid electrode of the second PMOS tube and the grid electrode of the second NMOS tube are all connected with each other; the drain electrode of the second PMOS tube is connected with the drain electrode of the second NMOS tube and is used as the output end of the zero-crossing comparison module; the second power input end of the reference voltage source, the second end of the fourth resistor, the source electrode of the first NMOS tube and the source electrode of the second NMOS tube are all connected with each other and serve as the second input end of the zero-crossing comparison module.
In a second aspect, the application discloses a control system of a flash switch, which comprises a flash switch, a rectifying module, a voltage regulating module, a control module, a driving module and any input flash detection circuit as described above;
The first end of the flash switch is used for being connected with an alternating current power supply, and the second end of the flash switch is respectively connected with the rectifying module and the input end of the input flash detection circuit; the output end of the rectifying module is connected with the input end of the voltage regulating module and is used for rectifying alternating current and outputting direct current; the output end of the voltage regulating module is connected with the power supply end of the control module and is used for providing corresponding working voltage for the control module; the power supply end of the driving module is connected with the output end of the rectifying module, and the output end of the driving module is connected with electric equipment and used for driving the electric equipment; the input end of the control module is connected with the output end of the input flash detection circuit, the output end of the control module is connected with the input end of the driving module, and the control module is used for determining the switching state of the flash switch according to the on-off detection signal output by the input flash detection circuit and controlling the electric equipment to switch the state according to the switching state.
Optionally, the rectifier module further comprises a filtering module, wherein the input end of the filtering module is connected with the output end of the rectifier module, and the output end of the filtering module is connected with the input end of the voltage regulating module.
Optionally, the rectifying module is specifically a bridge rectifying module.
Optionally, the control module and the driving module each include a wireless communication unit, and the control module is specifically configured to send a wireless control instruction for switching states to the driving module according to the switching state of the flash switch.
The input flash detection circuit provided by the application comprises a zero-crossing comparison module, an output resistor, a discharge capacitor, an isolation optocoupler and a switch detection module; the first input end of the zero-crossing comparison module is used as the first input end of the input flash detection circuit, the second input end of the zero-crossing comparison module is used as the second input end of the input flash detection circuit, and the output end of the zero-crossing comparison module is respectively connected with the first end of the output resistor and the cathode input end of the isolation optocoupler; the second end of the output resistor is respectively connected with the first end of the discharge capacitor and the anode input end of the isolation optocoupler; the second end of the discharge capacitor is connected with the second input end of the zero-crossing comparison module; the input end of the switch detection module is connected with the output end of the isolation optocoupler, and the output end of the switch detection module is used as the output end of the input flash detection circuit and used for outputting an on-off detection signal of the isolation optocoupler; the zero-crossing comparison module is used for carrying out zero-crossing detection on an input signal and providing a discharge loop for the discharge capacitor when the input signal crosses zero; if the input signal is a direct current signal, the conduction phenomenon of the isolation optocoupler marks that the direct current signal is flashed; if the input signal is an alternating current signal, when the conduction interval time of the isolation optocoupler is longer than the signal period of the alternating current signal, the alternating current signal is marked to be flashed.
Compared with the prior art, the input flashover detection circuit provided by the application has the advantages that the specific connection structure of the zero-crossing comparison module, the discharge capacitor and the isolation optocoupler is utilized, so that the discharge capacitor is only discharged at the moment when an input signal is reduced to a reference voltage, and the discharge phenomenon of the discharge capacitor is detected by utilizing the isolation optocoupler, so that the flashover detection of a direct current or alternating current input signal can be respectively realized according to whether the discharge phenomenon is generated or not or the cycle rule of the discharge phenomenon. Because the isolation optocoupler is in a conducting state only in a short discharging process, the system power consumption is greatly reduced, and the product competitiveness and economic benefit are effectively improved. The control system of the flash switch provided by the application comprises the input flash detection circuit and has the beneficial effects.
Drawings
In order to more clearly illustrate the technical solutions in the prior art and the embodiments of the present application, the following will briefly describe the drawings that need to be used in the description of the prior art and the embodiments of the present application. Of course, the following drawings related to embodiments of the present application are only a part of embodiments of the present application, and it will be obvious to those skilled in the art that other drawings can be obtained from the provided drawings without any inventive effort, and the obtained other drawings also fall within the scope of the present application.
FIG. 1 is a schematic diagram of an input flash detection circuit according to an embodiment of the present application;
FIG. 2 is a schematic diagram of an input flash detection circuit according to another embodiment of the present application;
FIG. 3 is a circuit diagram of a zero crossing comparison module according to an embodiment of the present application;
FIG. 4 is a block diagram of a flash switch control system according to an embodiment of the present application;
fig. 5 is a block diagram of a flash switch control system according to another embodiment of the present application.
Detailed Description
The application aims at providing a flash switch control system and an input flash detection circuit thereof so as to effectively reduce the system power consumption and improve the economic benefit of products.
In order to more clearly and completely describe the technical solutions in the embodiments of the present application, the technical solutions in the embodiments of the present application will be described below with reference to the accompanying drawings in the embodiments of the present application. It will be apparent that the described embodiments are only some, but not all, embodiments of the application. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
As described above, the flash switch may be a circuit switch that causes only a momentary flash of the circuit after being touched and then restored. Specifically, a single switching action of the flash switch will cause two switching of the on-off state of the circuit: when the flash switch is touched, the circuit is switched from an on state to an off state, so that the voltage drops or is powered off; when the touch is finished and the flash switch is released, the circuit is switched to a conducting state to enable the voltage to rise back and recover, or an automatic timing rebound structure can be arranged in the flash switch, and after the circuit breaking time reaches a preset fixed time length, the circuit is automatically recovered and switched to the conducting state. Because the whole process time of the circuit which is disconnected and conducted is shorter, the flash switch causes the circuit to flash once after each time the circuit is touched.
The embodiment of the application discloses an input flash detection circuit, which is shown by referring to FIG. 1 and comprises a zero-crossing comparison module, an output resistor Ro, a discharge capacitor Ci, an isolated optocoupler OC and a switch detection module;
The first input end of the zero-crossing comparison module is used as the first input end of the input flash detection circuit, the second input end of the zero-crossing comparison module is used as the second input end of the input flash detection circuit, and the output end of the zero-crossing comparison module is respectively connected with the first end of the output resistor Ro and the cathode input end of the isolation optocoupler OC; the second end of the output resistor Ro is respectively connected with the first end of the discharge capacitor Ci and the anode input end of the isolation optocoupler OC; the second end of the discharge capacitor Ci is connected with the second input end of the zero-crossing comparison module; the input end of the switch detection module is connected with the output end of the isolated optocoupler OC, and the output end of the switch detection module is used as the output end of the input flash detection circuit and is used for outputting an on-off detection signal of the isolated optocoupler OC; the zero-crossing comparison module is used for carrying out zero-crossing detection on the input signal and providing a discharge loop for the discharge capacitor Ci when the input signal crosses zero;
If the input signal Vin is a direct current signal, the on-state of the isolated optocoupler OC marks that the direct current signal is flashed; if the input signal Vin is an ac signal, when the on interval time of the isolation optocoupler OC is longer than the signal period of the ac signal, the flag ac signal is flashed.
As shown in fig. 1, the input flashover detection circuit provided by the application specifically uses the isolation optocoupler OC to detect the discharging process of the discharging capacitor Ci, thereby realizing the detection of the flashover phenomenon of the input signal. The input signal Vin may be an ac signal, for example, a mains supply, and a first input terminal of the input flash detection circuit may be connected to a live wire, and a second input terminal of the input flash detection circuit may be connected to a zero line; the input signal Vin may be a dc signal, and the first input terminal of the input flash detection circuit may be connected to the positive terminal of the dc signal, and the second input terminal of the input flash detection circuit may be connected to the ground.
The zero-crossing comparison module can specifically utilize a built-in reference voltage source Ref and a comparator U to perform zero-crossing detection on an input signal Vin, and can switch the on state of an internal circuit when the input signal Vin crosses zero so as to provide a discharge loop for a discharge capacitor Ci and further realize the flash detection on the input signal Vin.
Specifically, if the input signal Vin to the flash detection circuit is an ac signal, the discharge capacitor Ci is in a charged state when the voltage value of the input signal Vin is high. During this time, since the point B voltage is always not higher than the point a voltage, the light emitting device (the light emitting diode shown in fig. 1) in the isolated optocoupler OC is not turned on, and thus the photosensitive switch (the phototransistor shown in fig. 1) in the isolated optocoupler OC is also turned off. When the input signal Vin is reduced to a certain degree, such as zero crossing, the conducting structure of the internal circuit of the zero crossing comparison module is switched, and a discharging loop is provided for the discharging capacitor Ci; at this time, since the voltages at the two ends of the capacitor cannot be suddenly changed, the voltage at the point B will be higher than the voltage at the point a, and the discharge capacitor Ci will discharge along the discharge loop provided by the zero-crossing comparison module, so that the isolation optocoupler OC is turned on, and the on duration of the isolation optocoupler OC depends on the duration of the discharge current of the discharge capacitor Ci. With the change of the input signal Vin, when the input signal Vin increases again, the discharging capacitor Ci resumes the charging state again, and the isolating optocoupler OC is still in the off state.
As can be seen from the above analysis of the process, for the ac input signal Vin, the discharging phenomenon of the discharging capacitor Ci occurs only once in one ac period, that is, the input signal Vin decreases to a certain extent, such as the zero crossing, so the isolating optocoupler OC is correspondingly turned on only once, so the interval time between every two adjacent turns of the isolating optocoupler OC is equal to the signal period of the ac input signal Vin in the normal state, that is, in the case of no flash. In general, the ac input signal Vin is a commercial power, and the signal period is 20ms. However, once the input signal Vin is flashed, the continuity of the input signal Vin is affected, and the conducting interval time of the isolated optocoupler OC is likely to be longer than the originally fixed signal period, so that it can be determined that the input signal Vin is flashed.
On the other hand, if the input signal Vin to the flash detection circuit is a dc signal, the voltage value of the input signal Vin is high and the voltage at the point B is always not higher than the voltage at the point a in the normal state, so that the isolated optocoupler OC is in the off state. Once the input signal Vin is flashed, the discharge capacitor Ci will perform a short discharge process during the flashing period, and a short turn-on phenomenon will occur in the isolating optocoupler OC. Therefore, when the on-state of the isolated optocoupler OC is detected for the direct current input signal Vin, the input signal Vin can be judged to have a flash.
It should be further noted that, in the above detection process, since the discharging process of the discharging capacitor Ci is quickly completed, the on state of the isolating optocoupler OC is switched instantaneously, and the isolating optocoupler OC is in an off state and has no on current in most of the time, so that the system power consumption is greatly reduced.
In addition, a specific circuit structure of the switch detection module can be selected and designed by a person skilled in the art, as long as the on state of the isolated optocoupler OC can be obtained according to the on-off detection signal output by the switch detection module, and the application is not limited to this.
The input flash detection circuit provided by the application comprises a zero-crossing comparison module, an output resistor Ro, a discharge capacitor Ci, an isolated optocoupler OC and a switch detection module; the first input end of the zero-crossing comparison module is used as the first input end of the input flash detection circuit, the second input end of the zero-crossing comparison module is used as the second input end of the input flash detection circuit, and the output end of the zero-crossing comparison module is respectively connected with the first end of the output resistor Ro and the cathode input end of the isolation optocoupler OC; the second end of the output resistor Ro is respectively connected with the first end of the discharge capacitor Ci and the anode input end of the isolation optocoupler OC; the second end of the discharge capacitor Ci is connected with the second input end of the zero-crossing comparison module; the input end of the switch detection module is connected with the output end of the isolated optocoupler OC, and the output end of the switch detection module is used as the output end of the input flash detection circuit and is used for outputting an on-off detection signal of the isolated optocoupler OC; the zero-crossing comparison module is used for carrying out zero-crossing detection on the input signal and providing a discharge loop for the discharge capacitor Ci when the input signal crosses zero; if the input signal is a direct current signal, the on-state of the isolated optocoupler OC marks that the direct current signal is flashed; if the input signal is an ac signal, when the on interval time of the isolation optocoupler OC is longer than the signal period of the ac signal, the ac signal is marked to be flashed.
Therefore, the input flashover detection circuit provided by the application utilizes the specific connection structure of the zero-crossing comparison module, the discharge capacitor and the isolation optocoupler to enable the discharge capacitor to discharge only when the input signal is reduced to the reference voltage, and utilizes the isolation optocoupler to detect the discharge phenomenon of the discharge capacitor, so that the flashover detection of the direct current or alternating current input signal can be respectively realized according to whether the discharge phenomenon is generated or not or the cycle rule of the discharge phenomenon. Because the isolation optocoupler is in a conducting state only in a short discharging process, the system power consumption is greatly reduced, and the product competitiveness and economic benefit are effectively improved.
Referring to fig. 2, fig. 2 is a block diagram of an input flash detection circuit according to another embodiment of the present application.
As shown in fig. 2, on the basis of the above, as a preferred embodiment, the switch detection module in this embodiment includes a pull-up resistor Rp and a first power supply Vcc; the first output end of the isolation optocoupler OC is connected with the first power supply Vcc through a pull-up resistor Rp and serves as the output end of the switch detection module, and the second output end of the isolation optocoupler OC is grounded.
Specifically, when the isolated optocoupler OC is in the off state, the output of the switch detection module shown in fig. 2 is at a high level due to the pull-up resistor Rp; when the isolated optocoupler OC is turned on, the output of the switch detection module is at a low level due to the grounding effect of the isolated optocoupler OC. Because the on-time of the isolated optocoupler OC is very short relative to the off-time, the low level corresponding to the on-state is represented as a negative pulse on the waveform.
On the basis of the above, as shown in fig. 2, as a preferred embodiment, the switch detection module in this embodiment further includes a protection capacitor Cs connected between the first output terminal and the second output terminal of the isolation optocoupler OC.
As a preferred embodiment, based on the above, as shown in fig. 2, the input flash detection circuit in this embodiment further includes an input resistor Ri connected to the first input terminal of the zero-crossing comparison module. As for the specific resistance value of the input resistor Ri, those skilled in the art can design and implement the present application according to the actual use situation, which is not limited in the present application.
Based on the above, as shown in fig. 2, as a preferred embodiment, the input flash detection circuit in this embodiment further includes a regulator tube D connected between the first input terminal and the second input terminal of the zero-crossing comparison module.
Specifically, a voltage regulator D may be provided to input-protect the comparator U. In addition, in practical application, the comparator U and the reference voltage source Ref may specifically select the relevant packaged integrated chip.
As a preferred embodiment, as shown in fig. 2, the capacitance value of the discharge capacitor Ci is 56nF; the resistance of the output resistor Ro is 1.5kΩ.
Specifically, the parameters of the discharge capacitor Ci and the output resistor Ro are reasonably set, and the discharge current and the discharge time length can be reasonably adjusted, wherein the rapid completion of the discharge process is beneficial to improving the detection speed and the detection precision.
Referring to fig. 3, an embodiment of the present application discloses a circuit structure of a zero-crossing comparison module. The zero-crossing comparison module comprises a first resistor R1, a second resistor R2, a third resistor R3, a fourth resistor R4, a first PMOS tube P1, a second PMOS tube P2, a first NMOS tube N1, a second NMOS tube N2, a reference voltage source Ref, a comparator U and an inverter;
The first end of the first resistor R1, the source electrode of the first PMOS tube P1, the source electrode of the second PMOS tube P2 and the first power input end of the reference voltage source Ref are all connected with each other and serve as the first input end of the zero-crossing comparison module; the second end of the first resistor R1, the first end of the second resistor R2 and the drain electrode of the first PMOS tube P1 are all connected with each other; the second end of the second resistor R2, the first end of the third resistor R3 and the non-inverting input end of the comparator U are all connected with each other; the output end of the reference voltage source Ref is connected with the inverting input end of the comparator U; the second end of the third resistor R3, the first end of the fourth resistor R4 and the drain electrode of the first NMOS tube N1 are all connected with each other; the grid electrode of the first PMOS tube P1, the grid electrode of the first NMOS tube N1, the output end of the comparator U and the input end of the inverter are all connected with each other; the output end of the inverter, the grid electrode of the second PMOS tube P2 and the grid electrode of the second NMOS tube N2 are connected with each other; the drain electrode of the second PMOS tube P2 is connected with the drain electrode of the second NMOS tube N2 and is used as the output end of the zero-crossing comparison module; the second power input end of the reference voltage source Ref, the second end of the fourth resistor R4, the source electrode of the first NMOS tube N1 and the source electrode of the second NMOS tube N2 are all connected with each other and serve as the second input end of the zero-crossing comparison module.
Specifically, the reference voltage source Ref is configured to output a reference voltage to an inverting input terminal of the comparator U, and the comparator U outputs a comparison result signal according to a voltage magnitude relationship between the positive and the inverting input terminals thereof. When the voltage of the input signal Vin of the zero-crossing comparison module is higher, the comparator U outputs a high level, after the voltage is inverted by the inverter, the second PMOS tube P2 is turned on, the second NMOS tube N2 is turned off, the output resistor Ro and the discharge capacitor Ci in the subsequent circuit are connected into the circuit through the second PMOS tube P2, and the discharge capacitor Ci is in a charging state. When the input signal Vin of the zero-crossing comparison module is subjected to zero crossing in a reverse direction, namely, is reduced to a certain threshold value by a higher voltage value, the output of the comparator U is turned over to become low level, after the output signal Vin is subjected to phase inversion by the inverter, the second PMOS tube P2 is turned off, the second NMOS tube N2 is turned on, namely, the internal circuit conduction structure of the zero-crossing comparison module is changed by switching, so that the second PMOS tube P2 is matched with an isolated optocoupler OC in a subsequent circuit to form a discharge loop for a discharge capacitor Ci, and the isolated optocoupler OC with discharge current is turned on.
The following describes a control system of a flash off switch provided by the application.
Referring to fig. 4, fig. 4 is a block diagram of a control system of a flash switch in a specific embodiment according to the present embodiment, including a flash switch 1, a rectifying module 2, a voltage regulating module 3, a control module 4, a driving module 5, and any of the input flash detection circuits 6 described above;
The first end of the flash switch 1 is used for being connected with an alternating current power supply, and the second end of the flash switch 1 is respectively connected with the rectifying module 2 and the input end of the input flash detection circuit 6; the output end of the rectifying module 2 is connected with the input end of the voltage regulating module 3 and is used for rectifying alternating current and outputting direct current; the output end of the voltage regulating module 3 is connected with the power supply end of the control module 4 and is used for providing corresponding working voltage for the control module 4; the power supply end of the driving module 5 is connected with the output end of the rectifying module 2, and the output end of the driving module 5 is connected with electric equipment and used for driving the electric equipment; the input end of the control module 4 is connected with the output end of the input flash detection circuit 6, the output end of the control module 4 is connected with the input end of the driving module 5, and the control module is used for determining the switching state of the flash switch 1 according to the on-off detection signal output by the input flash detection circuit 6 and controlling the electric equipment to switch the state according to the switching state.
In particular, the ac power supply is usually commercial power, and the flash switch 1 is connected to the commercial power by being connected to a live wire. The alternating current from the mains supply is used for supplying the control module 4 and the driving module 5 to work after being rectified and regulated in sequence. The control module 4 is configured to receive an on-off detection signal of the isolated optocoupler OC output by the input flash detection circuit 6, so as to determine an action condition of the flash switch 1 according to a conduction condition of the isolated optocoupler OC, and further perform state switching control on electric equipment. Since the flash switch 1 is only flashed off and does not continuously cut off the power supply when operated, the subsequent circuits such as the control module 4 can still supply power and work normally.
Since the utility power is an alternating current with a frequency of 50Hz, the control module 4 can determine that the input signal to the flash detection circuit 6 is flashed due to the action of the flash switch 1 when the on interval of the isolation optocoupler OC is detected to be longer than 20ms, so as to control the electric equipment, such as an intelligent lamp, to switch the electric equipment from an on state to an off state, or from the off state to the on state, or from a high power state to a low power state. The control module 4 may specifically control the electric device to perform state switching by sending a corresponding instruction to the driving module 4.
The application provides a flash switch control system which specifically adopts the input flash switch detection circuit, utilizes a specific connection structure of a comparator, a discharge capacitor and an isolation optocoupler to enable the discharge capacitor to discharge only when an input signal is reduced to a reference voltage, and utilizes an isolation optocoupler to detect the discharge phenomenon of the discharge capacitor, so that whether the flash switch acts or not can be detected by utilizing the cycle rule of the discharge phenomenon, and electric equipment is controlled based on the switching state of the flash switch. Because the isolation optocoupler is in a conducting state only in a short discharging process, the system power consumption is greatly reduced, and the product competitiveness and economic benefit are effectively improved.
Referring to fig. 5, fig. 5 is a block diagram of a flash switch control system according to another embodiment of the present application.
As shown in fig. 5, based on the above, as a preferred embodiment, the flash-off switch control system provided in this embodiment further includes a filtering module 7, an input end of the filtering module 7 is connected to an output end of the rectifying module 2, and an output end of the filtering module 7 is connected to an input end of the voltage regulating module 3.
Specifically, in order to further improve the power supply quality of the direct current, the filtering module 7 may be further configured to filter the direct current output by the rectifying module 2.
In addition to the above, the rectifying module 2 is a bridge rectifying module as a preferred embodiment. Of course, those skilled in the art may select other types of rectifying circuit structures according to actual use.
Based on the above, as a preferred embodiment, the control module 4 and the driving module 5 each include a wireless communication unit, and the control module 4 is specifically configured to send a wireless control instruction for switching the state to the driving module according to the switching state of the flash switch 1.
Specifically, as described above, in the smart home application scenario, the control module 4 may specifically perform wireless communication with the matched smart electric device through the wireless communication unit, so as to complete the state switching control of the electric device. The wireless communication unit may specifically include, but is not limited to, a WIFI communication unit or a bluetooth communication unit.
The specific embodiments of the flash switch control system provided by the present application and the input flash detection circuit described above can be referred to correspondingly, and will not be described herein.
In the application, each embodiment is described in a progressive manner, and each embodiment is mainly used for illustrating the difference from other embodiments, and the same similar parts among the embodiments are mutually referred.
It should also be noted that in this document, relational terms such as "first" and "second" are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Furthermore, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, circuit, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, circuit, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, circuit, article, or device that comprises the element.
The technical scheme provided by the application is described in detail. The principles and embodiments of the present application have been described herein with reference to specific examples, the description of which is intended only to facilitate an understanding of the circuitry of the present application and its core ideas. It should be noted that it will be apparent to those skilled in the art that the present application may be modified and practiced without departing from the spirit of the present application.

Claims (10)

1. The input flash detection circuit is characterized by comprising a zero-crossing comparison module, an output resistor, a discharge capacitor, an isolation optocoupler and a switch detection module;
The first input end of the zero-crossing comparison module is used as the first input end of the input flash detection circuit, the second input end of the zero-crossing comparison module is used as the second input end of the input flash detection circuit, and the output end of the zero-crossing comparison module is respectively connected with the first end of the output resistor and the cathode input end of the isolation optocoupler; the second end of the output resistor is respectively connected with the first end of the discharge capacitor and the anode input end of the isolation optocoupler; the second end of the discharge capacitor is connected with the second input end of the zero-crossing comparison module; the input end of the switch detection module is connected with the output end of the isolation optocoupler, and the output end of the switch detection module is used as the output end of the input flash detection circuit and used for outputting an on-off detection signal of the isolation optocoupler; the zero-crossing comparison module is used for carrying out zero-crossing detection on an input signal and providing a discharge loop for the discharge capacitor when the input signal crosses zero; the isolation optocoupler detects the discharge process of the discharge capacitor to realize detection of the input signal flashover phenomenon;
If the input signal is a direct current signal, the conduction phenomenon of the isolation optocoupler marks that the direct current signal is flashed; if the input signal is an alternating current signal, when the conduction interval time of the isolation optocoupler is longer than the signal period of the alternating current signal, the alternating current signal is marked to be flashed.
2. The input flash detection circuit of claim 1, wherein the switch detection module comprises a pull-up resistor and a first power supply;
The first output end of the isolation optocoupler is connected with the first power supply through the pull-up resistor and serves as the output end of the switch detection module, and the second output end of the isolation optocoupler is grounded.
3. The input flash detection circuit of claim 2, wherein the switch detection module further comprises a protection capacitor connected between the first output and the second output of the isolation optocoupler.
4. The input flash detection circuit of claim 3, further comprising an input resistor coupled to the first input of the zero crossing comparison module.
5. The input flash detection circuit of claim 4, further comprising a regulator connected between the first input and the second input of the zero crossing comparison module.
6. The input flash detection circuit of any one of claims 1 to 5, wherein the zero crossing comparison module comprises a first resistor, a second resistor, a third resistor, a fourth resistor, a first PMOS transistor, a second PMOS transistor, a first NMOS transistor, a second NMOS transistor, a reference voltage source, a comparator, and an inverter;
The first end of the first resistor, the source electrode of the first PMOS tube, the source electrode of the second PMOS tube and the first power input end of the reference voltage source are all connected with each other and serve as the first input end of the zero-crossing comparison module; the second end of the first resistor, the first end of the second resistor and the drain electrode of the first PMOS tube are all connected with each other; the second end of the second resistor, the first end of the third resistor and the non-inverting input end of the comparator are all connected with each other; the output end of the reference voltage source is connected with the inverting input end of the comparator; the second end of the third resistor, the first end of the fourth resistor and the drain electrode of the first NMOS tube are all connected with each other; the grid electrode of the first PMOS tube, the grid electrode of the first NMOS tube, the output end of the comparator and the input end of the inverter are all connected with each other; the output end of the inverter, the grid electrode of the second PMOS tube and the grid electrode of the second NMOS tube are all connected with each other; the drain electrode of the second PMOS tube is connected with the drain electrode of the second NMOS tube and is used as the output end of the zero-crossing comparison module; the second power input end of the reference voltage source, the second end of the fourth resistor, the source electrode of the first NMOS tube and the source electrode of the second NMOS tube are all connected with each other and serve as the second input end of the zero-crossing comparison module.
7. A flash switch control system, comprising a flash switch, a rectifying module, a voltage regulating module, a control module, a driving module, and an input flash detection circuit according to any one of claims 1 to 6;
The first end of the flash switch is used for being connected with an alternating current power supply, and the second end of the flash switch is respectively connected with the rectifying module and the input end of the input flash detection circuit; the output end of the rectifying module is connected with the input end of the voltage regulating module and is used for rectifying alternating current and outputting direct current; the output end of the voltage regulating module is connected with the power supply end of the control module and is used for providing corresponding working voltage for the control module; the power supply end of the driving module is connected with the output end of the rectifying module, and the output end of the driving module is connected with electric equipment and used for driving the electric equipment; the input end of the control module is connected with the output end of the input flash detection circuit, the output end of the control module is connected with the input end of the driving module, and the control module is used for determining the switching state of the flash switch according to the on-off detection signal output by the input flash detection circuit and controlling the electric equipment to switch the state according to the switching state.
8. The flash switch control system of claim 7, further comprising a filter module, an input of the filter module being coupled to an output of the rectifier module, an output of the filter module being coupled to an input of the voltage regulator module.
9. The flash-off switch control system of claim 8, wherein the rectifying module is embodied as a bridge rectifying module.
10. The flash switch control system according to any one of claims 7 to 9, wherein the control module and the driving module each comprise a wireless communication unit, and the control module is specifically configured to send a wireless control instruction for switching states to the driving module according to the switching states of the flash switch.
CN201910319585.6A 2019-04-19 2019-04-19 Flash switch control system and input flash detection circuit thereof Active CN109991535B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201910319585.6A CN109991535B (en) 2019-04-19 2019-04-19 Flash switch control system and input flash detection circuit thereof
PCT/CN2019/084484 WO2020211114A1 (en) 2019-04-19 2019-04-26 Flash switch control system and input flash detection circuit thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910319585.6A CN109991535B (en) 2019-04-19 2019-04-19 Flash switch control system and input flash detection circuit thereof

Publications (2)

Publication Number Publication Date
CN109991535A CN109991535A (en) 2019-07-09
CN109991535B true CN109991535B (en) 2024-04-30

Family

ID=67132789

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910319585.6A Active CN109991535B (en) 2019-04-19 2019-04-19 Flash switch control system and input flash detection circuit thereof

Country Status (1)

Country Link
CN (1) CN109991535B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110412977A (en) * 2019-08-29 2019-11-05 青岛亿联客信息技术有限公司 A kind of test device for flash control equipment
CN113224814A (en) * 2021-05-07 2021-08-06 深圳易马达科技有限公司 Communication system
CN114002622B (en) * 2021-10-28 2024-02-27 上海电气风电集团股份有限公司 Communication detection method, device and readable storage medium
CN116800246B (en) * 2023-06-09 2024-04-09 陕西星环聚能科技有限公司 Isolation circuit and fusion shooting device

Citations (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS57134725A (en) * 1981-02-12 1982-08-20 Ricoh Co Ltd Conduction controller for lattice control rectifying element
JPH01169823U (en) * 1988-05-19 1989-11-30
JP2008199228A (en) * 2007-02-12 2008-08-28 Noboru Wakatsuki Switch circuit, and regeneration circuit
JP2009199901A (en) * 2008-02-21 2009-09-03 Mitsubishi Electric Corp Control circuit, lighting device for discharge lamp, and illumination fixture
CN102435828A (en) * 2011-12-23 2012-05-02 华南理工大学 Isolated type circuit-voltage zero-crossing detecting circuit
CN102778602A (en) * 2012-07-27 2012-11-14 电子科技大学 Zero-cross detection circuit
JP2013174574A (en) * 2011-03-31 2013-09-05 Toto Ltd Zero-crossing detector circuit
CN103743940A (en) * 2014-01-24 2014-04-23 镇江天力变压器有限公司 Precise zero cross detection circuit for resonance current of high-frequency dedusting power supply
CN103871784A (en) * 2014-04-04 2014-06-18 大连鼎创科技开发有限公司 Relay sudden change impact resisting and protecting system and method thereof
CN203799966U (en) * 2014-04-04 2014-08-27 大连鼎创科技开发有限公司 Signal acquisition circuit structure of relay anti-abrupt change impact protection system
CN203909514U (en) * 2014-06-23 2014-10-29 武汉市酷享科技有限公司 Switch system based on manual and wireless double control
CN204168135U (en) * 2014-11-05 2015-02-18 遵义师范学院 A kind of zero passage detection module
CN104578722A (en) * 2014-12-30 2015-04-29 上海贝岭股份有限公司 Zero cross detection circuit of inductive current in power switch chip
CN105572523A (en) * 2014-10-09 2016-05-11 中兴通讯股份有限公司 AC detection circuit
CN105763078A (en) * 2014-12-18 2016-07-13 台达电子工业股份有限公司 Switch power source and bus capacitor voltage control method used for switch power source
CN207909743U (en) * 2018-01-19 2018-09-25 茂硕电源科技股份有限公司 Switching circuit
CN208140791U (en) * 2018-01-29 2018-11-23 惠州拓邦电气技术有限公司 A kind of zero-detection circuit
CN210129019U (en) * 2019-04-19 2020-03-06 青岛亿联客信息技术有限公司 Flash switch control system and input flash detection circuit thereof

Patent Citations (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS57134725A (en) * 1981-02-12 1982-08-20 Ricoh Co Ltd Conduction controller for lattice control rectifying element
JPH01169823U (en) * 1988-05-19 1989-11-30
JP2008199228A (en) * 2007-02-12 2008-08-28 Noboru Wakatsuki Switch circuit, and regeneration circuit
JP2009199901A (en) * 2008-02-21 2009-09-03 Mitsubishi Electric Corp Control circuit, lighting device for discharge lamp, and illumination fixture
JP2013174574A (en) * 2011-03-31 2013-09-05 Toto Ltd Zero-crossing detector circuit
CN102435828A (en) * 2011-12-23 2012-05-02 华南理工大学 Isolated type circuit-voltage zero-crossing detecting circuit
CN102778602A (en) * 2012-07-27 2012-11-14 电子科技大学 Zero-cross detection circuit
CN103743940A (en) * 2014-01-24 2014-04-23 镇江天力变压器有限公司 Precise zero cross detection circuit for resonance current of high-frequency dedusting power supply
CN103871784A (en) * 2014-04-04 2014-06-18 大连鼎创科技开发有限公司 Relay sudden change impact resisting and protecting system and method thereof
CN203799966U (en) * 2014-04-04 2014-08-27 大连鼎创科技开发有限公司 Signal acquisition circuit structure of relay anti-abrupt change impact protection system
CN203909514U (en) * 2014-06-23 2014-10-29 武汉市酷享科技有限公司 Switch system based on manual and wireless double control
CN105572523A (en) * 2014-10-09 2016-05-11 中兴通讯股份有限公司 AC detection circuit
CN204168135U (en) * 2014-11-05 2015-02-18 遵义师范学院 A kind of zero passage detection module
CN105763078A (en) * 2014-12-18 2016-07-13 台达电子工业股份有限公司 Switch power source and bus capacitor voltage control method used for switch power source
CN104578722A (en) * 2014-12-30 2015-04-29 上海贝岭股份有限公司 Zero cross detection circuit of inductive current in power switch chip
CN207909743U (en) * 2018-01-19 2018-09-25 茂硕电源科技股份有限公司 Switching circuit
CN208140791U (en) * 2018-01-29 2018-11-23 惠州拓邦电气技术有限公司 A kind of zero-detection circuit
CN210129019U (en) * 2019-04-19 2020-03-06 青岛亿联客信息技术有限公司 Flash switch control system and input flash detection circuit thereof

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于光耦的交流过零信号产生电路;梁湖辉;;电脑知识与技术(11);全文 *

Also Published As

Publication number Publication date
CN109991535A (en) 2019-07-09

Similar Documents

Publication Publication Date Title
CN109991535B (en) Flash switch control system and input flash detection circuit thereof
US10700592B2 (en) Load detecting device
US9036385B2 (en) Power supply, power management device applied to a power supply, and method for performing brown-out protection and overheat protection of a power management device
CN109963393B (en) Flash switch detection circuit
CN210670688U (en) Flash switch detection circuit and intelligent lamp
US20160380527A1 (en) Integrated Circuit and Switching Power-Supply Device
CN212568933U (en) Zero-crossing detection calibrating device and zero-crossing detection calibrating system
CN102076144A (en) Solution to working power supply and power of two-wire-system electronic switch
CN211656009U (en) Control device and chip of switching power supply and switching power supply
CN104617558A (en) Power supply short circuit protection circuit
CN109890115B (en) Intelligent lamp control system and flashing control circuit thereof
CN104980036B (en) A kind of inverse-excitation type switch power-supply circuit
CN203734296U (en) Power supply short circuit protection circuit
CN210129019U (en) Flash switch control system and input flash detection circuit thereof
JP2014117088A (en) Control circuit for switching power unit
CN105471285A (en) Switching power-supply device
CN111596123A (en) Zero-crossing detection circuit
WO2020211114A1 (en) Flash switch control system and input flash detection circuit thereof
CN203872390U (en) Constant current driver and BUCK constant current circuit
CN210042325U (en) Intelligent lamp control system and flash control circuit thereof
CN103424715A (en) Lamp testing circuit and device
CN114551155A (en) Relay protection circuit based on high-precision zero-crossing detection
CN210670691U (en) Alternating current control circuit and intelligent lamp control system
KR20150112838A (en) Power supply device comprising the same
CN110139443B (en) Net clearing device of electrical equipment, lamp equipment and net clearing control method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant