CN207216561U - A kind of Raspberry Pi series card computer security power control - Google Patents

A kind of Raspberry Pi series card computer security power control Download PDF

Info

Publication number
CN207216561U
CN207216561U CN201720765426.5U CN201720765426U CN207216561U CN 207216561 U CN207216561 U CN 207216561U CN 201720765426 U CN201720765426 U CN 201720765426U CN 207216561 U CN207216561 U CN 207216561U
Authority
CN
China
Prior art keywords
pin
raspberry
card computer
power
series card
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201720765426.5U
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.)
Shenzhen Embest Technology Co Ltd
Original Assignee
Shenzhen Embest 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 Shenzhen Embest Technology Co Ltd filed Critical Shenzhen Embest Technology Co Ltd
Priority to CN201720765426.5U priority Critical patent/CN207216561U/en
Application granted granted Critical
Publication of CN207216561U publication Critical patent/CN207216561U/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 – G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof

Abstract

The utility model discloses a kind of Raspberry Pi series card computer security power control, including power board, the power board is provided with socket, the on/off key for being additionally provided with microcontroller and being attached thereto, indicator lamp, switching tube;The input of switching tube can connect external power source, the power pin of output end connection socket;Socket can contact pin corresponding to connecting card computer, the power pin of socket is connected to the power pin of contact pin, and the pin 1 of card computer, pin 2 are connected to microcontroller.

Description

