Summary of the invention
For above-mentioned situation, for overcoming the defect of prior art, the object of the present invention is just to provide a kind of start mains switch that powers on controllable function, effectively can solve the problem of power consumption equipment gate-controlled switch machine.
The technical scheme that the present invention solves is, comprise housing and be contained in housing interior circuit board, housing is provided with power input pin and button S1, circuit board is equipped with control circuit, control circuit comprises single-chip microcomputer, field effect transistor and DC/DC module, the input pin of single-chip microcomputer is connected with one end of resistance R5 with one end of resistance R4 respectively, the other end ground connection of resistance R5, the other end of resistance R4 is connected with the positive pole of diode D5 with the output pin of a DC/DC module U1 respectively, the grounding pin ground connection of the one DC/DC module U1, one DC/DC module U1 input pin through button S1 respectively with the negative pole of diode D1, the negative pole of diode D2, there is the positive pole of electrode capacitance C1, the collector electrode of triode Q1, one end of resistance R3 is connected with the drain electrode of field effect transistor Q2, the positive pole of diode D1 is connected with the power input pin on housing, the positive pole of diode D2 respectively with one end of resistance R1, one end of resistance R2, the source electrode of field effect transistor Q3 is connected with the grounding pin of the 2nd DC/DC module U2, hold ground connection altogether, the other end of resistance R1 is connected to the negative pole of electrode capacitance C1 and the base stage of triode Q1 respectively, the other end of resistance R2 connects the emitter of triode Q1 respectively, the negative pole of diode D3 and the grid of field effect transistor Q3, the drain electrode of field effect transistor Q3 is connected with the grid of field effect transistor Q2 with the other end of resistance R3 respectively, the source electrode of field effect transistor Q2 is connected with the input pin of the 2nd DC/DC module U2, the output pin of the 2nd DC/DC module U2 is connected with the positive pole of diode D4, the negative pole of diode D4 connects the energization pins of single-chip microcomputer and the negative pole of diode D5 respectively, the output pin of single-chip microcomputer is connected with the positive pole of diode D3, described single-chip microcomputer can export high level or low level according to the input signal control inputs pin of input pin, during use, the power input pin on housing is connected with use equipment power supply output,
The process of starting shooting that powers on is:
When the power input pin place on housing switches on power from off-position, electric capacity C1 is in charged state, control triode Q1 conducting, and then make field effect transistor Q3 conducting, after field effect transistor Q3 conducting, field effect transistor Q2 grid is in low level state, make field effect transistor Q2 conducting, switch on power, for single-chip microcomputer is powered after the 2nd DC/DC module U2 changing voltage, export high level through diode D3 by the output pin Po of single-chip microcomputer after single-chip microcomputer powers on, make field effect transistor Q3, Q2 continue to maintain conducting state, complete the start process that powers on;
The process of key switch machine is:
During start, button S1 is pressed, and a DC/DC module U1 works, for single-chip microcomputer provides working power, export high level through diode D3 by the output pin of single-chip microcomputer after single-chip microcomputer powers on, make field effect transistor Q3, Q2 continue to maintain conducting state, complete the start process that powers on;
During shutdown, button S1 is pressed, one DC/DC module U1 works, one DC/DC module U1 output voltage after resistance R4, R5 dividing potential drop for single-chip microcomputer provides high level signal, send into single-chip microcomputer inside by the input pin Pi of single-chip microcomputer to process, single-chip microcomputer confirmation off signal effectively after, by output pin Po output low level signal, through diode D3, field effect transistor Q3, Q2 are turned off, complete button shutdown process.
Novel structure of the present invention is unique, and circuit advantages of simple, easily produces, and cost is low, achieve the automatic opening power that powers on, a key switch power supply, energy consumption is little, easy to use, effective, longer cell life 2 to 5 times under ideal case is the innovation on mains switch.
Embodiment
Below in conjunction with accompanying drawing, the specific embodiment of the present invention is described in further detail.
Provided by Fig. 1, the present invention includes housing and be contained in housing interior circuit board, described housing is square or circular, housing is provided with power input pin and button S1, circuit board is equipped with control circuit, control circuit comprises single-chip microcomputer, field effect transistor and DC/DC module, the input pin of single-chip microcomputer is connected with one end of resistance R5 with one end of resistance R4 respectively, the other end ground connection of resistance R5, the other end of resistance R4 is connected with the positive pole of diode D5 with the output pin of a DC/DC module U1 respectively, the grounding pin ground connection of the one DC/DC module U1, one DC/DC module U1 input pin through button S1 respectively with the negative pole of diode D1, the negative pole of diode D2, there is the positive pole of electrode capacitance C1, the collector electrode of triode Q1, one end of resistance R3 is connected with the drain electrode of field effect transistor Q2, the positive pole of diode D1 is connected with the power input pin on housing, the positive pole of diode D2 respectively with one end of resistance R1, one end of resistance R2, the source electrode of field effect transistor Q3 is connected with the grounding pin of the 2nd DC/DC module U2, hold ground connection altogether, the other end of resistance R1 is connected to the negative pole of electrode capacitance C1 and the base stage of triode Q1 respectively, the other end of resistance R2 connects the emitter of triode Q1 respectively, the negative pole of diode D3 and the grid of field effect transistor Q3, the drain electrode of field effect transistor Q3 is connected with the grid of field effect transistor Q2 with the other end of resistance R3 respectively, the source electrode of field effect transistor Q2 is connected with the input pin of the 2nd DC/DC module U2, the output pin of the 2nd DC/DC module U2 is connected with the positive pole of diode D4, the negative pole of diode D4 connects the energization pins of single-chip microcomputer and the negative pole of diode D5 respectively, the output pin of single-chip microcomputer is connected with the positive pole of diode D3, described single-chip microcomputer can export high level or low level according to the input signal control inputs pin of input pin, during use, the power input pin on housing is connected with use equipment power supply output,
The process of starting shooting that powers on is:
When the power input pin place on housing switches on power from off-position, electric capacity C1 is in charged state, control triode Q1 conducting, and then make field effect transistor Q3 conducting, after field effect transistor Q3 conducting, field effect transistor Q2 grid is in low level state, make field effect transistor Q2 conducting, switch on power, for single-chip microcomputer is powered after the 2nd DC/DC module U2 changing voltage, export high level through diode D3 by the output pin Po of single-chip microcomputer after single-chip microcomputer powers on, make field effect transistor Q3, Q2 continue to maintain conducting state, complete the start process that powers on;
The process of key switch machine is:
During start, button S1 is pressed, and a DC/DC module U1 works, for single-chip microcomputer provides working power, export high level through diode D3 by the output pin of single-chip microcomputer after single-chip microcomputer powers on, make field effect transistor Q3, Q2 continue to maintain conducting state, complete the start process that powers on;
During shutdown, button S1 is pressed, one DC/DC module U1 works, one DC/DC module U1 output voltage after resistance R4, R5 dividing potential drop for single-chip microcomputer provides high level signal, send into single-chip microcomputer inside by the input pin Pi of single-chip microcomputer to process, single-chip microcomputer confirmation off signal effectively after, by output pin Po output low level signal, through diode D3, field effect transistor Q3, Q2 are turned off, complete button shutdown process.
Described electric capacity C1, resistance R1, R2, R3, triode Q1, field effect transistor Q2, Q3 forms electrifying startup circuit, single-chip microcomputer and diode D3 form power control circuit, one DC/DC module U1 and the 2nd DC/DC module U2 is used for Power convert, diode D4, D5 is as the isolating diode between two DC/DC modules, resistance R4, R5 is used for button and detects, when the power input pin place on housing switches on power from off-position, electric capacity C1 is in charged state, control triode Q1 conducting, and then make field effect transistor Q3 conducting, after field effect transistor Q3 conducting, field effect transistor Q2 grid is in low level state, make field effect transistor Q2 conducting, switch on power, for single-chip microcomputer is powered after the 2nd DC/DC module U2 changing voltage, high level is exported through diode D3 by the output pin Po of single-chip microcomputer after single-chip microcomputer powers on, make field effect transistor Q3, Q2 continues to maintain conducting state, complete the start process that powers on, the one-way conduction effect of diode D1, D2 is utilized to realize the anti-reverse function of input power,
Described button S1 is commercially available key switch, described key switch normality is on the position of initial free state, just just be transformed into the second state (position) under external force when there being requirement, when external force once removing, due to the effect of spring, switch just gets back to initial position again, connects when namely button S1 presses, and disconnects when unclamping;
Describedly can export high level or low level according to the input signal control inputs pin of input pin, thus form power control circuit with diode D3, this single-chip microcomputer is commercially available prod, and the monolithic being all polytypics of C8051F040, C8051F410, AT8052 or W77E58/516 etc. as model all can be used for the present invention; By the working condition of other application circuits of all right this power consumption equipment of Real-Time Monitoring of single-chip microcomputer, if circuit breaks down, power supply by single-chip microcomputer output pin Po output low level signal, will make field effect transistor Q3, Q2 turn off through diode D3, realizes automatic powered-down function;
A described DC/DC module and the 2nd DC/DC module U2 are commercially available DC/DC transducer, can be variable direct voltage by a fixing DC voltage conversion, be also called DC chopper.
The present invention arranges the change-over circuit of two-way DC/DC module composition in circuit, and key switch machine is responsible on a road, and the start that powers on is responsible on a road.Power input pin of the present invention is connected with use equipment power supply output, after powering on electrifying startup circuit make power supply within a certain period of time conducting power to single-chip microcomputer, by output pin control power supply constant conduction after single-chip microcomputer starts.Single-chip microcomputer input pin sense switch state, has button to press, then press situation according to button and judge whether to perform dump action.Also normal boot-strap is carried out by button down state after shutdown.
Can clearly be found out by above-mentioned situation, the present invention has following functions: 1, power on automatic opening power; 2, a key switch power supply; 3, the automatic powered-down of fault; 4, thorough powered-down, self not power consumption of circuit; 5, there is the anti-reverse function of input power.Novel structure of the present invention is unique, circuit advantages of simple, easy production, cost is low, achieves the automatic opening power that powers on, a key switch power supply, energy consumption is little, easy to use, effective, longer cell life 2 to 5 times under ideal case, be the innovation on mains switch, have good Social and economic benef@.
Applicant it is to be noted; each parts all in the application are existing commercially available prod (known technology); innovation of the present invention is combining they science; form the start mains switch that powers on novelty; the application is above-mentioned, and what point out is only a kind of embodiment; be not meant to limit the protection range of the application, every use be equal to or be equal to alternative means make the protection range that the technical scheme identical in essence with technical scheme all belong to the application.