CN110139443A - Clear net device, fixture and the clear network control method of electrical equipment - Google Patents
Clear net device, fixture and the clear network control method of electrical equipment Download PDFInfo
- Publication number
- CN110139443A CN110139443A CN201910446208.9A CN201910446208A CN110139443A CN 110139443 A CN110139443 A CN 110139443A CN 201910446208 A CN201910446208 A CN 201910446208A CN 110139443 A CN110139443 A CN 110139443A
- Authority
- CN
- China
- Prior art keywords
- power
- electrical equipment
- clear
- output end
- clear net
- 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.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H05—ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
- H05B—ELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
- H05B47/00—Circuit arrangements for operating light sources in general, i.e. where the type of light source is not relevant
- H05B47/10—Controlling the light source
-
- H—ELECTRICITY
- H05—ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
- H05B—ELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
- H05B47/00—Circuit arrangements for operating light sources in general, i.e. where the type of light source is not relevant
- H05B47/20—Responsive to malfunctions or to light source life; for protection
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02B—CLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
- Y02B20/00—Energy efficient lighting technologies, e.g. halogen lamps or gas discharge lamps
- Y02B20/40—Control techniques providing energy savings, e.g. smart controller or presence detection
Landscapes
- Circuit Arrangement For Electric Light Sources In General (AREA)
- Electronic Switches (AREA)
Abstract
The invention discloses a kind of clear net devices of electrical equipment, the output end electrical connection including the power switch with the electrical equipment, the power failure detection circuit of the off-position of the supply voltage for detecting the power switch output end;It is connected with the power failure detection circuit, for detecting that power-off number reaches preset times within a preset period of time, then starts the controller of clear net program when the power failure detection circuit.Directly the off-position of power switch is detected by power failure detection circuit in the application, on the basis of ensure that the accuracy to off-position detection, prevents from accidentally touching and starting clear net program, improves the accuracy to clear network control.The clear network control method of a kind of fixture and electrical equipment is additionally provided in the application, and there is above-mentioned beneficial effect.
Description
Technical field
The present invention relates to technical field of electrical equipment, more particularly to clear net device, the Intelligent lamp of a kind of electrical equipment
And the clear network control method of electrical equipment.
Background technique
Electrical equipment is in people's daily life, one of essential tool in work.With electrical equipment intelligence
Development.More and more electrical equipments start to be intended to intelligentized development.For example, user can pass through remote control or mobile phone
APP carries out various intelligent sets to electrical equipment, to meet convenient demand of user when using electrical equipment.
Electrical equipment in use, because of various reasons, such as replacement user etc., needs to carry out electrical equipment clear
Net, so that electrical equipment factory reset.Currently, general electrical equipment is equipped with the button of factory reset, such as
There are trigger button in the hole of aperture size, user can factory reset using sharpened tip pressing.But it is this
The mode of factory reset, for user operation bring it is constant.
Summary of the invention
The object of the present invention is to provide a kind of clear net devices of electrical equipment, solve the factory reset of electrical equipment
The inconvenience of clear net operation problem.
In order to solve the above technical problems, the present invention provides a kind of clear net device of electrical equipment, including power failure detection circuit
And controller;
Wherein, the output end electrical connection of the power switch of the power failure detection circuit and the electrical equipment, for detecting
The off-position of the supply voltage of the power switch output end;
The controller is connected with the power failure detection circuit, for detecting when default when the power failure detection circuit
Between in section power-off number reach preset times, then start clear net program.
Wherein, the power failure detection circuit includes zero crossing comparison module, output resistance, discharge capacity, isolation optocoupler and opens
Close detection module;
The first input end of the zero crossing comparison module is connected with the first output end of the power switch, the second input
End is connected with the second output terminal of the power switch;The of the output end of the zero crossing comparison module and the output resistance
The connection of the cathode input terminal of one end and the isolation optocoupler;
The anode of the first end and the isolation optocoupler of the second end of the output resistance and the discharge capacity inputs
End connection;
The second end of the discharge capacity is connect with the second input terminal of the zero crossing comparison module;
The zero crossing comparison module is used to carry out zero passage detection to the supply voltage, and in the supply voltage zero passage
Discharge loop is provided for the discharge capacity;
If the supply voltage of the power switch access is DC voltage, the conducting phenomenon mark institute of the isolation optocoupler
DC voltage is stated to power off;If the supply voltage is alternating voltage, big when the conduction interval time of the isolation optocoupler
When the signal period of the alternating voltage, indicate that open circuit occurs for the alternating voltage;
The input terminal of the switch detection module is connect with the output end of the isolation optocoupler, the switch detection module
Output end is connected with the controller, and the on-off for exporting the isolation optocoupler to the controller detects signal.
Wherein, switch detection module includes pull-up resistor, the first power supply and protection capacitor;
First output end of the isolation optocoupler is connect by the pull-up resistor with first power supply, and as described
Switch the output end of detection module, the second output terminal ground connection of the isolation optocoupler;
The protection capacitance connection is between the first output end and second output terminal of the isolation optocoupler.
Wherein, the zero crossing comparison module includes first resistor, second resistance, 3rd resistor, the 4th resistance, the first PMOS
Pipe, the second PMOS tube, the first NMOS tube, the second NMOS tube, reference voltage source, comparator and phase inverter;
The first end of the first resistor, the source electrode of first PMOS tube, the source electrode of second PMOS tube, the base
First power input of reference voltage source homogeneously connects, and the first input end as the zero crossing comparison module;
The second end of the first resistor, the first end of the second resistance, first PMOS tube drain electrode mutually
Connection;The second end of the second resistance, the first end of the 3rd resistor, the comparator normal phase input end homogeneously interconnect
It connects;
The output end of the reference voltage source is connect with the inverting input terminal of the comparator;
The second end of the 3rd resistor, the first end of the 4th resistance, first NMOS tube drain electrode mutually
Connection;
The grid of first PMOS tube, the grid of first NMOS tube, the output end of the comparator, the reverse phase
The input terminal of device homogeneously connects;The output end of the phase inverter, the grid of second PMOS tube, second NMOS tube
Grid homogeneously connects;The drain electrode of second PMOS tube is connect with the drain electrode of second NMOS tube, and as the zero passage
The output end of comparison module;
The second source input terminal of the reference voltage source, the second end of the 4th resistance, first NMOS tube
Source electrode, second NMOS tube source electrode homogeneously connect, and the second input terminal as the zero crossing comparison module.
The present invention also provides a kind of fixture, the clear net device including described in any item electrical equipments as above is used
In the power switch and light-emitting component of connecting external power supply and the Intelligent lamp;
Wherein, the input terminal of the clear net device of the output end of the power switch and the electrical equipment and it is described shine
Element is connected;
The controller of the clear net device of the electrical equipment is connected with the light-emitting component, for controlling the luminous member
The working condition of part.
Wherein, the power switch is self-resetting switch.
The present invention also provides a kind of clear network control method of electrical equipment, it is applied to the as above any one electrical equipment
Clear net device, comprising:
Receive the power-off voltage signal of the power failure detection circuit output in the clear net device of the electrical equipment;
Reach preset times when receiving the accumulative frequency for powering off voltage signal in preset time period, then starts clear net
Program.
Wherein, the accumulative frequency that the power-off voltage signal is received in the preset time period reaches preset times,
Then starting clear net program includes:
When receiving the power-off voltage signal, then judge that last receive of current time distance powers off voltage signal
Whether the duration at moment is more than preset duration;If it is not, accumulative frequency is then added 1;
Judge whether current accumulative frequency reaches preset times, if so, starting clear net program.
Wherein, described to judge whether the last duration received at the time of powering off voltage signal of current time distance is more than pre-
If duration includes:
If the last duration received at the time of powering off voltage signal of current time distance is more than preset duration, to current
Accumulative frequency reset.
Wherein, the preset times are 3 times to 5 times.
The clear net device of electrical equipment provided by the present invention, using the existing power switch of electrical equipment as triggering electricity
The control button of the clear net program starting of device equipment, and based on the power down function of power switch script, existed with external power supply
Trigger signal of the power-off number as clear net program in preset time, starts clear net program.
For the button switch of pin, the power switch in the application is easier to operate to control;And it is not necessarily to
In addition it is configured to the circuit structure for starting the operation button of clear net program and matching with operation button for electrical equipment, both
It solves the problems, such as that the clear net start-up operation of electrical equipment is difficult, in turn simplifies the switch of electrical equipment and the knot of interlock circuit
Structure, and extend the function of power switch.
In addition, directly being detected to the off-position of power switch in the application by power failure detection circuit, as long as electric
Interrupting, which occurs, in the supply voltage of source switch output can be detected;And reaches preset times in power-off number and just start clear net journey
Sequence on the basis of ensure that the accuracy to off-position detection, is prevented from accidentally touching and starting clear net program, be improved to clear network control
The accuracy of system.
The clear network control method of a kind of fixture and electrical equipment is additionally provided in the application, is had above-mentioned beneficial to effect
Fruit.
Detailed description of the invention
It, below will be to embodiment or existing for the clearer technical solution for illustrating the embodiment of the present invention or the prior art
Attached drawing needed in technical description is briefly described, it should be apparent that, the accompanying drawings in the following description is only this hair
Bright some embodiments for those of ordinary skill in the art without creative efforts, can be with root
Other attached drawings are obtained according to these attached drawings.
Fig. 1 is the electrical block diagram of the clear net device of electrical equipment provided in an embodiment of the present invention;
Fig. 2 is the circuit diagram of power failure detection circuit provided in an embodiment of the present invention;
Fig. 3 be another embodiment of the present invention provides power failure detection circuit circuit diagram;
Fig. 4 is the electrical block diagram of zero passage protective module provided in an embodiment of the present invention;
Fig. 5 is the flow diagram of the clear network control method of electrical equipment provided in an embodiment of the present invention.
Specific embodiment
It is started switch currently, the Starting mode netted clearly to electrical equipment is substantially in addition to configure for electrical equipment,
Such as it is arranged in pin hole gap and starts switch, or started switch in concealed location setting.Both equipment started switch
Mode is provided to that user is avoided accidentally to touch.But the operation that can also start clear net program to user simultaneously is made troubles.In addition, right
In the certain electrical equipments for being mounted on specific position, such as suspended ceiling lamp, air-conditioning etc., to control and start switch, it is necessary to use
Its peripheral devices is climbed or even is dismantled at family, is further made troubles the operation of user.
Other than above-mentioned control mode, clear net operation can also be started by the way of powering off to electrical equipment.
But it is often complex based on the circuit inside electrical equipment, if with the storage such as inductance, capacitor in the circuit of electrical equipment
It can element.Such as the controller of control electrical equipment, the alternating current for the 220V that operating voltage is inputted not by power switch
Pressure, it is therefore desirable to using the operating voltage for needing 220V voltage modulated to controller by voltage modulation circuit.And this electricity
Pressure modulation circuit can make power switch generate time delay to the power-off of controller, if power-off of the power switch to electrical equipment
Time is shorter, and controller does not just receive the signal of power-off yet, causes controller that can not start clear net program.
In conclusion control starts the control of clear net program in the case where user is shorter to electrical equipment power-off time
Device does not often receive electrical equipment and the signal powered off occurs, or the electric signal for being only deemed as inputting generates of short duration fluctuation;
In other words electrical equipment is powered off and reaches the mode for starting clear net program, there is certain want to user's control power-off duration
It asks, there is a problem of detecting inaccuracy to power-off signal.In addition, being powered off to electrical equipment and closing to electrical equipment or open again
There is also certain similarities for dynamic equal operation, and also then track control unit mistake starts the risk of clear net program to a certain extent.
For this purpose, the clear net device of a kind of electrical equipment provided herein, directly break to power switch in the device
Electricity condition is detected, and continues to can be detected too long without power switch power-off time, in addition, only breaking within a preset time
Electric number, which reaches preset times, could start clear net program, avoid accidentally touching situation.And power supply is taken full advantage of on this basis
The power down function of switch, so that the function of power switch is extended.The clear net device will be carried out with specific embodiment below
Detailed description.
In order to enable those skilled in the art to better understand the solution of the present invention, with reference to the accompanying drawings and detailed description
The present invention is described in further detail.Obviously, described embodiments are only a part of the embodiments of the present invention, rather than
Whole embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art are not making creative work premise
Under every other embodiment obtained, shall fall within the protection scope of the present invention.
3, as shown in FIG. 1, FIG. 1 is the signals of the circuit structure of the clear net device of electrical equipment provided in an embodiment of the present invention
Figure, the clear net device may include:
Power failure detection circuit 2 and controller 3;
Wherein, the output end electrical connection of the power switch 1 of the power failure detection circuit 2 and the electrical equipment, for examining
Survey the off-position of the supply voltage of 1 output end of power switch;
The controller 3 is connected with the power failure detection circuit 2, for detecting when the power failure detection circuit 2 pre-
If power-off number reaches preset times in the period, then start clear net program.
For general electrical equipment, power switch 1 is its essential component.1 one end of power switch connects
External power supply 4, the power load 5 of one end connecting circuit equipment are connect, if power switch 1 disconnects, electrical equipment and external electrical
Source 4 powers off.
As shown in Figure 1, power failure detection circuit 2 is when user once powers off electrical equipment by power switch 1
An off-position can be detected, and generate corresponding electric signal and be sent to controller 3, controller 3 is according to the power-off received
The number of electric signal count cumulative, if cumulative power-off number reaches preset times within a preset period of time, open
Move clear net program.
The power down function that power switch 1 is taken full advantage of in the present embodiment is specifically started switch without being in addition arranged, is kept away
Exempt from electrical equipment and starts switch the inconvenient problem of control;Power failure detection circuit 2 is directly connected with the output end of power switch 1
It connects, as long as power switch 1 generates power-off, detection circuit 2 can be powered down and detected;And it requires on this basis only default
Period interior power-off number reaches preset times and just starts clear net program, can either avoid the operation restarted repeatedly with electrical equipment
It is overlapped, and can be avoided user accidentally there are unstable fluctuations to cause for touching or power grid, cause what clear net program surprisingly restarted to ask
Topic.
In conclusion clear net device provided herein, sufficiently extension and the power down function using power switch 1,
On the basis of the circuit components for simplifying electrical equipment as far as possible, the accuracy of the clear net program starting of electrical equipment ensure that,
User is improved to the usage experience of electrical equipment.
For detect 1 off-position of power switch power failure detection circuit 2, can there are many, below with a kind of specific electricity
Road is illustrated.As shown in Fig. 2, Fig. 2 is the circuit diagram of power failure detection circuit provided in an embodiment of the present invention, power-off inspection
Slowdown monitoring circuit may include:
Zero crossing comparison module, output resistance Ro, discharge capacity Ci, isolation optocoupler OC and switch detection module;
The first input end of zero crossing comparison module is connected with the first output end of power switch 1, the second input terminal and electricity
The second output terminal of source switch 1 is connected;The output end of zero crossing comparison module and the first end of output resistance Ro and isolation light
The cathode input terminal of coupling OC connects;
The second end of output resistance Ro is connect with the anode input terminal of the first end of discharge capacity Ci and isolation optocoupler OC;
The second end of discharge capacity Ci and the second input terminal of zero crossing comparison module connect;
Zero crossing comparison module is used to carry out zero passage detection to supply voltage, and is discharge capacity Ci in supply voltage zero passage
Discharge loop is provided;
If the supply voltage that power switch 1 accesses is DC voltage, the conducting phenomenon mark direct current of isolation optocoupler OC
The raw power-off of pressure;If supply voltage is alternating voltage, it is greater than the signal of alternating voltage when the conduction interval time of isolation optocoupler
When the period, mark alternating voltage is powered off;
The input terminal of switch detection module is connect with the output end of isolation optocoupler OC, switchs output end and the control of detection module
Device 3 processed is connected, and the on-off for exporting isolation optocoupler OC to controller 3 detects signal.
As shown in Fig. 2, in power failure detection circuit provided herein, when the power supply electricity of 1 output end of power switch output
Pressure Vin is alternating voltage, and the size of supply voltage Vin is periodically variable.When supply voltage Vin is high level, electric discharge
Capacitor Ci is in charged state, and B point voltage is not higher than A point voltage, and the light emitting diode in isolation optocoupler OC is not turned on, and is isolated
Phototriode in optocoupler OC is in an off state;
When supply voltage Vin variation is low level, the conducting structure switching of zero crossing comparison module internal circuit, for electric discharge
Capacitor Ci provides discharge loop;At this point, B point voltage is higher than A point voltage since discharge capacity Ci both end voltage cannot be mutated, put
Capacitor Ci discharges so that isolation optocoupler OC is connected, and the conducting duration of isolation optocoupler OC is electric depending on the electric discharge of discharge capacity Ci
The duration of stream.With the cyclically-varying of voltage Vin, when voltage Vin becomes high level again, discharge capacity Ci restores
Charged state, isolation optocoupler OC are then still in an off state.
From the foregoing, it will be observed that when the supply voltage Vin that power switch 1 exports is alternating voltage, in alternating voltage period of change,
The electric discharge phenomena of discharge capacity Ci only occur once, that is, occur at the time of supply voltage Vin is reduced to a certain extent such as zero passage,
Also only conducting is primary by isolation optocoupler OC.So in the case where 1 output end of normal condition, that is, power switch does not power off generation,
Isolation optocoupler OC is with the variation of alternating voltage, periodically conducting and disconnection.
Generally, the supply voltage Vin of used exchange is alternating current, signal period 20ms.However, once inputting
Voltage Vin open circuit has occurred, affect supply voltage Vin variation continuity, between the conducting that isolation optocoupler OC will certainly be enabled
It is greater than originally fixed period of change every the time, thus can determine that open circuit has occurred in supply voltage Vin.
When the supply voltage Vin that power switch 1 inputs is direct current signal, the first end input terminal of zero crossing comparison module is accessed
The positive terminal of direct current signal, second end input end grounding.In normal state, supply voltage Vin is constant high level, B point electricity
Pressure is not higher than A point voltage, and isolation optocoupler OC is in an off state.And open circuit occurs for the supply voltage Vin once inputted, then is putting
Capacitor Ci will carry out primary of short duration discharge process, while primary of short duration conducting phenomenon also occurs in isolation optocoupler OC.As a result,
When detecting the conducting phenomenon of isolation optocoupler OC input supply voltage Vin can determine that for the supply voltage Vin of direct current
Open circuit has occurred.
It should be noted that either alternating voltage or DC voltage that power switch 1 inputs, in above-mentioned detection process
In, since the discharge process of discharge capacity Ci can terminate quickly, the on state of isolation optocoupler OC is moment to complete switching
, isolation optocoupler OC is in off state within the most of the time, is not turned on electric current, therefore significantly reduce system function
Consumption.
Optionally, as shown in figure 3, Fig. 3 be another embodiment of the present invention provides power failure detection circuit circuit diagram,
Can also include: in the power failure detection circuit
The voltage-stabiliser tube D being connected between the first input end of zero crossing comparison module and the second input terminal.
Specifically, settable voltage-stabiliser tube D carries out input protection to the comparator U in zero crossing comparison module.In addition, in reality
In, comparator U can be specifically chosen related packaged integrated chip to reference voltage source Ref.
Switch detection circuit in the present embodiment, can be defeated to controller by the conducting and disconnection that detect isolation optocoupler OC
Different electric signal out, the information that controller is powered off according to the electric signal output end ready to receive to power switch.
Optionally, in another embodiment of the present invention, as shown in figure 3, switch detection module can specifically include
Pull-up resistor Rp, the first power supply VCC and protection capacitor CS;
The first output end of isolation optocoupler OC is connect by pull-up resistor Rp with the first power supply VCC, and as switch
The output end of detection module, the second output terminal ground connection of isolation optocoupler OC;
Protect capacitor CSIt is connected between the first output end of isolation optocoupler OC and second output terminal.
Specifically, when isolation optocoupler OC is in an off state, the output of switch detection module shown in Fig. 2 is because of pull-up resistor
The effect of Rp and be high level;When isolation optocoupler OC conducting, the output of detection module is switched because the ground connection of isolation optocoupler OC is made
With and be low level.Since the conducting duration of isolation optocoupler OC is very short relative to shutdown duration, on state is corresponding
Low level is just presented as a negative pulse on waveform.
Optionally, switch detection module further includes being connected between the first output end of isolation optocoupler OC and second output terminal
Protection capacitor Cs, the input resistance Ri connected between the first input end and power switch output end of zero crossing comparison module.
As for the specific resistance value size of input resistance Ri, those skilled in the art can according to actual use situation designed, designed and real
Existing, the application is not limited thereto.
It should be noted that those skilled in the art can voluntarily select and design the physical circuit knot of switch detection module
Structure, if can according to its output on-off detection signal acquisition isolation optocoupler OC on state, the application to this simultaneously
Without limiting.
For the zero crossing comparison module in above-described embodiment, as shown in figure 4, Fig. 4 is zero passage provided in an embodiment of the present invention
The electrical block diagram of protective module, the zero crossing comparison module include first resistor R1, second resistance R2,3rd resistor R3,
4th resistance R4, the first PMOS tube P1, the second PMOS tube P2, the first NMOS tube N1, the second NMOS tube N2, reference voltage source Ref,
Comparator U and phase inverter;
The first end of first resistor R1, the source electrode of the first PMOS tube P1, the second PMOS tube P2 source electrode, reference voltage source
The first power input of Ref homogeneously connects, and the first input end as zero crossing comparison module;
The drain electrode of the second end, the first end of second resistance R2, the first PMOS tube P1 of first resistor R1 homogeneously connects;The
The second end of two resistance R2, the first end of 3rd resistor R3, comparator U normal phase input end homogeneously connect;
The output end of reference voltage source Ref is connect with the inverting input terminal of comparator U;
The drain electrode of the second end of 3rd resistor R3, the first end of the 4th resistance R4, the first NMOS tube N1 homogeneously connects;
The grid of first PMOS tube P1, the grid of the first NMOS tube N1, the output end of comparator U, phase inverter input terminal
Homogeneously connect;The output end of phase inverter, the grid of the second PMOS tube P2, the second NMOS tube N2 grid homogeneously connect;The
The drain electrode of two PMOS tube P2 is connect with the drain electrode of the second NMOS tube N2, and the output end as zero crossing comparison module;
The second source input terminal of reference voltage source Ref, the second end of the 4th resistance R4, the first NMOS tube N1 source electrode,
The source electrode of second NMOS tube N2 homogeneously connects, and the second input terminal as zero crossing comparison module.
Specifically, reference voltage source Ref for outputting reference voltage to comparator U inverting input terminal, comparator U according to
The voltage swing relationship of its positive and negative phase input terminal exports comparison result signal.When the electricity that the input terminal of zero crossing comparison module inputs
When the voltage of source voltage Vin is higher, comparator U exports high level, after inverted device reverse phase, the second PMOS tube P2 conducting, second
NMOS tube N2 is turned off, and the output resistance Ro and discharge capacity Ci in subsequent conditioning circuit access circuit, electric discharge by the second PMOS tube P2
Capacitor Ci is in charged state.
When the supply voltage Vin that the input terminal of zero crossing comparison module inputs is decreased to reversed zero passage, i.e., by higher voltage
When value is reduced to certain threshold value and zero passage, the output of comparator U is flipped, and becomes low level, after inverted device reverse phase, second
PMOS tube P2 shutdown, the second NMOS tube N2 conducting, i.e. switching change the internal circuit conducting structure of zero crossing comparison module, enable the
Two PMOS tube P2 cooperate the isolation optocoupler OC in subsequent conditioning circuit to be that discharge capacity Ci forms discharge loop, and then enables and flowed through electric discharge
The isolation optocoupler OC of electric current is connected.
A kind of embodiment of fixture is additionally provided in the present invention, which can specifically include: electrical equipment
Clear net device, for connecting the power switch and light-emitting component of external power supply and Intelligent lamp;
Wherein, the output end of power switch is connected with the input terminal of the clear net device of electrical equipment and light-emitting component;
The controller of the clear net device of electrical equipment is connected with light-emitting component, for controlling the work shape of light-emitting component
State.
Specifically, power failure detection circuit, the power failure detection circuit point can be integrated on the chip of the integrated circuit of lamps and lanterns
It is not connected with power switch and controller, which is the controller for controlling light-emitting component work, then, even if
It is that lamps and lanterns are arranged at the top of room, the clear net journey of its controller of starting can also be realized by controlling its switch on a wall
Sequence, to reply the default setting of controller.
Optionally, it is contemplated that because the clear net device of electrical equipment, needs power failure detection circuit to examine within a preset period of time
The power-off number measured is added to preset times, just starts clear net program, need thus the frequent disconnecting power switch of user and
It is closed power switch.In order to keep user's operation more convenient, power switch can be set to self-resetting switch, user presses
Afterwards, reset can be bounced automatically, can reduce the number of user operable switch to a certain extent.
A kind of clear network control method of electrical equipment is additionally provided in the present invention, is set applied to electric appliance described in any of the above-described
Standby clear net device, as shown in figure 5, the process that Fig. 5 is the clear network control method of electrical equipment provided in an embodiment of the present invention is shown
It is intended to.This method may include:
Step S11: the power-off voltage signal of power failure detection circuit output is received;
Step S12: it presses the accumulative frequency of signal to reach preset times when receiving power-off electric in preset time period, then starts
Clear net program.
The power-off voltage signal that detects by power failure detection circuit is received in the present embodiment, when connecing within a preset period of time
The number for receiving the power-off voltage signal reaches preset times, can start clear net program.3 specifically can be for preset times
Secondary, 4 times, 5 times, even more numbers, but should be guaranteed that preset times at 3 times or more, avoid power network fluctuation to power switch
The supply voltage of access has an impact.
For the duration of preset time period, required for can continuously disconnecting according to user and be closed power switch preset times
The time of consuming determines.To being not specifically limited in this present invention.
Optionally, in another embodiment of the present invention, it for above-mentioned steps S12, can specifically include:
When receiving power-off voltage signal, then at the time of judging that the last reception of current time distance powers off voltage signal
Duration whether be more than preset duration;If it is not, accumulative frequency is then added 1;
Judge whether current accumulative frequency reaches preset times, if so, starting clear net program.
Specifically, as long as guaranteeing that the adjacent duration of power-off twice is no more than preset duration, that is, it can guarantee user's control power supply
The open and close that switch carries out preset times is no more than preset time period.
Optionally, in another embodiment of the present invention, can also further include:
If the last duration received at the time of powering off voltage signal of current time distance is more than preset duration, to current
Accumulative frequency reset.
If the duration between adjacent power-off twice is longer, i.e., it is believed that user does not need to carry out at clear net controller
Reason needs in time to reset accumulative frequency to avoid the cumulative of power-off number.
Each embodiment in this specification is described in a progressive manner, the highlights of each of the examples are with it is other
The difference of embodiment, same or similar part may refer to each other between each embodiment.For being filled disclosed in embodiment
For setting, since it is corresponded to the methods disclosed in the examples, so being described relatively simple, related place is referring to method part
Explanation.
Claims (10)
1. a kind of clear net device of electrical equipment, which is characterized in that including power failure detection circuit and controller;
Wherein, the output end electrical connection of the power switch of the power failure detection circuit and the electrical equipment, it is described for detecting
The off-position of the supply voltage of the output end of power switch;
The controller is connected with the power failure detection circuit, for detecting when the power failure detection circuit in preset time period
Interior power-off number reaches preset times, then starts clear net program.
2. the clear net device of electrical equipment as described in claim 1, which is characterized in that the power failure detection circuit includes zero passage
Comparison module, output resistance, discharge capacity, isolation optocoupler and switch detection module;
The first input end of the zero crossing comparison module is connected with the first output end of the power switch, the second input terminal and
The second output terminal of the power switch is connected;The first end of the output end of the zero crossing comparison module and the output resistance
And the cathode input terminal connection of the isolation optocoupler;
The anode input terminal of the first end and the isolation optocoupler of the second end of the output resistance and the discharge capacity connects
It connects;
The second end of the discharge capacity is connect with the second input terminal of the zero crossing comparison module;
The zero crossing comparison module is used to carry out zero passage detection to the supply voltage, and is institute in the supply voltage zero passage
It states discharge capacity and discharge loop is provided;
It is straight described in the conducting phenomenon mark of the isolation optocoupler if the supply voltage of power switch access is DC voltage
The raw power-off of galvanic electricity pressure;If the supply voltage is alternating voltage, it is greater than institute when the conduction interval time of the isolation optocoupler
When stating the signal period of alternating voltage, indicate that open circuit occurs for the alternating voltage;
The input terminal of the switch detection module is connect with the output end of the isolation optocoupler, the output of the switch detection module
End is connected with the controller, and the on-off for exporting the isolation optocoupler to the controller detects signal.
3. the clear net device of electrical equipment as claimed in claim 2, which is characterized in that switch detection module includes pull-up electricity
Resistance, the first power supply and protection capacitor;
First output end of the isolation optocoupler is connect by the pull-up resistor with first power supply, and as the switch
The output end of detection module, the second output terminal ground connection of the isolation optocoupler;
The protection capacitance connection is between the first output end and second output terminal of the isolation optocoupler.
4. the clear net device of electrical equipment as claimed in claim 2, which is characterized in that the zero crossing comparison module includes first
Resistance, second resistance, 3rd resistor, the 4th resistance, the first PMOS tube, the second PMOS tube, the first NMOS tube, the second NMOS tube,
Reference voltage source, comparator and phase inverter;
The first end of the first resistor, the source electrode of first PMOS tube, the source electrode of second PMOS tube, benchmark electricity
First power input of potential source homogeneously connects, and the first input end as the zero crossing comparison module;
The drain electrode of the second end of the first resistor, the first end of the second resistance, first PMOS tube homogeneously connects;
The second end of the second resistance, the first end of the 3rd resistor, the comparator normal phase input end homogeneously connect;
The output end of the reference voltage source is connect with the inverting input terminal of the comparator;
The drain electrode of the second end of the 3rd resistor, the first end, first NMOS tube of the 4th resistance homogeneously connects;
The grid of first PMOS tube, the grid of first NMOS tube, the output end of the comparator, the phase inverter
Input terminal homogeneously connects;The output end of the phase inverter, the grid of second PMOS tube, second NMOS tube grid
Homogeneously connect;The drain electrode of second PMOS tube is connect with the drain electrode of second NMOS tube, and as the Zero-cross comparator
The output end of module;
The second source input terminal of the reference voltage source, the second end of the 4th resistance, first NMOS tube source electrode,
The source electrode of second NMOS tube homogeneously connects, and the second input terminal as the zero crossing comparison module.
5. a kind of fixture, which is characterized in that the clear net dress including the described in any item electrical equipments of such as Claims 1-4
It sets, for connecting the power switch and light-emitting component of external power supply and the Intelligent lamp;
Wherein, the input terminal and the light-emitting component of the clear net device of the output end of the power switch and the electrical equipment
It is connected;
The controller of the clear net device of the electrical equipment is connected with the light-emitting component, for controlling the light-emitting component
Working condition.
6. fixture as claimed in claim 5, which is characterized in that the power switch is self-resetting switch.
7. a kind of clear network control method of electrical equipment, the clear net applied to the electrical equipment as described in any one of Claims 1-4
Device characterized by comprising
Receive the power-off voltage signal of the power failure detection circuit output in the clear net device of the electrical equipment;
Reach preset times when receiving the accumulative frequency for powering off voltage signal in preset time period, then starts clear net journey
Sequence.
8. clear network control method as claimed in claim 7, which is characterized in that described described disconnected when being received in preset time period
The accumulative frequency of piezoelectric voltage signal reaches preset times, then starts clear net program and include:
When receiving the power-off voltage signal, then at the time of judging that the last reception of current time distance powers off voltage signal
Duration whether be more than preset duration;If it is not, accumulative frequency is then added 1;
Judge whether current accumulative frequency reaches preset times, if so, starting clear net program.
9. clear network control method as claimed in claim 8, which is characterized in that the judgement current time distance is last to be received
Duration at the time of powering off voltage signal whether more than preset duration include:
If current time is more than preset duration apart from the last duration received at the time of powering off voltage signal, current is tired out
Number is added to reset.
10. such as the described in any item clear network control methods of claim 7 to 9, which is characterized in that the preset times are 3 times to 5
It is secondary.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910446208.9A CN110139443B (en) | 2019-05-27 | 2019-05-27 | Net clearing device of electrical equipment, lamp equipment and net clearing control method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910446208.9A CN110139443B (en) | 2019-05-27 | 2019-05-27 | Net clearing device of electrical equipment, lamp equipment and net clearing control method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110139443A true CN110139443A (en) | 2019-08-16 |
CN110139443B CN110139443B (en) | 2022-03-01 |
Family
ID=67581896
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910446208.9A Active CN110139443B (en) | 2019-05-27 | 2019-05-27 | Net clearing device of electrical equipment, lamp equipment and net clearing control method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110139443B (en) |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101034114A (en) * | 2006-03-10 | 2007-09-12 | 科圆半导体(上海)有限公司 | Over and behind voltage testing circuit |
CN101150252A (en) * | 2007-09-19 | 2008-03-26 | 浙江苏泊尔家电制造有限公司 | Electromagnetic oven hardware protection circuit |
CN101193480A (en) * | 2006-11-24 | 2008-06-04 | 安提亚科技股份有限公司 | LED color change device for synchronous control and switching of change mode |
CN102253335A (en) * | 2011-06-20 | 2011-11-23 | 褚宝祥 | Detection circuit used for turning off thyristor |
CN102323472A (en) * | 2011-09-08 | 2012-01-18 | 广州市金矢电子有限公司 | Voltage zero crossing detection device and zero crossing fling-cut switch |
CN105812183A (en) * | 2016-03-16 | 2016-07-27 | 深圳映美卡莫网络有限公司 | Method for resetting WIFI through power-off |
CN107370367A (en) * | 2017-08-24 | 2017-11-21 | 厦门科塔电子有限公司 | A kind of novel B UCK topology adaptations structure control device |
CN108650764A (en) * | 2018-07-12 | 2018-10-12 | 青岛亿联客信息技术有限公司 | Switch detection circuit and lamps and lanterns |
-
2019
- 2019-05-27 CN CN201910446208.9A patent/CN110139443B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101034114A (en) * | 2006-03-10 | 2007-09-12 | 科圆半导体(上海)有限公司 | Over and behind voltage testing circuit |
CN101193480A (en) * | 2006-11-24 | 2008-06-04 | 安提亚科技股份有限公司 | LED color change device for synchronous control and switching of change mode |
CN101150252A (en) * | 2007-09-19 | 2008-03-26 | 浙江苏泊尔家电制造有限公司 | Electromagnetic oven hardware protection circuit |
CN102253335A (en) * | 2011-06-20 | 2011-11-23 | 褚宝祥 | Detection circuit used for turning off thyristor |
CN102323472A (en) * | 2011-09-08 | 2012-01-18 | 广州市金矢电子有限公司 | Voltage zero crossing detection device and zero crossing fling-cut switch |
CN105812183A (en) * | 2016-03-16 | 2016-07-27 | 深圳映美卡莫网络有限公司 | Method for resetting WIFI through power-off |
CN107370367A (en) * | 2017-08-24 | 2017-11-21 | 厦门科塔电子有限公司 | A kind of novel B UCK topology adaptations structure control device |
CN108650764A (en) * | 2018-07-12 | 2018-10-12 | 青岛亿联客信息技术有限公司 | Switch detection circuit and lamps and lanterns |
Also Published As
Publication number | Publication date |
---|---|
CN110139443B (en) | 2022-03-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9673643B2 (en) | Battery presence detecting method, apparatus and charging system | |
US9985454B2 (en) | Power source device having standby power-cutoff function, and method for controlling same | |
CN210129991U (en) | Control device | |
CN109963396A (en) | A kind of switch detection circuit | |
CN111371064A (en) | Take earth leakage protection circuit of self-checking function | |
TWI713280B (en) | Charging power supply circuit for portable electronic device and portable electronic device | |
US7804255B2 (en) | Dimming system powered by two current sources and having an operation indicator module | |
CN109991535A (en) | A kind of flash on-off control system and its input flash detection circuit | |
CN109980722B (en) | Power supply control device | |
CN104260677A (en) | Vehicle power supply control circuit and car | |
CN103166172A (en) | Electricity leakage protection circuit, socket with electricity leakage protection circuit and electronic device | |
CN110139443A (en) | Clear net device, fixture and the clear network control method of electrical equipment | |
CN113708427B (en) | Charging power supply circuit for portable electronic device and portable electronic device | |
CN101801128B (en) | Command marker lamp and LED control circuit thereof | |
CN111092411B (en) | Single-fire intelligent switch and electric leakage protection method thereof | |
CN211318699U (en) | Control circuit for self-detecting power failure | |
CN211243312U (en) | Low-power consumption standby circuit and interpupillary distance meter | |
CN103841711B (en) | A kind of LED emergence lighting lamp and drive circuit thereof | |
CN110350971B (en) | Optical networking method, optical communication equipment and optical networking system | |
CN108768374B (en) | Simple wall single-live-wire touch switch circuit | |
WO2021103098A1 (en) | Power consumption control device and intelligent device | |
CN112843491A (en) | Switching circuit, semiconductor laser treatment equipment and power supply switching control method | |
CN207664603U (en) | ACDC protective circuit of switch power source and ACDC switching power units | |
CN205301538U (en) | Lamps and lanterns with low power prompt facility | |
CN105403756A (en) | Circuit device having ground wire live detection function |
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 | ||
CP01 | Change in the name or title of a patent holder | ||
CP01 | Change in the name or title of a patent holder |
Address after: B4, 10 / F, block B, Qingdao International Innovation Park, No.1, Keyuan Weiyi Road, Laoshan District, Qingdao, Shandong Province Patentee after: Qingdao Yilai Intelligent Technology Co.,Ltd. Address before: B4, 10 / F, block B, Qingdao International Innovation Park, No.1, Keyuan Weiyi Road, Laoshan District, Qingdao, Shandong Province Patentee before: QINGDAO YEELINK INFORMATION TECHNOLOGY Co.,Ltd. |