CN105239874A - Controller for A door and B door - Google Patents

Controller for A door and B door Download PDF

Info

Publication number
CN105239874A
CN105239874A CN201510515315.4A CN201510515315A CN105239874A CN 105239874 A CN105239874 A CN 105239874A CN 201510515315 A CN201510515315 A CN 201510515315A CN 105239874 A CN105239874 A CN 105239874A
Authority
CN
China
Prior art keywords
door
subsystem
control box
walkway
chip
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.)
Granted
Application number
CN201510515315.4A
Other languages
Chinese (zh)
Other versions
CN105239874B (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.)
Chengdu Univeristy of Technology
Original Assignee
Chengdu Univeristy of Technology
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 Chengdu Univeristy of Technology filed Critical Chengdu Univeristy of Technology
Priority to CN201510515315.4A priority Critical patent/CN105239874B/en
Publication of CN105239874A publication Critical patent/CN105239874A/en
Application granted granted Critical
Publication of CN105239874B publication Critical patent/CN105239874B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a controller for an A door and a B door. The controller comprises an A door sub-system, a B door sub-system and a network switch. The A door sub-system and the B door sub-system are of the same structure and each comprise an upper computer, a main controller and a control box. Each control box comprises a pedestrian passageway control box body and a vehicle passageway control box body and is connected with the corresponding main controller through a 485 interface. The main controllers are connected with the upper computers through the network switch. The A door sub-system and the B door sub-system are in a mutual exclusion relationship. According to the controller for the A door and the B door, the main controllers in the A door sub-system and the B door sub-system are connected through the Ethernet, interaction of all states of the doors between the A door sub-system and the B door sub-system is achieved, the state interaction is independent of the upper computers, and the state interaction between the two doors is extremely timely; acting is conducted after reporting, and the phenomenon that the A door and the B door are opened at the same time can be completely eliminated. Besides a traditional key-pressing control way, commands are allowed to be sent through software of the upper computers for field control and remote control, the states of the doors are reported automatically, and supervision is facilitated for management departments.

Description