A kind of Raspberry Pi series card computer security power control
Technical field
Computer safety field is the utility model is related to, is pacified more specifically to a kind of Raspberry Pi series card computer Full power control.
Background technology
The security control of power supply is a part critically important in computer security, real in existing technical scheme or product Show using elements such as microcontroller, on/off key, MOSFET pipes, powered by power supply adaptor to MOSFET pipes, MOSFET Pipe is powered to Raspberry Pi series card computer, is realized to power supply by key control.Its existing technical scheme is essentially equivalent to With the plug of on/off key substitution USB power source line, that is, after detecting shutdown actuation of keys, just directly cut off Raspberry Pi series The power supply of card computer, still easily cause damage of the Raspberry Pi series card computer document system under unexpected powering-off state, So as to cause the loss of data, or even system to run quickly and burst, loss is brought to user.
User can perform shutdown command in the order line or graphic user interface of Raspberry Pi series card computer manually, etc. It is to be shut down to finish, delay and cut off the electricity supply again for a long time enough, but the time of Raspberry Pi series card computer shutdown needs and pass Machine status user is difficult to accurately hold and cut off the electricity supply again after observing, and this makes troubles for user.
Utility model content
The technical problems to be solved in the utility model is, is closed for above-mentioned Raspberry Pi series card computer in the prior art The machine stage is by way of directly cutting off the electricity supply and needs to manually perform scarce caused by shutdown command and hand off power supply Fall into, there is provided a kind of Raspberry Pi series card computer security power control.
Technical scheme is used by the utility model solves its technical problem:Construct a kind of Raspberry Pi series card computer Safety power supply control device, it is characterised in that including power board, the power board is provided with socket, is additionally provided with micro- Controller and the on/off key being attached thereto, indicator lamp, switching tube;The input of the switching tube can connect external power source, defeated Go out the power pin that end connects the socket;The socket can contact pin corresponding to connecting card computer, by the electricity of the socket Source capsule pin is connected to the power pin of the contact pin, and the pin 1 of the card computer, pin 2 are connected into the microcontroller Device.
The external power source is 5V DC power source adapters.
The switching tube is MOSFET pipes, and its control terminal is connected with the microcontroller, its power input and the 5V DC power source adapter is connected, and its power output end is connected with the power pin of the socket.
The indicator lamp is LED.
The on/off key is touch-switch.
The card computer is Raspberry Pi series card computer.
The pin 1 is the pin 9 of the Raspberry Pi series card computer.
The pin 2 is the pin 7 of the Raspberry Pi series card computer.
Implement the utility model to have the advantages that:
1. user can realize that a key is started shooting, an one button security will not directly cut off the electricity supply when shutting down, and can perform shutdown automatically Order.
2. user is without manually observing off-mode hand off power supply again.
3. raspberry factions n column card n computer can be protected from loss and harm caused by abnormal power-down shutdown.
Brief description of the drawings
Below in conjunction with drawings and Examples, the utility model is described in further detail, in accompanying drawing:
Fig. 1 is the hardware block diagram of the utility model Raspberry Pi series card computer security power control;
Fig. 2 is the microcontroller end software control of the utility model Raspberry Pi series card computer security power control Flow chart;
Fig. 3 is the Raspberry Pi series card computer of the utility model Raspberry Pi series card computer security power control Hold software control flow chart;
Fig. 4 is the circuit diagram of the utility model Raspberry Pi series card computer security power control;
Embodiment
The utility model is described in further details below in conjunction with specific embodiment and Figure of description.
Fig. 1 is the hardware block diagram of the utility model Raspberry Pi series card computer security power control.Such as Fig. 1 institutes Show, including:Raspberry Pi series card computer 10, contact pin 11, power board 20, socket 21, on/off key 22, microcontroller 23rd, LED24, MOSFET pipe 25 and 5V DC power source adapters 30;
The 5V DC power source adapters 30 are connected with the MOSFET pipes 25, for being powered for the MOSFET pipes 25.
The contact pin 11 is connected with the socket 21, the pin 1, pin 2 for the contact pin 11 and the microcontroller 23 connections, realize the Raspberry Pi series card computer 10 with the duplex communication of the power board 20 and for described The connection of the power pin of socket 21 and the power pin of the contact pin 11.
The MOSFET pipes 25 are connected with the power pin of the socket 21, for the MOSFET pipes 25 by described The connection of the power pin of socket 21 and the power pin of the contact pin 11, powered for the Raspberry Pi series card computer 10.
The microcontroller 23 is connected with the on/off key 22, for receiving the machine open/close of the on/off key 22 Act and given by the connection of the microcontroller 23 and the pin 1 of the contact pin 11, transmission shutdown request pulse useful signal The Raspberry Pi series card computer 10.
The microcontroller 23 is connected with the LED24, for show the opening of the Raspberry Pi series card computer 10/ Off-mode.
The microcontroller 23 is connected with the MOSFET pipes 25, for by the microcontroller 23 receive it is described open/ The boot action of close button and the level signal of the pin 2 of the detection contact pin 11, control the MOSFET pipes 25 and the tree The power supply connection status of certain kind of berries factions n column card n computer 10.
Fig. 2 and Fig. 3 be the utility model Raspberry Pi series card computer security power control microcontroller end and The software control flow chart of Raspberry Pi series card computer end.With reference to Fig. 2 and Fig. 3, under init state, the 5V direct currents Source adapter is connected as the MOSFET pipes with the MOSFET pipes and powered, and the socket is connected with the contact pin, the raspberry Factions' n column card n computer is in off-mode, and the LED is in OFF state.
In the power-offstate, 100 milliseconds to 300 milliseconds of boot action, the LED are pressed by the on/off key To light state, the microcontroller detects that boot action then turns on the MOSFET pipes and Raspberry Pi series card electricity The power supply connection of brain, during this period, to prevent the false triggering of the on/off key, i.e., reactionless to the boot action repeated, institute The pin 2 for stating contact pin is low level state, i.e., the pin 2=0 of described contact pin, and now the Raspberry Pi series card computer is in Wait open state.
In the state of start is waited, when start is completed, the pin 2 of the contact pin is high level state, i.e., described to insert The pin 2=1 of pin, now the Raspberry Pi series card computer be in open state, enter order line or graphical user Interface.
Under open state, user can either perform shutdown or reset command in order line on graphic user interface.When What user performed is reset command, then the LED is changed into cycle flicker state, and the pin 2 of the contact pin is low level state, i.e., The pin 2=0 of the contact pin, now the Raspberry Pi series card computer be in wait and restart or off-mode, in 30 seconds The pin 2 of the contact pin is changed into high level state, i.e., the pin 2=1 of described contact pin, then the Raspberry Pi series card computer Then complete to restart, the LED can also be changed into lighting state, and now the Raspberry Pi series card computer is in open state;But The Raspberry Pi series card computer can not be completed to restart due to abnormal in 30 seconds, then the MOSFET pipes can actively be cut off It is connected with the power supply of the Raspberry Pi series card computer, now the Raspberry Pi series card computer is in off-mode;When What user performed is shutdown command, and the LED is changed into cycle flicker state, and the pin 2 of contact pin described in the LED can be in 30 seconds Be changed into low level state, i.e., the pin 2=0 of described contact pin, then the microcontroller monitor the pin 2 of the contact pin Low level state, will controlling the MOSFET pipes, actively cut-out is connected with the power supply of the Raspberry Pi series card computer, institute OFF state can be changed into by stating LED, and now the Raspberry Pi series card computer is in off-mode.
Under open state, the on/off key presses the shutdown action of 1 second to 3 seconds, and the microcontroller detects Shutdown request pulse is sent after boot action to the Raspberry Pi series card computer by the pin 1 of the contact pin effectively to believe Number, the Raspberry Pi series card computer performs synchronization file system, recovery after shutdown request pulse useful signal is received Resource etc. acts, and then performs shutdown command, and now the Raspberry Pi series card computer, which is in, waits off-mode, Ran Housuo Low level state, i.e., the pin 2=0 of described contact pin, when the microcontroller monitors described insert can be changed into by stating the pin 2 of contact pin The low level state of the pin 2 of pin, the MOSFET pipes actively cut-out and the Raspberry Pi series card computer will be controlled Power supply connects, and the LED can be changed into OFF state, and now the Raspberry Pi series card computer is in off-mode.
During all, as user need or the Raspberry Pi series card computer crash, can it is described open/ Close button is pressed more than 5 seconds, performs forced shutdown, can cut off the MOSFET pipes and the Raspberry Pi serial card by force The power supply connection of piece computer.
Fig. 4 is the circuit diagram of the utility model Raspberry Pi series card computer security power control.As shown in figure 4, The circuit diagram includes power supply input circuit, microcontroller power supply circuit, input/output interface connector circuit, LED lamp circuit, button Circuit, single chip circuit and mcu programming circuit.
Power supply input circuit includes a wave filter FB1, a USB interface U1, a fuse F1, the pole of voltage stabilizing two Pipe D1, five electric capacity C2, C3, C4, C48, C49, four resistance R4, R5, R7, R45, a P-channel metal-oxide-semiconductor Q1 and a N ditch Road metal-oxide-semiconductor Q2;The supply voltage of the USB interface U1 is 5V, and wave filter FB1 described in its cage connection is grounded, and the USB connects Mouthful U1 return pin 5 is grounded, and the supply pin 1 of the USB interface U1 is through the fuse F1 connections power supply 5V, and described The voltage-regulator diode D1 ground connection is being connected respectively, is connecting described electric capacity C48, C3, C2 between fuse F1 and the power supply 5V Ground connection, the source S connection power supply 5V of the P-channel metal-oxide-semiconductor Q1, and power supply 5V inputs are respectively through the resistance R4 and the electricity Hold the grid G end that C49 is connected to the P channel MOS tubes Q1, the drain D output voltage 5V of the P-channel metal-oxide-semiconductor Q1 and company The electric capacity C4 ground connection is connect, the grid G of the P-channel metal-oxide-semiconductor Q1 connects the resistance R45 and connects the N-channel MOS pipe Q2's Drain D, the source S of the N-channel MOS pipe Q2 are grounded, described in the grid G terminal circuit part connection of the N-channel MOS pipe Q2 Resistance R7 is grounded and a part connects the resistance R5 out-put supplies.
Microcontroller power supply circuit includes a Schottky diode D9, three electric capacity C45, C46, C47, a resistance R62 An and low noise low pressure voltage-stablizer U7;Power supply 5V inputs are connected to the low noise low pressure through the Schottky diode D9 Voltage-stablizer U7 IN pins 1 and ON/OFF pins 3, and the electric capacity C45 grounding connections in the Schottky diode D9 and Between the low noise low pressure voltage-stablizer U7 pins 1 and pin 3, the pin 4 of the low noise low pressure voltage-stablizer U7 connects described Electric capacity C46 is grounded, and the pin 2 of the low noise low pressure voltage-stablizer U7 is grounded, the pin 5 of the low noise low pressure voltage-stablizer U7 The resistance R62 is connected to fix output burning voltage 3.3V and connect the electric capacity C47 ground connection.
Input/output interface connector circuit includes a Raspberry Pi series card computer contact pin J5;The Raspberry Pi Serial card computer contact pin J5 1,3 pins connect 5V power supplys, and pin 18 connects 3.3V power supplys, and pin 10,26,40 is grounded, pin 7, 13rd, 19,29,33 ground connection.
LED lamp circuit includes six resistance R21, R46, R47, R48, R59, R60, a N-channel MOS pipe Q4 and one LED D10;The power supply 5V inputs connect the interface 2 of the LED D10 through stating resistance R21, then inside the LED D10 Three light emitting diodes connect described resistance R60, R48, R46 from interface 1,3,4 respectively and be connected to the N-channel MOS pipe Q4's Drain D, the source S ground connection of the N-channel MOS pipe Q4, the grid of the N-channel MOS pipe Q4 connect the list through the resistance R59 Microcontroller U6 pin 18 in piece electromechanics road, and connected between the resistance R59 and the N-channel MOS pipe Q4 grid The resistance R47 ground connection.
Key circuit includes a voltage-regulator diode D5, a resistance R20 and a touch-switch S1;It is described to touch out The pin 1,3 for closing S1 is grounded, the pin 2,4 of the touch-switch S1 connect the resistance R20 connect it is micro- in the single chip circuit Controller U6 pin 20, and the pole of voltage stabilizing two is connected between the resistance R20 and the pin 2,4 of the touch-switch S1 Pipe D5 is grounded.
Single chip circuit include an electric capacity C13, nine resistance R22, R23, R24, R52, R53, R54, R55, R56, R61 and microcontroller U6;The pin 5 of the microcontroller U6 connects the electric capacity C13 ground connection, pin 4 and pin 10 Ground connection, pin 6,7 meet power supply 3.3V;Pin 31 connects the resistance R22 and connects the Raspberry Pi series card computer contact pin J5's Pin 7, the level state of the pin 7 is monitored by the microcontroller U6, control the MOSFET pipes and the Raspberry Pi The power supply connection of serial card computer;Pin 30 connects the resistance R61 and connects the Raspberry Pi series card computer contact pin J5's Pin 9, shutdown request pulse useful signal is sent to the Raspberry Pi series card computer by the pin 9, described in control Raspberry Pi series card computer performs the action such as synchronization file system, Resource recovery, then performs shutdown command;Pin 28 connects The resistance R23 connects the pin 32 of the Raspberry Pi series card computer contact pin J5;Pin 27 connect the resistance R24 connect it is described Raspberry Pi series card computer contact pin J5 pin 34;Pin 25 connects the resistance R56 and connects the Raspberry Pi series card electricity Brain contact pin J5 pin 38;Pin 24 connects the pin 20 that the resistance R54 meets the Raspberry Pi series card computer contact pin J5; Pin 23 connects the pin 22 that the resistance R53 meets the Raspberry Pi series card computer contact pin J5;Pin 22 connects the electricity Resistance R52 connects the pin 24 of the Raspberry Pi series card computer contact pin J5;Pin 17 connects the resistance R55 and connects the Raspberry Pi Serial card computer contact pin J5 pin 23.
Mcu programming circuit include three resistance R25, R26, R57, five electric capacity C14, C15, C42, C43, C50 with An and H4M pasters J6;Described electric capacity C50, C14, C42, C43 are grounded and connect power supply 3.3V respectively;Power supply 3.3V is defeated Enter the pin 1 that microcontroller U6 in the single chip circuit is met through the resistance R25, then microcontroller in the single chip circuit Device U6 pin 1 connects the pin 36 of the Raspberry Pi series card computer contact pin J5 through the resistance R57, and in the resistance The electric capacity C15 ground connection is connected in R25 and the single chip circuit between microcontroller U6 pin 1;Power supply 3.3V inputs connect Meet the interface 2 that pins 26 of the resistance R26 through microcontroller U6 in the single chip circuit connects the H4M pasters J6, institute The interface 1 for stating H4M pasters J6 connects power supply 3.3V, and interface 3 is grounded, and interface 4 meets microcontroller U6 in the single chip circuit Pin 1.

