CN103049956A - Safety access control device based on FPGA - Google Patents
Safety access control device based on FPGA Download PDFInfo
- Publication number
- CN103049956A CN103049956A CN2013100069572A CN201310006957A CN103049956A CN 103049956 A CN103049956 A CN 103049956A CN 2013100069572 A CN2013100069572 A CN 2013100069572A CN 201310006957 A CN201310006957 A CN 201310006957A CN 103049956 A CN103049956 A CN 103049956A
- Authority
- CN
- China
- Prior art keywords
- fpga
- operated lock
- key operated
- magnetic key
- door
- 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.)
- Pending
Links
Images
Landscapes
- Lock And Its Accessories (AREA)
Abstract
The invention relates to the field of electronic control and discloses a safety access control device based on an FPGA (Field Programmable Gate Array). The safety access control device comprises an electrical control system, a magnetic lock, an FPGA clipped microcontroller, a status indicator lamp, an internal switch, a key acquisition circuit and a magnetic lock control circuit, wherein the microcontroller is an FPGA clipped MCU (Micro Controller Unit) and comprises a key service module, a password storage unit, an interrupt management module, a magnetic lock control module and a wireless module; the key service module consists of ten password entry keys 0-9, a confirm key 2E, a cancel key 2Q and three AND gates; the magnetic lock control circuit comprises a resistor and a triode 5A; and the magnetic lock is connected with an emitter of the triode 5A. The special safety access control system controller based on the FPGA can change a password of an access control system in real time and monitor safety status of room doors through wireless communication, is flexible and convenient in interface and easy to control, and has a certain application value and a market prospect.
Description
Technical field
The present invention relates to field of electric control, particularly a kind of safety door inhibition control device based on FPGA.
Background technology
In the modern life, the number of travelling outdoors is more and more, and the quantity in hotel also is more and more.The people who often has some to fish in troubled waters slips into the hotel, steals, and guarantees that passenger's person and property safety are each hotel obligations one can't decline.Current gate control system on the market is relatively expensive, be not easy to popularize, and security is relatively low, when abnormal conditions appear in the room, can not in time report to the foreground, can not guarantee room and passenger's safety, therefore designing a low price automatic safety gate control system seems extremely important.
Application number is 200820052105.1 patent of invention: a kind of networking safety door inhibition apparatus is made of access controller, card reader, central computer, electric control lock, telecommunication circuit, door state detection circuit, warning circuit.Read information in the contactless card by card reader, carry out the door-opening password coupling, the state of control gate, but the contactless card reproducibility is stronger, and security is lower, and any card reader password modify feature is provided simultaneously.Application number is 201110211640.3 patent of invention: security entrance guard system with Internet of things uses the open the door Push And Release of telepilot control gate of a movement, telepilot is communicated by letter with access controller by wireless network, wireless network connects with gateway communication, gateway connects intelligent broadband, realized wired with wireless being connected, realize relative complex, for the dwelling house that device is finished, wired rearrangement bothers.The mobile residence such as being not suitable in the hotel for above two patents of invention uses.
Summary of the invention
The objective of the invention is: for solving above-mentioned technical matters of the prior art, a kind of safety door inhibition control device based on FPGA is provided, the Special safety gate control system controller that the present invention adopts on-site programmable gate array FPGA to make, can pass through radio communication, finish the real-time change of passwords of access control system and the supervision of room door safe condition.
For achieving the above object, the technical solution used in the present invention is: a kind of safety door inhibition control device based on FPGA is provided, has comprised: electric control system, magnetic key operated lock 4; During magnetic key operated lock 4 energising, door closes, and during magnetic key operated lock 4 outage, door is opened.
Described electric control system further comprises: by microcontroller 6, status indicator lamp 7, internal switch 1, button Acquisition Circuit 2, the magnetic key operated lock control circuit 5 of FPGA cutting; Microcontroller 6 is comprised of the MCU of FPGA cutting, comprises button service module, password storage unit, interrupt management module, magnetic key operated lock control module and wireless module 3; Wherein, the button service module is by 0 ~ 9, acknowledgement key 2E of ten password input keys, cancel key 2Q and three and door, first with a door U1, second with door U2, the 3rd with door U3 composition; Described magnetic key operated lock control circuit 5 comprises a resistance, triode 5A, and resistance one end connects power supply, the collector of an end connecting triode 5A, and magnetic key operated lock 4 is connected with the emitter of triode 5A.
The button service module is connected with the input end of button Acquisition Circuit 2, and the magnetic key operated lock control module is connected with the input end of magnetic key operated lock control circuit 5, and the button Acquisition Circuit is connected output terminal and is connected with the common input end of microcontroller 6 respectively with the magnetic key operated lock control circuit; Status indicator lamp 7 is connected with the common circuit of output terminal of microprocessor 6; Input/output function by changing common input/output end port and the high-low level of output, the flickering of state of a control pilot lamp 7, the break-make of triode 5A and the detection of button.Internal switch 1 is connected with the interrupt management module input circuit of microcontroller 6 with the 3rd port 8 of door U3 with the 3rd, when button is pressed, can trigger interruption, and processor is finished corresponding processing.
The invention has the beneficial effects as follows: the Special safety gate control system controller that the present invention adopts field programmable gate array (FPGA) to make, can pass through radio communication, finish the real-time change of passwords of access control system and the supervision of room door safe condition; Interface flexible is convenient, easily with control; Good maintainability and extendability are arranged, easily manufactured, and cost is lower, has certain using value and market outlook.
Description of drawings
Fig. 1 is the electric control system structural representation of a kind of safety door inhibition control device based on FPGA of the present invention.
Fig. 2 is the microcontroller program state machine of making based on the present invention.
Accompanying drawing sign: 1-internal switch, 2-button Acquisition Circuit, 3-wireless module, the 4-magnetic key operated lock, 5-magnetic key operated lock control circuit, 6-microcontroller, the 7-status indicator lamp, 8-the 3rd port, 101-monitor state, 102-key scan state, 103-magnetic key operated lock open mode, 104-Password Input matching status, 105-wireless communication state, 106-empties the Password Input state, 107-is wireless new password state more.
Embodiment
The present invention is described in detail below in conjunction with drawings and Examples.
A kind of safety door inhibition control device based on FPGA of the present invention comprises: electric control system, magnetic key operated lock 4; During magnetic key operated lock 4 energising, door closes, and during magnetic key operated lock 4 outage, door is opened.
Described electric control system further comprises: by microcontroller 6, status indicator lamp 7, internal switch 1, button Acquisition Circuit 2, the magnetic key operated lock control circuit 5 of FPGA cutting; Microcontroller 6 is comprised of the MCU of FPGA cutting, comprises button service module, password storage unit, interrupt management module, magnetic key operated lock control module and wireless module 3; Wherein, the button service module is by 0 ~ 9, acknowledgement key 2E of ten password input keys, cancel key 2Q and three and door, first with a door U1, second with door U2, the 3rd with door U3 composition; Described magnetic key operated lock control circuit 5 comprises a resistance, triode 5A, and resistance one end connects power supply, the collector of an end connecting triode 5A, and magnetic key operated lock 4 is connected with the emitter of triode 5A.
The button service module is connected with the input end of button Acquisition Circuit 2, and the magnetic key operated lock control module is connected with the input end of magnetic key operated lock control circuit 5, and the button Acquisition Circuit is connected output terminal and is connected with the common input end of microcontroller 6 respectively with the magnetic key operated lock control circuit; Status indicator lamp 7 is connected with the common circuit of output terminal of microprocessor 6; Input/output function by changing common input/output end port and the high-low level of output, the flickering of state of a control pilot lamp 7, the break-make of triode 5A and the detection of button.Internal switch 1 is connected with the interrupt management module input circuit of microcontroller 6 with the 3rd port 8 of door U3 with the 3rd, when button is pressed, can trigger interruption, and processor is finished corresponding processing.
Microcontroller 6 carries out the password coupling by the scanning key-press input, and the correct magnetic key operated lock outage of Password Input sends information by wireless module 3 to information desk simultaneously, guarantees security.If the Password Input mistake, the state of magnetic key operated lock 4 is constant, if continuous three failures, the scanning that then stops key does not allow user's again Password Input, and passes through wireless module 3 to information desk transmission information, in order to guarantee safety.Provide simultaneously a switch, in order to open internally magnetic key operated lock 4.The present invention can receive the wireless messages that information desk sends, the operations such as change state and password.
See figures.1.and.2, the present embodiment supposing the system uses for the first time, and password is password default 011110.
After system starts, at first enter monitor state 101, this moment, status indicator lamp 7 was bright, and magnetic key operated lock 4 is in closed condition.Press password input key 0, enter key scan state 102, the scanning button, the record key value is returned and is entered monitor state 101.Push button continuously 1,1,1,1,0, then press acknowledgement key, enter password matching status 104, Password Input is correct.Enter magnetic key operated lock 4 open modes 103, magnetic key operated lock 4 is opened, status indicator lamp 7 flicker 3s, and magnetic key operated lock 4 meeting autoshutdowns after the 3s, status indicator lamp 7 recovers to continue bright state.When magnetic key operated lock 4 is opened, enter wireless communication state 105, send to the foreground by the wireless message that magnetic key operated lock 4 is opened, finish the supervision to room door.If this room is not hired out, then give the alarm, point out illegal entering, guarantee the safety in room.If Password Input mistake and the frequency of failure are less than 3, magnetic key operated lock 4 can not be opened, and enters to empty input password state 106, and input is emptied, and the user can re-enter; If continuous 3 times are inputted unsuccessfully, the scanning of the input that then can stop key does not allow user's again input, and enters wireless communication state 105, by wireless warning information is sent to the foreground, guarantees the safety in room.If the user presses cancel key in the process of Password Input, enter and empty password state 106, the password of input can re-enter before emptying.
After the Password Input success, the user enters within the room, when wanting to withdraw from a room, presses internal switch, and enter magnetic key operated lock 4 open modes 103 this moment, and magnetic key operated lock 4 is opened, and can withdraw from a room, and magnetic key operated lock 4 can autoshutdown after the 3s.
When wireless module 3 is received the wireless signal of sending on the foreground, pass to microcontroller 6, microcontroller 6 is resolved, if the instruction of change password, corresponding 107 states at first carry out the password coupling, if the original password that provides and password storage element is identical, then changing current password is new password, and replys the change successful information; If the original password that provides is different from the password storage unit, does not then change, and reply failure information; If be unrecognizable instruction, then abandon.
When the Password Input frequency of failure surpasses 3 times, this moment, system can not carry out the scanning of button again, want to recover this function, can only press internal switch 1 by foreground wireless transmission instruction or in house interior, with frequency of failure zero clearing, then recover the key scan function, respectively corresponding 107 and 103 states.
Above content is the further description of the present invention being done in conjunction with optimal technical scheme, can not assert that the implementation of invention only limits to these explanations.Concerning the general technical staff of the technical field of the invention, under the prerequisite that does not break away from design of the present invention, can also make simple deduction and replacement, all should be considered as protection scope of the present invention.
Claims (1)
1. the safety door inhibition control device based on FPGA is characterized in that, described a kind of safety door inhibition control device based on FPGA comprises: electric control system, magnetic key operated lock (4); Described electric control system further comprises: by microcontroller (6), status indicator lamp (7), internal switch (1), button Acquisition Circuit (2), the magnetic key operated lock control circuit (5) of FPGA cutting; Microcontroller (6) is comprised of the MCU of FPGA cutting, comprises button service module, password storage unit, interrupt management module, magnetic key operated lock control module and wireless module (3); Wherein, the button service module is by 0 ~ 9, acknowledgement key 2E of ten password input keys, cancel key 2Q and three and door, first with a door U1, second with door U2, the 3rd with door U3 composition; Described magnetic key operated lock control circuit (5) comprises a resistance, triode 5A, and resistance one end connects power supply, the collector of other end connecting triode 5A, and magnetic key operated lock (4) is connected with the emitter of triode 5A; The button service module is connected with the input end of button Acquisition Circuit (2), the magnetic key operated lock control module is connected with the input end of magnetic key operated lock control circuit (5), and the button Acquisition Circuit is connected output terminal and is connected with the common input end of microcontroller (6) respectively with the magnetic key operated lock control circuit; Status indicator lamp (7) is connected with the common circuit of output terminal of microprocessor (6); Internal switch (1) is connected with the interrupt management module input circuit of microcontroller (6) with the 3rd port (8) of door U3 with the 3rd.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2013100069572A CN103049956A (en) | 2013-01-09 | 2013-01-09 | Safety access control device based on FPGA |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2013100069572A CN103049956A (en) | 2013-01-09 | 2013-01-09 | Safety access control device based on FPGA |
Publications (1)
Publication Number | Publication Date |
---|---|
CN103049956A true CN103049956A (en) | 2013-04-17 |
Family
ID=48062581
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2013100069572A Pending CN103049956A (en) | 2013-01-09 | 2013-01-09 | Safety access control device based on FPGA |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103049956A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106503513A (en) * | 2016-09-23 | 2017-03-15 | 北京小米移动软件有限公司 | Method for recognizing sound-groove and device |
CN112288920A (en) * | 2020-10-19 | 2021-01-29 | 罗玲 | Intelligent security access control system and alarm mechanism based on FPGA |
Citations (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN2194955Y (en) * | 1993-12-15 | 1995-04-19 | 张素敏 | Electronic door lock |
CN1773557A (en) * | 2005-11-16 | 2006-05-17 | 北京交通大学 | Entrance guard system based on palm print features |
CN100999961A (en) * | 2006-01-14 | 2007-07-18 | 姜仁忠 | New Sci & Tech. cipher lock and design method of key thereof |
CN101403264A (en) * | 2008-09-19 | 2009-04-08 | 刘海君 | Electronic password control circuit |
CN201247486Y (en) * | 2007-12-28 | 2009-05-27 | 深圳英飞拓科技股份有限公司 | Embedded gate inhibition controller |
CN101789793A (en) * | 2010-01-15 | 2010-07-28 | 电子科技大学中山学院 | Determinant linear array coordinate scanning circuit |
CN101882332A (en) * | 2009-05-09 | 2010-11-10 | 罗仁泽 | Intelligent control method of multifunctional infrared remote control electronic coded lock |
CN201946053U (en) * | 2010-12-31 | 2011-08-24 | 余博贺 | Wireless networked intelligent card (IC) access control terminal |
CN201963067U (en) * | 2010-12-15 | 2011-09-07 | 西安理工大学 | Password automatic door control device |
CN102289291A (en) * | 2011-05-20 | 2011-12-21 | 西北工业大学 | Keyboard circuit capable of improving key-press scanning speed |
CN102509371A (en) * | 2011-11-01 | 2012-06-20 | 天津工业大学 | Door control alarming device |
CN102708610A (en) * | 2012-06-06 | 2012-10-03 | 万科思自控信息(中国)有限公司 | Door access control system and door-lock unlocking method thereof |
CN202615477U (en) * | 2012-05-21 | 2012-12-19 | 中船重工(武汉)凌久高科有限公司 | Eight-door double-controlling high-capacity access controller |
-
2013
- 2013-01-09 CN CN2013100069572A patent/CN103049956A/en active Pending
Patent Citations (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN2194955Y (en) * | 1993-12-15 | 1995-04-19 | 张素敏 | Electronic door lock |
CN1773557A (en) * | 2005-11-16 | 2006-05-17 | 北京交通大学 | Entrance guard system based on palm print features |
CN100999961A (en) * | 2006-01-14 | 2007-07-18 | 姜仁忠 | New Sci & Tech. cipher lock and design method of key thereof |
CN201247486Y (en) * | 2007-12-28 | 2009-05-27 | 深圳英飞拓科技股份有限公司 | Embedded gate inhibition controller |
CN101403264A (en) * | 2008-09-19 | 2009-04-08 | 刘海君 | Electronic password control circuit |
CN101882332A (en) * | 2009-05-09 | 2010-11-10 | 罗仁泽 | Intelligent control method of multifunctional infrared remote control electronic coded lock |
CN101789793A (en) * | 2010-01-15 | 2010-07-28 | 电子科技大学中山学院 | Determinant linear array coordinate scanning circuit |
CN201963067U (en) * | 2010-12-15 | 2011-09-07 | 西安理工大学 | Password automatic door control device |
CN201946053U (en) * | 2010-12-31 | 2011-08-24 | 余博贺 | Wireless networked intelligent card (IC) access control terminal |
CN102289291A (en) * | 2011-05-20 | 2011-12-21 | 西北工业大学 | Keyboard circuit capable of improving key-press scanning speed |
CN102509371A (en) * | 2011-11-01 | 2012-06-20 | 天津工业大学 | Door control alarming device |
CN202615477U (en) * | 2012-05-21 | 2012-12-19 | 中船重工(武汉)凌久高科有限公司 | Eight-door double-controlling high-capacity access controller |
CN102708610A (en) * | 2012-06-06 | 2012-10-03 | 万科思自控信息(中国)有限公司 | Door access control system and door-lock unlocking method thereof |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106503513A (en) * | 2016-09-23 | 2017-03-15 | 北京小米移动软件有限公司 | Method for recognizing sound-groove and device |
CN112288920A (en) * | 2020-10-19 | 2021-01-29 | 罗玲 | Intelligent security access control system and alarm mechanism based on FPGA |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN204166591U (en) | A kind of intelligent door lock system based on WIFI and Cloud Server | |
CN105225301A (en) | A kind of intelligent door lock system based on WIFI and Cloud Server | |
CN107195038B (en) | Intelligent cloud lock system based on two-dimensional code and unlocking method | |
CN206649587U (en) | A kind of fire disaster intelligently door-locking system | |
CN105275274A (en) | Intelligent identification lock | |
CN110533813B (en) | Intelligent access control system capable of guaranteeing overhaul safety | |
CN102508469B (en) | Intelligent management system for safety tools and appliances | |
CN103049956A (en) | Safety access control device based on FPGA | |
CN105957203A (en) | Concentrated safety management system for overall corridors of apartment | |
CN104123800B (en) | A kind of wireless burglar alarm system | |
CN206672204U (en) | A kind of fire-proof remote-controlled intelligent door-locking system | |
CN211506592U (en) | Intelligent door lock system capable of being controlled indoors | |
CN208271338U (en) | A kind of window anti-theft system based on embedded platform | |
CN208589700U (en) | Switchgear with INTELLIGENT IDENTIFICATION drawer | |
CN206313537U (en) | Electrical equipment power circuit bio-identification control system | |
CN208654872U (en) | Yunmen access control system | |
CN202771510U (en) | Appointment and use management system for precise instruments | |
CN207926275U (en) | A kind of electric power operation system based on Quick Response Code | |
CN201909802U (en) | Intelligent controller | |
CN202679395U (en) | Intelligent household system controlled by human body characteristic information | |
CN202230384U (en) | Safety tool intelligent management system | |
CN108468482A (en) | A kind of smart home door lock | |
CN206877394U (en) | A kind of teleengineering support door-locking system | |
CN209707937U (en) | Electric power computer room Portable multifunctional information monitor | |
CN205563624U (en) | In many ways, Full unlock keys control management system who authorizes |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C05 | Deemed withdrawal (patent law before 1993) | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20130417 |