CN207504840U - A kind of instrument switch electromechanics road for realizing power supply self-locking - Google Patents

A kind of instrument switch electromechanics road for realizing power supply self-locking Download PDF

Info

Publication number
CN207504840U
CN207504840U CN201721686894.XU CN201721686894U CN207504840U CN 207504840 U CN207504840 U CN 207504840U CN 201721686894 U CN201721686894 U CN 201721686894U CN 207504840 U CN207504840 U CN 207504840U
Authority
CN
China
Prior art keywords
power supply
instrument
switch
triode
reset switch
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.)
Expired - Fee Related
Application number
CN201721686894.XU
Other languages
Chinese (zh)
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.)
Nanjing University of Information Science and Technology
Original Assignee
Nanjing University of Information Science and Technology
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 Nanjing University of Information Science and Technology filed Critical Nanjing University of Information Science and Technology
Priority to CN201721686894.XU priority Critical patent/CN207504840U/en
Application granted granted Critical
Publication of CN207504840U publication Critical patent/CN207504840U/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Relay Circuits (AREA)

Abstract

The utility model discloses a kind of instrument switch electromechanics road for realizing power supply self-locking, including:Relay drives triode and reset switch;Two pins of relay connect the board mounted power electrical connection of external power supply and instrument main circuit board respectively, and one end extraction of coil is electrically connected with external power supply, the other end is with driving the collector of triode to be electrically connected;The base stage of driving triode is electrically connected with the I/O port of the onboard microcontroller of instrument main circuit board, its emitter ground connection;The side pin of reset switch is electrically connected with external power supply, and opposite side pin is with driving the base stage of triode to be electrically connected and drawing wired earth all the way;The interruptive port of the onboard microcontroller of instrument main circuit board is electrically connected with reset switch.The utility model utilizes the self-locking or disconnection of the microcontroller implementation power supply access of instrument in itself, the functions such as switching on and shutting down, pass display backlight can be multiplexed on switch, realize vulnerabilities scan forceful electric power access, help to make instrument more intelligent and portable.

Description

