CN102242584B - Control chip of coded lock - Google Patents

Control chip of coded lock Download PDF

Info

Publication number
CN102242584B
CN102242584B CN2011101534892A CN201110153489A CN102242584B CN 102242584 B CN102242584 B CN 102242584B CN 2011101534892 A CN2011101534892 A CN 2011101534892A CN 201110153489 A CN201110153489 A CN 201110153489A CN 102242584 B CN102242584 B CN 102242584B
Authority
CN
China
Prior art keywords
control chip
coded lock
circuit
lock control
password
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
CN2011101534892A
Other languages
Chinese (zh)
Other versions
CN102242584A (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.)
FENGHUA CHENGXINGDAO ELECTRONIC TECHNOLOGY CO LTD
Original Assignee
FENGHUA CHENGXINGDAO ELECTRONIC 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 FENGHUA CHENGXINGDAO ELECTRONIC TECHNOLOGY CO LTD filed Critical FENGHUA CHENGXINGDAO ELECTRONIC TECHNOLOGY CO LTD
Priority to CN2011101534892A priority Critical patent/CN102242584B/en
Publication of CN102242584A publication Critical patent/CN102242584A/en
Application granted granted Critical
Publication of CN102242584B publication Critical patent/CN102242584B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Storage Device Security (AREA)
  • Lock And Its Accessories (AREA)

Abstract

The invention discloses a control chip of a coded lock. The control chip comprises an oscillator clock circuit, a sleep control circuit, a keyboard interface circuit, and E2PROM (Electrically Erasable Programmable Read-Only Memory), and RAM (Random Access Memory) circuit, a control logic circuit and a low-voltage detecting circuit, wherein the oscillator clock circuit is used for providing a clock signal for an internal part of the control chip of the coded lock; the sleep control circuit is used for sleep controlling and work awaking of the control chip when the control chip of the coded lock does not work; the keyboard interface circuit is used for external key-pressing input of the control chip of the coded lock; the E2PROM is used for storing a user password; the RAM circuit is used for temporary storage of internal data of the control chip of the coded lock; the control logic circuit is used for password checking and output controlling; and the low-voltage detecting circuit is used for detecting supply voltage sag of an external power supply of the control chip of the coded lock. The control chip has the advantages of fewer external devices, simplicity for programming, easiness for debugging and strong reliability and is suitable for promotion and application.

Description

