Background technology
Bistable electromagnetic valve adopts the dipulse signal operation usually, and positive pulse is driven valve, back pulse closes valve, and outage and memory have normally-open normally-close two states function behind the open and close valve.Usually, its control circuit basic structure and operation principle are: comprise infrared, receiving circuit, master control chip, reversal control circuit, wherein the signal output part of infrared, receiving circuit is connected to the master control chip, two signal output parts of master control chip are connected to the reversal control circuit, and two outputs of reversal control circuit are received two inputs of bistable electromagnetic valve.When infrared ray when on-state becomes the obstruct state, the master control chip produces a positive pulse according to the signal controlling reversal control circuit that infrared, receiving circuit send, make the bistable electromagnetic opening of valves, when infrared ray becomes on-state by the obstruct state, the master control chip produces a back pulse according to the signal controlling reversal control circuit that infrared, receiving circuit send, and bistable electromagnetic valve is closed.Certainly, more complicated control circuit also can be set functions such as delayed start-up or time-delay closing.
As seen, the opening and closing of bistable electromagnetic valve only need moment electrify electrode can, and all the other most of the time bistable electromagnetic valves are in Chang Kai and normally closed two kinds of stable operating states under electroless state, so power consumption is more much smaller than monostable electromagnetically operated valve.But, the prerequisite of bistable electromagnetic valve operate as normal is that its control circuit can not cut off the power supply, if under the situation of opening its control circuit the electricity went off, then bistable electromagnetic can't be closed automatically, if this stable state electromagnetically operated valve is used for the automatic flushing device of toilet, the waste of great water resources will be caused.
At present, bistable electromagnetic valve controling circuit that still can operate as normal after having occurred adopting stand-by power supply to realize having a power failure, but the principle of this scheme is to replace former power work with stand-by power supply when having a power failure, and is not real realization power failure self closing.
Summary of the invention
The invention provides a kind of power failure self closing control circuit of bistable electromagnetic valve, the control circuit that its main purpose is to overcome bistable electromagnetic valve of the prior art can't really be implemented in when having a power failure closes electromagnetically operated valve automatically, thereby the shortcoming that may cause significant wastage or cause the accident and take place.
The present invention adopts following technical scheme:
Comprise reversal control circuit, bistable electromagnetic valve, storage capacitor, active switch circuit and working power, wherein:
The voltage input end of reversal control circuit connects working power, the unbalanced pulse input of two output and bistable electromagnetic valve, close pulse input end and be connected respectively, the reversal control circuit can produce pulse forward or backwards with control bistable electromagnetic opening of valves or cut out;
The storage capacitor positive pole connects the pulse input end of closing of bistable electromagnetic valve, minus earth, and working power just often stores certain electric energy;
The active switch circuit is connected between the unbalanced pulse input and ground of bistable electromagnetic valve, and its power input is connected with working power, and working power just often active switch circuit disconnects, and the active switch circuit is connected during the working power outage.
Aforementioned active switch circuit comprises a positive-negative-positive triode, and its emitter is connected with the unbalanced pulse input of bistable electromagnetic valve, grounded collector, and base stage connects working power.
Aforementioned active switch circuit also can comprise a positive-negative-positive triode and a NPN type triode simultaneously, the emitter of positive-negative-positive triode is connected with the unbalanced pulse input of bistable electromagnetic valve, grounded collector, base stage connects the emitter of NPN type triode, and the collector electrode and the base stage of NPN type triode connect working power.
This programme adopts pure hardware circuit to realize the present invention's self-closing function that has a power failure, need not to consider the concrete structure of reversal control circuit, only need on the basis of original bistable electromagnetic valve controling circuit, to increase an electric capacity and two triodes get final product, simple in structure, realization easily.
In sum, compare with prior art, the present invention has following remarkable advantage: one, need not adopt stand-by power supply, the power failure self closing of bistable electromagnetic valve when real realization has a power failure; Two, circuit structure is simple, realizes easily.The present invention has also overcome people's following prejudice: one, and the charging and discharging that it is believed that electric capacity does not reach the demand into solenoid valve, thereby people do not consider to adopt the charging and discharging of electric capacity to come to power for the self closing of bistable electromagnetic valve; Two, the purpose that people's mentality of designing in the past has been absorbed in redundant electrical power only is to be used to replace former power supply to carry out the mistaken ideas of work, thereby think and adopt the charging and discharging of electric capacity that system was worked in back one period short time of outage, after the outage, if the instruction of system closing electromagnetically operated valve need just be sent after the period at this section, then still can't realize the self closing that cuts off the power supply.As seen, the access point of storage capacitor of the present invention has creativeness.
Embodiment
The specific embodiment of the present invention one, the power failure self closing control circuit of bistable electromagnetic valve of the present invention is applied to the auto-flushing mechanism of toilet, see figures.1.and.2, this circuit comprises master control chip 1, reversal control circuit 2, bistable electromagnetic valve 3, storage capacitor 4, active switch circuit 40, infrared module 6, infrared ray receiver module 7 and working power 8.
With reference to Fig. 3, reversal control circuit 2 comprises two positive-negative- positive triodes 21,22 and two NPN type triodes 23,24, positive-negative- positive triode 21,22 emitter constitutes the voltage input end 20 of reversal control circuit 2 and receives working power 8, its collector electrode respectively with two NPN type triodes 23,24 collector electrode connects, the base stage of positive-negative-positive triode 21 is connected with the collector electrode of positive-negative-positive triode 22 by a resistance, the base stage of positive-negative-positive triode 22 also is connected with the collector electrode of positive-negative-positive triode 21 by a resistance, two NPN type triodes 23,24 grounded emitter, base stage constitutes two signal input end 201,202 receive the control signal output ends of master control chip 1, collector electrode constitutes two pulse output ends, connects two pulse input ends 31 of bistable electromagnetic valve 3 respectively, 32.
Infrared module 6 is connected with the master control chip by an amplifying circuit 70 respectively with infrared ray receiver module 7.Working power 8 just often, master control chip 1 is according to the signal of infrared module 6 and 7 transmission of infrared ray receiver module, signal input end 201 or 202 to reversal control circuit 2 transmits control signal, reversal control circuit 2 produces oppositely or direct impulse at its pulse output end in view of the above, closes or opens thereby reach control bistable electromagnetic valve 3.
What storage capacitor 4 positive poles connect bistable electromagnetic valve 2 closes pulse input end 31, and minus earth its role is to just often store certain electric energy when working power 8.
Active switch circuit 40 comprises a positive-negative-positive triode 41 and a NPN type triode 42, the emitter of positive-negative-positive triode 41 is connected with the unbalanced pulse input 32 of bistable electromagnetic valve 3, grounded collector, base stage connects the emitter of NPN type triode 42, and the collector electrode and the base stage of NPN type triode 42 connect working power 8.The effect of active switch circuit 40 is to make unbalanced pulse input 32 ground connection of bistable electromagnetic valve 3 when working power 8 outages, thereby make storage capacitor 4 and bistable electromagnetic valve 3 form a loop, storage capacitor 4 discharges the electric energy of its storage, the pulse input end 31 of closing at bistable electromagnetic valve 2 produces flashy pulse, drives bistable electromagnetic valve 3 and carries out the action of closing.
Present embodiment adopts pure hardware circuit to realize the present invention's self-closing function that has a power failure, need not consider the concrete structure of reversal control circuit 2, therefore, reversal control circuit 2 is not limited to the concrete structure described in the present embodiment, as long as can realize the function of reverse.
The specific embodiment of the present invention two, with reference to Fig. 1 and Fig. 3, this circuit comprises master control chip 1, reversal control circuit 2, bistable electromagnetic valve 3, storage capacitor 4, infrared module 6, infrared ray receiver module 7, low pressure detection module 5 and working power 8.
Reversal control circuit 2 comprises two positive-negative- positive triodes 21,22 and two NPN type triodes 23,24, positive-negative- positive triode 21,22 emitter constitutes the voltage input end 20 of reversal control circuit 2 and receives working power 8, its collector electrode respectively with two NPN type triodes 23,24 collector electrode connects, the base stage of positive-negative-positive triode 21 is connected with the collector electrode of positive-negative-positive triode 22 by a resistance, the base stage of positive-negative-positive triode 22 also is connected with the collector electrode of positive-negative-positive triode 21 by a resistance, two NPN type triodes 23,24 grounded emitter, base stage constitutes two signal input end 201,202 receive the control signal output ends of master control chip 1, collector electrode constitutes two pulse output ends, connects two pulse input ends 31 of bistable electromagnetic valve 3 respectively, 32.
Infrared module 6 is connected with the master control chip by an amplifying circuit 70 respectively with infrared ray receiver module 7.Working power 8 just often, master control chip 1 is according to the signal of infrared module 6 and 7 transmission of infrared ray receiver module, signal input end 201 or 202 to reversal control circuit 2 transmits control signal, reversal control circuit 2 produces oppositely or direct impulse at its pulse output end in view of the above, closes or opens thereby reach control bistable electromagnetic valve 3.
What storage capacitor 4 positive poles connect bistable electromagnetic valve 2 closes pulse input end 31, negative pole is by a positive-negative-positive triode 43 ground connection, the emitter of this positive-negative-positive triode 43 connects the negative pole of storage capacitor 4, and the control signal that grounded collector, base stage connect master control chip 1 produces end.
Low pressure detection module 5 is connected to working power 8, and is connected with master control chip 1, when working power 8 outages, produces a signal and sends to master control chip 1.
Working power 8 just often, master control chip 1 intermittently, periodically send a control signal to positive-negative-positive triode 43, make its conducting, storage capacitor 43 is charged, during working power 8 outages, the master control chip still can carry out work at short notice, the signal that master control chip 1 sends according to low pressure detection module 5, send one earlier and control signal to positive-negative-positive triode 43, make its conducting, send one then and control signal to NPN type triode 24, make its conducting, then storage capacitor 4, bistable electromagnetic valve 3 forms a loop, storage capacitor 4 discharges, the pulse input end 31 of closing at bistable electromagnetic valve 3 produces flashy pulse, drives bistable electromagnetic valve 3 and carries out the action of closing.The effect of positive-negative-positive triode 43 is to make storage capacitor 4 to be in off-state in the most of the time, thereby reduce the chance of its electric leakage, its effect is that the system of main power source has bigger spy for adopting dry cell, and is then not obvious for the systemic effect that adopts civil power.
Present embodiment adopts hardware circuit and the control of master control chip software to combine and realizes purpose of the present invention, need programme to the master control chip.
The specific embodiment of the present invention three, basic identical with execution mode two, its difference is the direct ground connection of the negative pole of storage capacitor 4, thereby storage capacitor 4 is in charged state all the time, cause storage capacitor 4 to leak electricity on a small quantity, for adopting dry cell is the system of main power source, and its electric leakage has certain influence.During working power 8 outages, the signal that master control chip 1 sends according to low pressure detection module 5, send one and control signal to NPN type triode 24, make its conducting, then storage capacitor 4, bistable electromagnetic valve 3 form a loop, storage capacitor 4 discharge produces flashy pulse at the pulse input end 31 of closing of bistable electromagnetic valve 2, drives bistable electromagnetic valve 3 and carries out the action of closing.
Above-mentioned only is two embodiments of the present invention, but design concept of the present invention is not limited thereto, and allly utilizes this design that the present invention is carried out the change of unsubstantiality, all should belong to the behavior of invading protection range of the present invention.