A kind of instrument switch electromechanics road for realizing power supply self-locking
Technical field
The invention belongs to the switching on and shutting down control technology fields of electronic instrument, and in particular to a kind of instrument for realizing power supply self-locking On/off circuit.
Background technology
With the development of modern electronic technology particularly technology of Internet of things, various instrument and meters are more and more, such as General electronic measuring instrument oscillograph, signal source etc..A mechanical switch machine button is generally provided on instrument, it is instrument The indispensable part of device, major function, which is pressed to power on when being booting, gives instrument power supply, and when shutdown presses cut-out Power supply.Common instrument switch divides self-lock switch and reset switch.After reset switch presses down, hand, which unclamps, restores initial shape State;Self-lock switch unclamps hand after pressing down and does not restore, and keeps mechanical caging state.It is generally realized in instrument using self-lock switch Self-locking to power supply, when booting presses self-lock switch constantly, switch will not bounce, and tend to remain on, by power supply It connects and locks, whole system powers on, and instrument is started to work, and when pressing lower switch again, self-lock switch bounces, and cuts off the power Realize shutdown.
Self-lock switch is widely used in terms of electric appliance and automation control, but shortcoming is:Volume is big, by touch is big, switching Speed is low, easy to wear.Occur the switching on and shutting down of part instrument in the market in recent years using reset switch, be aided with other components composition Latching circuit realizes the self-locking of power supply using the scheme of hardware.Publication No. " CN104753145A ", a kind of entitled " tool Have the power switch of auto-lock function " patent of invention in propose a kind of power switch with auto-lock function, using metal-oxide-semiconductor, The power supply latching circuit that the components such as triode is driven to form, can reduce battery consumption, be not difficult to send out by studying its technical solution Existing, the circuit control of the power switch is cumbersome.
Invention content
It is an object of the invention to overcome deficiency of the prior art, a kind of instrument switch machine for realizing power supply self-locking is provided Circuit, using the self-locking or disconnection of the microcontroller implementation power supply access of instrument in itself, circuit structure is ingenious, experiment test Stablize, and the functions such as switching on and shutting down, pass display backlight can be multiplexed on switch, realize vulnerabilities scan forceful electric power access, contribute to Make instrument more intelligent and portable.
To solve prior art problem, the invention discloses a kind of instrument switch electromechanics road for realizing power supply self-locking, including:
Relay,
Drive triode and
Reset switch;
Two pins of relay connect the board mounted power electrical connection of external power supply and instrument main circuit board, coil respectively One end draw be electrically connected with external power supply, the other end with driving triode collector be electrically connected;Drive the base stage of triode It is electrically connected with the I/O port of the onboard microcontroller of instrument main circuit board, its emitter ground connection;The side pin of reset switch with External power supply is electrically connected, and opposite side pin is with driving the base stage of triode to be electrically connected and drawing wired earth all the way;Instrument master The interruptive port of the onboard microcontroller of circuit board is electrically connected with reset switch.
Preferably, the base stage of triode is driven to pass through the onboard micro- of connect a first resistor and instrument main circuit board The I/O port electrical connection of controller.
Preferably, reset switch is electrically connected by a second resistance of connecting with the base stage of driving triode, and second The output terminal of resistance and the output terminal of first resistor form the first common node.
Preferably, reset switch passes through a 3rd resistor and the onboard microcontroller of instrument main circuit board of connecting Interruptive port is electrically connected, and the input terminal of 3rd resistor and the input terminal of second resistance form the second common node.
Preferably, reset switch passes through one the 4th resistance eutral grounding of connecting, input terminal and the third electricity of the 4th resistance The output terminal of resistance forms third common node.
Preferably, the coil both ends of relay are parallel with afterflow protection circuit, and afterflow protection circuit includes string The 5th resistance and diode of connection.
The device have the advantages that:
1. using reset type switch, with reference to relay and microcontroller implementation switching on and shutting down and the backlight for closing instrument display etc. Function.
2. the reset switch used can be placed in the front console of instrument, compact volume and convenience operation avoids depositing using self-lock switch Big, easy to wear by touch the problems such as, reset switch only acts as the role of " triggering " in this circuit.
3. reset switch branch and relay branch are separation, it can be achieved that the equipment of vulnerabilities scan forceful electric power power supply, is improved Safety.
4. after booting when pressing reset switch again, can according to by time length selection shutdown or close the instrument display back of the body Light realizes the multiplexing of multiple functions on a switch.
Description of the drawings
Fig. 1 is the system block diagram of a preferred embodiment of the invention;
Fig. 2 is the circuit connection diagram of embodiment illustrated in fig. 1.
Reference numeral:
R104- first resistors;R105- second resistances;R106- 3rd resistors;The 4th resistance of R107-;The 5th electricity of R108- Resistance;K100- relays;K205- reset switches;Q100- drives triode;D102- diodes;Power0- external power supplies; Power1- board mounted powers.
Specific embodiment
The invention will be further described below in conjunction with the accompanying drawings.Following embodiment is only used for clearly illustrating the present invention Technical solution, and be not intended to limit the protection scope of the present invention and limit the scope of the invention.
As shown in Figure 1, relay K100 is used for controlling the break-make of external power supply Power0, when relay K100 is closed, outside Portion power supply Power0 is loaded by relay K100 on instrument main circuit board, and instrument is started to work.Driving triode Q100 be Relay K100 when only driving triode Q100 conductings, could be closed by the driving circuit of relay K100.It is resetted when pressing K205 moments are switched, driving triode Q100 is connected by reset switch K205 in external power supply Power0, drives relay K100 is closed, and external power supply Power0 powers by relay K100 to main circuit board, and onboard microcontroller is started to work, onboard Some I/O port output high level of microcontroller, allows driving triode Q100 to maintain conducting state, guard relay K100's It is closed, external power supply Power0 just can persistently power to main circuit board, realize the self-locking of power path, the normal work of instrument booting Make.
Although after reset switch K205 is bounced, external power supply Power0 is not loaded directly on driving triode Q100, But driving triode Q100 at this time is to maintain conducting by the port of onboard microcontroller.It is opened in fact, being equivalent to and utilizing Close close moment high level make driving triode Q100 be connected, relay K100 be closed, mainboard after the power is turned on, onboard microcontroller It starts to work, hereafter using onboard microcontroller implementation self-locking, reset switch K205 only acts as " triggering " in this circuit Role.Reset switch K205 branches and relay K100 branches be separation, it can be achieved that vulnerabilities scan forceful electric power power supply equipment, Improve safety.
After instrument normal boot-strap, reset switch K205 is pressed again, and reset switch K205 conducting moments can generate a height Level pulse, microcontroller detect this pulse, into interruption.It, can be according to by switch time in interrupt service routine Length sets different operations.If the time by lower switch is shorter, the interruptive port of onboard microcontroller detects this arteries and veins The time for rushing level is shorter, turns off the backlight of instrument with energy saving.
If long-press switchs, onboard microcontroller detects that the pulse high level time is longer, and I/O port is made to export low level, Triode Q100 cut-offs are driven, relay K100 is disconnected, system cut-off, instrument shutdown.The coil both ends of relay K100 are in parallel There is an afterflow to protect circuit, afterflow protection circuit includes the 5th resistance R108 of series connection and diode D102.
As shown in Fig. 2, the 3 of reset switch K205,4 feet are side, 1,2 feet are side, external power supply Power0 and side Pin 3,4 be connected, transistor drive circuit and 1,2 feet is driven to be connected, when not pressing, pin 3,4 and pin 1,2 two It disconnecting, power supply Power0 cannot make driving triode ON, when pressing reset switch, both sides conducting.External power supply Power0 Be connected driving triode Q100 after first resistor R104, the working power of relay K100 with external power supply Power0 Connection.Triode driving relay K100 is driven to be closed, the pin 7 of relay is connected with 8, external power supply Power0 and onboard electricity Source Power1 is connected, and power supply is loaded on main circuit board, onboard microcontroller is made to start to work, the I/O port of onboard microcontroller High level is exported, driving triode is made to continue to be connected, driving relay remains closed, and keeps power supply, completes electric power loop Self-locking.
When reset switch K205 is pressed again, the interruption that a high level pulse is linked into onboard microcontroller is generated Port INT, onboard microcontroller judge the level duration in interrupt service routine, if short-press switchs, high level is held The continuous time is short, then the display backlight of microcontroller shutdown instrument.If long-press switchs, high level lasting time is long, then microcontroller The I/O port output low level of device, ends driving triode, relay disconnects.Main circuit board powers off, instrument shutdown.
The resistance of first resistor R104, second resistance R105,3rd resistor R106, the 4th resistance R107 and the 5th resistance R108 Value is respectively 1K Ω, 10 K Ω, 100 K Ω, 47 K Ω and 1 K Ω.
The above is only the preferred embodiment of the present invention, it is noted that for the ordinary skill people of the art For member, without departing from the technical principles of the invention, several improvement and deformation can also be made, these are improved and deformation Also it should be regarded as protection scope of the present invention.