A kind of coded lock control chip
Technical field
The present invention relates to the VLSI Design technical field, relate in particular to a kind of coded lock control chip.
Background technology
Coded lock is a kind of of lock, and what use during unlatching is a series of numeral or symbol.The password of coded lock all is to arrange but not real combination usually.The partial password lock only uses a rotating disk, and several video discs in the lock or cam are rotated; Also some coded lock be rotate one group several be carved with the thumb wheel circle of numeral, directly drive the machinery of lock inside.
At present, mostly the coded lock control circuit is to adopt single-chip microcomputer to be equipped with the realization of respective peripheral circuit, exists peripheral components many, and programming is complicated, shortcomings such as debug difficulties, poor reliability.
Summary of the invention
Technical problem to be solved by this invention is: mostly Current Password lockset control circuit is to adopt single-chip microcomputer to be equipped with the realization of respective peripheral circuit, exists peripheral components many, and programming is complicated, shortcomings such as debug difficulties, poor reliability.
For solving the problems of the technologies described above, the present invention adopts following technical scheme:
A kind of coded lock control chip, it comprises:
The running clock circuit is used for providing clock signal to coded lock control chip inside;
The dormancy control circuit, dormancy control and work do not wake up when not working for the coded lock control chip;
Keyboard interface circuit is used for the input of coded lock control chip external key;
EEPROM (Electrical1y Erasable Programmable Read-Only Memory is called for short E2PROM) is used for the storage of user cipher;
Random access memory (Random Access Memory is called for short RAM) circuit, it is temporary to be used for coded lock control chip internal data;
Control logic circuit, be used for cryptographic core to and output control; And
Low-voltage detection circuit falls for detection of coded lock control chip externally fed supply voltage.
Further, described keyboard interface circuit provides 7 interfaces, is used for receiving external signal.
Further, described E2PROM can store 2 groups of user ciphers.
Further, described control logic circuit provides 3 interfaces, is used for receiving external signal.
Further, described control logic circuit provides 4 interfaces, is used for output signal.
Further, described low-voltage detection circuit detects external battery voltage and crosses the indication of can reporting to the police when hanging down.
Further, described low-voltage detection circuit provides 1 interface, is used for output signal.
Beneficial effect of the present invention is:
A kind of coded lock control chip is provided, and peripheral components is few, and programming is simple, and debugging is easy, and good reliability is suitable for applying.
Description of drawings
Fig. 1 is the embodiment module diagram of a kind of coded lock control chip of the present invention.
Fig. 2 is the embodiment pin schematic diagram of a kind of coded lock control chip of the present invention.
Fig. 3 uses schematic diagram for the embodiment of a kind of coded lock control chip of the present invention.
The specific embodiment
Describe the preferred embodiments of the present invention in detail below in conjunction with accompanying drawing.
See also Fig. 1, it is the embodiment module diagram of a kind of coded lock control chip of the present invention.
A kind of coded lock control chip of the present invention, it comprises: running clock circuit 11, dormancy control circuit 12, keyboard interface circuit 13, E2PROM14, RAM circuit 15, control logic circuit 16 and low-voltage detection circuit 17.
Wherein, running clock circuit 11 is connected with E2PROM14 with dormancy control circuit 12, keyboard interface circuit 13 respectively.Keyboard interface circuit 13 is connected with control logic circuit 16 with RAM circuit 15 respectively.RAM circuit 15 is connected with control logic circuit 16 with E2PROM14 respectively.
Running clock circuit 11 is used for providing clock signal to coded lock control chip inside.
Dormancy control circuit 12, dormancy control and work do not wake up when not working for the coded lock control chip.
Keyboard interface circuit 13 is used for the external key input.In the present embodiment, keyboard interface circuit 13 provides 7 interface P1~P7, is used for receiving external signal.
E2PROM14 is used for the storage of user cipher.In the present embodiment, E2PROM14 can store 2 groups of user ciphers.
RAM circuit 15, it is temporary to be used for internal data.
Control logic circuit 16, be used for cryptographic core to and output control.In the present embodiment, control logic circuit 16 provides 3 interface P8~P10, is used for receiving external signal; 4 interfaces 01,02,03 and 05 are provided, are used for output signal.
Low-voltage detection circuit 17 falls for detection of coded lock control chip externally fed supply voltage.In the present embodiment, low-voltage detection circuit 17 detects external battery voltage and crosses the indication of can reporting to the police when hanging down, and in addition, low-voltage detection circuit 17 provides 1 interface 04, is used for output signal.
See also Fig. 2, it is the embodiment pin schematic diagram of a kind of coded lock control chip of the present invention.
In the present embodiment, a kind of coded lock control chip comprises 16 pins.
Wherein, the interface P1~P7 of pin 1~7 corresponding input type.The function of pin 1~7 is:
(1) corresponding 3X4 keyboard input;
(2) arbitrary key input wakes chip up from park mode, does not have the operation chip and enters park mode in 20 seconds;
(3) password setting
Administrator password: double-click " 0 " key, press " P9 " key again, the setting of beginning administrator password, input 1~9 any 8 figure place passwords are pressed " # " key and are confirmed;
Personal identification number: directly press " P9 " key, the setting of beginning personal identification number, input 0~9 any 3~8 figure place passwords are pressed " # " key and are confirmed;
In above-mentioned password input process, can press the deletion of " * " key if input by mistake, re-enter.
The password default that dispatches from the factory is " 159 ".
(4) password input
Press 1~9 key input password, press " # " key and confirm.In the password input process, can press the deletion of " * " key if input by mistake, re-enter.3 input errors of password, locked 1 minute of keyboard, and report to the police.
The interface P8 of pin 9 corresponding input types.The function of pin 9 is: the anti-theft signal input, high level is effective, and is inner drop-down.
The interface P9 of pin 10 corresponding input types.The function of pin 10 is: administrator password, personal identification number arrange the input button.
The interface 05 of pin 11 corresponding output types.The function of pin 11 is: by * key control burglar alarm whether, if press the * key, alarm signal is arranged then, antitheft input high level, the output high level 20 seconds (connecing loudspeaker) of reporting to the police, 3 input errors of password, loudspeaker output high level 5 seconds.
The interface Vdd of pin 16 corresponding input types.The function of pin 16 is: connect power supply.
The interface Gnd of pin 8 corresponding input types.The function of pin 8 is: ground connection.
The interface 01 of pin 15 corresponding output types.The function of pin 15 is: button indication output specifically describes as follows:
When (1) password was imported, button was pressed the output high level, unclamps output low level; The correct output of input high level continues 1 second, transfers low level to;
When (2) password arranges, arrange and begin to export high level, wherein whenever press low level of primary key output, do not have key to export high level on time, arrange and finish output low level;
(3) burglar alarm output high level is 20 seconds;
(4) 3 input errors of password, output high level 5 seconds.
The interface 02 of pin 14 corresponding output types.The function of pin 14 is: under-voltage indication, output high level when under-voltage, under-voltage point: 4.5V.
The interface 03 of pin 13 corresponding output types.The function of pin 13 is: buzzer output specifically describes as follows:
(1) password input error is reported to the police and was exported high level 2 seconds; 3 input errors of password are reported to the police and were exported high level 5 seconds;
(2) password arranges correctly, 1 second-low level of output high level, continuous 2 times;
(3) password arranges report to the police output high level 2 seconds of mistake (comprise in the password 0 or figure place not enough);
(4) the password input is correct, 1 second-low level of output high level, continuous 2 times;
When (5) password arranges, pressed and the key buzzer is set rings two, has rung and begin to arrange password, whenever pressed primary key loud one, do not had key loud on time;
(6) burglar alarm output high level is 20 seconds.
The interface 04 of pin 12 corresponding output types.The function of pin 12 is: the control output of opening the door, and the password input is correct, and the output high level transferred low level in 5 seconds to.
See also Fig. 3, it is that the embodiment of a kind of coded lock control chip of the present invention uses schematic diagram.
The pin 1~7 of coded lock control chip is linking number keyboard 0~9 respectively, and * and # key.Pin 8 ground connection.
Pin 13 connects buzzer.Pin 14 connects under-voltage indicator lamp.Pin 15 connects the button indicator lamp.
Effect intentionally of the present invention is: be mostly to adopt single-chip microcomputer to be equipped with the respective peripheral circuit at Current Password lockset control circuit and realize, exist peripheral components many, programming is complicated, shortcoming such as debug difficulties, poor reliability provides a kind of coded lock control chip, and peripheral components is few, programming is simple, debugging is easy, and good reliability is suitable for applying.
Here description of the invention and application is illustrative, is not to want with scope restriction of the present invention in the above-described embodiments.Here the distortion of disclosed embodiment and change is possible, and the various parts of the replacement of embodiment and equivalence are known for those those of ordinary skill in the art.Those skilled in the art are noted that under the situation that does not break away from spirit of the present invention or substantive characteristics, and the present invention can be with other form, structure, layout, ratio, and realize with other assembly, material and parts.Under the situation that does not break away from the scope of the invention and spirit, can carry out other distortion and change to disclosed embodiment here.