Claims (8)

1. a kind of Raspberry Pi series card computer security power control, it is characterised in that including power board (20), institute State power board (20) and be provided with socket (21), the on/off key (22) for being additionally provided with microcontroller (23) and being attached thereto, refer to Show lamp (24), switching tube (25);
The input of the switching tube (25) can connect external power source (30), output end connects the power supply pipe of the socket (21) Pin;
The socket (21) can contact pin (11) corresponding to connecting card computer (10), the power pin of the socket (21) is connected The power pin of the contact pin (11) is connected to, and pin 1, the pin 2 of the card computer (10) are connected to the microcontroller Device (23).
2. Raspberry Pi series card computer security power control according to claim 1, it is characterised in that described outer Portion's power supply (30) is 5V DC power source adapters.
3. Raspberry Pi series card computer security power control according to claim 1, it is characterised in that described to open It is MOSFET pipes to close pipe (25), and its control terminal is connected with the microcontroller (23), its power input and the 5V direct currents Source adapter (30) is connected, and its power output end is connected with the power pin of the socket (21).
4. Raspberry Pi series card computer security power control according to claim 1, it is characterised in that the finger Show that lamp (24) is LED.
5. Raspberry Pi series card computer security power control according to claim 1, it is characterised in that described On/off key (22) is touch-switch.
6. Raspberry Pi series card computer security power control according to claim 1, it is characterised in that the card Piece computer (10) is Raspberry Pi series card computer.
7. Raspberry Pi series card computer security power control according to claim 1, it is characterised in that described to draw Pin 1 is the pin 9 of the Raspberry Pi series card computer (10).
8. Raspberry Pi series card computer security power control according to claim 1, it is characterised in that described to draw Pin 2 is the pin 7 of the Raspberry Pi series card computer (10).
CN201720765426.5U 2017-06-28 2017-06-28 A kind of Raspberry Pi series card computer security power control Active CN207216561U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201720765426.5U CN207216561U (en) 2017-06-28 2017-06-28 A kind of Raspberry Pi series card computer security power control

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201720765426.5U CN207216561U (en) 2017-06-28 2017-06-28 A kind of Raspberry Pi series card computer security power control
PCT/CN2018/081174 WO2019001054A1 (en) 2017-06-28 2018-03-29 Control device for safety power supply of raspberry pi single-board computer