Claims (6)

1. a kind of instrument switch electromechanics road for realizing power supply self-locking, it is characterised in that:Including:
Relay(K100),
Drive triode(Q100)And
Reset switch(K205);
The relay(K100)Two pins connect external power supply respectively(Power0)With the onboard electricity of instrument main circuit board Source(Power1)Electrical connection, one end of coil are drawn and the external power supply(Power0)Electrical connection, the other end and the drive Dynamic triode(Q100)Collector electrical connection;The driving triode(Q100)Base stage and the instrument main circuit board plate Carry I/O port electrical connection, its emitter ground connection of microcontroller;The reset switch(K205)Side pin and the outside Power supply(Power0)Electrical connection, opposite side pin and the driving triode(Q100)Base stage be electrically connected and draw all the way Wired earth;The interruptive port of the onboard microcontroller of the instrument main circuit board and the reset switch(K205)Electrical connection.
2. a kind of instrument switch electromechanics road for realizing power supply self-locking according to claim 1, it is characterised in that:The driving Triode(Q100)Base stage pass through a first resistor of connecting(R104)With the onboard microcontroller of the instrument main circuit board I/O port is electrically connected.
3. a kind of instrument switch electromechanics road for realizing power supply self-locking according to claim 2, it is characterised in that:The reset Switch(K205)Pass through a second resistance of connecting(R105)With the driving triode(Q100)Base stage electrical connection, described second Resistance(R105)Output terminal and the first resistor(R104)Output terminal formed the first common node.
4. a kind of instrument switch electromechanics road for realizing power supply self-locking according to claim 3, it is characterised in that:The reset Switch(K205)Pass through a 3rd resistor of connecting(R106)With the interruptive port of the onboard microcontroller of the instrument main circuit board Electrical connection, the 3rd resistor(R106)Input terminal and the second resistance(R105)Input terminal formed the second public section Point.
5. a kind of instrument switch electromechanics road for realizing power supply self-locking according to claim 4, it is characterised in that:The reset Switch(K205)Pass through one the 4th resistance of connecting(R107)Ground connection, the 4th resistance(R107)Input terminal and the third electricity Resistance(R106)Output terminal formed third common node.
6. a kind of instrument switch electromechanics road for realizing power supply self-locking according to claim 5, it is characterised in that:The relay Device(K100)Coil both ends be parallel with afterflow protection circuit, afterflow protection circuit includes the 5th resistance of series connection (R108)And diode(D102).
CN201721686894.XU 2017-12-04 2017-12-04 A kind of instrument switch electromechanics road for realizing power supply self-locking Expired - Fee Related CN207504840U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201721686894.XU CN207504840U (en) 2017-12-04 2017-12-04 A kind of instrument switch electromechanics road for realizing power supply self-locking

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201721686894.XU CN207504840U (en) 2017-12-04 2017-12-04 A kind of instrument switch electromechanics road for realizing power supply self-locking