Claims (7)

1. a coded lock control chip is characterized in that, comprising:
The running clock circuit is used for providing clock signal to coded lock control chip inside;
The dormancy control circuit, dormancy control and work do not wake up when not working for the coded lock control chip;
Keyboard interface circuit is used for the input of coded lock control chip external key;
E2PROM is used for the storage of user cipher;
The RAM circuit, it is temporary to be used for coded lock control chip internal data;
Control logic circuit, be used for cryptographic core to and output control; And
Low-voltage detection circuit falls for detection of coded lock control chip externally fed supply voltage.
2. a kind of coded lock control chip according to claim 1 is characterized in that, described keyboard interface circuit provides 7 interfaces, is used for receiving external signal.
3. a kind of coded lock control chip according to claim 1 is characterized in that, described E2PROM can store 2 groups of user ciphers.
4. a kind of coded lock control chip according to claim 1 is characterized in that, described control logic circuit provides 3 interfaces, is used for receiving external signal.
5. a kind of coded lock control chip according to claim 1 is characterized in that, described control logic circuit provides 4 interfaces, is used for output signal.
6. a kind of coded lock control chip according to claim 1 is characterized in that, described low-voltage detection circuit detects external battery voltage and crosses the indication of can reporting to the police when hanging down.
7. a kind of coded lock control chip according to claim 1 is characterized in that, described low-voltage detection circuit provides 1 interface, is used for output signal.
CN2011101534892A 2011-06-09 2011-06-09 Control chip of coded lock Expired - Fee Related CN102242584B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2011101534892A CN102242584B (en) 2011-06-09 2011-06-09 Control chip of coded lock

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2011101534892A CN102242584B (en) 2011-06-09 2011-06-09 Control chip of coded lock