AB door controller
Technical field
The present invention relates to a kind of gate control device, particularly relate to a kind of AB door controller.
Background technology
At the prison, the Code in Hazardous Special Locations such as detention house, there is the situation of escorting personnel's turnover, be divided into and escort turnover by personnel channel and porte-cochere escorts turnover, in order to avoid suspect run away, rebellion escapes from prison or the generation of other dangerous accidents, need to control effectively to passage gate.
Generally present gate divides two kinds, and a kind of is exactly the gate at one outpost of the tax office, and clearance personnel pass in and out.Another arranges a transit passage, and passage two ends arrange the outpost of the tax office, and when the outpost of the tax office, one end is opened, the other end is closed, and reach the function of transition, cushioning control, we suppose that the outpost of the tax office, two ends is called A door and B door respectively.
No matter but which kind of situation above-mentioned, all there are the following problems: traditional control mode is artificial button+Control, intercom calls, (when namely A door is opened, B door must close for mutex relation between control AB door, when B door is opened, A door must be closed), because human factor easily occurs controlling error, it performs practically no function to cause the mutual exclusion before AB door.There is problems such as escaping from prison, run away.
Although also there is now the controller by the mutual exclusion of software control AB door, but because it carries out independent control to A, B door, controller obtains AB door state needs the time, and there is the problems such as software vulnerability, also can cause obtaining A, B door state not in time, its situation just as void of the mutual exclusion before A, B door occurs.
Summary of the invention
Object of the present invention is just to provide one to solve the problem, data interaction in time, there will not be two sides to open the door simultaneously and be beneficial to the AB door controller of authorities' supervision.
To achieve these goals, the technical solution used in the present invention is such: a kind of AB door controller, it is characterized in that: comprise A door subsystem, B door subsystem and the network switch, described A door subsystem is identical with B door subsystem structure, comprise host computer, master controller and control box, wherein, control box comprises walkway control box and vehicle driving passage control box, control box is connected with master controller by 485 interfaces, and described master controller is connected with host computer by the network switch;
Described walkway control box is connected with corresponding walkway door and vehicle driving passage door with vehicle driving passage control box, the open, close, suspend of control gate;
Described host computer is for sending the control command of door;
Described master controller comprises the push-button unit obtaining key commands; And described control command and key commands include open and close, the time-out of walkway door; The open and close of vehicle driving passage door, time-out;
A door subsystem is connected by Ethernet with the master controller in B door subsystem, each state of door between mutual A, B door subsystem, receives control command and the key commands of host computer, after analyzing and processing, controls control box and performs corresponding action; And A door subsystem and B door subsystem are mutex relation, described mutex relation is, when a subsystem walkway door is not closed, another subsystem walkway door cannot be opened, when one subsystem vehicle driving passage door is not closed, another subsystem vehicle driving passage door cannot be opened.
In the present invention, A door subsystem is identical with B door subsystem structure, is separately positioned on the two ends of prison or detention house passage, all comprises walkway control box and vehicle driving passage control box, controls respectively to the walkway at passage two ends and vehicle driving passage.Two subsystems are in real time by each state of the mutual door between the two of Ethernet, and this state mutual without host computer, the state of the two is mutual at the right time.
As preferably: described control box comprises single-chip microcomputer STC15F408A, 485 interface circuits be connected with microcontroller serial port, the outputting circuit for relay be connected with single-chip I/O mouth and protects input circuit;
Wherein, described outputting circuit for relay comprises several relay be connected with motor, and described motor is the motor of control gate motion, and single-chip microcomputer changes the folding condition of door by the break-make of control relay;
Described protection input circuit comprises the magnetic switch sensor being arranged on assigned address on door, and whether the condition adjudgement door that single-chip microcomputer root obtains magnetic switch sensor moves to assigned address, after moving to assigned address, controls motor stalling.
As preferably: described door is also provided with infrared sensor, and described infrared sensor is connected with the I/O port of single-chip microcomputer, when detecting that Men Shangyou blocks or single-chip microcomputer receives control command or key commands are the time-out of door, then stop door-closing operation.
As preferably: described relay is five, and wherein four are connected with the motor of door, a device taking alarm.
As preferably: described master controller comprises main control chip, the touch screen be connected with main control chip AD mouth, 485 interface circuits be connected with main control chip serial ports, the Ethernet interface that is connected with main control chip I/O port, and described push-button unit is also connected with main control chip by I/O port;
Wherein, described push-button unit comprises 6 buttons, and corresponding 6 key commands, are respectively the open and close of walkway door, time-out, the open and close of vehicle driving passage door, time-out; Described main control chip obtains key information, after judging mutex relation, if mutual exclusion, does not perform key commands, otherwise performs key commands.
As preferably: in described key circuit, each button also correspondence is provided with an indicator lamp, and when main control chip performs key commands, corresponding indicator lamp is bright.
As preferably: the real-time status of described touch screen show gate.
Compared with prior art, the invention has the advantages that:
1.A door subsystem is connected by Ethernet with the master controller in B door subsystem, each state of door between mutual A, B door subsystem, this state mutual without host computer, and the state of the two is mutual at the right time.
2.A door subsystem and B door subsystem are exactly mutex relation on arranging, that is, when a subsystem walkway door is not closed, another subsystem walkway door cannot be opened, when one subsystem vehicle driving passage door is not closed, another subsystem vehicle driving passage door cannot be opened; Add the mutual in time of information between two master controllers, first action after report, can stop the phenomenon that AB door is opened simultaneously completely.
3. a master controller can hang multiple control box, controls multiple tracks door, is beneficial to expansion.
4. control mode is except traditional key mode, also allows to send order by upper computer software, can carry out field control and Long-distance Control, and automatically report the state of door, be beneficial to the supervision of administrative department.
5. adopt ARM controller, system is more reliable and more stable.
Accompanying drawing explanation
Fig. 1 is present system block diagram;
Fig. 2 is Host Controller Architecture block diagram in the present invention;
Fig. 3 is control box structured flowchart in the present invention;
Fig. 4 is single chip circuit figure in control box;
Fig. 5 is 485 interface circuit figure in control box;
Fig. 6 is power circuit diagram in control box;
Fig. 7 protects input circuit figure in control box;
Fig. 8 is for being control box repeat circuit output circuit figure;
Fig. 9 is master controller power circuit diagram;
Figure 10 is 485 interface circuit figure in main device;
Figure 11-1 is Ethernet interface Part I circuit diagram in master controller;
Figure 11-2 is Ethernet interface Part II circuit diagram in master controller;
Figure 11-3 is Ethernet interface Part III circuit diagram in master controller;
Figure 12 is push-button unit circuit diagram in master controller;
Figure 13-1 is main control chip Part I circuit diagram in master controller;
Figure 13-2 is main control chip Part I circuit diagram in master controller;
Figure 13-3 is main control chip Part I circuit diagram in master controller.
Detailed description of the invention
Below in conjunction with accompanying drawing, the invention will be further described.
Embodiment 1: see Fig. 1, Fig. 2 and Fig. 3, a kind of AB door controller, comprise A door subsystem, B door subsystem and the network switch, described A door subsystem is identical with B door subsystem structure, comprises host computer, master controller and control box, wherein, control box comprises walkway control box and vehicle driving passage control box, and control box is connected with master controller by 485 interfaces, and described master controller is connected with host computer by the network switch;
Described walkway control box is connected with corresponding walkway door and vehicle driving passage door with vehicle driving passage control box, the open, close, suspend of control gate;
Described host computer is for sending the control command of door;
Described master controller comprises the push-button unit obtaining key commands; And described control command and key commands include open and close, the time-out of walkway door; The open and close of vehicle driving passage door, time-out;
A door subsystem is connected by Ethernet with the master controller in B door subsystem, each state of door between mutual A, B door subsystem, receives control command and the key commands of host computer, after analyzing and processing, controls control box and performs corresponding action; And A door subsystem and B door subsystem are mutex relation, described mutex relation is, when a subsystem walkway door is not closed, another subsystem walkway door cannot be opened, when one subsystem vehicle driving passage door is not closed, another subsystem vehicle driving passage door cannot be opened.
See Fig. 4 to Fig. 8, in the present embodiment, described control box comprises single-chip microcomputer STC15F408A, 485 interface circuits be connected with microcontroller serial port, the outputting circuit for relay be connected with single-chip I/O mouth and protects input circuit; This circuit is connected with 485 interface circuits in master controller, and communication, the signal of realization and master controller are mutual.
Wherein, described outputting circuit for relay comprises several relay be connected with motor, and described motor is the motor of control gate motion, and single-chip microcomputer changes the folding condition of door by the break-make of control relay; Described relay is five, and wherein four are connected with the motor of door, a device taking alarm.Outputting circuit for relay is see Fig. 5; Wherein, relay interface signal has: motor L1-1, motor L1-2, motor 1 center line; Motor L2-1, motor L2-2, motor 2 center line.In concrete control circuit, single-chip microcomputer STC15F408A is connected with ULN2803 driving chip by I/O pin, is directly connected with relay by ULN2803 chip.Main control chip, by controlling high level and the low level of I/O pin, comes control relay adhesive and disconnection.
Described protection input circuit comprises the magnetic switch sensor being arranged on assigned address on door, and whether the condition adjudgement door that single-chip microcomputer root obtains magnetic switch sensor moves to assigned address, after moving to assigned address, controls motor stalling.
Described door is also provided with infrared sensor, and described infrared sensor is connected with the I/O port of single-chip microcomputer, when detecting that Men Shangyou blocks or single-chip microcomputer receives control command or key commands are the time-out of door, then stops door-closing operation.
In control box, outputting circuit for relay and protection input circuit can cooperatively interact, and complete the switching action of door; concrete principle is; single-chip microcomputer, after completing port initializes, waits for the control command of being come by 485 interface circuits, after such as receiving door opening command; then open enabling relay group; door is opened, when door runs to close to when ending into position, magnetic switch sensor action; after microprocessor detect to magnetic switch sensor action, close enabling relay group.Other command action this principle similar.
The input of protection port is defined as: open limit signal 1, close limit signal 1, common port 1; Open limit signal 2, close limit signal 2, common port 2; Infrared, close infrared.The function of the limit signal of open and close is: when electric machine rotation drives door to move to assigned address; external magnetic switch sensor can change state, is input to single-chip microcomputer, disconnects motor relay after being judged by single-chip microcomputer by protection port; motor is shut down, and door is in the state opened or closed.
Infrared, close infrared function and be: when someone blocks doorway infrared sensor, the change of state, by infrared or close infrared port and be input to single-chip microcomputer, judged by single-chip microcomputer, if be in pass door state, then stops closing the door action, with anti-pinch people.
See Fig. 9 to Figure 13, described master controller comprises main control chip, the touch screen be connected with main control chip AD mouth, 485 interface circuits be connected with main control chip serial ports, the Ethernet interface that is connected with main control chip I/O port, and described push-button unit is also connected with main control chip by I/O port;
In the present embodiment, main control chip adopts CPU model to be Tiny6410, Tiny6410 is a embedded core board using ARM11 chip (Samsung S3C6410) as primary processor, this CPU designs based on ARM1176JZF-S core, inside is integrated with powerful multi-media processing unit, supports Mpeg4, H.264/H.263 waits the video file hardware compression of form, can export LCD and TV display to, it is and and with 3D graphics hardware accelerator simultaneously.
Described push-button unit comprises 6 buttons, and corresponding 6 key commands orders, are respectively the open and close of walkway door, time-out, the open and close of vehicle driving passage door, time-out; Described main control chip obtains key information, after judging mutex relation, if mutual exclusion, does not perform key commands, otherwise performs key commands.
In described key circuit, each button also correspondence is provided with an indicator lamp, and when main control chip does not perform key commands, corresponding indicator lamp is bright.
Push button, the interruption of wince system will be caused, CPU6410 process press key message in notice master controller, according to different keypress functions, perform corresponding operation, such as open the gate of walkway, master controller first judges the on off state at gate, walkway in opposite side (another subsystem), if to side door be the state of opening, then invalid (2 doors are mutual exclusions in this order, the same time can only open one), if be closed condition to side door, then send out and open the order of gate, walkway, by 485 interfaces to control box, control box receives orders, resolve command, perform respective action, state door after completing returns to 6410 again, 6410 and can put to host computer by network interface in liquid crystal screen display, host computer is allowed to upgrade the status information of door.
In addition, touch screen is set, for the real-time status of show gate.
In the present invention, master controller can hang multiple control box, and by 485 interface circuit communications, 485 interfaces are a kind of half-duplex operation interfaces, and mode of operation is master-slave mode; Hang below main frame multiple from machine time, identify it is communicate from machine with that according to address.
During practical operation, suppose to need enterprising mistake of escorting prisoners from walkway, pass by through A door subsystem, walkway, B door subsystem successively, now, by the walkway control box in host computer or manual key control A door subsystem, make it control corresponding corresponding walkway door and open; Personnel's admission passage now, cannot open completely by the walkway door in B door subsystem.
When people's admission passage, and after safety, closed by the walkway door in host computer or manual key control A door subsystem, after closedown, then the walkway door of control B door subsystem is opened, and now, the walkway door in B door subsystem is controlled.
Vehicle driving passage door principle is identical with walkway processed door.