Publications (1)

Publication Number Publication Date
CN207504840U true CN207504840U (en) 2018-06-15

Family

ID=62508494

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201721686894.XU Expired - Fee Related CN207504840U (en) 2017-12-04 2017-12-04 A kind of instrument switch electromechanics road for realizing power supply self-locking

Country Status (1)

Country Link
CN (1) CN207504840U (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108958444A (en) * 2018-07-26 2018-12-07 烟台职业学院 A kind of power switch circuit and control method of vulnerabilities scan forceful electric power

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108958444A (en) * 2018-07-26 2018-12-07 烟台职业学院 A kind of power switch circuit and control method of vulnerabilities scan forceful electric power
CN108958444B (en) * 2018-07-26 2021-04-23 烟台职业学院 Power switch circuit for controlling strong current by weak current and control method

Similar Documents

Publication Publication Date Title
CN103226337B (en) On/off circuit
CN102231087B (en) Keyboard
CN102043693B (en) Circularly electrifying test device
CN207504840U (en) A kind of instrument switch electromechanics road for realizing power supply self-locking
CN207488440U (en) Pulse generating circuit and power tube test device
CN101122620A (en) Power supply line
CN201344145Y (en) Energy saving control circuit device applied for fan
CN206339618U (en) A kind of circuit detection equipment
CN104992635A (en) Touch control nixie tube
CN202210788U (en) Electronic type touch switch
CN206332602U (en) Positive anti-plug can recognize that supply unit and intelligent charger
CN204442329U (en) A kind of mechanical switch remote-control module and intelligent switch
CN103135051A (en) Test fixture for power source restarting
CN2456215Y (en) Computer power socket
CN201383601Y (en) Electromagnetic radiation eliminator
CN207424027U (en) A kind of modular power amplifier for quickly experiment Process Control System
CN207232950U (en) Time-sharing multiplex is connected in series circuit
CN207691778U (en) A kind of skin care device
CN104572142B (en) Computer-controlled circuit
CN217428013U (en) Panel control circuit of intelligent switch
CN206742584U (en) Portable protection measurement and control signal verifier
CN208401818U (en) Switch control plate suitable for ATX power supply
CN206532281U (en) Can a key enter reforestation practices E-book reader
CN216486275U (en) Equipment for realizing one-key reduction of OPS computer
CN214201698U (en) Testing device

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20180615

Termination date: 20191204