CN109901689A - Hardware switch circuit - Google Patents

Hardware switch circuit Download PDF

Info

Publication number
CN109901689A
CN109901689A CN201910088624.6A CN201910088624A CN109901689A CN 109901689 A CN109901689 A CN 109901689A CN 201910088624 A CN201910088624 A CN 201910088624A CN 109901689 A CN109901689 A CN 109901689A
Authority
CN
China
Prior art keywords
switching tube
switch
circuit
resistance
connect
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
Application number
CN201910088624.6A
Other languages
Chinese (zh)
Other versions
CN109901689B (en
Inventor
张波
王世钦
林耀聪
罗益聪
刘昊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhuhai Jieli Technology Co Ltd
Original Assignee
Zhuhai Jieli Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Zhuhai Jieli Technology Co Ltd filed Critical Zhuhai Jieli Technology Co Ltd
Priority to CN201910088624.6A priority Critical patent/CN109901689B/en
Publication of CN109901689A publication Critical patent/CN109901689A/en
Application granted granted Critical
Publication of CN109901689B publication Critical patent/CN109901689B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

A kind of hardware switch circuit, including switching tube, bleeder circuit, key switch and charge/discharge unit;For connecting to power supply, the second end of switching tube is used to connect with electrical work circuit connection, the third end of switching tube and the output end of bleeder circuit the first end of switching tube;For connecting to power supply, the control terminal of bleeder circuit and the second end of switching tube connect the input terminal of bleeder circuit;The first end of key switch and the third end of switching tube connect, and the second end of key switch and the charge-discharge end of charge/discharge unit connect;The ground terminal of charge/discharge unit is grounded.The hardware switch circuit provided in the embodiment of the present invention is different from traditional software switch circuit, does not need to connect with electric appliance MCU, does not also need additional MCU control, is not take up the I/O interface resource of MCU, circuit structure is simple, at low cost.

Description

Hardware switch circuit
Technical field
The present invention relates to electronic circuit field more particularly to a kind of hardware switch circuits.
Background technique
Electronic product requires the switching on and shutting down using switch control electronic product in life.Existing switch majority is with soft For part come what is controlled, booting, the process needs of shutdown are first by MCU (Microcontroller Unit, micro-control unit) Run switch machine program, which carries out control to power supply, could complete booting or shutdown movement.This on-off mode needs to occupy MCU I/O port resource, cause circuit structure complicated, hardware cost is high.
Summary of the invention
Based on this, it is necessary to which the technical issues of needing to occupy the I/O interface resource of MCU for above-mentioned software control switch mentions A kind of hardware switch circuit out.
The embodiment of the present invention provides a kind of hardware switch circuit, including switching tube, bleeder circuit, key switch and charge and discharge Electric unit;
The first end of switching tube for connecting to power supply, the second end of switching tube be used for electrical work circuit connection, open The output end at the third end and bleeder circuit of closing pipe connects;
For connecting to power supply, the control terminal of bleeder circuit and the second end of switching tube connect the input terminal of bleeder circuit;
The first end of key switch and the third end of switching tube connect, the second end of key switch and filling for charge/discharge unit Discharge end connection;
The ground terminal of charge/discharge unit is grounded.
Bleeder circuit includes switch unit, first resistor and second resistance in one of the embodiments,;
For the first end of first resistor for connecting power supply, the second end of first resistor is separately connected the first of second resistance End, the third end of switching tube and the first end of key switch;
The second end of the first end connection second resistance of switch unit, the second end ground connection of switch unit, switch unit The second end of third end connection switch pipe;Switch unit is used under the output control of switching tube be connected.
Switching tube is P-channel enhancement type FET in one of the embodiments, P-channel enhancement type FET Source electrode is used for connecting circuit operating circuit for connecting power supply, drain electrode, and grid is separately connected the second end of first resistor and opens The first end of pass.
Switch unit includes NPN type triode, the collector of NPN type triode and second in one of the embodiments, The second end of resistance connects, the drain electrode connection of base stage and P-channel enhancement type FET, emitter ground connection.
Charge/discharge unit includes capacitor in one of the embodiments, the first end of capacitor respectively with key switch Second end and field-effect tube output end connection, capacitor second end ground connection.
Hardware switch circuit further includes 3rd resistor and the 4th resistance in one of the embodiments,;The base of NPN triode Pole is connected by the drain electrode of 3rd resistor and P-channel enhancement type FET, and passes through the 4th resistance eutral grounding.
Hardware switch circuit further includes the 5th resistance in one of the embodiments, and the first end of capacitor passes through the 5th Resistance and the output end of field-effect tube connect.
Bleeder circuit includes adjustable potentiometer and switch unit in one of the embodiments,;
For first fixing end of adjustable potentiometer for connecting power supply, the input terminal of the second fixing end connection switch unit can The adjusting output end of potentiometer is adjusted to connect respectively with the first end at the third end of switching tube and key switch.
Switch unit includes relay in one of the embodiments, and the of the first contact of relay and second resistance The connection of two ends, the second contact ground of relay, the first end of relay coil and the output end of switching tube connect, relay line The second end of circle is grounded.
The embodiment of the present invention also provides a kind of electrical appliance, the hardware switch circuit provided including any of the above-described embodiment.
Above-mentioned hardware switch circuit when booting, makes charge/discharge unit charge by the triggering of key switch, thus Drag down the third end voltage instantaneous of switching tube, the conducting of trigger switch pipe powers to electrical work circuit.Circuit When work, the second end of switching tube also completely charges to charge/discharge unit as output end, and makes bleeder circuit to power supply It divides and exports to the third end of switching tube, to maintain the on state of switching tube, realize booting.When shutdown, key switch Charge/discharge unit is triggered to discharge to the third end of switching tube, so that the voltage at switching tube third end improves in a short time, On-off switching tube.Its second end just stops exporting as output end after switching tube shutdown, so that bleeder circuit stops to power supply point It presses to the control terminal output supply voltage of switching tube, maintains switching tube off state, realize shutdown.The embodiment of the present invention it is hard Part switching circuit, which does not need to connect with the MCU of electrical appliance, can be realized switching on and shutting down, be different from traditional software switch circuit, can The I/O interface resource of MCU is saved, circuit structure is simple, and it is at low cost and versatile, it is adapted to different electrical equipments and opens It closes, it is not necessary to reappraise design alternative because occupying the I/O interface resource of MCU.
Detailed description of the invention
Fig. 1 is the functional block diagram of one embodiment of the invention hardware switch circuit;
Fig. 2 is the circuit structure diagram of one embodiment of the invention hardware switch circuit.
Specific embodiment
Purpose, technical solution and technical effect for a better understanding of the present invention, below in conjunction with drawings and examples Further explaining illustration is carried out to the present invention.It states simultaneously, embodiments described below for explaining only the invention, and does not have to It is of the invention in limiting.
As shown in Figure 1, the embodiment of the present invention provides a kind of hardware switch circuit, including switching tube 1, bleeder circuit 2, key Switch 3 and charge/discharge unit 4.
For connecting with power supply 5, the second end of switching tube 1 is used to connect with electrical work circuit 6 first end of switching tube 1 It connects, the third end of switching tube 1 is connect with the first end of the output end of bleeder circuit 2 and key switch 3 respectively.Generally, it opens The first end of pipe 1 is closed as input terminal, the second end of switching tube 1 is as output end, and the third end of switching tube 1 is as control terminal.
The input terminal of bleeder circuit 2 is used to connect with power supply 5, the control terminal of bleeder circuit 2 and the second end of switching tube 1 Connection.Bleeder circuit 2 exports different branch pressure voltages to switching tube 1 for dividing to 5 voltage of power supply.
The first end of key switch 3 is connect with the third end of the output end of bleeder circuit 2 and switching tube 1 respectively, key The second end of switch 3 is connect with charge/discharge unit 4.The ground terminal of charge/discharge unit 4 is grounded.
Wherein, switching tube 1 can be field-effect tube, be also possible to triode, as long as third end voltage is less than first end electricity Conducting and third end voltage are equal to or more than turn off when first end voltage when pressure, i.e. the conduction threshold electricity of first switch tube 1 Pressure is less than zero.Such as P-channel enhancement type metal oxide semiconductor field effect tube, such as PNP triode etc..Bleeder circuit 2 It can be the circuit containing variable potentiometer;It is also possible to series resistance bleeder circuit 2;In alternating current, can also be containing The circuit of series capacitance;It can be with other integration modules with voltage divide function.2 need of bleeder circuit can be connected in switching tube 1 When carry out different partial pressures to by 5 voltage of power supply, and by branch pressure voltage to the three-polar output of switching tube 1.Charge and discharge list Member 4 can be any circuit for being able to carry out charge and discharge and be also possible to capacitor for example, charge/discharge unit 4 can be capacitor With charge-discharge circuit made of other combination of devices, charge and discharge integration module or rechargeable battery can also be, as long as can It realizes and is charged and discharged.Key switch 3 is reducible key switch 3, by place circuit when pressing for connecting circuit Branch conducting.
Upon power-up, switch 3 is pressed the button, charge/discharge unit 4 drags down 1 third end voltage of switching tube, and switching tube 1 is connected, Bleeder circuit 2, which receives the pipe 1 that opens the light, output, and 2 control switch pipe 1 of bleeder circuit is held on.When shutdown, switch is pressed the button 3, charge/discharge unit 4 draws high 1 third end voltage of switching tube, the pipe 1 that opens the light shutdown, bleeder circuit 2 monitor switching tube 1 without output, 2 control switch pipe 1 of bleeder circuit is held off.
Now each state of hardware switch circuit is described in detail: when original state, hardware switch circuit does not work, partial pressure Circuit 2 connects power supply 5, supports continuous output first voltage to the third of switching tube 1, keeps switching tube 1 in an off state.
It presses the button switch 3 at this time to boot up, the charge circuit of charge/discharge unit 4, bleeder circuit is connected in key switch 3 2 pairs of charge/discharge units 4 charge, and during charge/discharge unit 4 charges, the third end voltage of switching tube 1 is charged or discharged Unit 4 drags down, and reaches the on state threshold voltage of switching tube 1, i.e. the third end voltage of switching tube 1 is less than first end voltage, switch Pipe 1 is connected, to power to electrical work circuit 6.Since the control terminal of bleeder circuit 2 is connect with the second end of switching tube 1, this When bleeder circuit 2 control terminal receive the output of switching tube 1, then power supply 5 is divided, and branch pressure voltage is exported to opening Close pipe 1 third end so that the third end voltage of switching tube 1 be less than first end voltage, keep switching tube 1 be connected, continue to Electrical work circuit 6 is powered, and booting is completed.
When hardware switch works, 1 constant conduction of switching tube, and charge/discharge unit 4 is filled by the second end completion of switching tube 1 Electricity, since switching tube 1 whether selects field-effect tube or triode, conduction voltage drop is generally all smaller, therefore charge and discharge The voltage at 4 both ends of unit is approximately equal to the voltage of power supply 5.
Switch 3 is pressed the button at this time to shut down, the connection of charge/discharge unit 4 and bleeder circuit 2 is connected in key switch 3, The externally electric discharge in a relatively short period of time of charge/discharge unit 4, so that the third end voltage of switching tube 1 is pulled to close to 5 electricity of power supply Pressure, the voltage difference between the third end voltage and first end voltage of switching tube 1 cannot reach on state threshold voltage, switching tube at this time 1 shutdown.Since the control terminal of bleeder circuit 2 is connect with the second end of switching tube 1, switching tube 1 stops output, and bleeder circuit 2 is then To the three-polar output second voltage of switching tube 1, it is held off switching tube 1, completes shutdown.
The hardware switch circuit provided in the embodiment of the present invention is different from traditional software switch circuit, does not need and electricity Device MCU connection does not need additional MCU control yet, is not take up the I/O interface resource of MCU, circuit structure is simple, at low cost.
As shown in Fig. 2, bleeder circuit 2 includes switch unit, first resistor R1 and second in one of the embodiments, Resistance R2;
Wherein, first resistor R1 and second resistance R2 is for dividing power supply 5, and branch pressure voltage is output to first The control terminal of switching tube 1, so that switching tube 1 is connected under branch pressure voltage control.Wherein, the first end of first resistor R1 is for connecting Connect power supply, the first end of the second end connection second resistance R2 of first resistor R1, the second end connection switch list of second resistance R2 The first end of member.The third end of switching tube 1 is also connected to the second end of first resistor R1.Since switching tube 1 is in third end voltage Therefore conducting when less than first end voltage and meeting on state threshold voltage only needs the resistance value of first resistor R1 to be greater than second resistance The resistance value of R2 makes the on state threshold voltage for meeting the pipe that opens the light when partial pressure.
Switch unit can be field-effect tube, be also possible to triode, meet as long as inputting to the third end of switch unit Switch unit can be connected when predetermined threshold voltage.The first end of switch unit is connect with the first end of second resistance R2, is opened The second end ground connection of unit is closed, the third end of switch unit is connect with the second end of switching tube 1.Generally, the of switch unit One end is as input terminal, and the second end of switch unit is as output end, and the third end of switch unit is as control terminal.
Since the first end of first resistor R1 connects power supply 5, the third end of second end connection switch pipe 1, under original state, Hardware switch circuit does not work, and switching tube 1 is off state, thus the second end of first resistor R1 is to the third end of switching tube 1 5 voltage of out-put supply, so that the third end voltage of switching tube 1 is equal with the first end voltage of switching tube 1, switching tube 1, which is in, to be closed Disconnected state.Switch 3 is pressed the button at this time, the circuit of first resistor R1 and charge/discharge unit 4 is connected, and power supply 5 passes through first resistor R1 charges to charge/discharge unit 4, and within the short period that charge/discharge unit 4 charges, the third end voltage of switching tube 1 is pulled low, Switching tube 1 is connected, to power to electrical work circuit 6.Since the second end of switching tube 1 and the third end of switch unit connect It connects, to switch unit output voltage, therefore switching means conductive at this time, electric current flow to second resistance R2 from first resistor R1, by It is greater than the resistance value of second resistance R2 in the resistance value of first resistor R1, the branch at the common place first resistor R1 and second resistance R2 In, the partial pressure of first resistor R1 and second resistance R2 are output to the third end of switching tube 1, and it is small to meet 1 third end voltage of switching tube In the turn-on condition of first end voltage, thus 1 on state of switching tube is kept, continues to power to electrical work circuit 6, complete out Machine.When hardware switch circuit works, charge/discharge unit 4 completes charging by the second end of switching tube 1, presses the button switch at this time 3, charge/discharge unit 4 is discharged by second resistance R2, and within a short period of time, the voltage at 1 third end of switching tube is pulled to close The voltage of 1 first end of switching tube, switching tube 1 turn off, and stop powering to electrical work circuit 6.Due to the third end of switch unit It is connect with the second end of switching tube 1, after switching tube 1 stops output, switch unit is also switched off, so that the third end electricity of switching tube 1 Pressure is equal with 5 voltage of power supply, and switching tube 1 is held off, and completes shutdown.
Hardware switch circuit provided in this embodiment, by first resistor R1 and second resistance R2 to the partial pressure of power supply 5, by Key switch 3 triggers the turn-on and turn-off of the charge and discharge control switching tube 1 of charge/discharge unit 4, and switch unit is according to switching tube 1 On state and off state that situation keeps switching tube 1 is connected, realizes startup and shutdown.Startup and shutdown process do not need by MCU etc. controls the control of chip, and structure is simple, is not take up MCU interface resource, and circuit exploitation does not need written in code yet, saves Hardware cost and human cost.
Switching tube 1 includes P-channel metal-oxide-semiconductor field-effect tube (P channel in one of the embodiments, Metal-Oxide-Semiconductor Field-Effect Transistor, P-MOSFET), and be enhanced.P- The source electrode of MOSFET for connect with power supply 5, drain electrode for being connect with electrical work circuit 6, grid respectively with first resistor R1 Second end and key switch 3 first end connection.The turn-on condition of P-MOSFET is that grid voltage is less than source voltage.
Original state presses the button switch 3, and charge/discharge unit 4 drags down the grid voltage of P-MOSFET, and grid voltage is small Reach conduction threshold in source voltage, P-MOSFET conducting drains and powers to electrical work circuit 6.The third end of bleeder circuit 2 It is connect with the drain electrode of P-MOSFET, provides conducting to the grid of P-MOSFET according to the output of P-MOSFET and keep voltage, keep The on state of P-MOSFET.Switch 3 is pressed the button again, since charge/discharge unit 4 is by the drain charge of P-MOSFET, is filled Discharge cell 4 discharges, and draws high the grid voltage of P-MOSFET so that P-MOSFET is turned off, the drain electrode of P-MOSFET without output, this When bleeder circuit 2 according to the drain electrode of P-MOSFET export to the grid of P-MOSFET export shutdown keep voltage, keep P- The off state of MOSFET completes shutdown.Optionally, P-MOSFET can choose the opening time and the turn-off time is both less than charge and discharge The quick P-MOSFET of the charge and discharge time of electric unit 4, to guarantee the efficiency and accuracy of circuit switch.
Switch unit includes NPN type triode in one of the embodiments,.The collector of NPN type triode and second The second end of resistance R2 connects, and base stage is connect with the second end of switching tube 1, emitter ground connection.Optionally, NPN type triode Base stage is grounded by the drain electrode connection of 3rd resistor R3 and P-MOSFET and by the 4th resistance R4, emitter ground connection.
Original state presses the button switch 3, and switching tube 1 is connected, and the base stage of second end to the NPN triode of switching tube 1 is defeated Enter voltage, so that NPN triode reaches on state threshold voltage, NPN triode is connected where first resistor R1 and second resistance R2 Branch, 5 voltage of power supply after the partial pressure of first resistor R1 and second resistance R2 to the third end of switching tube 1 provide partial pressure electricity Pressure, so that the third end voltage of switching tube 1 is less than first end voltage, to keep the conducting of switching tube 1, i.e. holding circuit is opened Machine state realizes booting.Quickly press the button switch 3 again at this time, the shutdown of 3 trigger switch pipe 1 of key switch, switching tube 1 stop to NPN triode output voltage, NPN triode turn off, at this time branch circuit break, power supply 5 where first resistor R1 and second resistance R2 Voltage is provided to the first end of switching tube 1 by first resistor, so that switching tube 1 be made to be held off realization shutdown.
Charge/discharge unit 4 includes capacitor in one of the embodiments, one end of capacitor respectively with key switch 3 the The connection of the second end of two ends and switching tube 1, the other end ground connection of capacitor.Capacitor can choose charging time longer capacitor, So that the charge and discharge time is higher than the opening time and turn-off time of switching tube 1, guarantee switch efficiency and accuracy.
The base stage of NPN triode is connected by the drain electrode of 3rd resistor R3 and P-MOSFET in one of the embodiments, And it is grounded by the 4th resistance R4.NPN triode is voltage driven type switching tube, is generally seldom directly connect with power supply 5, but It is divided by the resistance of two series connection ground connection to the base stage of NPN triode and conducting control voltage is provided.In the present embodiment, lead to The appropriate value of 3rd resistor R3 and the 4th resistance R4 are crossed, the conducting and shutdown of control NPN triode can be divided.
One end of capacitor is connected by the drain electrode of the 5th resistance R5 and P-MOSFET in one of the embodiments,.This In embodiment, capacitor carries out charge and discharge as charge/discharge unit 4, and generally, capacitor needs to realize charge and discharge by resistance, The high current of charge and discharge moment is reduced to protect circuit.One end of capacitor and the drain electrode of P-MOSFET connect, in P- MOSFET is charged when being connected, so as to can draw high the grid voltage of P-MOSFET when pressing the button switch 3 and being shut down Turn off P-MOSFET.
As shown in Fig. 2, bleeder circuit 2 includes first resistor R1 and second resistance R2 in one of the embodiments, and NPN triode, first switch tube 1 are enhanced P-MOSFET, and charge/discharge unit 4 is capacitor.Wherein, the of first resistor R1 One end is for connecting power supply 5, the first end of the second end connection second resistance R2 of first resistor R1.The collector of NPN triode The second end of second resistance R2 is connected, the base stage of NPN triode passes through the drain electrode of 3rd resistor R3 connection P-MOSFET and passes through 4th resistance R4 ground connection, the emitter ground connection of NPN triode.The source electrode of P-MOSFET drains for connecting power supply 5 for connecting Electrical work circuit 6, grid are separately connected the first end of key switch 3 and the second end of first resistor R1.The one of capacitor The second end of end connection key switch 3 is simultaneously connected by the drain electrode of the 5th resistance R5 and P-MOSFET.Optionally, P-MOSFET can To choose grid source threshold voltage Vth1High speed switch tube less than or equal to -2.5V, capacitor selects the capacitor of 1 μ F, to guarantee capacitor Charge and discharge time be switched on and off the time higher than P-MOSFET.NPN triode can choose on state threshold voltage Vth2It is greater than Triode equal to 0.7V.Optionally, 5 voltage of power supply can select voltage VBATThe DC power supply 5 of=5V.In original state, still Switch 3 is not pressed the button, and entire hardware switch circuit no current circuit, P-MOFET and NPN triode are in an off state, firmly Part switching circuit is without output.The booting of switch 3 is pressed the button, power supply 5 is filled by first resistor R1 and key switch 3 to capacitor The voltage of electricity, capacitor slowly rises from zero, it is clear that during capacitor charging, the gate source voltage V of P-MOSFETgsHave compared with Short a period of time is less than grid source threshold voltage Vth1, therefore P-MOSFET is connected, and the drain electrode of P-MOSFET is to electrical work circuit 6 power supplies, while also voltage is provided to the base stage of NPN triode.At this point, the base voltage of NPN triode are as follows:
Wherein VbFor the base voltage of NPN triode, VdFor the drain electrode output voltage of P-MOSFET, R3For 3rd resistor R3 Resistance value, R4For the resistance value of the 4th resistance R4.Since the emitter of NPN triode is grounded, the base stage of NPN triode Voltage is that it emits junction voltage Vbe.It is connected at this time to NPN triode, transmitting junction voltage V need to be metbeThreshold is connected greater than it Threshold voltage Vth2.If NPN is connected, it may make first resistor R1 and second resistance R2 to divide 5 voltage of power supply, obtain P- The grid voltage of MOSFET are as follows:
Wherein VgFor the grid voltage of P-MOSFET, R1For the resistance value of first resistor R1, R2For the resistance of second resistance R2 Value.To keep P-MOSFET conduction externally to export, booting is completed, then needs to meet gate source voltage VgsLess than grid source threshold value Voltage Vth1.I.e.
Vgs=Vg-Vs< Vth1 (3)
According to expression formula (1) and expression formula (2), to first resistor R1, second resistance R2,3rd resistor R3 and the 4th resistance For the value of R4 resistance value there are many combination, the present embodiment provides one of valued combinations, do not represent limitation of the invention.It can Selection of land, can select first resistor R1 resistance value is 100K Ω, and second resistance R2 resistance value is 10K Ω, and 3rd resistor R3 resistance value is 10K Ω, the 4th resistance R4 resistance value are 10K Ω, and the 5th resistance R5 resistance value is 100K Ω.It then can be obtained in above-mentioned state, by expression formula (1) the NPN transistor base voltage V obtainedbGreater than on state threshold voltage Vth2, obtained by expression formula (2) and expression formula (3) The gate source voltage V of P-MOSFETgs=-5V is less than grid source threshold voltage Vth1.For the 5th resistance R5, the 5th resistance can be configured The resistance value of R5 is that 100K Ω charges to capacitor using the 5th resistance R5.
When shutdown, switch 3 is pressed the button again, because capacitor is via the leakage of P-MOSFET before pressing the button switch 3 Pole is charged by the 5th resistance R5, the voltage V at capacitor both endsCIt is approximately equal to input voltage VBAT, therefore after key switch 3 is pressed, Capacitor is discharged over the ground by key switch 3, second resistance R2 and NPN triode, within the short period of discharge process, P- The grid voltage of MOSFET obtains the about voltage of 5V because of capacitor electric discharge, so that the gate source voltage V of P-MOSFETgsGreater than grid source Threshold voltage Vth1, therefore P-MOSFET is turned off, drain Non voltage output.Correspondingly, the base stage no-voltage input of NPN triode, NPN triode shutdown.At this point, the grid voltage of P-MOSFET is pulled upward to 5 voltage V of power supply by first resistor R1BAT, i.e., at this time Gate source voltage Vgs=0, P-MOSFET are held off, and drain Non voltage output, complete shutdown.
Bleeder circuit 2 includes adjustable potentiometer and switch unit in one of the embodiments,.Bleeder circuit 2 for pair 5 voltage of power supply is divided, and is kept voltage to provide to the control terminal of field-effect tube, is kept on state and the pass of field-effect tube Disconnected state.
Switch unit includes relay in one of the embodiments, and the first contact of relay is with second resistance R2's Second end connection, the first end of the second contact ground of relay, relay coil are connect with the second end of first switch tube 1, The second end of relay coil is grounded.
Relay is a kind of electric control device, when the variation of input quantity reaches prescribed requirement, in electrical output circuit Make controlled volume that a kind of electric appliance of scheduled Spline smoothing occur.It has the interactive relationship between input circuit and output loop, It is a kind of switch that control high current running is gone with low current.In the present embodiment, switch unit can use relay.When So, the present embodiment is only to provide one of connection of relay, and the second end ground connection of relay coil, which can be, to be directly grounded, It can also pass through transistor ground connection etc. by the 6th resistance eutral grounding.
The embodiment of the present invention also provides a kind of electrical equipment, the hardware switch electricity provided including any of the above-described embodiment Road.Wherein, electrical equipment can be any electrical equipment such as computer, television set.Electrical equipment in one of the embodiments, It can be LED lamp, utilize the light on and off of hardware switch circuit control LED lamp.In this way, using hardware switch of the embodiment of the present invention The LED lamp of circuit can save MCU interface resource compared to traditional software switching circuit, and switching circuit structure is simple, no Design alternative must be reappraised to switching circuit.
Each technical characteristic of embodiment described above can be combined arbitrarily, for simplicity of description, not to above-mentioned reality It applies all possible combination of each technical characteristic in example to be all described, as long as however, the combination of these technical characteristics is not deposited In contradiction, all should be considered as described in this specification.
The embodiments described above only express several embodiments of the present invention, and the description thereof is more specific and detailed, but simultaneously It cannot therefore be construed as limiting the scope of the patent.It should be pointed out that coming for those of ordinary skill in the art It says, without departing from the inventive concept of the premise, various modifications and improvements can be made, these belong to protection of the invention Range.Therefore, the scope of protection of the patent of the invention shall be subject to the appended claims.

Claims (10)

1. a kind of hardware switch circuit, which is characterized in that including switching tube, bleeder circuit, key switch and charge/discharge unit;
For connecting to power supply, the second end of the switching tube is used to connect with electrical work circuit the first end of the switching tube It connects, the third end of the switching tube is connect with the output end of the bleeder circuit;
The input terminal of the bleeder circuit with the power supply for connecting, the control terminal of the bleeder circuit and the switching tube Second end connection;
The first end of the key switch is connect with the third end of the switching tube, and the second end of the key switch is filled with described The charge-discharge end of discharge cell connects;
The ground terminal of the charge/discharge unit is grounded.
2. hardware switch circuit according to claim 1, which is characterized in that the bleeder circuit includes switch unit, One resistance and second resistance;
For the first end of the first resistor for connecting the power supply, the second end of the first resistor is separately connected described second The third end of the first end of resistance and the switching tube;
The first end of the switch unit connects the second end of the second resistance, the second end ground connection of the switch unit, institute The third end for stating switch unit connects the second end of the switching tube;The switch unit is used for the output control in the switching tube The lower conducting of system.
3. hardware switch circuit according to claim 2, which is characterized in that the switching tube is P-channel enhancement type field effect Ying Guan, the source electrode of P-channel enhancement type FET are used for connecting circuit operating circuit, grid for connecting the power supply, drain electrode It is separately connected the second end of the first resistor and the first end of the switch.
4. hardware switch circuit according to claim 3, which is characterized in that the switch unit includes NPN type triode, The collector of the NPN type triode is connect with the second end of the second resistance, base stage and the P-channel enhancement type field-effect The drain electrode of pipe connects, emitter ground connection.
5. according to the described in any item hardware switch circuits of claim 4, which is characterized in that the charge/discharge unit includes capacitor Device, the first end of the capacitor are connect with the output end of the second end of the key switch and the field-effect tube respectively, The second end of the capacitor is grounded.
6. hardware switch circuit according to claim 4, which is characterized in that further include 3rd resistor and the 4th resistance;Institute The base stage for stating NPN triode is connect by 3rd resistor with the drain electrode of the P-channel enhancement type FET, and passes through the 4th electricity Resistance ground connection.
7. hardware switch circuit according to claim 5, which is characterized in that it further include the 5th resistance, the capacitor First end is connect by the 5th resistance with the output end of the field-effect tube.
8. hardware switch circuit according to claim 1, which is characterized in that the bleeder circuit include adjustable potentiometer and Switch unit;
For first fixing end of the adjustable potentiometer for connecting the power supply, the second fixing end connects the defeated of the switch unit Enter end, the adjusting output end of the adjustable potentiometer respectively with the third end of the switching tube and the key switch first End connection.
9. hardware switch circuit according to claim 2, which is characterized in that the switch unit includes relay, described First contact of relay is connect with the second end of the second resistance, the second contact ground of the relay, the relay The first end of device coil is connect with the output end of the switching tube, the second end ground connection of the relay coil.
10. a kind of electrical equipment, which is characterized in that including the described in any item hardware switch circuits of claim 1-9.
CN201910088624.6A 2019-01-29 2019-01-29 Hardware switch circuit Active CN109901689B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910088624.6A CN109901689B (en) 2019-01-29 2019-01-29 Hardware switch circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910088624.6A CN109901689B (en) 2019-01-29 2019-01-29 Hardware switch circuit

Publications (2)

Publication Number Publication Date
CN109901689A true CN109901689A (en) 2019-06-18
CN109901689B CN109901689B (en) 2021-10-12

Family

ID=66944439

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910088624.6A Active CN109901689B (en) 2019-01-29 2019-01-29 Hardware switch circuit

Country Status (1)

Country Link
CN (1) CN109901689B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111654276A (en) * 2020-06-18 2020-09-11 湖南中科电气股份有限公司 Switching value signal control circuit and control method
CN111654276B (en) * 2020-06-18 2024-05-14 湖南中科电气股份有限公司 Switching value signal control circuit and control method

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080094120A1 (en) * 2005-12-13 2008-04-24 Stmicroelectronics, S.R.I Driving circuit for an emitter-switching configuration
CN101425797A (en) * 2007-11-01 2009-05-06 深圳迈瑞生物医疗电子股份有限公司 Slow opening fast shutting electronic switch circuit and control method thereof
CN201867606U (en) * 2010-11-04 2011-06-15 北京握奇数据系统有限公司 Switch circuit
CN204031110U (en) * 2014-07-11 2014-12-17 深圳市航嘉驰源电气股份有限公司 Electronic DC switch and electronic equipment
US20150042177A1 (en) * 2013-08-09 2015-02-12 Infineon Technologies Austria Ag Semiconductor Device, Electronic Circuit and Method for Switching High Voltages
CN204810251U (en) * 2015-05-28 2015-11-25 比亚迪股份有限公司 Switching on and shutting down circuit of consumer and consumer
CN204836123U (en) * 2015-06-29 2015-12-02 惠州市凯越电子有限公司 Key switch detection circuitry
CN205750715U (en) * 2016-05-11 2016-11-30 重庆工业职业技术学院 A kind of computer power supply controller
RU168275U1 (en) * 2016-04-04 2017-01-25 Общество с ограниченной ответственностью "Завод технологических источников" POWER KEY SHUTTER DRIVER
CN107612534A (en) * 2017-09-18 2018-01-19 深圳市沃特沃德股份有限公司 On-off circuit and terminal device
CN206922726U (en) * 2017-05-11 2018-01-23 广州视琨电子科技有限公司 A kind of self-locking electronic switching circuit
CN207010642U (en) * 2017-06-14 2018-02-13 无锡市中健科仪有限公司 Key switch circuit

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080094120A1 (en) * 2005-12-13 2008-04-24 Stmicroelectronics, S.R.I Driving circuit for an emitter-switching configuration
CN101425797A (en) * 2007-11-01 2009-05-06 深圳迈瑞生物医疗电子股份有限公司 Slow opening fast shutting electronic switch circuit and control method thereof
CN201867606U (en) * 2010-11-04 2011-06-15 北京握奇数据系统有限公司 Switch circuit
US20150042177A1 (en) * 2013-08-09 2015-02-12 Infineon Technologies Austria Ag Semiconductor Device, Electronic Circuit and Method for Switching High Voltages
CN204031110U (en) * 2014-07-11 2014-12-17 深圳市航嘉驰源电气股份有限公司 Electronic DC switch and electronic equipment
CN204810251U (en) * 2015-05-28 2015-11-25 比亚迪股份有限公司 Switching on and shutting down circuit of consumer and consumer
CN204836123U (en) * 2015-06-29 2015-12-02 惠州市凯越电子有限公司 Key switch detection circuitry
RU168275U1 (en) * 2016-04-04 2017-01-25 Общество с ограниченной ответственностью "Завод технологических источников" POWER KEY SHUTTER DRIVER
CN205750715U (en) * 2016-05-11 2016-11-30 重庆工业职业技术学院 A kind of computer power supply controller
CN206922726U (en) * 2017-05-11 2018-01-23 广州视琨电子科技有限公司 A kind of self-locking electronic switching circuit
CN207010642U (en) * 2017-06-14 2018-02-13 无锡市中健科仪有限公司 Key switch circuit
CN107612534A (en) * 2017-09-18 2018-01-19 深圳市沃特沃德股份有限公司 On-off circuit and terminal device

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
W. F. LEE: ""An injection-nulling switch for switched-capacitor circuit applications"", 《IN IEEE TRANSACTIONS ON INSTRUMENTATION AND MEASUREMENT》 *
吴丹: ""基于MOS管测井仪器开关电路设计"", 《石油管材与仪器》 *
杜倚诚: ""一种新型的按键控制开关电路"", 《家电科技》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111654276A (en) * 2020-06-18 2020-09-11 湖南中科电气股份有限公司 Switching value signal control circuit and control method
CN111654276B (en) * 2020-06-18 2024-05-14 湖南中科电气股份有限公司 Switching value signal control circuit and control method

Also Published As

Publication number Publication date
CN109901689B (en) 2021-10-12

Similar Documents

Publication Publication Date Title
CN108123596B (en) NMOS switching tube driving circuit
CN108539964A (en) The driving circuit and its device of power switch tube
CN103825436B (en) A kind of power field effect tube drive circuit of high speed big current
CN110880737A (en) Charging chip, overvoltage protection circuit thereof and portable electronic equipment
CN106849925B (en) High-side NMOS drive circuit
CN105720960B (en) On/off circuit
CN207010642U (en) Key switch circuit
CN104079158A (en) Ultra-low static power consumption power source starting control circuit
CN105897240A (en) Single-button soft on-off circuit with hardware forced power-off function
CN109617544A (en) A kind of novel electrifying timing sequence control equipment, system and method
CN208971382U (en) Soft start DC power supply switch circuit and the electronic equipment for applying it
CN109901689A (en) Hardware switch circuit
CN109474264B (en) Zero-power-consumption electronic switch driving circuit for realizing low-voltage and high-voltage switching-off and control method
CN110098661A (en) Power supply switch circuit and household electrical appliance
CN208508901U (en) Reset automatic boot circuit and electronic equipment
CN105656468A (en) Switch control device and method for electronic device, and electronic device
CN210927592U (en) Startup and shutdown circuit
CN206195643U (en) Take relay drive&#39;s constant voltage power supply integrated circuit
CN112133238B (en) Drive circuit and electronic device
CN208739028U (en) A kind of circuit of control negative pressure output
CN209104803U (en) A kind of protection circuit
CN103841711B (en) A kind of LED emergence lighting lamp and drive circuit thereof
CN207968454U (en) A kind of switching circuit and underwater equipment
CN203206380U (en) Starting control circuit, display panel driving circuit and display apparatus
CN108183608B (en) Boosting circuit

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
CB02 Change of applicant information

Address after: 519000 No. 333, Kexing Road, Xiangzhou District, Zhuhai City, Guangdong Province

Applicant after: ZHUHAI JIELI TECHNOLOGY Co.,Ltd.

Address before: Floor 1-107, building 904, ShiJiHua Road, Zhuhai City, Guangdong Province

Applicant before: ZHUHAI JIELI TECHNOLOGY Co.,Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant