Access Control, lesson 4 of 14
Controllers and panels
Lesson 3 followed the card number down the cable from the reader. At the other end is the controller, which keeps the list, makes the decision and writes the record. This lesson opens its cabinet, and asks the question that separates good systems from fragile ones: what happens when the controller is cut off from everything else?
Who decides when the network is down?
Pick a situation, then play or step through it.
The everyday picture
A restaurant chain has a head office and many branches. Head office writes the menu and the prices. Each branch manager keeps a printed copy.
When the phone line to head office is down, a good branch carries on. The manager already has the menu, serves customers, and keeps the receipts in a drawer to send in later. A badly organized branch has to phone head office to ask the price of every dish, and closes the moment the line drops.
The server is head office. The controller is the branch manager. The receipts in the drawer are stored events. A well-designed access system is built like the good branch.
Inside the cabinet
A controller is usually sold as a metal cabinet, often called a panel. Open the door and you find the same things in almost every brand.
- Controller boardThe small computer. It stores the list, the schedules and recent events, and it has a network socket.
- Door modulesAdd-on boards with the screw terminals for each door: reader port, lock relay and two inputs. More doors need more modules.
- Power supply and batteryTurns AC power into 12 or 24 volts for the boards, readers and locks, and keeps them going through a power cut.
- Cabinet tamper switchReports when the cabinet door is opened, so nobody can reach the wiring unnoticed.
The cabinet always goes on the protected side of the building, in a locked room. Anyone who can reach its relay terminals can open its doors with a short piece of wire.
Two ways to lay out a building
| Central panels | A controller at each door | |
|---|---|---|
| Where it sits | A cabinet in a closet serves 8, 16 or more doors | A small unit above the ceiling beside each door |
| Cable | Several cables from the closet to every door | One network cable to each door, often carrying power as well |
| Servicing | Everything in one place | A ladder at every door |
| If one unit fails | Many doors stop | One door stops |
| Suits | Dense buildings with many doors per floor | Spread-out sites and doors added later |
Many real buildings mix the two: panels for the busy core, single-door controllers for the far corners.
Check yourself
The network to the server fails for an hour. In a well-designed system, what do people at the doors notice?
Inputs that cannot be fooled
A door position switch is two wires and a switch. A simple input only asks: are the two wires connected or not? That leaves a hole. Someone could twist the two wires together, and the controller would believe the door is closed for ever.
A supervised input closes the hole. The installer fits small resistors at the switch, at the far end of the cable. A resistor lets only a set amount of current through, so the controller can now tell four situations apart.
| What the controller measures | What it means |
|---|---|
| The expected amount of current | Door closed. All is well. |
| About half as much | Door open. |
| Far too much | The wires have been joined together. Someone is tampering. |
| None at all | The cable has been cut. |
These are called end-of-line resistors. They only work at the end of the line. Fitted inside the cabinet, where it is easier, they protect nothing.
How long can it work alone?
While a controller is cut off, it stores events in its memory. That memory has a limit. When it is full, most controllers overwrite the oldest events, and those records are gone.
Will the records survive the outage?
Change the numbers to match a site.
Sixty hours is a network fault that starts on Friday evening and is fixed on Monday morning. Check the storage figure on a controller's data sheet before you buy it, not after.
Three examples
Simple: a shop with two doors
A shop has a front door and a stockroom door. One two-door controller in the back office handles both. The software runs on the shop's computer or as an online service. With so few doors there is nothing to lay out, and the whole system fits in one small cabinet.
Medium: a school with forty doors
A school has four wings with ten doors each. Pulling forty sets of cable back to one room would mean runs of several hundred feet. Instead the designer puts one panel in a closet in each wing. Each panel serves its own ten doors, and one network cable links each closet to the server.
Now a fault in one wing leaves the other three working, and no cable run is long.
Advanced: the fallback nobody chose
A clinic buys low-cost controllers. Months later the network fails overnight, and in the morning a card that was canceled last year opens the pharmacy door.
The controllers held no list of their own. With no server to ask, they dropped into a fallback mode that accepts any card carrying the site's facility code. The feature was in the manual, and it was switched on by default.
The lesson is to ask three questions of every controller: does it keep the full list, what exactly does it do when cut off, and can that behavior be changed?
From the field
- Leave spare capacity. Buildings grow. Fill a panel to about three quarters and leave room for the doors that will be added next year.
- Test the outage, do not assume it. Unplug the network cable during commissioning, badge at a door, plug it back in, and check the event arrives.
- Label every cable at the cabinet with the door it serves. A cabinet of forty identical gray cables costs hours on every later visit.
- Keep firmware current. A controller is a computer on a network and needs updates like one.
- Change the default password before the unit goes on the network.
Common mistakes
- Mounting the cabinet in a corridor or ceiling space on the public side.
- Fitting end-of-line resistors at the cabinet instead of at the switch.
- Assuming every controller keeps working without its server.
- Filling every port on day one, so the first extra door needs a whole new panel.
- Leaving the cabinet tamper switch disconnected.
Summary
- The server holds the master list. Each controller holds its own copy and decides by itself.
- A controller cabinet contains the board, door modules, power and a tamper switch, and belongs on the protected side.
- Central panels suit dense buildings. A controller at each door suits spread-out ones.
- Supervised inputs use resistors at the switch to detect a cut or joined cable.
- Stored events have a limit. Know it before a long outage finds it for you.
Exercises
Answer each one yourself first, then open the answer.
Exercise 1. A site records 250 events an hour and its controller stores 10,000. How long can the network be down before records are lost?
Show answer
Exercise 2. A supervised input suddenly measures no current at all. What happened, and is the door open or closed?
Show answer
Exercise 3. A warehouse has six doors spread along a building 900 feet long. Central panel or a controller at each door?
Show answer
Exercise 4 (think, don't memorize). A manager cancels an employee's card at 5 p.m. The network to one building has been down since 3 p.m. Does the card still work there? What would you do about it?