Claims (7)

1. an AB door controller, it is characterized in that: comprise A door subsystem, B door subsystem and the network switch, described A door subsystem is identical with B door subsystem structure, comprise host computer, master controller and control box, wherein, control box comprises walkway control box and vehicle driving passage control box, and control box is connected with master controller by 485 interfaces, and described master controller is connected with host computer by the network switch;
Described walkway control box is connected with corresponding walkway door and vehicle driving passage door with vehicle driving passage control box, the open, close, suspend of control gate;
Described host computer is for sending the control command of door;
Described master controller comprises the push-button unit obtaining key commands; And described control command and key commands include open and close, the time-out of walkway door; The open and close of vehicle driving passage door, time-out;
A door subsystem is connected by Ethernet with the master controller in B door subsystem, each state of door between mutual A, B door subsystem, receives control command and the key commands of host computer, after analyzing and processing, controls control box and performs corresponding action; And A door subsystem and B door subsystem are mutex relation, described mutex relation is, when a subsystem walkway door is not closed, another subsystem walkway door cannot be opened, when one subsystem vehicle driving passage door is not closed, another subsystem vehicle driving passage door cannot be opened.
2. AB door controller according to claim 1, is characterized in that: described control box comprises single-chip microcomputer STC15F408A, 485 interface circuits be connected with microcontroller serial port, the outputting circuit for relay be connected with single-chip I/O mouth and protects input circuit;
Wherein, described outputting circuit for relay comprises several relay be connected with motor, and described motor is the motor of control gate motion, and single-chip microcomputer changes the folding condition of door by the break-make of control relay;
Described protection input circuit comprises the magnetic switch sensor being arranged on assigned address on door, and whether the condition adjudgement door that single-chip microcomputer root obtains magnetic switch sensor moves to assigned address, after moving to assigned address, controls motor stalling.
3. AB door controller according to claim 2, it is characterized in that: described door is also provided with infrared sensor, described infrared sensor is connected with the I/O port of single-chip microcomputer, when detecting that Men Shangyou blocks or single-chip microcomputer receives control command or key commands are the time-out of door, then stop door-closing operation.
4. AB door controller according to claim 2, is characterized in that: described relay is five, and wherein four are connected with the motor of door, a device taking alarm.
5. AB door controller according to claim 1, it is characterized in that: described master controller comprises main control chip, the touch screen be connected with main control chip AD mouth, 485 interface circuits be connected with main control chip serial ports, the Ethernet interface that is connected with main control chip I/O port, and described push-button unit is also connected with main control chip by I/O port;
Wherein, described push-button unit comprises 6 buttons, and corresponding 6 key commands, are respectively the open and close of walkway door, time-out, the open and close of vehicle driving passage door, time-out; Described main control chip obtains key information, after judging mutex relation, if mutual exclusion, does not perform key commands, otherwise performs key commands.
6. AB door controller according to claim 5, is characterized in that: in described key circuit, each button also correspondence is provided with an indicator lamp, and when main control chip performs key commands, corresponding indicator lamp is bright.
7. AB door controller according to claim 1, is characterized in that: the real-time status of described touch screen show gate.
CN201510515315.4A 2015-08-21 2015-08-21 Ab door controller Expired - Fee Related CN105239874B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510515315.4A CN105239874B (en) 2015-08-21 2015-08-21 Ab door controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510515315.4A CN105239874B (en) 2015-08-21 2015-08-21 Ab door controller

