The content of the invention
For above-mentioned situation, to overcome the defect of prior art, the purpose of the present invention, which is just to provide one kind, has controllable work(
Electromechanical source switch is established by cable on energy, the problem of can effectively solving electrical equipment gate-controlled switch machine.
The technical scheme that the present invention is solved is, including housing and to be provided with power supply on housing interior circuit board, housing defeated
Enter equipped with control circuit on pin and button S1, circuit board, control circuit includes single-chip microcomputer, FET and DC/DC modules, single
The input pin of piece machine is connected with resistance R4 one end and resistance R5 one end respectively, resistance R5 other end ground connection, resistance R4
The other end be connected respectively with the first DC/DC modules U1 output pin and diode D5 positive pole, the first DC/DC modules U1's
Grounding pin is grounded, the first DC/DC module U1 input pins through button S1 negative poles respectively with diode D1, diode D2 it is negative
Pole, the positive pole for having electrode capacitance C1, triode Q1 colelctor electrode, the drain electrode of resistance R3 one end and FET Q2 are connected, two poles
Pipe D1 positive pole is connected with the power input pin on housing, diode D2 positive pole one end respectively with resistance R1, resistance R2
One end, FET Q3 source electrode and the 2nd DC/DC modules U2 grounding pin be connected, end ground connection altogether, resistance R1's is another
End is connected to electrode capacitance C1 negative pole and triode Q1 base stage respectively, and the resistance R2 other end connects triode Q1 transmitting respectively
The grid of pole, diode D3 negative pole and FET Q3, FET the Q3 other end and the field that drain respectively with resistance R3
Effect pipe Q2 grid is connected, and FET Q2 source electrode is connected with the 2nd DC/DC modules U2 input pin, the 2nd DC/DC
Module U2 output pin is connected with diode D4 positive pole, and diode D4 negative pole connects the energization pins and two of single-chip microcomputer respectively
Pole pipe D5 negative pole, the output pin of single-chip microcomputer is connected with diode D3 positive pole, and described single-chip microcomputer can be according to single-chip microcomputer
Input pin Pi input signal control single chip computer output pin Po output high level or low level;In use, by housing
On power input pin be connected with using equipment power supply output end;
On establish the process of machine by cable and be:
When switching on power at the power input pin on housing from off-position, electric capacity C1 is in charged state, control
Triode Q1 is turned on, and then turns on FET Q3, and after FET Q3 conductings, FET Q2 grids are in low level shape
State, turns on FET Q2, switches on power, powered after changing voltage through the 2nd DC/DC modules U2 into single-chip microcomputer, on single-chip microcomputer
High level is exported through diode D3 by the output pin Po of single-chip microcomputer after electricity, makes FET Q3, Q2 continue to turn on shape
Electric start process in state, completion;
The process of key switch machine is:
During start, button S1 is pressed, the first DC/DC modules U1 work, is provided for single-chip microcomputer on working power, single-chip microcomputer
High level is exported through diode D3 by the output pin of single-chip microcomputer after electricity, FET Q3, Q2 is continued to conducting state,
Electric start process in completion;
During shutdown, button S1 is pressed, the first DC/DC modules U1 work, and the first DC/DC module U1 output voltages are through resistance
High level signal is provided for single-chip microcomputer after R4, R5 partial pressure, is sent into inside single-chip microcomputer and is handled by the input pin Pi of single-chip microcomputer,
Single-chip microcomputer exports low level signal by output pin Po, makes FET through diode D3 after confirming that off signal is effective
Q3, Q2 are turned off, and complete button shutdown process.
Structure novel and unique of the present invention, circuit advantages of simple, easily production, cost is low, realize electricity automatically open up power supply,
One key switch power supply, energy consumption is small, easy to use, and effect is good, and 2 to 5 times of longer cell life is can be under ideal case, is power supply
Innovation on switch.
Embodiment
The embodiment of the present invention is described in further detail below in conjunction with accompanying drawing.
Provided by Fig. 1, the present invention includes housing and mounted in housing interior circuit board, and described housing is square or circle;Shell
It is provided with body on power input pin and button S1, circuit board equipped with control circuit, control circuit includes single-chip microcomputer, field-effect
Pipe and DC/DC modules, the input pin of single-chip microcomputer are connected with resistance R4 one end and resistance R5 one end respectively, and resistance R5's is another
One end is grounded, and the resistance R4 other end is connected with the first DC/DC modules U1 output pin and diode D5 positive pole respectively, the
One DC/DC modules U1 grounding pin ground connection, the first DC/DC module U1 input pins are negative with diode D1 respectively through button S1
Pole, diode D2 negative pole, the positive pole for having electrode capacitance C1, triode Q1 colelctor electrode, resistance R3 one end and FET Q2
Drain electrode be connected, diode D1 positive pole is connected with the power input pin on housing, diode D2 positive pole respectively with resistance
R1 one end, resistance R2 one end, FET Q3 source electrode and the 2nd DC/DC modules U2 grounding pin are connected, altogether termination
Ground, the resistance R1 other end is connected to electrode capacitance C1 negative pole and triode Q1 base stage respectively, and the resistance R2 other end connects respectively
The grid of triode Q1 emitter stage, diode D3 negative pole and FET Q3, FET Q3 drain electrode respectively with resistance
The R3 other end is connected with FET Q2 grid, FET Q2 source electrode and the 2nd DC/DC modules U2 input pin
It is connected, the 2nd DC/DC modules U2 output pin is connected with diode D4 positive pole, and diode D4 negative pole connects single-chip microcomputer respectively
Energization pins and diode D5 negative pole, the output pin of single-chip microcomputer is connected with diode D3 positive pole, described single-chip microcomputer
High level or low level can be exported according to the output pin Po of the input pin Pi of single-chip microcomputer input signal control single chip computer;
In use, the power input pin on housing is connected with using equipment power supply output end;
On establish the process of machine by cable and be:
When switching on power at the power input pin on housing from off-position, electric capacity C1 is in charged state, control
Triode Q1 is turned on, and then turns on FET Q3, and after FET Q3 conductings, FET Q2 grids are in low level shape
State, turns on FET Q2, switches on power, powered after changing voltage through the 2nd DC/DC modules U2 into single-chip microcomputer, on single-chip microcomputer
High level is exported through diode D3 by the output pin Po of single-chip microcomputer after electricity, makes FET Q3, Q2 continue to turn on shape
Electric start process in state, completion;
The process of key switch machine is:
During start, button S1 is pressed, the first DC/DC modules U1 work, is provided for single-chip microcomputer on working power, single-chip microcomputer
High level is exported through diode D3 by the output pin of single-chip microcomputer after electricity, FET Q3, Q2 is continued to conducting state,
Electric start process in completion;
During shutdown, button S1 is pressed, the first DC/DC modules U1 work, and the first DC/DC module U1 output voltages are through resistance
High level signal is provided for single-chip microcomputer after R4, R5 partial pressure, is sent into inside single-chip microcomputer and is handled by the input pin Pi of single-chip microcomputer,
Single-chip microcomputer exports low level signal by output pin Po, makes FET through diode D3 after confirming that off signal is effective
Q3, Q2 are turned off, and complete button shutdown process.
Described electric capacity C1, resistance R1, R2, R3, triode Q1, FET Q2, Q3 constitute electrifying startup circuit, monolithic
Machine and diode D3 constitute power control circuit, and the first DC/DC modules U1 and the 2nd DC/DC modules U2 are used for Power convert, two
Pole pipe D4, D5 is as the isolating diode between two DC/DC modules, and resistance R4, R5 are detected for button, when the power supply on housing
When switching on power at input pin from off-position, electric capacity C1 is in charged state, the Q1 conductings of control triode, and then imitates field
Should pipe Q3 conducting, FET Q3 conducting after, FET Q2 grids be in low level state, make FET Q2 turn on, connect
Energization source, powers, the output on single-chip microcomputer after electricity by single-chip microcomputer is drawn after changing voltage through the 2nd DC/DC modules U2 into single-chip microcomputer
Pin Po exports high level through diode D3, FET Q3, Q2 is continued to electric start process in conducting state, completion;Profit
Input power counnter attack connection function is realized with diode D1, D2 one-way conduction effect;
Described button S1 is commercially available key switch, and described key switch normality is in the position of initial free state
On, simply just it is transformed into second of state under external force when requiring(Position), when external force once removing, due to spring
Effect, switch be just returned to initial position, i.e., connect, disconnected during release when button S1 is pressed;
It is described high level or low level to be exported according to the input signal control input pin of input pin, so that with two
Pole pipe D3 constitutes power control circuit, and the single-chip microcomputer is commercially available prod, such as model C8051F040, C8051F410, AT8052
Or the monolithic of all polytypics of W77E58/516 etc. could be used for the present invention;This electricity consumption can also be monitored in real time by single-chip microcomputer to set
The working condition of standby other application circuit, if circuit breaks down, power supply will export low electricity by single-chip microcomputer output pin Po
Ordinary mail number, FET Q3, Q2 are turned off through diode D3, and realization automatically shuts power off function;
The first described DC/DC modules and the 2nd DC/DC modules U2 are commercially available DC/DC converters, can be solid by one
Fixed DC voltage conversion is variable DC voltage, also known as dc chopper.
The present invention sets the change-over circuit of two-way DC/DC module compositions in circuit, is responsible for key switch machine all the way, all the way
Machine is established by cable on being responsible for.The power input pin of the present invention is connected with using equipment power supply output end, electrifying startup after upper electricity
Circuit makes power supply turn within a certain period of time to power to single-chip microcomputer, and single-chip microcomputer controls power supply persistently to lead after starting by output pin
It is logical.Single-chip microcomputer input pin detection switch state, has button to press, then pressing situation according to button judges whether that performing power supply cuts
Disconnected action.Also normal boot-strap can be carried out by button down state after shutdown.
By above-mentioned situation it should be apparent that the present invention has following functions:1st, upper electricity automatically opens up power supply;2nd, a key
Switching Power Supply;3rd, failure is automatically shut power off;4th, power supply, itself not power consumption of circuit are thoroughly closed;5th, with input power counnter attack
Connection function.Structure novel and unique of the present invention, circuit advantages of simple, easily production, cost is low, realize electricity automatically open up power supply,
One key switch power supply, energy consumption is small, easy to use, and effect is good, and 2 to 5 times of longer cell life is can be under ideal case, is power supply
Innovation on switch, there is good social and economic benefit.
Applicant is it is noted that each part all in the application is existing commercially available prod(Known technology), this hair
Bright innovation is combining their science, constitutes with establishing by cable in electromechanical source switch, the application on innovative
The only a kind of embodiment pointed out is stated, the protection domain of the application is not meant to limit, it is every with equivalent or equivalent substitute
Means make the protection domain that the application is belonged to technical scheme substantially identical technical scheme.