CN210928091U - Switch detection circuit - Google Patents

Switch detection circuit Download PDF

Info

Publication number
CN210928091U
CN210928091U CN201920712280.7U CN201920712280U CN210928091U CN 210928091 U CN210928091 U CN 210928091U CN 201920712280 U CN201920712280 U CN 201920712280U CN 210928091 U CN210928091 U CN 210928091U
Authority
CN
China
Prior art keywords
resistor
switch
power
detection circuit
output end
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
CN201920712280.7U
Other languages
Chinese (zh)
Inventor
姜兆宁
刘达平
魏巍
孙胜利
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Qingdao Yilai Intelligent Technology Co Ltd
Original Assignee
Qingdao 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
Priority to CN2018107672718 priority Critical
Priority to CN201810767271.8A priority patent/CN108650764A/en
Application filed by Qingdao Yeelink Information Technology Co Ltd filed Critical Qingdao Yeelink Information Technology Co Ltd
Priority claimed from PCT/CN2019/095557 external-priority patent/WO2020011224A1/en
Application granted granted Critical
Publication of CN210928091U publication Critical patent/CN210928091U/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B47/00Circuit arrangements for operating light sources in general, i.e. where the type of light source is not relevant
    • H05B47/10Controlling the light source
    • H05B37/0209

Abstract

The utility model discloses a switch detection circuit, which comprises a detection module, a control module and an electricity load; the detection module is used for accessing the input end to the power supply voltage, detecting the flash state of the power supply voltage and sending a level signal to the control module through the output end when the flash state is detected; the flash-off state is a power-off state in which the power-off duration of the power supply voltage is not more than a preset duration; the control module is respectively connected with the detection module and the electric load and used for controlling and switching the current working state of the electric load when receiving the level signal. Therefore, the switch detection circuit in the application can realize the function of switching the working state of the power load of the traditional power switch, can ensure that the power equipment is not powered off, and is convenient for a user to wirelessly control the power equipment; the intelligent electric appliance is convenient for users to use the electric load intelligently, and is beneficial to popularization and application of the intelligent electric appliance.

Description