Publications (2)

Publication Number Publication Date
CN105239874A true CN105239874A (en) 2016-01-13
CN105239874B CN105239874B (en) 2017-03-01

Family

ID=55037671

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510515315.4A Expired - Fee Related CN105239874B (en) 2015-08-21 2015-08-21 Ab door controller

Country Status (1)

Country Link
CN (1) CN105239874B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018010343A1 (en) * 2016-07-13 2018-01-18 杭州海康威视数字技术股份有限公司 Method, device and system for controlling opening of ab doors
CN112037370A (en) * 2020-07-28 2020-12-04 中国人民武装警察部队浙江省总队 Prison door anti-false-playing system based on electronic entrance guard

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5992094A (en) * 1997-02-11 1999-11-30 Diaz; William Access control vestibule
CN200982118Y (en) * 2006-05-24 2007-11-28 上海精工科技有限公司 Centralization type door guard management device for prison
CN102063750A (en) * 2010-11-23 2011-05-18 无锡港湾网络科技有限公司 Anti-following AB door entrance/exit management system
CN102278042A (en) * 2010-11-24 2011-12-14 钟永财 Safe protecting door system
CN102855676A (en) * 2012-09-18 2013-01-02 深圳市神拓机电设备有限公司 Mining explosion-proof access control system
CN104196397A (en) * 2014-09-08 2014-12-10 李超 Automatic control device for door A and door B of prison

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5992094A (en) * 1997-02-11 1999-11-30 Diaz; William Access control vestibule
CN200982118Y (en) * 2006-05-24 2007-11-28 上海精工科技有限公司 Centralization type door guard management device for prison
CN102063750A (en) * 2010-11-23 2011-05-18 无锡港湾网络科技有限公司 Anti-following AB door entrance/exit management system
CN102278042A (en) * 2010-11-24 2011-12-14 钟永财 Safe protecting door system
CN102855676A (en) * 2012-09-18 2013-01-02 深圳市神拓机电设备有限公司 Mining explosion-proof access control system
CN104196397A (en) * 2014-09-08 2014-12-10 李超 Automatic control device for door A and door B of prison

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018010343A1 (en) * 2016-07-13 2018-01-18 杭州海康威视数字技术股份有限公司 Method, device and system for controlling opening of ab doors
CN112037370A (en) * 2020-07-28 2020-12-04 中国人民武装警察部队浙江省总队 Prison door anti-false-playing system based on electronic entrance guard
CN112037370B (en) * 2020-07-28 2022-02-18 中国人民武装警察部队浙江省总队 Prison door anti-false-playing system based on electronic entrance guard

