CN1529030B - Electric actuator for trick lock and trick lock - Google Patents
Electric actuator for trick lock and trick lock Download PDFInfo
- Publication number
- CN1529030B CN1529030B CN 200310106615 CN200310106615A CN1529030B CN 1529030 B CN1529030 B CN 1529030B CN 200310106615 CN200310106615 CN 200310106615 CN 200310106615 A CN200310106615 A CN 200310106615A CN 1529030 B CN1529030 B CN 1529030B
- Authority
- CN
- China
- Prior art keywords
- microcontroller
- control system
- password
- power supply
- information
- 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
Links
- 230000006854 communication Effects 0.000 claims abstract description 40
- 238000004891 communication Methods 0.000 claims abstract description 38
- 230000009471 action Effects 0.000 claims abstract description 13
- 239000003990 capacitor Substances 0.000 claims description 9
- 230000004044 response Effects 0.000 claims description 3
- 230000002457 bidirectional effect Effects 0.000 claims description 2
- 230000007246 mechanism Effects 0.000 abstract description 10
- 238000000034 method Methods 0.000 description 6
- 238000010586 diagram Methods 0.000 description 5
- 230000008569 process Effects 0.000 description 4
- 230000008859 change Effects 0.000 description 3
- 230000005540 biological transmission Effects 0.000 description 2
- 230000008676 import Effects 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000000284 resting effect Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000015572 biosynthetic process Effects 0.000 description 1
- 239000012141 concentrate Substances 0.000 description 1
- 230000006378 damage Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000005611 electricity Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000014509 gene expression Effects 0.000 description 1
- 230000014759 maintenance of location Effects 0.000 description 1
- 238000005070 sampling Methods 0.000 description 1
- 238000010200 validation analysis Methods 0.000 description 1
Images
Landscapes
- Lock And Its Accessories (AREA)
Abstract
The invention discloses a kind of electric executing device and coded lock, in order to provide a kind of electric executing device and coded lock without single power, and with simple structure, communication function, which is controlled by cipher, and high safety. The electric executing device includes microcontroller, electric executing mechanism, and current supplying circuit. The microcontroller interchanges the information with outer control system through a communication wire and a ground wire; the electric executing mechanism is connected with the communication wire, it executes actions appointed by outer control system instruction and acquires the power from the outer control system through communication wire under the microcontroller; the current supplying circuit is connected to the communication wire, which is used to supply power to the microcontroller. The microcontroller connects with E2PROM, in which there sets an operation cipher and identification cipher. The electric executing device is connected with the outer control system and lock core device, and then forms the coded lock.
Description
Technical field
The present invention relates to electric performance device and coded lock that a kind of coded lock is used.
Background technology
At present, the electric operator of existing coded lock is divided into two big classes, one class is simple executing agency, use as electromagnetic mechanism execution such as electromagnet, motor, existing electronic password lock mostly adopts this type of electromagnetic actuator, it does not possess communication function or password identification function, and electromagnetic actuator is connected lead only as inserting power supply with external control system.Another kind of is electromechanical integrated product, as is used for the intelligent electric actuating mechanism of DCS Distributed Control System, and the host computer by communication interface and connection and control system carries out communication, carries out the operational order that host computer sends.Usually, electric operator uses independent connection and independent power supply.
Summary of the invention
The present invention is in order to overcome weak point of the prior art, a kind of independent power supply that do not need to be provided, and is simple in structure, has communication function, the control that accesses to your password, safe electric performance device and coded lock.
The present invention is achieved through the following technical solutions:
The electric performance device that a kind of coded lock is used comprises:
Microcontroller is by a connection and ground wire and external control system exchange message;
Electric operator is connected with described connection, carries out the action of external control system instruction defined and obtain required power supply by described connection from external control system under the control of microcontroller;
Power supply circuits are connected with described connection, are used for providing power supply to microcontroller;
The power end of described electric operator is connected with described connection, and the I/O port that control end and described microcontroller are used to export control signal is connected;
Be provided with control program and communications protocol among the ROM of described microcontroller;
Described microcontroller and E
2PROM connects, described E
2Be provided with operator password and authentication password among the PROM.
A kind of coded lock, comprise lock core device, external control system, described lock core device is connected with electric operator, described external control system is connected with microcontroller with ground wire by connection, and exchange message, described connection is connected with electric operator with power supply circuits respectively, and described power supply circuits are connected with microcontroller; Described electric operator is carried out the action of external control system instruction defined and is obtained required power supply by described connection from external control system under the control of microcontroller.
The power end of described electric operator is connected with described connection, the I/O port that control end and described microcontroller are used to export control signal is connected, and it is to obtain from external control system by described connection under programme-control that described electric operator is carried out the required power supply of action.
Be provided with control program and communications protocol among the ROM of described microcontroller.
Described microcontroller and E
2PROM connects, described E
2Be provided with operator password and authentication password among the PROM.
The present invention has following beneficial effect:
1. electric performance device of the present invention and coded lock are connected with external control system by two leads, can either carry out two-way data communication with external control system, have again and can obtain power supply from external control system, and it is multiplexing that lead is obtained, and reduced cost.
2. electric performance device of the present invention is under communication state and data treatment state, and its working power is to obtain from the communication signal that is received, and in this state, device does not need special power supply, makes circuit structure simple more compact.
3. electric performance device of the present invention and coded lock are carried out the required power supply of action and correctly and under the programme-control condition are obtained from external control system in the password comparison, from the security protection angle, even work as external control system by artificial destruction, connecting lead from the outside by two feeds power supply or takes other improper method, all can not make electric operator action, thereby eliminate the possibility of device controlled and operation under improper situation.
4. because electric performance device of the present invention is relatively independent module, various external control system is as long as use the communications protocol identical with this device and preestablish the control password, can make this device have mounting means and bigger range of application flexibly with this device as controlled executing agency.
5. electric performance device of the present invention and coded lock can be realized can being applied to concentrate distributed control occasion with the scheme of an external control system control multiple arrangement.
Description of drawings
Fig. 1 is the electric performance device schematic diagram that coded lock is used;
Fig. 2 is the coded lock schematic diagram;
Fig. 3 is a workflow schematic diagram of the present invention.
The specific embodiment
Be that the invention will be further described for embodiment with the strongbox electronic password lock below.
The electric performance device schematic diagram that coded lock is used comprises microcontroller, power supply circuits, electric operator as shown in phantom in Figure 1, and microcontroller uses a connection to be connected with external control system with a ground wire.Electric operator is connected with connection, carries out the action of external control system instruction defined and obtain required power supply by described connection from external control system under the control of microcontroller.Power supply circuits are connected with connection, are used for providing power supply to microcontroller.The power end of electric operator is connected with connection, and the I/O port that control end and microcontroller are used to export control signal is connected, and it is to obtain from external control system by connection under programme-control that electric operator is carried out the required power supply of action.Microcontroller can be selected known one chip microcomputer for use, portion is integrated with RAM and ROM and I/O interface circuit within it, RAM storage pilot process data, the digital information that ROM storage control program and communications protocol and other preset, also operator password and authentication password can be arranged among the ROM, but password just can not be modified.Usually also be to use independent E
2PROM chip (being the electricity erasable memorizer chip) storage operation password and authentication password, the operator password and the authentication password of storing with toilet can be modified by suitable operation.An I/O port that is used for serial data communication of microcontroller is connected with an I/O port that is used for serial data communication of external control system by connection, and an I/O port that is used to control is connected with the control end of electric operator.
Power supply circuits adopt the circuit that can obtain electric energy from connection. and power supply circuits 1 can adopt circuit as shown in Figure 2 the strongbox electronic password lock, form by a diode and a capacitor, by connection is that the input of power supply circuits constitutes charge circuit through diode to capacitor, input to the microcontroller power end that by capacitor is power supply circuits constitutes discharge loop. because charge circuit resistance value very little (diode forward conducting), the discharge loop resistance value is very big, and (the diode direction is ended, and the impedance of microcontroller power end is very high), when the communication signal that receives is high level signal, charge to capacitor by low-impedance path, when communication signal is low level signal, capacitor is by the discharge of high impedance loop, because discharge time constant is much larger than charge constant, the voltage of capacitor only can one very among a small circle in fluctuation, can be used as the working power of microcontroller fully.
Electric operator is made up of electronic switch and execution unit.In the present embodiment, electronic switch is a switch triode, and execution unit is a DC electromagnet.The switch triode control utmost point is as the control end of electric operator, and the two poles of the earth are connected in microcontroller as switch and are used between the I/O port and execution unit power end of communication in addition.
The external control system of above-mentioned electric performance device and electronic password lock and lock core device fitted together promptly becomes coded lock.The coded lock schematic diagram as shown in Figure 2.Lock core device and electric operator constitute the machine driving relation of determining; External control system is connected with microcontroller with ground wire by connection, and exchange message; Connection is connected with electric operator with power supply circuits respectively, and power supply circuits are connected with microcontroller.Electric operator is carried out the action of external control system instruction defined and is obtained required power supply by connection from external control system under the control of microcontroller.
External control system is made up of another microcontroller and password and instruction inputting device, display unit, acousto-optic indicating device, dc source, power change-over switch etc., the I/O port that the external control system microcontroller is used for communication is connected with connection, the I/O port that is used to control is connected with the control end of power change-over switch, its ground wire is connected with the ground wire of this device, the power change-over switch receiving end is connected with dc source, feed end is connected with connection, and external control system is installed on the safe door external surface as man machine operation interface.Password and instruction inputting device can adopt message input device, the display unit of keyboard or TM card and so on to adopt LCDs, acousto-optic indicating device to adopt LED and buzzer.
In the present embodiment, microcontroller, power supply circuits and E
2PROM and electric operator are installed in forms a module on the circuit board, it concerns with the tongue switching mechanism of cipher lock core device or the machine driving that plate washer mechanism formation is determined, makes coded lock lock and unblank to be subjected to electric operator control.
The bidirectional linked list communication asynchronous communication that the present invention adopts is to answer one to answer mode, be in the communication process, transmit leg sends a packets of information, after the recipient receives, understand the packets of information line correlation data of going forward side by side and handle, send the packets of information of same format as replying to the other side then.Packets of information is made up of four part signals:
1. request communication signal: width is the low level of 20ms-40ms, and this level signal is introduced the interrupt pin of single-chip microcomputer simultaneously as wakeup interrupt signal;
2. start bit signal: is made up of height-low-3 level of Gao that width equates, the width of level is decided according to the mean breadth of three level of the start bit of communication the opposing party transmission as its calibration pulse width of recipient between 200us-1ms.
3. serial data signal: the data bit by a series of expressions 0 and 1 is formed, data bit is made up of the level of three calibration pulse width, first level always is a high level, the 3rd level always is low level, when second level is high level, this data bit is 1, the second level when being low level, and this data bit is 0.Serial data comprise in have instruction, password and response message;
4. communication end signal: more than or equal to the high level of 3 standard pulsewidths.
In above-mentioned communication signal, at least comprise a high level in each data bit, help charging to power supply circuits. after receiving packets of information, the unscrambling data signal is to adopt the voltage sample mode, judgement to the high-low level of three pulsewidths of each data bit, be that what are determined according to the quantity of high-low level sampled signal in the cycle in signals sampling, even there are some high-frequency interferencing signals to exist in the level signal, but to judging that some pulsewidth level signals are that high level or low level can not produce big influence, therefore the anti-interference of signal is higher. the average pulse of three pulsewidths of recipient by measuring the start bit signal that is received, the pulsewidth that this average pulse is measured serial data signal and communication end signal as a module, be used for determining the data communication speed of this packets of information in other words, so, data communication speed in the packets of information can change within the specific limits, concerning the recipient, can receive the information of different transfer rates within the specific limits and send response message with the speed identical with communication the other side.
Illustrate that below in conjunction with Fig. 3 the present invention is applied to the course of work of strongbox coded lock embodiment.
1. unblank
The operator externally imports unlocking cipher on the keyboard of control system or other the similar input unit, external control system receives password, to send to electric performance device behind its program information bag, after electric performance device receives packets of information, it is carried out data handles, understand encrypted message, reading pre-set is at E then
2Unlocking cipher among the PROM and password is set is compared with the password after understanding, and according to comparison result, sends corresponding packets of information to external control system:
Comparison result a: if receive password promptly is not that unlocking cipher neither be provided with password, send a packets of information that comprises " password mistake " information, external control system receives and understands this packets of information, send the signal of " input password mistake " by display unit and acousto-optical device, and enter relevant error message handling process;
Comparison result b: if receive password is that password is set, send a packets of information that comprises " it is correct that password is set " information, external control system receives and understands this packets of information, sends the information of " it is correct that password is set " by display unit, changes the password setting flow process then over to;
Comparison result c: if receive password is unlocking cipher, send a packets of information that comprises " unlocking cipher is correct " information, external control system receives and understands this packets of information, send the information of " unlocking cipher is correct " by display unit, closed then power change-over switch feeds external power source through connection; Electric performance device is after the information of sending " unlocking cipher is correct ", electronic switch closes in its microprocessor control electric operator, external power source feeds the execution unit of electric operator, execution unit powers on and drives the tongue switching mechanism or the plate washer mechanism action of cipher lock core device, energising keeps the scheduled time, rotate strongbox handle or pulling strongbox handle in period at this section, safe door just is opened.Spent the predetermined energising retention time, the microprocessor control change-over switch of external control system disconnects, electronic switch in the microprocessor control electric operator of electric performance device disconnects, the execution unit outage, under the effect of lock core device inner spring parts, the tongue switching mechanism or the plate washer mechanism of execution unit and cipher lock core device reset, and electric performance device sends the packets of information that contains " locking opened " information, enters standby or resting state then.
2. password setting or change of secret code
The password of importing as the operator is when password (comparison result b situation in as the above-mentioned process of unblanking) is set, to have the method for multiple password setting to use through comparing and being confirmed to be, and establishes yard button or the like such as using.External control system prompting operation person's input validation password (can be unlocking cipher) at first in the present embodiment, the authentication password with input sends to electric performance device again, through the password comparison and correct after, import new unlocking cipher again.Behind the new unlocking cipher that electric performance device receives, deposit it in E
2Substitute original unlocking cipher among the ROM, the information to external control system transmission change of secret code success enters standby or resting state then.
Although with reference to embodiment to disclosed relate to that a kind of coded lock uses electric performance device and coded lock carried out special description, but those skilled in the art can understand, under the situation that does not depart from scope and spirit of the present invention, can carry out all conspicuous modification of form and details to it.Therefore, embodiment described above is illustrative and not restrictive, and under the situation that does not break away from the spirit and scope of the present invention, all variations and modification are all within the scope of the present invention.
Claims (5)
1. the electric performance device that coded lock is used comprises first microcontroller, electric operator and power supply circuits, also comprises an E who is connected with described first microcontroller
2PROM, described E
2PROM has preestablished unlocking cipher and password has been set, and is provided with control program and communications protocol among the ROM of described first microcontroller, it is characterized in that:
Described first microcontroller is connected the line data communication of going forward side by side by a connection with external control system with a ground wire;
The described connection of first termination of described power supply circuits, second termination, the first microcontroller power end of described power supply circuits, the 3rd end ground connection of described power supply circuits, these power supply circuits obtain electric energy and offer first microcontroller from connection;
The power end of described electric operator is connected with described connection, and the I/O port that control end and described first microcontroller are used to export control signal is connected;
Described electric operator can be carried out the action of the instruction defined of described external control system under the control of described first microcontroller, it is to obtain from external control system by described connection under the control of described first microcontroller that described electric operator is carried out the required power supply of action.
2. electric performance device according to claim 1, it is characterized in that, described power supply circuits are made up of a diode and a capacitor, described diode one end is connected with the power end of described connection and described electric operator, the other end is connected described capacitor other end ground connection with described capacitor one end with the described first microcontroller power end.
3. electric performance device according to claim 1, it is characterized in that, the bidirectional linked list communication asynchronous communication that described electric performance device adopts is to answer one to answer mode, be in the communication process, transmit leg sends a packets of information, after the recipient receives, understanding the packets of information line correlation data of going forward side by side handles, send the packets of information of same format as replying to the other side then, packets of information is by the request communication signal, the start bit signal, serial data signal and communication end signal are formed, wherein include instruction in the serial data signal, password and response message in above-mentioned signal, comprise a high level at least in each data bit.
4. according to claim 1 or 2 or 3 described electric performance devices, it is characterized in that described first microcontroller, described power supply circuits, described E
2PROM and described electric operator are installed in forms a module on the circuit board.
5. coded lock that contains each described electric performance device of claim 1-4, comprise the lock core device that activates by described electric operator, also comprise by second microcontroller, password and instruction inputting device, display unit, the acousto-optic indicating device, dc source, described external control system with the power change-over switch composition, it is characterized in that, received by described external control system from the encrypted message of described input unit input, to send to described electric performance device behind its program information bag, after described electric performance device receives packets of information, it is carried out data handles, understand encrypted message, reading pre-set is at E then
2Unlocking cipher among the PROM and password is set is compared with the password after understanding, and according to comparison result, sends corresponding packets of information to described external control system; When the reception password is unlocking cipher, the closed described power change-over switch of described second microcontroller, external power source is fed through described connection, electronic switch closes in the described electric operator of first microprocessor control, external power source feeds described electric performance device, makes it obtain to carry out the required electric energy of unlocking action.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN 200310106615 CN1529030B (en) | 2003-10-10 | 2003-10-10 | Electric actuator for trick lock and trick lock |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN 200310106615 CN1529030B (en) | 2003-10-10 | 2003-10-10 | Electric actuator for trick lock and trick lock |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN1529030A CN1529030A (en) | 2004-09-15 |
| CN1529030B true CN1529030B (en) | 2010-05-05 |
Family
ID=34304448
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN 200310106615 Expired - Fee Related CN1529030B (en) | 2003-10-10 | 2003-10-10 | Electric actuator for trick lock and trick lock |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN1529030B (en) |
Families Citing this family (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101994430B (en) * | 2009-08-06 | 2014-07-09 | 江苏奥英万科技有限公司 | Intelligent lock cylinder device realizing self resetting by capacitor energy storage and matched lockset and key |
| US9777510B2 (en) | 2011-03-03 | 2017-10-03 | Assa Abloy Ab | Tamper switch activation without power |
| CN109339592A (en) * | 2018-09-17 | 2019-02-15 | 苏州云巢文化传媒有限公司 | A kind of electronic lock that two-wire system can communicate |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| EP0330828A1 (en) * | 1988-03-01 | 1989-09-06 | BKS GmbH | Device for electrically powering door locks |
| CN2250397Y (en) * | 1996-04-16 | 1997-03-26 | 邱春梅 | Micro computer puzzle lock |
| CN2429595Y (en) * | 2000-07-21 | 2001-05-09 | 长春鸿达高技术集团有限公司 | Wireless fingerprint lock |
| EP1338735A1 (en) * | 2002-02-25 | 2003-08-27 | DOM-Sicherheitstechnik GmbH & Co. KG | System, arrangement and method to control access |
| CN2572610Y (en) * | 2002-09-22 | 2003-09-10 | 刘敏 | Double connector for ombile telephone set and computer |
-
2003
- 2003-10-10 CN CN 200310106615 patent/CN1529030B/en not_active Expired - Fee Related
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| EP0330828A1 (en) * | 1988-03-01 | 1989-09-06 | BKS GmbH | Device for electrically powering door locks |
| CN2250397Y (en) * | 1996-04-16 | 1997-03-26 | 邱春梅 | Micro computer puzzle lock |
| CN2429595Y (en) * | 2000-07-21 | 2001-05-09 | 长春鸿达高技术集团有限公司 | Wireless fingerprint lock |
| EP1338735A1 (en) * | 2002-02-25 | 2003-08-27 | DOM-Sicherheitstechnik GmbH & Co. KG | System, arrangement and method to control access |
| CN2572610Y (en) * | 2002-09-22 | 2003-09-10 | 刘敏 | Double connector for ombile telephone set and computer |
Non-Patent Citations (1)
| Title |
|---|
| JP特开平11-324432A 1999.11.26 |
Also Published As
| Publication number | Publication date |
|---|---|
| CN1529030A (en) | 2004-09-15 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US5442344A (en) | Data acquisition system having selective communication capability | |
| EP0843287B1 (en) | Improvements in or relating to modular gas meters | |
| AU2001246750A1 (en) | System and device for monitoring at least one household electric user, in particular a household appliance | |
| CN107301703A (en) | Dynamic puzzle-lock system and unlocking method | |
| CN103106168A (en) | Automatic serial port protection circuit | |
| CN206110865U (en) | Electronic lock system | |
| CN104732631A (en) | Intelligent fingerprint password anti-theft lock system | |
| CN1529030B (en) | Electric actuator for trick lock and trick lock | |
| CN210924886U (en) | Electric energy meter communication device | |
| CN206353337U (en) | Gate inhibition's communicator and intelligent anti-theft door | |
| CN201287312Y (en) | Electric screw locking apparatus | |
| CN111719957A (en) | Network management non-contact electronic lock with power switch | |
| CN203769461U (en) | Wireless intelligent lock based on encryption IC cards | |
| CN102608936B (en) | Method and system for controlling communication between control main board and display panel of water heater | |
| CN213276764U (en) | Passive automatic lock | |
| CN208686224U (en) | A kind of control circuit of electronic lock | |
| CN208093989U (en) | A kind of Internet of things type intelligent power distribution cabinet | |
| CN202788226U (en) | Electronic key | |
| CN214670882U (en) | A STS Prepaid Gas Meter Based on Bluetooth Communication | |
| CN201593338U (en) | Antitheft electronic code lock | |
| CN204990519U (en) | Prepayment power management system | |
| CN106285219A (en) | A kind of door lock interconnection device | |
| CN208140758U (en) | A kind of KNX intelligent electric energy meter based on LoRa technology | |
| CN207852067U (en) | A kind of remote alarm system | |
| CN208686233U (en) | A kind of shopping cart electronic lock |
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 | ||
| DD01 | Delivery of document by public notice |
Addressee: Huoban Sci. & Tech. Development Co., Ltd., Shanghai Document name: Notification to Pay the Fees |
|
| DD01 | Delivery of document by public notice | ||
| CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20100505 Termination date: 20171010 |
|
| CF01 | Termination of patent right due to non-payment of annual fee |