Switch detection circuit
Technical Field
The utility model relates to an electrical apparatus control technical field especially relates to a switch detection circuitry.
Background
With the development of intelligent control technology, more and more electric devices are also developing towards intelligent control. For example, intelligent appliances such as intelligent lamps, intelligent televisions and intelligent fans can adopt a mobile phone APP or remote control to wirelessly control the working state of the appliances. However, the premise is that the intelligent electric appliance is kept in a power-on state, and the inherent habit of people to use the electric appliance is to control the on and off of the electric appliance through direct and intelligent switch buttons. When a user turns off the intelligent electric appliance through the power switch, the intelligent electric appliance and the external power supply are powered off, the intelligent electric appliance cannot be wirelessly controlled, and the access between the intelligent electric appliance and the external power supply can be switched on only after the power switch is turned on. For example, a lamp with remote control is turned off when a switch on a wall is in an off state, the lamp cannot be turned on only by operating the remote control, the lamp can be turned on or off only when the switch on the wall is in an on state, and the like. Therefore, the intelligent electric appliance is directly switched on or off through the power switch, which brings inconvenience to the user in controlling the intelligent electric appliance.
SUMMERY OF THE UTILITY MODEL
The utility model aims at providing a switch detection circuitry has solved the inconvenient problem of user to the intelligent control of consumer.
In order to solve the above technical problem, the utility model provides a switch detection circuit, which comprises a detection module, a control module and an electricity load;
the detection module is used for accessing a power supply voltage at an input end, detecting a flash state of the power supply voltage, and sending a level signal to the control module through an output end when the flash state is detected; the power supply voltage is in a power-off state, wherein the power-off state is a power-off state in which the power-off duration of the power supply voltage is not more than a preset duration;
the control module is respectively connected with the detection module and the electric load and is used for controlling and switching the current working state of the electric load when receiving the level signal.
The power supply detection device comprises a detection module, a power grid power supply and a power supply module, wherein the detection module is connected with the power grid power supply through the power supply module, and the detection module comprises a power supply module and a power grid module.
The detection module comprises a first detection circuit for detecting the power-off state of the power supply voltage and a second detection circuit for detecting whether the power-off duration of the power supply voltage is greater than the preset duration;
the first input end of the control module is electrically connected with the power supply through the flash switch, the second input end of the control module is connected with the output end of the first detection circuit, and the third input end of the control module is connected with the second detection circuit;
the first input end of the power utilization load is electrically connected with the power supply through the flash switch, and the second input end of the power utilization load is connected with the control module.
The output end of the flash switch is also connected with a rectifying and filtering circuit for converting alternating current output by a power supply into direct current;
the output end of the rectification filter circuit is also connected with a DC-DC converter for converting high-voltage direct current into low-voltage direct current;
the output end of the DC-DC converter is connected with the first input end of the control module and the first input end of the power load.
Wherein the first detection circuit comprises:
the circuit comprises a first capacitor, a first resistor, a second resistor, a bidirectional optical coupler, a third resistor and a second capacitor;
the output end of the flash switch comprises a first output end and a second output end which are used for respectively outputting positive and negative voltages of the power supply;
the first end of the first capacitor is connected with the first output end of the flash switch, and the second end of the first capacitor is connected with the first end of the first resistor; the second end of the first resistor is connected with the first end of the second resistor and the first input end of the bidirectional optical coupler; the second end of the second resistor is connected with the second input end of the bidirectional optocoupler and the second output end of the flash switch;
the first end of the third resistor is connected with the output end of the DC-DC converter, and the second end of the third resistor is connected with the first end of the second capacitor and the collector output end of the bidirectional optical coupler; the second end of the second capacitor and the emission output end of the bidirectional optocoupler are grounded; and the second end of the third resistor is the output end of the first detection circuit and is connected with the control module.
The first detection circuit further comprises a fourth resistor, two ends of which are connected with two ends of the second capacitor in parallel.
Wherein the second detection circuit comprises:
a fifth resistor, a third capacitor, a sixth resistor, a switching device and a seventh resistor;
the first end of the fifth resistor is connected with the output end of the DC-DC converter, and the second end of the fifth resistor is connected with the first end of the third capacitor and the first end of the sixth capacitor; a second end of the third capacitor and a second end of the sixth capacitor are grounded; a first end of the seventh resistor is connected with the output end of the DC-DC converter, and a second end of the seventh resistor is connected with the first output end of the switching device; a second output terminal of the first switching device is grounded; the second end of the fifth resistor is also connected with the input end of the switching device; a second end output end of the seventh resistor is an output end of the second detection circuit;
when the voltage of the input end of the switching device is larger than a preset voltage value, the first output end and the second output end of the switching device are disconnected; and when the voltage of the input end of the switching device is smaller than a preset voltage value, the first output end and the second output end of the switching device are connected.
The switching device is an MOS (metal oxide semiconductor) tube or an NPN (negative-positive-negative) type triode;
wherein the second detection circuit further comprises an eighth resistor connected between the second terminal of the fifth resistor and the input terminal of the switching device.
The control module further comprises a wireless communication module for receiving a switching instruction for switching the current working state of the electric load.
Wherein, the power load is a lamp.
The working state of the electric load comprises a bright state or a dead state.
The utility model provides a switch detection circuitry can be applied to in the consumer that the user only made supply voltage produce short-term outage process to mechanical switch's operation. The utility model provides a switch detection circuitry includes detection module can detect out the flash state of input supply voltage, this flash state means that the access is used for the power supply voltage of power consumption load power supply to appear the outage state that the duration does not exceed and predetermine the duration, also be when the disconnection of input supply voltage short time appears and switch on again, this state can be detected by the detection circuitry, and use this to produce corresponding level signal as the benchmark, when control module received this level signal, then control the power consumption load and switch operating condition, and then realized that the user passes through mechanical switch and switches the operating condition of consumer, the function of keeping supply voltage to the continuous power supply of consumer again. Then, even if the user turns off the electric device through the mechanical switch, the power supply voltage is used for supplying power to the electric device, and the user can turn on the electric device by using a remote control or other mobile terminal control.
Therefore, the switch detection circuit in the application can detect the short-time power-off state of the power supply end, so that a user can realize the function of switching the working state of the power load of the traditional power switch through the mechanical switch, and can ensure that the power equipment is not powered off, thereby facilitating the wireless control of the power equipment by the user; the intelligent electric appliance is convenient for users to use the electric load intelligently, and is beneficial to popularization and application of the intelligent electric appliance.
Drawings
In order to clearly illustrate the embodiments or technical solutions of the present invention, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
Fig. 1 is a schematic diagram of a frame structure of a switch detection circuit according to an embodiment of the present invention;
fig. 2 is a schematic circuit diagram of a switch detection circuit according to an embodiment of the present invention;
fig. 3 is a schematic circuit diagram of a first detection circuit according to another embodiment of the present invention;
FIG. 4 is a graph of the variation trend of the output voltage of the rectifying-filtering circuit in the flash-off state;
fig. 5 is a schematic circuit structure diagram of a second detection circuit according to an embodiment of the present invention.
Detailed Description
The conventional electric equipment is basically provided with a mechanical switch capable of controlling the on and off of a power supply, when the mechanical switch is switched off, the external power supply does not supply power to the electric equipment, and when the mechanical switch is switched off, the external power supply supplies power to the electric equipment.
More and more intelligent consumer configurations are controlled by remote controller or have control software APP's mobile terminal, and then realize the wireless control of consumer, facilitate for user's intelligent operation consumer.
However, a premise that a user can wirelessly control an electric device through a mobile terminal or the like is that an external power supply supplies power to the electric device. If the user closes the consumer through mechanical switch, external power source no longer supplies power to the consumer, so the user can't control the consumer through software APP or remote control again, brings inconvenience for user's intelligent operation.
To this end, the applicant thought that in order to facilitate user intelligent control of the consumer, the external power source could be made to supply power to the consumer at all times. It is therefore conceivable that the mechanical switch does not supply power to the consumer, in which case the mechanical switch on the consumer is not necessary. However, if the mechanical switch of the electric equipment is directly removed, the electric equipment is controlled only by adopting equipment such as a remote control or other mobile terminals, the traditional use habit of people on the electric equipment is not met, and the electric equipment can be controlled only by the mobile equipment such as the remote control, so that the electric equipment cannot be used completely when the remote control cannot be found or fails, and the inconvenience is brought to users.
To this end, the applicant further conceived that the function of controlling the electrical device by means of the mechanical switch is maintained, while maintaining the possibility of the external power supply to continuously supply power to the electrical device. Finally, the applicant considers that the mechanical switch of the electric consumer can be a switch that does not power down the electric consumer for a long time, similar to a self-resetting switch. When the mechanical switch is pressed down, the power between the external power supply and the electric equipment is cut off, and when the mechanical switch is released, the mechanical switch automatically bounces, and the external power supply and the electric equipment are directly connected again for supplying power.
According to the habit of operating the mechanical switch by a user, the mechanical switch is generally released after being pressed for a few seconds, so that a short power-off process can be generated between the external power supply and the electric equipment. Just regard as the trigger signal that user operation mechanical switch and produce with this brief outage process in this application, switch the operating condition of consumer to realize that the user passes through mechanical switch control consumer, can guarantee again simultaneously that external power source supplies power to the consumer all the time, thereby make the user both can adopt mechanical switch control consumer and can adopt mobile terminal intelligent control consumer according to self custom.
The following describes a specific embodiment of the present application with specific examples.
In order to make the technical field better understand the solution of the present invention, the following detailed description of the present invention is provided with reference to the accompanying drawings and the detailed description. It is to be understood that the embodiments described are only some embodiments of the invention, and not all embodiments. Based on the embodiments in the present invention, all other embodiments obtained by a person skilled in the art without creative work belong to the protection scope of the present invention.
As shown in fig. 1, fig. 1 is a schematic diagram of a frame structure of a switch detection circuit provided by an embodiment of the present invention, the switch detection circuit specifically may include:
the system comprises a detection module 1, a control module 2 and an electric load 3;
the detection module 1 is used for accessing a power supply voltage at an input end, detecting a flash state of the power supply voltage, and sending a level signal to the control module 2 through an output end when the flash state is detected; the flash-off state is a power-off state in which the power-off duration of the power supply voltage is not more than a preset duration;
the control module 2 is respectively connected with the detection module 1 and the electric load 3, and is used for controlling and switching the current working state of the electric load 3 when receiving the level signal.
It should be noted that the main function of the control module 2 in the present application is to control the operating state of the switching electric load 3 according to the level signal input by the detection circuit 1. The key point of the present application lies in that the control module outputting the corresponding control signal according to the input level signal is a functional module that is already available in the prior art or can be obtained according to the prior art, and the functional module is used in combination with the detection module 1, the power load 3, and the like, so that the control module 2 belongs to the protection object of the present invention.
The switch detection circuit in this embodiment includes a detection module that can detect a glitch state of the supply voltage. The flash-off state is a state signal which appears when the external power supply and the electric equipment are powered off for a short time when a user operates the mechanical switch. The detection module 1 can detect the flash state, the flash state is equivalent to a trigger signal which is sent by a user through a mechanical switch and used for switching the working state of the electric load, when the detection module 1 detects the flash state, a corresponding level signal is generated and transmitted to the control module 2, the control module 2 switches the working state of the electric load 3 according to the level signal, the operation that the user controls the working state of the electric load 3 through the mechanical switch can be completed, and then the electric load 3 and an external power supply are still in a power-on state, so that the possibility is provided for intelligently and wirelessly controlling the electric load 3.
Specifically, the detecting module 1 in this embodiment detects the flash state mainly by detecting a power-off state of the power supply voltage and whether a duration of the power-off state exceeds a preset duration.
Since, considering the power-off state occurring with respect to the supply voltage, in addition to a brief power-off occurring when the user presses the mechanical switch, there is also the possibility of a power-off occurring in the network of the external power source. If the detection module 1 only detects the power-off state, the detection is inaccurate. Under normal conditions, the duration of the user continuously operating and pressing the mechanical switch is generally 200 ms-2 s, namely the power failure caused by the user operating the mechanical switch is generally only 200 ms-2 s; the duration of the power supply voltage outage, which is caused by the power grid outage, is generally relatively long.
Therefore, in the embodiment, the power-off duration is used as a standard for distinguishing the power-off of the mechanical switch operated by the user from the power-off of the power grid, and when the detection module detects the power-off of the circuit, the power-off state and the power-off duration are detected simultaneously, so that the accuracy of detecting the operation action of the user on the mechanical switch is ensured.
It should be noted that the operation object for the user to briefly power off the electric device is not limited to a mechanical switch, but may be a touch screen button, an inductor switch, or the like, as long as the power supply voltage can be briefly powered off.
To sum up, the utility model provides a switch detection circuitry, the detection user that can be accurate is through the trigger instruction that short duration outage sent to power consumption load 2 to produce control power consumption load 3 based on this trigger instruction and switch operating condition, can guarantee simultaneously that power consumption load 3 has the electricity all the time, for the user provides probably to power consumption load 3's intelligent wireless control, facilitates power consumption load 3's use for the user, is favorable to intelligent consumer's popularization and application.
Based on the above embodiment, as shown in fig. 2, fig. 2 is a schematic circuit structure diagram of the switch detection circuit provided in the embodiment of the present invention, in another embodiment of the present invention, the switch detection circuit may further include:
and the input end of the detection module 1 is electrically connected with the power grid power supply through the flash switch 4.
The flash switch 4 in this embodiment is a mechanical switch that can control the supply voltage to be in a flash state in the above embodiment, but the structure type of the flash switch is not limited in the present invention.
For example, the structure of the flash switch may be an automatic rebounding mechanical switch similar to a computer host, and when the flash switch is pressed, the power supply and the electrical load 3 are disconnected by the flash switch, and when the flash switch is released, the power supply and the electrical load 3 are connected by the flash switch.
The specific structure of the flash switch 4 can also be similar to a power switch on a refrigerator with a touch screen, when a user touches the flash switch, the power supply and the electric load 3 are switched off by the flash switch 4, and when the user does not touch the flash switch, the power supply and the electric load 3 are switched on by the flash switch 4.
There are also similar flash-off switches of various configurations, not listed here. It should be understood that the external power source and the electric load 3 are only briefly powered off by the user operating the flash switch 4.
In addition, in order to facilitate understanding and explanation of the scheme, in the following embodiments, a flash switch of a type having a structure in which the flash switch 4 is a mechanical switch capable of automatically rebounding is described as an example. But it does not mean that the flash switch 4 in the following embodiments is necessarily a mechanical switch capable of automatically rebounding, and other flash switches capable of achieving similar functions should also belong to the protection scope of the present invention.
Based on the above embodiment, in another specific embodiment of the present invention, as shown in fig. 2, the method may further include:
the output end of the flash switch 4 is also connected with a rectifying and filtering circuit 5 for converting alternating current output by a power supply into direct current;
the output end of the rectifying and filtering circuit 5 is also connected with a DC-DC converter 6 for converting high-voltage direct current into low-voltage direct current;
an output of the DC-DC converter 6 is connected to a first input of the control module 2 and to a first input of the consumer 3.
For an external power supply supplied by a power grid, the external power supply is usually a 220V alternating current power supply, and the working voltage of the control module 2 is not 220V alternating current power supply, so that the alternating current power supply needs to be converted from alternating current to direct current by the rectifying and filtering circuit 5, and then the high-voltage direct current power supply needs to be converted into low-voltage direct current power supply by the DC-DC converter 6, so as to meet the power consumption requirement of the control module 2. Of course, the electric load 3 may be connected to the output end of the rectifier filter 5 or the output end of the DC-DC converter 6 if the operating voltage thereof is direct current, and the connection point is specifically selected according to the operating voltage thereof; if the operating voltage of the consumer 3 is ac, the consumer 3 can be connected directly to the output of the flash switch 4. Therefore, the present invention is not limited to this embodiment.
In addition, the utility model provides a rectification filter circuit 5 can be for the circuit structure that rectifier bridge and wave filter establish ties and form, and this circuit structure turns into the circuit structure that the direct current was commonly used for exchanging, does not discuss here in detail.
Based on any of the above embodiments, in another specific embodiment of the present invention, as shown in fig. 2, the method may further include:
the detection module 1 comprises a first detection circuit 44 for detecting the power-off state of the power supply voltage, and a second detection circuit 42 for detecting whether the power-off duration of the power supply voltage is greater than the preset duration;
the first input end of the control module 2 is electrically connected with the power supply through the flash switch 4, the second input end is connected with the output end of the first detection circuit 11, and the third input end is connected with the second detection circuit 12.
As mentioned above, the flash-off state detected by the detection module 1 includes both the power-off state of the power supply voltage and the power-off duration of the power-off state. In this embodiment, the flash-off state 4 is detected by two different circuits, the first detection circuit 11 is used for detecting the power-off state, and the second detection circuit 12 is used for detecting the power-off duration. The specific circuit configurations of the first detection circuit 11 and the second detection circuit 12 are further described below with specific embodiments.
As shown in fig. 3, fig. 3 is a schematic circuit diagram of a first detection circuit according to another embodiment of the present invention, and the circuit may include:
the first detection circuit 11 includes:
the circuit comprises a first capacitor C1, a first resistor R1, a second resistor R2, a bidirectional optical coupler Q1, a third resistor R3 and a second capacitor C2;
the output end of the flash switch 4 comprises a first output end and a second output end which are used for respectively outputting positive and negative voltages of the power supply;
a first end of the first capacitor C1 is connected with a first output end of the flash switch 4, and a second end is connected with a first end of the first resistor R1;
the second end of the first resistor R1 is connected with the first end of the second resistor R2 and the first input end of the bidirectional optical coupler Q1;
the second end of the second resistor R2 is connected with the second input end of the bidirectional optocoupler Q1 and the second output end of the flash switch 4;
a first end of the third resistor R3 is connected with the output end of the DC-DC converter 6, and a second end is connected with a first end of the second capacitor C2 and the collector output end of the bidirectional optocoupler Q2;
the second end of the second capacitor C2 and the emission output end of the bidirectional optocoupler Q2 are grounded;
and a second terminal of the third resistor R3 is an output terminal of the first detection circuit 11 and is connected to the control module 2.
Since the external power source to which the flash switch 4 is connected is ac power, the flash switch 4 has two output terminals for respectively outputting positive and negative voltages of the ac power.
When the flash switch 4 is normally connected with an external power supply and electric equipment, the current has a first capacitor C1, a first resistor R1 and a second resistor R2 which are normally connected, the voltage at the two ends of the second resistor R2 is equal to the voltage at the two ends of the bidirectional optocoupler Q1, and because the voltage at the two ends of the first resistor R1 is alternating current voltage, the bidirectional light emitting diode in the bidirectional optocoupler Q1 is lighted, and then the collector and the emitter of the phototriode T1 in the bidirectional optocoupler Q1 are kept disconnected.
Meanwhile, a first end of the third resistor R3 is connected with the output end of the DC-DC converter 6, and a second end is connected with a first end of the second capacitor C2; the second terminal of the second capacitor C2 is grounded, since the DC-DC converter 6 outputs DC power, the second capacitor C2 is equivalent to disconnect the third resistor R3 from the ground, and the second terminal of the third resistor R3 is the output terminal of the first detecting circuit 11. Then, the voltage output from the second end of the third resistor R3 is the voltage value at the output end of the DC-DC converter 6, and is a high level voltage.
When the circuit between the external power supply and the electric equipment is disconnected by the flash switch 4, the first capacitor C1 discharges to supply power to the bidirectional optical coupler Q1, the voltage at two ends of the bidirectional optical coupler Q1 is gradually reduced along with the extension of the discharge time, and when the voltage at two ends of the bidirectional optical coupler Q2 is smaller than the light-emitting voltage of the bidirectional light-emitting diode, the bidirectional light-emitting diode does not emit light. At this time, the collector and the emitter of the phototransistor T1 are turned on, the second terminal of the third resistor C3 is grounded, and then the output terminal of the first detection circuit 11 outputs a low level.
Fig. 4 is a graph showing the variation trend of the output voltage of the rectifying and smoothing circuit in the flash-off state, as shown in fig. 4. Wherein, time t0For the duration of time that the user flashes the switch down, U0Is t0The voltage value corresponding to the output end U of the rectifying and filtering circuit 5 at the moment, that is, the minimum voltage at the output end of the rectifying and filtering circuit 5 in the flash state. At t0After that time, the output terminal voltage U of the rectifying-smoothing circuit 5 rises again because the flashoff 4 is released. As can be seen from fig. 3, the output voltage U of the rectifying-filtering circuit 5 has a trend of decreasing first and then increasing.
The DC-DC converter 6 is a step-down converter, and the voltage at the input end of the DC-DC converter 6 is the output end voltage U of the rectifying and filtering circuit 5. The fixed voltage at the output of the DC-DC converter 6 is U1(ii) a When U is larger than U1The output voltage values of the DC-DC converters 6 are all U1If U is smaller than U1The output voltage value of the DC-DC converter 6 is 0.
When the supply voltage is in a flash state, although the output voltage at the output end of the flash switch 4 is 0, the voltage at the output end U of the rectifying and filtering circuit 5 is firstly reduced and then increased. For the first detection circuit 11, it is only necessary to do so at t0The output voltage U of the rectifying and filtering circuit 50Greater than U1The output voltage of the DC-DC converter 6 remains U throughout the flash-off state1The constant voltage U can be provided for the control module 2 and the first end of the third resistor R3 without being influenced by the flash state1. The control module 2 receives the electric signal output by the output end of the first detection circuit 11, and shows the change trend of changing from high level to low level and then changing to high level, and the information that the supply voltage has the flash state can be obtained according to the change trend of the electric signal.
For U0Is related to the time length of pressing the switch by the flash switch 4 and the types of the internal elements of the rectifying and filtering circuit 5. In practical application, the proper rectifying and filtering circuit 5 can be selected according to the duration of the habit of the user to operate the switch.
In addition, for the first detection circuit 11, the time required for the voltage values of the two input ends of the bidirectional optical coupler Q1 to fall to be less than the voltage of the bidirectional light emitting diode should be less than t0Can ensure the power is rectified and filteredBefore the output end voltage U of the circuit 6 starts to increase, the output end of the first detection circuit 11 can output a low-level electric signal, and specifically, the first detection circuit 11 can output a low-level electric signal in a flash state by selecting a proper type of the first resistor R1, the second resistor R2, the first capacitor C1 and the bidirectional optical coupler Q1.
In addition, the first resistor R1 in the first detection circuit 11 is used to divide the voltage across the bidirectional optocoupler Q1, so that when the first capacitor C1 discharges across, the voltage across the bidirectional optocoupler Q1 can quickly drop below the light emitting voltage of its bidirectional light emitting diode. And the bidirectional optical coupler Q1 is connected in parallel with the second resistor R2, so that the voltage division of the bidirectional light emitting diode of the bidirectional optical coupler Q1 can be further reduced.
Specifically, the resistance of the first resistor R1 may be about 5 times that of the second resistor R2, and the ac voltage across the second resistor R2 is 1/20 times the ac voltage. Meanwhile, the current condition of the whole circuit is also considered, the resistance heating is serious due to the excessive current, and the maximum allowable current of the circuit is 1A. The model of each device in the circuit may specifically be that the capacitance of the first capacitor C1 is 10uF, the first resistor R1 is 200K Ω, and the second resistor R2 is 10K Ω. This is of course only a specific embodiment and other models and operating parameters of the electrical device may be selected in practice.
Further, between the third resistor R3 and the output terminal of the DC-DC converter 6, a fourth resistor R4 may be further provided for dividing the voltage of the third resistor R3.
Then, when the collector and the emitter of the phototransistor T1 in the bidirectional optocoupler Q1 are disconnected, the magnitude of the output voltage at the second end of the third resistor R3 is related to the resistance ratio of the third resistor R3 and the fourth resistor R4, and of course, the fourth resistor R4 may be set according to the actual circuit requirement, or the fourth resistor R4 may not be set, as long as the output voltage of the first detection circuit 11 meets the requirement.
As described above, the first detection circuit 11 can detect the operation pressing time period t of the flash switch 40Not exceeding a predetermined time t1Time, i.e. the pressing time t of the flash switch 40Does not exceed the U and falls to the U1A predetermined required time period t1It is ensured that the first detection circuit 11 detects this flash state.
However, when the user operates the control flash switch 4, the time t for pressing the flash switch 4 cannot be ensured0Must be less than the predetermined time t1If t is0Greater than t1If the output voltage U of the trimming filter circuit 5 is less than the constant voltage U1 of the DC-DC converter 6, the power of the whole circuit including the control module 2 and the first end of the third resistor R3 will be cut off. After the user releases the flash switch 4, the control module 2 is powered up again, and the output of the first detection circuit 11 is at a high level. This state is similar to the state that the whole circuit is powered on again after the external power grid is powered off, and the control module 2 cannot determine whether the power-off state is a power grid power-off state or a state that a user operates the flash switch for a long time, so that the second detection circuit 12 is provided in this embodiment.
Based on the above embodiment, in another specific embodiment of the present invention, the second detection circuit 12 in the switch detection circuit specifically may include:
a fifth resistor R5, a third capacitor C3, a sixth resistor R6, a switch device T2 and a seventh resistor R7;
wherein, the first end of the fifth resistor R5 is connected with the output end of the DC-DC converter 6, and the second end is connected with the first end of the third capacitor C3 and the first end of the sixth resistor R6; a second terminal of the third capacitor C3 and a second terminal of the sixth capacitor C6 are grounded;
a first terminal of the seventh resistor R7 is connected to the output terminal of the DC-DC converter 6, and a second terminal is connected to the first output terminal of the switching device T2; a second output terminal of the switching device T2 is grounded;
the second end of the fifth resistor R5 is further connected to the input terminal of the switching device T2, and the second end of the seventh resistor R7 serves as the output terminal of the second detection circuit 12;
when the voltage at the input end of the switching device T2 is greater than the preset voltage value, the first output end and the second output end of the switching device T2 are disconnected; when the voltage at the input terminal of the switching device T2 is less than the preset voltage value, the first output terminal and the second output terminal of the switching device T2 are turned on.
As shown in fig. 5, fig. 5 is a schematic circuit structure diagram of a second detection circuit according to an embodiment of the present invention.
Maintaining a constant output voltage U at the output of the DC-DC converter 61In the second detection circuit, the voltage U at the input terminal of the switching device T13The second terminal voltage of the fifth resistor R5 is the input terminal voltage U due to the voltage division of the fifth resistor R5 and the sixth resistor R63Less than the turn-on voltage U of the switching device T24When the first output end and the second output end of the switching device T2 are connected; the second terminal of the seventh resistor R7 is grounded, and the second detection circuit 12 outputs a low level.
When the power grid is powered off, the output voltage of the output end of the DC-DC converter is 0, the third capacitor C3 is discharged, and the power of the third capacitor C3 is generally completely released before the power grid is turned on again because the power grid is powered off for a relatively long time. When the power grid supplies power again, the output voltage of the DC-DC converter 6 is U1At this time, the second detection circuit 12 is powered up again, and the voltage at the input terminal of the switching device T2 is larger due to the charging voltage division of the third capacitor C3, the first output terminal and the second output terminal of the switching device T2 are disconnected, and the voltage at the second terminal of the seventh resistor R7 is equal to U71The second detection circuit 12 outputs a high level.
When the flash switch 4 is continuously pressed, so that the output voltage of the DC-DC converter 6 is 0, the third capacitor C3 in the second detection circuit 12 stores electric energy, starts discharging, supplies power to the switching device T2, and disconnects the first output terminal and the second output terminal of the switching device T2; if the voltage of the third capacitor C3 is not completely released and the power supply voltage to the switching device is greater than the turn-on voltage U of the switching device T24When the flash switch 4 is released, the output voltage of the DC-DC converter 6 is changed to U again1In this case, although the voltage for charging the third capacitor C3 may be maintained, the input voltage of the switching device T2 may be maintained to be greater than the turn-on voltage U4That is, the first output terminal and the second output terminal of the switching device T2 are kept in an off stateThe two detection circuits 11 output a low level.
In summary, for the second detection circuit 12, from the power failure to the power re-power-up of the power grid, the voltage at the output end of the second detection circuit 12 outputs the high level first and then outputs the low level; in the flash-off state, the voltage output by the second detection circuit 12 is a low level which is continuously output, so that after the control module 2 is powered on again, whether the power grid is powered off or the power off caused by the flash switch 4 is judged according to the voltage output by the second detection circuit 12, and whether the working state of the power load is switched is determined.
Alternatively, the switching device may be specifically an NMOS transistor or an NPN transistor.
When the switching device is an NMOS tube, the drain electrode of the NMOS tube is connected with the output end of the DC-DC converter, the source electrode of the NMOS tube is grounded, and the grid electrode of the NMOS tube is connected with the second end of the seventh resistor.
When the switching device is an NPN triode, the collector of the NPN triode is connected with the output end of the DC-DC converter, the emitter of the NPN triode is grounded, and the base of the NPN triode is connected with the second end of the seventh resistor.
As described above, after the DC-DC converter 5 is powered up again due to the flash state, the second detection circuit 12 outputs the low level on the premise that the supply voltage to the switching device T2 at the third capacitor C3 is not less than the turn-on voltage U4When this occurs, the flush switch 4 is released, so that the DC-DC converter 5 is powered up again.
In the embodiment where the switching device T2 is an NPN transistor, the emitter of the NPN transistor is grounded, i.e., U4Equal to the ground voltage, the second detection circuit 12 is guaranteed to output a low level as long as the flash switch 4 is released before the power of the third capacitor C3 is completely discharged. Therefore, in practical application, if the power-off duration of the flash-off state is required to be longer, the capacitor with more stored energy and slower voltage release can be selected as the third capacitor C3.
Optionally, the second detection circuit 12 further includes an eighth resistor R8 connected between the second terminal of the fifth resistor R5 and the input terminal of the switching device T2.
Between the fifth resistor R5 and the switching device T2, an eighth resistor R8 may be provided according to actual needs, so as to perform voltage division on the switching device T2, and if the switching device T2 does not need voltage division by the eighth resistor R8, the eighth resistor R8 may be eliminated.
As described above, the switch detection circuit of the present invention is for realizing intelligent control of the electric device, and therefore, in another embodiment of the present invention, the switch detection circuit can further include:
the control module 2 further comprises a wireless communication module for receiving a switching instruction for switching the current working state of the electric load 3.
Of course, wireless communication module can embed the function module in control module 2, also can be independent device outside being independent of control module 2, can be even in the consumer other can control built-in function module in the module of 3 operating condition of consumer, as long as can receive the switching instruction of control consumer operating condition through wireless signal, and with this instruction send to the module of controlling 3 work of this consumer can, to the actual mode of setting of wireless communication module, the utility model discloses in do not specifically limit.
Specifically, the utility model provides a power consumption load 3 specifically can be lamps and lanterns, after the user closed lamps and lanterns through wall switch, still can be through the control lamps and lanterns such as cell-phone or remote control light and extinguish.
Certainly, the utility model discloses in also not excluding electric load 3 be for example refrigerator, air conditioner, TV, air purifier and so on class consumer, do not do the specific restriction to this the utility model discloses in.
The embodiments are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same or similar parts among the embodiments are referred to each other. The device disclosed by the embodiment corresponds to the method disclosed by the embodiment, so that the description is simple, and the relevant points can be referred to the method part for description.