Also Published As

Publication number Publication date
CN105239874B (en) 2017-03-01

Similar Documents

Publication Publication Date Title
CN105239874A (en) Controller for A door and B door
CN103617661B (en) Wireless unlocking system and method for unlocking thereof
CN105715139A (en) Platform electrical door controller with full-redundancy control function
CN104481331A (en) Remote door opening/closing control system
CN204436132U (en) Remote switch accelerator control system
CN103235541A (en) Automatic gate control circuit
CN203078480U (en) Driver off-seat alarm control system based on Bluetooth technology
CN108107865B (en) Fault diagnosis method and equipment for inner end door of motor train unit
CN101259927B (en) Elevator control system with main and auxiliary computer board
CN206957441U (en) Mine flameproof and intrinsically safe throttle control device
CN203097556U (en) Door controller beside platform
CN201152939Y (en) Domestic control apparatus
CN205827476U (en) Multi-functional gate control system
CN205287588U (en) True man's outdoor scene amusement control system
CN204856474U (en) General man -machine interface device based on FPGA
CN204302701U (en) High-voltage switch gear five-defence block speech logic control device
KR101552310B1 (en) access control system using comprehensive wiegand signal gemerator
CN204205936U (en) Based on the single supply supply unit of ComExpress module
CN208508969U (en) Control display screen in intelligent terminal center is opened up when a kind of
CN203644093U (en) Wireless unlocking system
CN206431710U (en) A kind of intelligent entrance guard control system
CN207010529U (en) A kind of 8 rail road power-supply controller of electric
CN205809583U (en) Linkage door control system based on CAN
CN204189000U (en) A kind of self closing door remote monitoring and control system
CN105929756A (en) Intelligent security server control system design method based on ARM architecture

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB03 Change of inventor or designer information

Inventor after: Tang Ying

Inventor after: Huang Fengjiang

Inventor after: Qiu Shi

Inventor before: Tang Ying

Inventor before: Huang Fengjiang

COR Change of bibliographic data
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20170301

Termination date: 20200821