Publications (1)

Publication Number Publication Date
CN207216561U true CN207216561U (en) 2018-04-10

Family

ID=61812103

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201720765426.5U Active CN207216561U (en) 2017-06-28 2017-06-28 A kind of Raspberry Pi series card computer security power control

Country Status (2)

Country Link
CN (1) CN207216561U (en)
WO (1) WO2019001054A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110266840A (en) * 2019-06-21 2019-09-20 南京璇玑信息技术有限公司 A kind of mobile phone team control circuit board

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2773769Y (en) * 2004-12-29 2006-04-19 吴邦文 Timing starting-up controller of computer
CN201374466Y (en) * 2009-03-27 2009-12-30 邱天昌 Intelligent socket based on power line carrier communication
CN105892590A (en) * 2015-05-25 2016-08-24 周奋豪 Partition plate in computer host
CN205054552U (en) * 2015-09-17 2016-03-02 深圳市悦来科技有限公司 Many gears regularly generate heat device and health care eye -shade

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110266840A (en) * 2019-06-21 2019-09-20 南京璇玑信息技术有限公司 A kind of mobile phone team control circuit board

Also Published As

Publication number Publication date
WO2019001054A1 (en) 2019-01-03

Similar Documents

Publication Publication Date Title
JP5903401B2 (en) Power distribution in the cable
CN101106264B (en) Waterproof automatic protection device of electronic device
CN103412562B (en) Automotive universal Diagnostic Test Set
CN108110478A (en) A kind of safe electric appliance energization component
US20190197009A1 (en) Usb type-c adapter module and activating method for the same
CN107084317A (en) A kind of safe LED illumination lamp
TWI375186B (en)
US20100044195A1 (en) Power strip device and method for controlling such power strip device
CN106058592B (en) No-spark socket
US20110304208A1 (en) Power saving apparatus and power saving method thereof
TW200633324A (en) Two-way electrical device with USB interface
CN202601991U (en) Wirelessly-controlled multifunctional power supply patch board
US20040169420A1 (en) System and method for automatically interrupting power to a secondary device upon the extinguishing of power to a primary device
WO2011082514A1 (en) Intelligent electric-shock protection socket based on pyroelectric infrared detection
CN101858451B (en) Timed touch tap and control method thereof
CN105378666B (en) Free-standing automation equipment and machine
CN203119224U (en) Multifunctional remote-control patch board
CN105204600B (en) A kind of I2C bus-sharings realize integrated chip repositioning method, system and electronic equipment
US20030120970A1 (en) Method and apparatus for debugging an electronic product using an internal I/O port
CN103916537A (en) Bluetooth device and quick pairing method and system thereof
US20090133928A1 (en) Floor-mounted domestic appliance
CN204190086U (en) A kind of detection feedback device of charging connector for electric automobile self-locking mechanism
CN1678087A (en) Single-plate hot-plug-pull controlling method and board with hot plug-pull controlling module
CN102622071B (en) Electrical power distribution apparatus and power distribution circuit
TW201222244A (en) Device and method for examining USB port of test apparatus

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant