CN1261663C - Method for central radio control of entrance guard and door locks and system device - Google Patents

Method for central radio control of entrance guard and door locks and system device Download PDF

Info

Publication number
CN1261663C
CN1261663C CNB021517967A CN02151796A CN1261663C CN 1261663 C CN1261663 C CN 1261663C CN B021517967 A CNB021517967 A CN B021517967A CN 02151796 A CN02151796 A CN 02151796A CN 1261663 C CN1261663 C CN 1261663C
Authority
CN
China
Prior art keywords
superframe
repeater
door lock
wireless
communication
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
CNB021517967A
Other languages
Chinese (zh)
Other versions
CN1512028A (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.)
GAOKE INTELLIGENT SYSTEM CO Ltd SHENZHEN CITY
Original Assignee
GAOKE INTELLIGENT SYSTEM CO Ltd SHENZHEN CITY
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 GAOKE INTELLIGENT SYSTEM CO Ltd SHENZHEN CITY filed Critical GAOKE INTELLIGENT SYSTEM CO Ltd SHENZHEN CITY
Priority to CNB021517967A priority Critical patent/CN1261663C/en
Publication of CN1512028A publication Critical patent/CN1512028A/en
Application granted granted Critical
Publication of CN1261663C publication Critical patent/CN1261663C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Mobile Radio Communication Systems (AREA)
  • Lock And Its Accessories (AREA)

Abstract

The present invention relates to a method and a system device for the wireless centralized control of an entrance guard / a door lock. The system comprises a microcomputer which is used as a main station, a modem which is connected with the main station, a substation (a repeater), a terminal (an entrance guard / a door lock), a non-contact IC card, a card reader and a power supply which is used for supplying power to each device. The present invention realizes the wireless centralized control of the networking by a series of methods of the setting of ID numbers of the terminal, the distribution of wireless channel resources, the determination of a frame structure, the determination of coding formats and decoding formats in the frame information, the setting of a synchronous protocol, the adoption of an electricity saving control working mode, and the prescription of communicating and logging steps. The present invention has the same stability and reliability as those of a wired control system, and the construction difficulty is reduced.

Description

The method and system equipment of wireless centralized Control gate inhibition/door lock
Technical field the present invention relates to the distant process control method and system of the cluster equipment of fixed buildings gate inhibition and/or door lock, relates in particular to the wireless central controlled method and system equipment of described gate inhibition/door lock.
Background technology gate inhibition is meant the closing device of opening of courtyard gate, regional centralized passage, and door lock is meant the lock of single house unit.Prior art is a lot of to quantity, can form the gate inhibition/door lock of system, and the method and system equipment that adopts when carrying out centralized Control all is wired mode.Though Chinese patent application CN 1337519A (application number: 01123228.5) disclose a kind of technical scheme that is called " remote-controllable door lock assembly ", can realize controlled in wireless, but its scheme does not relate to the networked wireless concentrated controling management to numerous gate inhibition/door locks in the zone to single door lock.Another Chinese patent application CN 1335448A (application number: 00121484.5) disclose a kind of technical scheme that is called " communication remote control and the door lock assembly of warning ", the design of wireless remote control door lock has also been proposed, but its main contents are still the controlled in wireless of single door lock, and its scheme does not relate to the wireless concentrated remote control of networking yet.As everyone knows, the wireless remote control of individual equipment can't be compared on the technical sophistication degree with the wireless centralized Control of networking.Above-mentioned two patent application is not because of proposing numerous gate inhibition/door locks concrete measure of control respectively how in same wireless network, so its scheme realizes all that for solving all gate inhibition/door locks of zone wireless on-line file chemical control system also has very big distance.
The summary of the invention the technical problem to be solved in the present invention is to avoid above-mentioned the deficiencies in the prior art part and propose a kind of wireless centralized Control terminal, comprises the method and system equipment of access control/door lock.By main website, repeater and terminal comprise that gate inhibition/door lock constitutes, and has the division of Qu Qun and sub-district in logic again on the system physical of the present invention.The sub-district is meant a repeater and the communication zone formed of each terminal of wireless link with it, and the district group is meant the communication zone of forming by certain several regularly arranged sub-districts again.System of the present invention comprises at least one district group, and each district group comprises that again at least one sub-district, each sub-district comprise 256 terminals at most.The present invention is identifier, distributes radio channel resource, determines frame structure, determines the Code And Decode form in frame information, synchronous protocol is set, adopts serial of methods such as power-saving control mode of operation, regulation communication and login step to realize networked wireless centralized Control by ID number that terminal is set.
The present invention is that the technical scheme that solves the problems of the technologies described above employing is, proposes the method for a kind of wireless centralized Control gate inhibition/door lock, comprises step:
A., it is main website that microcomputer PC is set, and management software and communication software are set in main website, and main website carries out wired serial by serial line interface and modem and communicates by letter.
B. described MODEM communicates by letter with each repeater.
C. repeater and each terminal comprise with each gate inhibition/door lock and communicating by letter.
D. described each terminal is accepted the instruction opening and closing door lock that main website sends, or holds contactless IC card by the user and open described door lock, and in real time the state of lock itself is returned main website and carry out information management by main website.
Especially:
Wireless mode is adopted in the communication of the communication of described MODEM and each repeater and repeater and each terminal, forms a networked wireless centralized control system; Described step also comprises:
E. described wireless centralized control system adopts 433MHz and 868MHz frequency range.
F. described wireless centralized control system comprises at least one district group; Described district group comprises at least one sub-district; Described sub-district is by maximum 256 terminals of repeater wireless link, and each terminal all has and is used as the address oneself ID number, comprises a number byte in network system number two bytes, a district group number byte, cell id one byte and the district ID of each terminal number.
G. in described wireless centralized control system, the base unit of information transmission is a superframe, maximum information unit is a Hyperframe, one Hyperframe comprises and is no less than four width of cloth superframes, one superframe comprises some handshake logic channels and some service logical channels, superframe is divided into common superframe and lengthening superframe according to actual conditions again, and the transmission that common superframe is used for the few order of byte number and/or replys can be finished in a width of cloth superframe; The lengthening superframe is used for many orders of byte number and/or the transmission of replying, and must be more than a width of cloth finishes in the length of common superframe.
H. each terminal is uploaded information for instant application, reaches the standard grade immediately, and information uploading uses two to four width of cloth superframes to finish.
I. information adopts the cyclic redundancy CRC check in transmission course, and all the transmission byte+ID of the manufacturer bytes except that sync byte and superframe sequence number byte are all carried out cyclic redundancy CRC-16 computing; If the result is consistent with the two byte check codes of receiving, show that then the information of receiving is correct, otherwise mistake.If decoding error all in two channels then requires the other side to retransmit.As long as decoding is correct in arbitrary channel of two physical channels, think that all this superframe communication is correct.
Described common superframe and lengthening superframe are defined as
1.. common superframe: in repeater and terminal, comprise and gate inhibition/door lock between use;
Common superframe comprises first physical channel and second physical channel, and this two physical channel is remembered that respectively as A and B, they all comprise time period T1A and T1B, and T2A and T2B;
T1A/T2A: phaselocked loop and frequency settling time are set; Simultaneously, carrying out corresponding data between can be at this moment handles or exchanges data;
T1B: pass down order, command format is: the CRC-16 sign indicating number of synchronous code+superframe sequence number+packets of information classification number+command code+Termination ID number+data+two bytes;
T2B: terminal responds, data format is: the CRC-16 check code of synchronous code+superframe sequence number+packets of information classification number+command code+Termination ID number+data+two bytes.
Though channel A is two different physical channels with channel B, their communication nature is identical, and the data format and the content of each corresponding transmitting time section are in full accord.The purpose of doing like this is in order to improve antijamming capability, to improve reliability of data transmission.
2.. the lengthening superframe: the lengthening superframe is used under the situation that some transfer of data can not finish in a width of cloth superframe; Our will extend initial superframe of first width of cloth superframe called after of superframe, the data format of this initial superframe is the same with above-mentioned common superframe; The superframe of back is the data superframe; The form of data superframe is: use between repeater and gate inhibition/door lock; The lengthening superframe comprises first physical channel and second physical channel equally, and this two physical channel is remembered respectively that still as A and B, they also all comprise time period T1A and T1B, and T2A and T2B;
T1A/T2A: phaselocked loop and frequency settling time are set, at this moment between in carry out that corresponding data is handled or exchanges data;
T1B: pass under the synchronous code, command format is: synchronous code+superframe sequence number+packets of information classification number+last Frame replys+and the CRC-16 check code of Termination ID number+two bytes;
T2B: transfer of data, form is: the CRC-16 of synchronous code+data+two bytes tests sign indicating number.
Though channel A is two different physical channels with channel B, their communication nature is identical, and the data format and the content of each corresponding transmitting time section are in full accord.The purpose of doing like this is in order to improve antijamming capability, to improve reliability of data transmission.
Described terminal powers on or resets, after finishing initialization and being provided with, or lose synchronously at other and repeater, comprise the situation of repeater power down, must be synchronous earlier with the repeater communication, method for synchronous is: terminal scans on the first physical channel A earlier, receive the synchronizing information of repeater, then enter synchronous regime immediately, then do not continue on the second physical channel B, to scan if receive if receive, continuous two circulations are up to receiving the synchronizing information that repeater sends.If can't finish synchronously, then buzzer call is reported to the police.
Described door lock for saving power supply, is regularly opened the rf board received signal after entering synchronous regime, whether whether calling out oneself with repeater synchronization and repeater to differentiate.Open and to calculate repeater employed physical channel number in this superframe before the rf board earlier, then the door lock rf board is arranged on article one channel of two physical channels that calculated, continue 20~80 milliseconds of received signals, differentiate and whether whether calling out oneself with repeater synchronization and repeater.Whether at first differentiate and repeater synchronization: if can not receive the synchronous code that repeater is sent out, then continue to open the rf board power supply, continuing received signal in the corresponding moment of the second physical channel B differentiates, all can not receive synchronous code if continue five superframes, think that then terminal and repeater lose synchronously, must carry out above-mentioned synchronous flow process this moment.If receive and synchronous code then continue to open rf board, further differentiate repeater and whether calling out oneself, if not, then close the rf board power supply, reenter power down mode.
Door lock determines repeater after calling out oneself, continues to open the rf board power supply, encodes, decodes, sends and receive by above-mentioned frame structure and code encoding/decoding mode.Close the rf board power supply after communication finishes, reenter power down mode.
The technical scheme that the present invention solve the technical problem employing also comprises: the system equipment that makes up a kind of wireless centralized Control gate inhibition/door lock, comprise: as the microcomputer of main website, the modem that is connected with main website, as each repeater of substation, comprise each terminal, contactless IC card, card reader of gate inhibition/door lock and to the power supply of each power devices.
Adopt the wired serial communication linkage between main website and the MODEM, especially adopt RS485 communication; On the RS232 of main website microcomputer serial line interface, be inserted with a joint, this joint and a RS232/RS485 conversion IC are joined, this RS232/RS485 conversion IC meets RS485 communication IC by photoisolator, and RS485 communication IC inserts MODEM by the RS485 communication cable.Described MODEM comprises two communication interfaces, and one is the RS485 communication interface, with master station communication; Another is the wireless transmission interface, communicates by letter with repeater.Also comprise two microcontroller MCU these two communication interfaces of connection management respectively, first microcontroller connects the main website interface, and second microcontroller connects the repeater interface, also comprises a slice flash memory, is used for temporary information.
Described repeater comprises two communication interfaces, all is the wireless transmission interface; Communicate by letter with MODEM for one, communicate by letter with all gate inhibition/door lock in the sub-district for one; Comprise that also two MCU connect this two interfaces respectively, first microcontroller connects the MODEM interface, and second controller connects gate inhibition/door lock interface; Also comprise a slice flash memory, be used for temporary information.Two microcontroller MCU carry out exchanges data by three mouth lines among the described MODEM, first microcontroller is main MCU, second microcontroller is auxilliary MCU, first microcontroller connects flash memory and RS232/RS485 conversion IC, and the serial ports TXD of microcontroller MCU, RXD pin connect T1, R1 pin or T2, the R2 pin of RS232/RS485 conversion IC; Also be that two MCU carry out exchanges data by three mouth lines in the described repeater, first microcontroller is main MCU, second microcontroller is auxilliary MCU, first microcontroller connects the flash memory and first wireless module, the PA interface number of the going to the station to meet somebody toggle switch SW1 and the SW2 of second microcontroller also connect second wireless module; Wireless module IC in the described wireless transmission interface adopts the CC1000 integrated circuit.
Described terminal comprises two communication interfaces, all is the wireless transmission interface; Communicate by letter with repeater for one, one with the contactless ic cartoon letters, also comprise these two communication interfaces of a slice MCU connection management, comprise that also a slice flash memory is used for temporary information; The control circuit, mechanical actuating mechanism and the terminal power supply that also comprise gate inhibition/door lock.
Also comprise clock IC in the control circuit of described terminal, adopt the PCF8563 integrated circuit; Also comprising a motor rotating executive circuit, is that the master constitutes by transistor Q1~Q8, the P1.7 pin of the OPEN-DOOR input termination AT89C52 integrated circuit of circuit, the P2.6 pin of another CLOSE-DOOR input termination AT89C52 integrated circuit of circuit; Also comprise a slice voltage detecting IC, the P0.0 pin of its output termination AT89C52; Described flash memory adopts the AT24C64 integrated circuit; Described microcontroller MCU adopts the AT89C52 integrated circuit; Described door lock power supply adopts powered battery.
Compare with wired centralized Control of prior art, the inventive method construction volume is little, and the sorrow of no cabling difficulty is especially transformed original independent door lock for the networking door lock, can reduce difficulty of construction greatly.
Description of drawings Fig. 1 is the system block diagram of the wireless centralized Control gate inhibition of the present invention/door lock;
Fig. 2 is the electrical schematic diagram of the present invention program's wireless modem;
Fig. 3 is the electrical schematic diagram of the present invention program's wireless repeater;
Fig. 4 is the electric control schematic diagram of the wireless door lock of the present invention program;
Fig. 5 is the electrical schematic diagram of the present invention program's motor executive circuit;
Fig. 6 is the workflow diagram of the present invention program's wireless modem;
Fig. 7 is the workflow diagram of the present invention program's wireless repeater;
Fig. 8 is the workflow diagram of the wireless door lock of the present invention program;
Fig. 9 is the formation block diagram of the wireless door lock of the present invention program;
Figure 10 is the workflow diagram of the present invention program's wireless module;
Figure 11 is the electrical schematic diagram of the present invention program's wireless module;
Figure 12 is the outer locking closure organigram of the wireless door lock of the present invention program;
Figure 13 is the internal construction schematic diagram of the wireless door lock of the present invention program.
The specific embodiment is described in further detail below in conjunction with most preferred embodiment shown in the accompanying drawing: the constructive method of the wireless centralized Control gate inhibition of the present invention/door lock and system equipment are as shown in Figure 1, it is main website that microcomputer PC is set, management software and communication software are set in main website, and main website carries out wired serial by serial line interface and modem and communicates by letter; Described MODEM modem is communicated by letter with each repeater; Repeater and each terminal comprise gate inhibition/door lock communication; Described each terminal is accepted the instruction opening and closing door lock that main website sends, or holds contactless IC card by the user and open described door lock, and the state of lock itself is returned main website in real time carry out information management by main website.Especially: described MODEM and each repeater communicate by letter and repeater adopts wireless mode with communicating by letter of described each terminal gate inhibition/door lock, form a wireless networked centralized control system.
Adopt RS485 to communicate by letter between main website and the MODEM; On the RS232 of main website microcomputer serial line interface, be inserted with a joint, this joint and a RS232/RS485 converter ic IC join, this RS232/RS485 conversion IC meets RS485 communication IC by photoisolator, and RS485 communication IC inserts MODEM by the RS485 communication cable.
By Fig. 2 and Fig. 6 as can be known, MODEM comprises two communication interfaces, and one is the RS485 communication interface, with master station communication; Another is the wireless transmission interface, communicate by letter with repeater, also comprise two microcontroller MCU these two communication interfaces of connection management respectively, the first microcontroller integrated circuit U1 is main MCU on Fig. 2, is responsible for the main website interface, and the second microcontroller integrated circuit U2 is auxilliary MCU, be responsible for the repeater interface, also comprise a slice flash memory U3, be used for temporary information, be connected with U1.
RF-MODULE is a wireless module on Fig. 2, chip model: CC1000, and its physical circuit is seen Figure 11, can certainly adopt the chip of other models.Two MCU carry out exchanges data by three mouth lines, and these three mouth lines are P1.6, P1.7 and INT1 (interrupting 1) pin.The serial ports TXD of first microcontroller, RXD pin connect T1, R1 pin or T2, the R2 pin of RS232/RS485 converter ic MAX232.The main power source of MODEM adopts Alternating Current Power Supply, and a voltage checking chip Q1 is set, when main power source interrupts, standby electric power VDD devotes oneself to work automatically, transistor Q1 also exports a signal and gives first microcontroller, and MODEM issues main website with this information, and main website carries out respective handling.
By Fig. 3 and Fig. 7 as can be known, repeater comprises two wireless communication interfaces, communicates by letter with MODEM for one; Another is communicated by letter with gate inhibition/door lock.Described repeater comprises that equally two MCU manage this two interfaces respectively, and U1 is main MCU, connects the MODEM interface.U2 is auxilliary MCU, connects gate inhibition/door lock interface, also comprises a slice flash memory U3, is used for temporary information, is connected with U1.
RF-MODULE1 and RF-MODULE2 are wireless modules, chip model: CC1000, and its physical circuit is seen Figure 11, can certainly adopt the chip of other models.Two MCU carry out exchanges data by three mouth lines, and these three mouth lines are P1.6, P1.7 and INT1 (interrupting 1) pin.Two toggle switch SW1 and SW2 are set in repeater, are connected on the pc port of U2, be used for determining the ID sign indicating number of repeater itself.The power supply of repeater is identical with power supply among the MODEM.
By Fig. 4, Fig. 8, Fig. 9 and Figure 10 are as can be known, gate inhibition/door lock is when initially powering on, earlier each mouthful line among the MCU own is set to the state of regulation, whether the various piece that reexamines lock is normal, after initialization finishes, the wireless module of lock just receives the data of repeater, see to have or not the related command of issuing oneself,, just carry out these orders if having, and give repeater with the execution result foldback, and then check whether have the people checking card, if do not have, see that delay time is to not having, time is less than, just continue to accept the data of repeater and check whether the someone checks card, the time arrives with regard to powered-down, if there is the people to check card, just check card processing, powered-down then.
U2 is MCU, adopts AT89C52, and U3 is a voltage checking chip, and when cell voltage reduces to a certain degree the time, U3 is output as low level, and MCU detects this low level, just to the information of the battery electric quantity deficiency of upper level transmission oneself.U4 is the serial flash memory, adopts AT24C64, and U6 is a clock IC, adopts PCF8563, and U4, U6 are with being connected on I 2On the C bus, MCU is I with P1.2 and P1.3 pinout 2The C bus.U7 is a noncontact IC-card read-write chip, adopts the RC-R6C-001A integrated circuit, and its SCLOCK, M-ERR, DIN, DOUT pin are connected on respectively on P2.0~P2.3 pin of U2.
As shown in Figure 5, the polarity of voltage difference that direct current generator M is connect, the direction of rotation are also different.The input of circuit is OPEN-DOOR and CLOSE-DOOR, and the pin corresponding with microcontroller U2 connects.These two inputs all are high level at ordinary times, and transistor Q5, Q6 end, and all the other transistors also all end, after the OPEN-DOOR reset, transistor Q5, Q7 conducting, Q1, Q4 conducting, " 3 " point is high potential, and " 4 " point is electronegative potential, and motor rotates towards a direction.OPEN-DOOR gets back to high level, the CLOSE-DOOR reset, and transistor Q6, Q8, Q2, Q4 conducting, " 3 " some electronegative potential, " 4 " some high potential, motor rotates in the opposite direction.
Be provided with first to fourth microswitch 29,31,34,39 and motor 38 in the executing agency of described door lock, as shown in figure 13.Described first microswitch 29 contacts with key turns lining tooth 33, and second microswitch 31 contacts with dead bolt driving lever 21, and the 3rd microswitch 34 contacts with locking tongue 25, and the 4th microswitch 39 contacts with the anti-dead bolt 40 of dialling; Described contactless ic card reader is installed within the card reader shell 51.These microswitches are input to MCU with switching signal, and MCU is transferred to main website with corresponding information more then.
Described motor 38, i.e. two of M power lines among Fig. 5, one connects the interlinkage of transistor Q1 in the motor positive and inverse executive circuit, Q3 colelctor electrode, and another power line connects the interlinkage of transistor Q2, Q4 colelctor electrode.
As shown in Figure 11, be that the master forms wireless module by wireless IC, IC adopts CC1000, can work in 433MHz and 868MHz, other component parameters such as following table:
Element 433MHz 868MHz
C1 15PF 10PF
C2 8.2PF 6.8nF
C3 5.6PF 4.7nF
C4 34nF 34nF
C5 440pf 440pF
C6 4.7PF 4.7nF
C7 1nF 1nF
C8 33nF 33nF
C9 15PF 15PF
C10 15PF 15PF
L1 68nH 120nH
L2 6.2nH 2.5nH
L3 27nH 4.7nH
R1 82kΩ 82kΩ
XTAL1 11.0592MHz 11.0592MHz
As shown in Figure 12, on the door handle seat 52 door handle 53, screw 54 is fixed on the contactless ic card reader in the shell 51.Wireless as shown in Figure 13 door lock internal mechanism operating principle:
1. promote arc dead bolt 24 and the anti-dead bolt 40 of dialling at closing time, arc dead bolt 24 stretches out and resets, and at this moment is the state of closing the door.Because the anti-dead bolt 40 of dialling withstands anti-driving lever 23 after the propelling of closing the door, the end of catching on arc dead bolt 24 forces not retractable of arc dead bolt, and this moment, door lock had tamper-resistant function.Because anti-displacement of dialling dead bolt 40 touches the 4th microswitch 39, the contact of this switch 39 connects microcontroller MCU circuit, and MCU sends out the information of closing the door to main website;
Rotating lock tongue cam 26 when 2. opening the door starts dead bolt driving lever 21, pushes anti-driving lever 23 open, and door can be opened this moment.To dial dead bolt 40 protruding for rear defence owing to open the door, and the 4th microswitch 39 is resetted, and MCU sends out the information of opening the door to main website.
3. close to rotate behind the door and lock cam 41, make and lock tongue 25 and stretch out, this is for locking.Counter-rotating 41 can be removed and lock.Touch the 3rd microswitch 34 when locking, the MCU circuit is also inserted in the contact of this switch 34, and MCU sends out one and locks information to main website.
Rotate lining tooth 33 when 4. mechanical key opens the door, transmission sector 42, push anti-driving lever 23 aside, start dead bolt driving lever 21 and lock tongue 25, spring 28 forces arc dead bolt 24 and locks tongue 25 indentations and open the door, owing to rotate lining tooth 33, touches first microswitch 29, the MCU circuit is also inserted in the contact of this switch 29, and MCU sends out a mechanical key enabling signal to main website.
5. motor 38 inserts the motor executive circuit, unblanked by main website and contactless ic card control.
6. battery pack 27 is to whole wireless door lock power supply, and second microswitch 31 is used for detecting the state of lock.
Facts have proved that the inventive method is the same with wired control system with system equipment reliable and stable, and difficulty of construction reduces greatly.

Claims (9)

1. the method for wireless centralized Control gate inhibition/door lock comprises step:
A., it is main website that microcomputer is set, and management software and communication software are set in main website, and main website carries out wired serial by serial line interface and modem and communicates by letter;
B. described MODEM communicates by letter with each repeater;
C. repeater and each terminal comprise with each gate inhibition/door lock and communicating by letter;
D. described each terminal is accepted the instruction opening and closing door lock that main website sends, or holds contactless IC card by the user and open described door lock, and in real time the state of door lock itself is returned main website and carry out information management by main website;
It is characterized in that:
Described MODEM and each repeater communicate by letter and repeater adopts wireless mode with communicating by letter of described each terminal, form a wireless centralized control system; Described step also comprises:
E. described wireless centralized control system adopts 433MHz and 868MHz frequency range;
F. described wireless centralized control system comprises at least one district group; Described district group comprises at least one sub-district; Described sub-district is by maximum 256 terminals of repeater wireless link, and each terminal all has and is used as the address oneself ID number, comprises a number byte in network system number two bytes, a district group number byte, cell id one byte and the district ID of each terminal number;
G. in described wireless centralized control system, the base unit of information transmission is a superframe, and maximum information unit is a Hyperframe, and a Hyperframe comprises and is no less than four width of cloth superframes, and a superframe comprises each handshake logic channel and each service logical channels; Described superframe is divided into common superframe and lengthening superframe according to actual conditions again, and the transmission that common superframe is used for the few order of byte number and/or replys can be finished in a width of cloth superframe; The lengthening superframe is used for many orders of byte number and/or the transmission of replying, and must be more than a width of cloth finishes in the length of common superframe;
H. each terminal is uploaded information for instant application, reaches the standard grade immediately, and information uploading uses two to four width of cloth superframes to finish;
I. information adopts the cyclic redundancy CRC check in transmission course, and all the transmission byte+ID of the manufacturer bytes except that sync byte and superframe sequence number byte are all carried out cyclic redundancy CRC-16 computing; If the result is consistent with the two byte check codes of receiving, show that then the information of receiving is correct, otherwise mistake; If decoding error all in two channels then requires the other side to retransmit; As long as decoding is correct in arbitrary channel of two physical channels, think that all this superframe communication is correct.
2. the method for wireless centralized Control gate inhibition according to claim 1/door lock is characterized in that:
Described common superframe and lengthening superframe are defined as
1.. common superframe: in repeater and terminal, comprise and gate inhibition/door lock between use;
Common superframe comprises first physical channel and second physical channel, and this two physical channel is remembered that respectively as A and B, they all comprise time period T1A and T1B, and T2A and T2B;
T1A/T2A: phaselocked loop and frequency settling time are set; Simultaneously, carrying out corresponding data between can be at this moment handles or exchanges data;
T1B: pass down order, command format is: the CRC-16 sign indicating number of synchronous code+superframe sequence number+packets of information classification number+command code+Termination ID number+data+two bytes;
T2B: terminal responds, data format is: the CRC-16 check code of synchronous code+superframe sequence number+packets of information classification number+command code+Termination ID number+data+two bytes;
Two physical channel A are identical with the B communication nature, and data format is consistent with content;
2.. the lengthening superframe: the lengthening superframe is used under the situation that some transfer of data can not finish in a width of cloth superframe; Our will extend initial superframe of first width of cloth superframe called after of superframe, the data format of this initial superframe is the same with above-mentioned common superframe; The superframe of back is the data superframe; The form of data superframe is: use between repeater and gate inhibition/door lock; The lengthening superframe comprises first physical channel and second physical channel equally, and this two physical channel is remembered respectively that still as A and B, they also all comprise time period T1A and T1B, and T2A and T2B;
T1A/T2A: phaselocked loop and frequency settling time are set, at this moment between in carry out that corresponding data is handled or exchanges data;
T1B: pass under the synchronous code, command format is: synchronous code+superframe sequence number+packets of information classification number+last Frame replys+and the CRC-16 check code of Termination ID number+two bytes;
T2B: transfer of data, form is: the CRC-16 check code of synchronous code+data+two bytes;
The communication character of two physical channel A and B is identical, and data format is consistent with content.
3. the method for wireless centralized Control gate inhibition according to claim 1/door lock is characterized in that:
Described terminal powers on or resets, after finishing initialization and being provided with, or lose synchronously at other and repeater, comprise the situation of repeater power down, must be synchronous earlier with the repeater communication, method for synchronous is: terminal scans on the first physical channel A earlier, receive the synchronizing information of repeater, then enter synchronous regime immediately, then do not continue on the second physical channel B, to scan if receive if receive, continuous two circulations are up to receiving the synchronizing information that repeater sends; If can not finish synchronously, then buzzer call is reported to the police.
4. the method for wireless centralized Control gate inhibition according to claim 1/door lock is characterized in that:
Door lock for saving power supply, is regularly opened the rf board received signal after entering synchronous regime, whether whether calling out oneself with repeater synchronization and repeater to differentiate; Open and to calculate repeater employed physical channel number in this superframe before the rf board earlier, then the door lock rf board is arranged on article one channel of two physical channels that calculated, continue 20~80 milliseconds of received signals, differentiate and whether whether calling out oneself with repeater synchronization and repeater; If can not receive the synchronous code that repeater is sent out, then continue to open the rf board power supply, continue received signal in the corresponding moment of the second physical channel B, if oneself loses synchronously with repeater, must carry out above-mentioned synchronous flow process this moment; If receive and synchronous code then continue to open rf board, further differentiate repeater and whether calling out oneself, if not, then close the rf board power supply, reenter power down mode; Door lock determines repeater after calling out oneself, continues to open the rf board power supply, encodes, decodes, sends and receive; Close the rf board power supply after communication is intact, reenter power down mode.
5. the system equipment of wireless centralized Control gate inhibition/door lock, comprise: as the microcomputer of main website, the modem that is connected with main website as each repeater of substation, comprises each terminal, contactless IC card, card reader of gate inhibition/door lock and to the power supply of each power devices; Adopt wired serial communication to link between main website and the MODEM; It is characterized in that:
Adopt the RS485 communication between main website and the MODEM; On the RS232 of main website microcomputer serial line interface, be inserted with a joint, this joint and a RS232/RS485 converter ic IC join, this RS232/RS485 conversion IC meets RS485 communication IC by photoisolator, and RS485 communication IC inserts MODEM by the RS485 communication cable;
Described MODEM comprises two communication interfaces, and one is the RS485 communication interface, with master station communication; Another is the wireless transmission interface, communicates by letter with repeater; Comprise that also two microcontroller MCU connect this two communication interfaces respectively, first microcontroller connects the main website interface, and second microcontroller connects the repeater interface, also comprises a slice flash reservoir, is used for temporary information;
Described repeater comprises two communication interfaces, all is the wireless transmission interface; Communicate by letter with MODEM for one, communicate by letter with all gate inhibition/door lock in the sub-district for one; Comprise that also two MCU connect this two interfaces respectively, the first microcontroller MCU1 connects the MODEM interface, and the second microcontroller MCU2 connects gate inhibition/door lock interface; Also comprise a slice flash memory, be used for temporary information;
Described terminal comprises two communication interfaces, all is the wireless transmission interface, communicate by letter with repeater for one, one with the contactless ic cartoon letters; Comprise that also a slice MCU connects this two communication interfaces, and a slice flash memory is used for temporary information; The control circuit, executing agency and the terminal power supply that also comprise gate inhibition/door lock.
6. the system equipment of wireless centralized Control gate inhibition according to claim 5/door lock is characterized in that:
Two microcontroller MCU carry out exchanges data by three mouth lines among the described MODEM, first microcontroller is main MCU, second microcontroller is auxilliary MCU, first microcontroller connects flash memory and RS232/RS485 conversion IC, and the serial ports TXD of microcontroller MCU, RXD pin connect T1, R1 pin or T2, the R2 pin of RS232/RS485 conversion IC; Two MCU carry out exchanges data by three mouth lines in the described repeater, first microcontroller is main MCU, and second microcontroller is auxilliary MCU, connects the flash memory and first wireless module, the PA interface number of the going to the station to meet somebody toggle switch SW1 and the SW2 of second microcontroller also connect second wireless module; Wireless module IC in the described wireless transmission interface adopts the CC1000 integrated circuit.
7. the system equipment of wireless centralized Control gate inhibition according to claim 5/door lock is characterized in that:
Also comprise clock IC in the control circuit of described terminal, adopt the PCF8563 integrated circuit; Also comprising a motor rotating executive circuit, is that the master constitutes by transistor Q1~Q8, the P1.7 pin of the OPEN-DOOR input termination AT89C52 integrated circuit of circuit, the P2.6 pin of another CLOSE-DOOR input termination AT89C52 integrated circuit of circuit; Also comprise a slice voltage detecting IC, the P0.0 pin of its output termination AT89C52; Described flash memory adopts the AT24C64 integrated circuit; Described microcontroller MCU adopts the AT89C52 integrated circuit; Described door lock power supply adopts powered battery.
8. the system equipment of wireless centralized Control gate inhibition according to claim 5/door lock is characterized in that:
Be provided with first to fourth microswitch (29,31,34,39) and motor (38) in the executing agency of described door lock; Described first microswitch (29) contacts with key turns lining tooth (33), and second microswitch (31) contacts with dead bolt driving lever (21), and the 3rd microswitch (34) contacts with locking tongue (25), and the 4th microswitch (39) contacts with the anti-dead bolt (40) of dialling; Described contactless ic card reader is installed in the card reader shell
9. the system equipment of wireless centralized Control gate inhibition according to claim 8/door lock is characterized in that:
Two power lines of described motor (38), one connects the interlinkage of transistor Q1 in the motor positive and inverse executive circuit, Q3 colelctor electrode, and another power line connects the interlinkage of transistor Q2, Q4 colelctor electrode.
CNB021517967A 2002-12-31 2002-12-31 Method for central radio control of entrance guard and door locks and system device Expired - Fee Related CN1261663C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB021517967A CN1261663C (en) 2002-12-31 2002-12-31 Method for central radio control of entrance guard and door locks and system device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB021517967A CN1261663C (en) 2002-12-31 2002-12-31 Method for central radio control of entrance guard and door locks and system device

