CN101615009B - Electrifying control circuit - Google Patents
Electrifying control circuit Download PDFInfo
- Publication number
- CN101615009B CN101615009B CN2009100172562A CN200910017256A CN101615009B CN 101615009 B CN101615009 B CN 101615009B CN 2009100172562 A CN2009100172562 A CN 2009100172562A CN 200910017256 A CN200910017256 A CN 200910017256A CN 101615009 B CN101615009 B CN 101615009B
- Authority
- CN
- China
- Prior art keywords
- relay
- passage
- circuit
- normally closed
- spdt
- 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
Links
Images
Landscapes
- Relay Circuits (AREA)
Abstract
The invention discloses an electrifying control circuit which comprises a singlechip U1 provided with at least four I/O interfaces, two stick relays J1 and J2 with forward and reverse coils and double channels, four groups of relay coil drive circuits and a single-pole double-throw switch S1. The control circuit triggers the circuits to electrify when the state of equipment is switched, and automatically powers down after the state collection is determined to be right; when the state of the equipment shakes, the circuit can still normally work, when the equipment is in a stable state, the circuit is also in a power down state, therefore, the circuit has the function of preventing shaking, can ensure that each detection of a detection device is effective and the collected state information of the equipment is immediate and accurate, also reduce the energy consumption and save the energy resource.
Description
Technical field
The present invention relates to a kind of electrifying control circuit, be mainly used in the last electric control of the state detection circuit of equipment with two states.
Background technology
Have the equipment of two states for some, for example window, door etc., its state variation is to finish moment, most of the time equipment is in the steady state (SS) of " opening " or " pass ".If detect the state of this kind equipment, general way is to use the pick-up unit of a continuous firing constantly to detect, and the result that this mode only detects when equipment moves is only useful, and the other times equipment state is in stable state, testing result remains unchanged, and is useless.
The equipment that is in steady state (SS) for a long time of detection that continues, the validity of its testing result is not high, also can waste a large amount of pick-up unit resources.
Summary of the invention
At at present some have the deficiency of the Equipment Inspection mode of two states, the invention provides a kind ofly only when equipment state changes, work, electrifying control circuit that other times are in closed condition, its technical scheme of taking is:
This circuit comprises the single-chip microcomputer U1 that has at least four I/O mouths, two just all have, the binary channels latch-in relay J1 and the J2 of reverse winding, four group relay coil drivers and single-pole double-throw switch (SPDT) S1, single-pole double-throw switch (SPDT) S1 is used for the triggering of detected equipment to this control circuit, detected equipment can make often opening of single-pole double-throw switch (SPDT) S1 or normally closed contact connect mechanically, the common port of single-pole double-throw switch (SPDT) S1 connects the positive pole of power supply DC, the normally closed contact of single-pole double-throw switch (SPDT) S1 connects the common port of relay J 1 passage one, the normal opened contact of single-pole double-throw switch (SPDT) S1 connects the common port of relay J 1 passage two, the normally closed contact of relay J 1 passage one connects the common port of relay J 2 passages one, the normally closed contact of relay J 1 passage two connects the common port of relay J 2 passages two, the normal opened contact of relay J 1 passage one, the normal opened contact of relay J 1 passage two, the normal opened contact connecting circuit positive source VCC of the normally closed contact of relay J 2 passages one and relay J 2 passages two, the normal opened contact of relay J 2 passages one and the normally closed contact sky of passage two connect, relay J 1, J2 just, the anodal connecting circuit positive source VCC of reverse winding, in arbitrary relay coil driving circuit, the base stage of triode connects the I/O mouth of single-chip microcomputer U1 by resistance, its collector connects the negative pole of the pairing coil of this relay coil driving circuit, its grounded emitter, another resistance is connected between the base stage and ground of triode, the supply pin VDD connection circuit positive source VCC of single-chip microcomputer U1, the grounding leg VSS of single-chip microcomputer U1 and the minus earth of power supply DC, the passage one of pilot relay J1 and the normal opened contact or the normally closed contact of passage two are switched on or switched off single-chip microcomputer U1 simultaneously respectively by the relay coil driving circuit, the passage one of relay J 2 and the normal opened contact or the normally closed contact of passage two are switched on or switched off simultaneously.
Trigger circuit worked on power when this control circuit switched in equipment state, and at the correct back of definite state acquisition automatic power down, during the equipment state shake, circuit still can operate as normal, and when equipment was in steady state (SS), circuit also was in power-down state.Therefore this circuit has anti-shake function, and the detection each time that can guarantee pick-up unit all is effectively, guarantees that the status information of equipment of gathering is timely, accurate, errorless, also can reduce power consumption simultaneously, saves the energy.
Description of drawings
Fig. 1 is the driving circuit figure of relay coil of the present invention;
Fig. 2 is single-chip microcomputer U1 pin circuit figure of the present invention;
Fig. 3 is a course of work synoptic diagram of the present invention.
Embodiment
The present invention will be further described below in conjunction with drawings and Examples:
As depicted in figs. 1 and 2, single-chip microcomputer U1 has four I/O mouths at least, be used to move embedded software, its function be when beginning to power on or during power down the level of control I/O mouth just realize control to the forward and reverse coil of relay, then make the actuating of relay, finish power or power-down, other I/O mouths can realize that the equipment state detection waits other function.Single-pole double-throw switch (SPDT) S1 is used for the triggering of detected equipment to this control circuit, and detected equipment can make often opening of single-pole double-throw switch (SPDT) S1 or normally closed contact connect mechanically.Have the twin-channel relay J 1 of forward and reverse coil, J2 under the control of single-chip microcomputer U1 and relay coil driving circuit, can realize the break-make control of circuit, its contact is the self-sustaining type, move simultaneously two contacts during action, and both the normal opened contact or the normally closed contact of the passage one of relay J 1 and passage two were switched on or switched off simultaneously, the passage one of relay J 2 and the normal opened contact or the normally closed contact of passage two be switched on or switched off simultaneously.
The positive pole of power supply DC is connected on the common port of single-pole double-throw switch (SPDT) S1, single-pole double-throw switch (SPDT) S1 normally closed contact is succeeded the common port of electrical equipment J1 passage one, single-pole double-throw switch (SPDT) S1 normal opened contact is succeeded the common port of electrical equipment J1 passage two, the normally closed contact of relay J 1 passage one is succeeded the common port of electrical equipment J2 passage one, the normally closed contact of relay J 1 passage two is succeeded the common port of electrical equipment J2 passage two, relay J 1, the anodal connection circuit positive source VCC of forward and reverse coil of J2, the normal opened contact of relay J 1 passage one, the normal opened contact connection circuit positive source VCC of passage two, the normally closed contact of relay J 2 passages one, the normal opened contact connection circuit positive source VCC of passage two, the normal opened contact of relay J 2 passages one, the normally closed contact of passage two does not connect, the supply pin VDD connection circuit positive source VCC of single-chip microcomputer U1, the grounding leg VSS ground connection of single-chip microcomputer U1.
In the coil driver of relay J 1 passage one, the base stage of triode Q1 meets the I/O mouth RA1 of single-chip microcomputer U1 by resistance R 11, the negative pole of the collector connecting relay J1 forward coil of triode Q1, the grounded emitter of triode Q1, resistance R 12 is connected between the base stage and ground of triode Q1.In the coil driver of relay J 1 passage two, the base stage of triode Q3 meets the I/O mouth RA3 of single-chip microcomputer U1 by resistance R 31, the negative pole of the collector connecting relay J1 reverse winding of triode Q3, the grounded emitter of triode Q3, resistance R 32 is connected between the base stage and ground of triode Q3.In the coil driver of relay J 2 passages one, the base stage of triode Q2 meets the I/O mouth RA2 of single-chip microcomputer U1 by resistance R 21, the negative pole of the collector connecting relay J2 forward coil of triode Q2, the grounded emitter of triode Q2, resistance R 22 is connected between the base stage and ground of triode Q2.In the coil driver of relay J 2 passages two, the base stage of triode Q4 meets the I/O mouth RA4 of single-chip microcomputer U1 by resistance R 41, the collector of triode Q4 is succeeded the negative pole of electrical equipment J2 reverse winding, the grounded emitter of triode Q4, and resistance R 42 is connected between the base stage and ground of triode Q4.
Single-chip microcomputer U1 model is PIC16F819 in the present embodiment, and relay J 1, J2 model are TX2-L2, and triode Q1, Q2, Q3, Q4 model are S9014, and resistance R 11, R21, R31, R41 are 1K, and R12, R22, R32, R42 are 10K.
The course of work of this control circuit is as shown in Figure 3:
Fig. 3 A: the original state of this circuit, anodal VCC is obstructed for the positive pole of power supply DC and circuit power, and circuit is in power-down state.This moment, equipment was in steady state (SS).
Fig. 3 B: when equipment state changes, drive single-pole double-throw switch (SPDT) S1 action, common port and the normal opened contact of single-pole double-throw switch (SPDT) S1 are connected, and the positive pole of power supply DC is connected through the anodal VCC of S1-1, S1-3, J1-9, J1-10, J2-9, J2-8 and circuit power, and circuit begins to power on.If this moment, single-pole double-throw switch (SPDT) S1 had shake, circuit power up potentially unstable, this moment, single-chip microcomputer U1 can not work.The shake of single-pole double-throw switch (SPDT) S1 does not impact.
Fig. 3 C: after single-pole double-throw switch (SPDT) S1 is stabilized in normal opened contact and continues for some time, single-chip microcomputer U1 starts working, reverse winding action by RA3 mouth pilot relay J1, make the common port of relay J 1 passage one and passage two connect the normal opened contact of passage separately simultaneously, the positive pole of power supply DC is connected through the anodal VCC of S1-1, S1-3, J1-9, J1-8 and circuit power.At this moment, even single-pole double-throw switch (SPDT) S1 shake, the positive pole of power supply DC also can pass through the anodal VCC of S1-1, S1-2, J1-4, J1-5 and circuit power and connect.Because during single-pole double-throw switch (SPDT) S1 shake, the contact is very short switching time, also can the operate as normal of circuit not exerted an influence.After the circuit operate as normal, can carry out the work of state-detection.
Fig. 3 D: after circuit operate as normal completion status detected, it was nonsensical to work on again.Single-chip microcomputer U1 starts working, and by the forward coil motion of RA2 mouth pilot relay J2, makes the common port of relay J 2 passages one and passage two connect the normally closed contact of passage separately simultaneously, and circuit is prepared power down.This moment, single-pole double-throw switch (SPDT) S1 was stable, can not shake.
Fig. 3 E: single-chip microcomputer U1 continues the forward coil motion by RA1 mouth pilot relay J1, makes the common port of relay J 1 passage one and passage two connect the normally closed contact of passage separately simultaneously, and circuit is finished power down.This state may last very long.
Fig. 3 F: when equipment state turns back to the origin-location, drive single-pole double-throw switch (SPDT) S1 action, common port and the normally closed contact of single-pole double-throw switch (SPDT) S1 are connected, the positive pole of power supply DC is connected through the anodal VCC of S1-1, S1-2, J1-4, J1-3, J2-4, J2-3 and circuit power, and circuit begins to power on.If this moment, single-pole double-throw switch (SPDT) S1 had shake, circuit power up potentially unstable, this moment, single-chip microcomputer U1 can not work.The shake of single-pole double-throw switch (SPDT) S1 does not impact.
Fig. 3 G: after single-pole double-throw switch (SPDT) S1 is stabilized in normally closed contact and continues for some time, single-chip microcomputer U1 starts working, reverse winding action by RA3 mouth pilot relay J1, make the common port of relay J 1 passage one and passage two connect the normal opened contact of passage separately simultaneously, the positive pole of power supply DC is connected through the anodal VCC of S1-1, S1-2, J1-4, J1-5 and circuit power.At this moment, even single-pole double-throw switch (SPDT) S1 shake, the positive pole of power supply DC also can pass through the anodal VCC of S1-1, S1-3, J1-9, J1-8 and circuit power and connect.Because during single-pole double-throw switch (SPDT) S1 shake, the contact is very short switching time, also can the operate as normal of circuit not exerted an influence.After the circuit operate as normal, can carry out the work of state-detection.
Fig. 3 H: after circuit operate as normal completion status detected, it was nonsensical to work on again.Single-chip microcomputer U1 starts working, and by RA4 mouth pilot relay J2 action, makes the common port of relay J 2 passages one and passage two connect the normal opened contact of passage separately simultaneously, and circuit is prepared power down.This moment, single-pole double-throw switch (SPDT) S1 was stable, can not shake.
At last, single-chip microcomputer U1 makes the common port of relay J 1 passage one and passage two connect the normally closed contact of passage separately simultaneously by RA1 mouth pilot relay J1 action, and circuit is finished power down.Circuit turns back to the original state shown in Fig. 3 A.
Claims (1)
1. electrifying control circuit, comprise the single-chip microcomputer U1 that has at least four I/O mouths, two just all have, the binary channels latch-in relay J1 and the J2 of reverse winding, four group relay coil drivers and single-pole double-throw switch (SPDT) S1, it is characterized in that: single-pole double-throw switch (SPDT) S1 is used for the triggering of detected equipment to this control circuit, detected equipment can make often opening of single-pole double-throw switch (SPDT) S1 or normally closed contact connect mechanically, the common port of single-pole double-throw switch (SPDT) S1 connects the positive pole of power supply DC, the normally closed contact of single-pole double-throw switch (SPDT) S1 connects the common port of relay J 1 passage one, the normal opened contact of single-pole double-throw switch (SPDT) S1 connects the common port of relay J 1 passage two, the normally closed contact of relay J 1 passage one connects the common port of relay J 2 passages one, the normally closed contact of relay J 1 passage two connects the common port of relay J 2 passages two, the normal opened contact of relay J 1 passage one, the normal opened contact of relay J 1 passage two, the normal opened contact connecting circuit positive source VCC of the normally closed contact of relay J 2 passages one and relay J 2 passages two, the normal opened contact of relay J 2 passages one and the normally closed contact sky of passage two connect, relay J 1, J2 just, the anodal connecting circuit positive source VCC of reverse winding, in arbitrary relay coil driving circuit, the base stage of triode connects the I/O mouth of single-chip microcomputer U1 by resistance, its collector connects the negative pole of the pairing coil of this relay coil driving circuit, its grounded emitter, another resistance is connected between the base stage and ground of triode, the supply pin VDD connection circuit positive source VCC of single-chip microcomputer U1, the grounding leg VSS of single-chip microcomputer U1 and the minus earth of power supply DC, the passage one of pilot relay J1 and the normal opened contact or the normally closed contact of passage two are switched on or switched off single-chip microcomputer U1 simultaneously respectively by the relay coil driving circuit, the passage one of relay J 2 and the normal opened contact or the normally closed contact of passage two are switched on or switched off simultaneously.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2009100172562A CN101615009B (en) | 2009-07-23 | 2009-07-23 | Electrifying control circuit |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2009100172562A CN101615009B (en) | 2009-07-23 | 2009-07-23 | Electrifying control circuit |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101615009A CN101615009A (en) | 2009-12-30 |
CN101615009B true CN101615009B (en) | 2011-01-26 |
Family
ID=41494689
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2009100172562A Active CN101615009B (en) | 2009-07-23 | 2009-07-23 | Electrifying control circuit |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101615009B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103676736A (en) * | 2013-11-30 | 2014-03-26 | 成都天奥信息科技有限公司 | Signal-stable circuit during single-chip microcomputer power up starting |
CN104714428B (en) * | 2015-01-09 | 2017-10-17 | 西安应用光学研究所 | Power-up protection control circuit for optronic tracker |
CN108459279A (en) * | 2017-12-04 | 2018-08-28 | 山东超越数控电子股份有限公司 | A kind of power supply debugging apparatus and method based on FPGA |
-
2009
- 2009-07-23 CN CN2009100172562A patent/CN101615009B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN101615009A (en) | 2009-12-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9524833B2 (en) | Action output device for micro breaker | |
CN101615009B (en) | Electrifying control circuit | |
CN209103135U (en) | Boot-strap circuit based on single chip application | |
CN103297664A (en) | Video camera and low temperature starting device and method thereof | |
CN201444250U (en) | Power-up control circuit | |
CN106681302A (en) | Solid state relay self-holding device for missile-borne power distribution and test control method thereof | |
CN104216434A (en) | Automatic dehumidifying control circuit and dehumidifier circuit | |
CN107994891A (en) | A kind of time-delay shutdown circuit and electronic equipment | |
CN206224184U (en) | Intelligent battery communication interface compatible circuit, intelligent battery and unmanned vehicle | |
CN106383479A (en) | Smart cell communication interface compatible circuit, smart cell and unmanned aerial vehicle | |
CN105136428A (en) | Motorized zoom lens service life detection jig control circuit and method | |
CN210444006U (en) | Motor over-current detection device, motor system and platform | |
CN205353651U (en) | Soybean milk machine control circuit | |
CN203674080U (en) | Relay drive circuit | |
CN105929744A (en) | Power on/off circuit and household electrical appliance | |
CN103633613A (en) | Over small-current automatic power-off protection circuit and charger | |
CN201839267U (en) | Drive circuit of switch | |
CN115129258A (en) | Data storage apparatus and control method thereof | |
CN203574345U (en) | Too-small current automatic power-off protection circuit and charger | |
CN103809496B (en) | The energy-saving control circuit of embedded system | |
CN216382768U (en) | Control device for electromagnetic valve | |
CN202395746U (en) | Touch switch with two contact electrodes | |
CN102340297B (en) | Switch driving circuit | |
CN209403149U (en) | A kind of agricultural heat preserving type greenhouse | |
CN219204745U (en) | Indicator light control circuit and prompting device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right | ||
TR01 | Transfer of patent right |
Effective date of registration: 20220802 Address after: 271000 middle section of Nantianmen street, Tai'an hi tech Zone, Tai'an City, Shandong Province Patentee after: Shandong Aote Intelligent Technology Co.,Ltd. Address before: 271000, Shandong Tai'an high tech Zone (South District) Nantian Avenue Patentee before: TAIAN HUIZHI ELECTRONIC TECHNOLOGY Co.,Ltd. |