Publications (2)

Publication Number Publication Date
CN102242584A CN102242584A (en) 2011-11-16
CN102242584B true CN102242584B (en) 2013-07-03

Family

ID=44960809

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2011101534892A Expired - Fee Related CN102242584B (en) 2011-06-09 2011-06-09 Control chip of coded lock

Country Status (1)

Country Link
CN (1) CN102242584B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102707640A (en) * 2012-06-04 2012-10-03 中颖电子股份有限公司 Special self-programmable chip for remote controller
CN105795836A (en) * 2016-05-20 2016-07-27 江苏科技大学 Password water cup

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2791636B2 (en) * 1993-12-24 1998-08-27 三井金属鉱業株式会社 Transmitter for remote control
JP3102248B2 (en) * 1994-01-27 2000-10-23 セイコーエプソン株式会社 Electronic equipment with generator
CN100395424C (en) * 2004-02-16 2008-06-18 江苏中兴建设有限公司 Minicomputer intelligent lockset system
CN201092778Y (en) * 2007-09-28 2008-07-30 安徽省电力公司淮南供电公司 Low-power consumption electronic lock pipe control circuit and key circuit
CN201310241Y (en) * 2008-12-05 2009-09-16 李云刚 Lock for identifying key identity
CN202284415U (en) * 2011-06-09 2012-06-27 奉化诚兴道电子科技有限公司 Control chip of coded lock

Also Published As

Publication number Publication date
CN102242584A (en) 2011-11-16

Similar Documents

Publication Publication Date Title
CN105225316B (en) A kind of dormancy of electron key low-power consumption power supply plan and awakening method
CN206021402U (en) A kind of off-line cipher lock control device of low-power consumption
CN108806029A (en) A kind of low energy consumption intelligent door lock system
CN102434061B (en) Capacitive touch sensitive electronic safety box
CN102242584B (en) Control chip of coded lock
CN206903420U (en) A kind of suitcase lock for integrating NFC electronic locks and electronic ink screen
CN105809778A (en) One-chip microcomputer-based electronic coded lock design
CN202284415U (en) Control chip of coded lock
CN204808441U (en) Non -contact environment -friendly trick lock
CN110309650A (en) For fighting system, the method and apparatus of direct memory access (DMA) attack
CN205722202U (en) Electronic locker
CN204087305U (en) A kind of use in construction of door and window intelligent anti-theft system based on RFID
CN201144560Y (en) Electronic trick lock with double chip structure
CN202311673U (en) Configurable intelligent briefcase with electronic identity authentication
CN206353192U (en) A kind of safety circuit for chip testing
CN214670882U (en) STS prepayment gas meter based on bluetooth communication
CN207318975U (en) A kind of device for real-time detection terminal on or off lid
CN203117961U (en) Dead halt monitoring and resetting device
CN104464029A (en) Single-chip microcomputer infrared remote-control code lock
CN206616962U (en) A kind of autonomous learning formula radio frequency electric theftproof lock for intelligent anti-theft door lock
CN206409063U (en) The file cabinet of securely unlocking mechanism based on fingerprint and bluetooth
CN107219803A (en) It is a kind of to be used to detect that terminal opens or closes the device of lid in real time
CN208673405U (en) A kind of distribution net cage or cabinet Intelligent key
CN102509069A (en) File security management system
CN202293780U (en) Confidential folder

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20130703

Termination date: 20150609

EXPY Termination of patent right or utility model