Publications (2)

Publication Number Publication Date
CN1512028A CN1512028A (en) 2004-07-14
CN1261663C true CN1261663C (en) 2006-06-28

Family

ID=34234514

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB021517967A Expired - Fee Related CN1261663C (en) 2002-12-31 2002-12-31 Method for central radio control of entrance guard and door locks and system device

Country Status (1)

Country Link
CN (1) CN1261663C (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102084349A (en) * 2008-04-04 2011-06-01 亚利桑那董事会,代表亚利桑那大学行事的亚利桑那州法人团体 Fault-and variation-tolerant energy-and area-efficient links for network-on-chips
CN102549625A (en) * 2009-06-08 2012-07-04 哈罗产品有限公司 Electronic door lock for reduced power consumption

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1807788A4 (en) * 2004-08-27 2010-03-31 Honeywell Ltd An access control system and a method of access control
CN1862602A (en) * 2006-06-13 2006-11-15 张家荣 Directional wireless input device and safety input system using same
MX2012005723A (en) 2009-12-07 2012-06-13 Dolby Lab Licensing Corp Decoding of multichannel aufio encoded bit streams using adaptive hybrid transformation.
CN101833802B (en) * 2010-04-02 2012-01-25 杭州英杰电子有限公司 Large real-time wireless networking door control system powered by dry battery
CN101847280A (en) * 2010-05-19 2010-09-29 温州市博克电子有限公司 Intelligent access control system based on wireless network technology
JP5677875B2 (en) * 2011-03-16 2015-02-25 日立マクセル株式会社 Non-contact power transmission system
CN102737426A (en) * 2012-06-05 2012-10-17 深圳光启创新技术有限公司 Infrared induction type chargeable photon door lock
CN102810220B (en) * 2012-07-31 2014-12-24 深圳光启创新技术有限公司 Access control system based visible light signal transmission method and access control system
CN104637147A (en) * 2015-01-30 2015-05-20 青岛海尔智能家电科技有限公司 Method and device for searching network by triggering wireless communication module of fingerprint door lock

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102084349A (en) * 2008-04-04 2011-06-01 亚利桑那董事会,代表亚利桑那大学行事的亚利桑那州法人团体 Fault-and variation-tolerant energy-and area-efficient links for network-on-chips
CN102549625A (en) * 2009-06-08 2012-07-04 哈罗产品有限公司 Electronic door lock for reduced power consumption

Also Published As

Publication number Publication date
CN1512028A (en) 2004-07-14

Similar Documents

Publication Publication Date Title
CN1261663C (en) Method for central radio control of entrance guard and door locks and system device
CN102496199B (en) Intelligent entrance guard control system with wireless ad hoc network function and control method thereof
CN100388298C (en) System and method of implementing online reading of second generation of identity cards by means of shared SAM_V
CN207879097U (en) A kind of light cross-connecting box smart lock based on cloud platform and NB-IOT
CN107257250A (en) A kind of electric power wireless communication terminal based on Micro USB interfaces
CN109472908A (en) A kind of intelligence lock administration system and method
CN107749885A (en) Smart machine remote password management method and Lora smart machine networked systems
CN201163421Y (en) Fingerprint gate inhibition system of hotel
CN202870558U (en) RFID (Radio Frequency Identification)-based stereo garage control system
CN205140039U (en) Distributed intelligence video identification access control system
CN204791039U (en) Card equipment is read to two take place of split type ID cards based on smart mobile phone
CN207083082U (en) A kind of electric power wireless communication terminal based on Micro USB interfaces
CN206505472U (en) Low-power consumption Internet of Things gate inhibition based on NFC
CN101217438A (en) An electric energy collection hybrid networking communication techniques
CN102548134A (en) Digital addressable lighting system and method integrating functions of safety protection and emergency recourse
CN104991455A (en) Member self-adaptive adjusting method of intelligent household system
CN107422181A (en) A kind of electric energy meter for supporting 698 communications protocol
CN207010837U (en) A kind of intelligence divides householder's machine and visible dialogue system
CN206657411U (en) Intelligent door lock system
CN205665762U (en) Lock system that intelligence tool to lock and tool to lock are constituteed
CN101068293A (en) Home long-distance management device
CN109035518A (en) A kind of intelligent building owner's access management system
CN207133627U (en) A kind of Quick Response Code ladder control privilege control system
CN111815932A (en) Block chain-based electricity consumption information acquisition method and device
CN206363541U (en) A kind of intelligent parking looks for vehicle controller and its system

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: 20060628

Termination date: 20141231

EXPY Termination of patent right or utility model