Claims (12)

1. A switch detection circuit is characterized by comprising a detection module, a control module and an electricity load;
the detection module is used for accessing a power supply voltage at an input end, detecting a flash state of the power supply voltage, and sending a level signal to the control module through an output end when the flash state is detected; the power supply voltage is in a power-off state, wherein the power-off state is a power-off state in which the power-off duration of the power supply voltage is not more than a preset duration;
the control module is respectively connected with the detection module and the electric load and is used for controlling and switching the current working state of the electric load when receiving the level signal.
2. The switch detect circuit of claim 1, further comprising a flash switch in communication with a power supply, wherein the detection module input is electrically connected to the supply voltage via the flash switch.
3. The switch detection circuit of claim 2, wherein the detection module comprises a first detection circuit for detecting a power-off state of the supply voltage, and a second detection circuit for detecting whether a power-off duration of the supply voltage is greater than the preset duration;
the first input end of the control module is electrically connected with the power supply through the flash switch, the second input end of the control module is connected with the output end of the first detection circuit, and the third input end of the control module is connected with the second detection circuit;
the first input end of the power utilization load is electrically connected with the power supply through the flash switch, and the second input end of the power utilization load is connected with the control module.
4. The switch detection circuit according to claim 3, wherein the output terminal of the flash switch is further connected with a rectifying and filtering circuit for converting the alternating current output by the power supply into the direct current;
the output end of the rectification filter circuit is also connected with a DC-DC converter for converting high-voltage direct current into low-voltage direct current;
the output end of the DC-DC converter is connected with the first input end of the control module and the first input end of the power load.
5. The switch detect circuit of claim 4, wherein the first detect circuit comprises:
the circuit comprises a first capacitor, a first resistor, a second resistor, a bidirectional optical coupler, a third resistor and a second capacitor;
the output end of the flash switch comprises a first output end and a second output end which are used for respectively outputting positive and negative voltages of the power supply;
the first end of the first capacitor is connected with the first output end of the flash switch, and the second end of the first capacitor is connected with the first end of the first resistor; the second end of the first resistor is connected with the first end of the second resistor and the first input end of the bidirectional optical coupler; the second end of the second resistor is connected with the second input end of the bidirectional optocoupler and the second output end of the flash switch;
the first end of the third resistor is connected with the output end of the DC-DC converter, and the second end of the third resistor is connected with the first end of the second capacitor and the collector output end of the bidirectional optical coupler; the second end of the second capacitor and the emission output end of the bidirectional optocoupler are grounded; and the second end of the third resistor is the output end of the first detection circuit and is connected with the control module.
6. The switch detection circuit of claim 5, wherein the first detection circuit further comprises a fourth resistor connected in parallel across the second capacitor.
7. The switch detect circuit of claim 4, wherein the second detect circuit comprises:
a fifth resistor, a third capacitor, a sixth resistor, a switching device and a seventh resistor;
the first end of the fifth resistor is connected with the output end of the DC-DC converter, and the second end of the fifth resistor is connected with the first end of the third capacitor and the first end of the sixth capacitor; a second end of the third capacitor and a second end of the sixth capacitor are grounded; a first end of the seventh resistor is connected with the output end of the DC-DC converter, and a second end of the seventh resistor is connected with the first output end of the switching device; a second output terminal of the switching device is grounded; the second end of the fifth resistor is also connected with the input end of the switching device; a second end output end of the seventh resistor is an output end of the second detection circuit;
when the voltage of the input end of the switching device is larger than a preset voltage value, the first output end and the second output end of the switching device are disconnected; and when the voltage of the input end of the switching device is smaller than a preset voltage value, the first output end and the second output end of the switching device are connected.
8. The switch detection circuit of claim 7, wherein the switching device is a MOS transistor or an NPN transistor.
9. The switch detection circuit of claim 7, wherein the second detection circuit further comprises an eighth resistor connected between the second terminal of the fifth resistor and the input terminal of the switching device.
10. The switch detection circuit according to any one of claims 1 to 9, wherein the control module further comprises a wireless communication module for receiving a switching instruction for switching the current operating state of the electrical load.
11. The switch detect circuit of claim 10, wherein the power consuming load is a light fixture.
12. The switch detection circuit of claim 10, wherein the operating state of the electrical load comprises an on state or an off state.
CN201920712280.7U 2018-07-12 2019-05-17 Switch detection circuit Active CN210928091U (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN2018107672718 2018-07-12
CN201810767271.8A CN108650764A (en) 2018-07-12 2018-07-12 Switch detection circuit and lamps and lanterns

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2019/095557 WO2020011224A1 (en) 2018-07-12 2019-07-11 Flashoff switch detection circuit and electronic device including same

Publications (1)

Publication Number Publication Date
CN210928091U true CN210928091U (en) 2020-07-03

Family

ID=63751630

Family Applications (3)

Application Number Title Priority Date Filing Date
CN201810767271.8A Pending CN108650764A (en) 2018-07-12 2018-07-12 Switch detection circuit and lamps and lanterns
CN201910414546.4A Pending CN109963396A (en) 2018-07-12 2019-05-17 A kind of switch detection circuit
CN201920712280.7U Active CN210928091U (en) 2018-07-12 2019-05-17 Switch detection circuit

Family Applications Before (2)

Application Number Title Priority Date Filing Date
CN201810767271.8A Pending CN108650764A (en) 2018-07-12 2018-07-12 Switch detection circuit and lamps and lanterns
CN201910414546.4A Pending CN109963396A (en) 2018-07-12 2019-05-17 A kind of switch detection circuit

Country Status (1)

Country Link
CN (3) CN108650764A (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020011224A1 (en) * 2018-07-12 2020-01-16 青岛亿联客信息技术有限公司 Flashoff switch detection circuit and electronic device including same
CN109917278A (en) * 2019-03-29 2019-06-21 宁波奥克斯电气股份有限公司 A kind of forceful electric power logic detection system and method
EP3958652A1 (en) * 2019-04-19 2022-02-23 Qingdao Yeelink Information Technology Co., Ltd. Intelligent lamp control system and flicker control circuit thereof
CN110139443B (en) * 2019-05-27 2022-03-01 青岛亿联客信息技术有限公司 Net clearing device of electrical equipment, lamp equipment and net clearing control method
CN112707301A (en) * 2021-01-06 2021-04-27 上海新时达电气股份有限公司 Switch detection method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN109963396A (en) 2019-07-02
CN108650764A (en) 2018-10-12

Similar Documents

Publication Publication Date Title
CN210928091U (en) Switch detection circuit
CN210670688U (en) Flash switch detection circuit and intelligent lamp
CN210670696U (en) Detection circuit for flash switch
CN1848649B (en) Electronic equipment, power supply used for the electronic equipment and method for supplying power to the electronic equipment
KR20120093709A (en) Electric power supply apparatus of electric apparatus
CN210129991U (en) Control device
CN210042326U (en) Intelligent lamp control system and flash switch detection circuit thereof
CN205544520U (en) Automatic energy -conserving charging circuit of pressure regulating
EP3761478A1 (en) Wireless control module, wireless wall switch, powered device and system
US20110169341A1 (en) Power saving circuit
CN211063817U (en) Flash detection control device, electronic equipment comprising same and system
CN103427821B (en) Power management device realizing zero standby current
CN108183608B (en) Boosting circuit
WO2020011224A1 (en) Flashoff switch detection circuit and electronic device including same
CN213305047U (en) Standby power supply switching circuit
CN2521805Y (en) Domestic electric appliances power source remote-control cut-off energy-saving controller
CN110139443B (en) Net clearing device of electrical equipment, lamp equipment and net clearing control method
CN213693214U (en) Electronic wallet power supply circuit and electronic wallet
CN209946325U (en) Double-control switch detection circuit and device
CN211484155U (en) Air oven with intelligence wiFi control function
CN215378559U (en) Power management circuit
CN104882741A (en) Novel smart socket
CN208986631U (en) A kind of moving charging control circuit
CN111092411B (en) Single-fire intelligent switch and electric leakage protection method thereof
CN212063483U (en) Full-automatic high-power time control circuit breaker

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder

Address after: 266000 Qingdao Laoshan District, Shandong Province, No. 1, Keyuan-wei Road, Block B, 10-storey B4, Qingdao International Innovation Park

Patentee after: Qingdao Yilai Intelligent Technology Co.,Ltd.

Address before: 266000 Qingdao Laoshan District, Shandong Province, No. 1, Keyuan-wei Road, Block B, 10-storey B4, Qingdao International Innovation Park

Patentee before: Qingdao Yeelink Information Technology Co.,Ltd.

CP01 Change in the name or title of a patent holder