Video Surveillance, lesson 9 of 14
The network under the cameras
Every network camera hangs on one cable that brings it power and carries its video away. This lesson shows how to check that a switch can power all its cameras, that the video fits through the link to the recorder, and that the cable is not too long.
Load one switch
Add cameras, raise their bitrate or their power draw, and watch the two limits: the link to the recorder and the power budget.
The everyday picture
Think of a neighborhood of houses on small side streets. Every side street joins one main road into town. Each house sends out only a few cars, so the side streets are never busy. The main road carries all of them at once. If it has too few lanes, traffic backs up for everyone.
Now think of the power strip under a desk. Each plug is fine, yet the strip has a limit for everything added together. Go over it and the breaker trips.
A camera network has both limits. The side streets are the cables to the cameras. The main road is the one link from the switch to the recorder. The power strip is the switch's power budget.
Power down the cable
Access Control introduced Power over Ethernet, or PoE: a switch sends power down the same network cable that carries data. Almost every network camera is powered this way. There are several strengths, each with a standard number you will see on data sheets.
| Common name | Standard | Port supplies up to | Camera can count on | Typical camera |
|---|---|---|---|---|
| PoE | 802.3af | 15.4 W | 12.95 W | Most fixed cameras |
| PoE+ | 802.3at | 30 W | 25.5 W | Strong infrared, a heater, a small moving camera |
| PoE++ (type 3) | 802.3bt | 60 W | 51 W | Larger moving and multi-sensor cameras |
| PoE++ (type 4) | 802.3bt | 90 W | 71.3 W | Heavy outdoor moving cameras with heater and wiper |
The gap between the two middle columns is power lost as heat in up to 328 feet of cable.
Two separate checks apply to every switch:
- Per port. The port must offer the standard the camera needs. A PoE+ camera on a plain PoE port either stays dark or starts and then restarts when its heater or infrared lights come on.
- In total. Every switch has a power budget, the most watts it can give out across all ports together. A 24-port switch with a 130-watt budget cannot run 24 cameras at 12 watts. When the budget runs out, the switch refuses power to some ports.
Always budget with the camera's maximum draw from its data sheet. That is the figure with infrared lights on, heater running and motor moving. A camera that takes 5 watts at noon can take 11 at midnight. Some switches are stricter still and set aside the full amount for each camera's power class, whatever it really draws. Check the switch manual, and leave about a fifth of the budget spare.
Check yourself
A 16-port switch has a 120-watt budget. Each camera draws up to 10 watts. How many cameras can it power?
Where the traffic goes
The amount of data a link can carry each second is its bandwidth. Video uses far more of it than card readers or alarm panels do, and it uses it all day.
Follow the streams. Each camera sends its video to the recorder without a pause, whether or not anyone is watching. So the busiest link on the site is the one into the recorder, which carries every camera at once. That link is called the uplink.
| Link | Usual speed | What it carries | Check |
|---|---|---|---|
| Camera to switch | 100 Mbps | One camera, a few Mbps | Almost never the limit |
| Switch to recorder | 1 Gbps | All cameras on that switch | Add up the bitrates. Keep the total well under the link speed. |
| Recorder to viewing computers | 1 Gbps | Only the cameras on screen | A video wall showing dozens of cameras is a heavy viewer |
| Site to the internet | Whatever the provider sells | Remote viewing and any cloud recording | The upload speed, which is often far lower than the download speed |
How full is too full? Bitrate is an average, and a busy scene pushes it up in bursts. Many designers keep steady video under about 70 percent of a link. Treat that as a habit that leaves room, and use the tool at the top to see how quickly a 100 Mbps link runs out.
Most cameras can send two streams at once: a full-quality main stream for recording, and a small sub stream for viewing many cameras on one screen or on a phone. Sixteen small pictures on a screen do not need sixteen full streams. Sub streams are what make remote viewing possible on an ordinary internet line.
Cable and distance
- The limit is 328 feet. That is 100 meters, and it covers the whole path from switch port to camera, patch cords included. Past it, a link may work on the bench and fail in service.
- Use solid copper cable, category 5e or 6. Avoid cheap cable labeled CCA, which is aluminum with a copper skin. It carries power poorly, breaks at the connector, and does not meet the cabling standards.
- Outdoors, use outdoor-rated cable and fit surge protection where a cable enters the building.
- All four pairs matter. A cable with one damaged pair can still link at 100 Mbps and look healthy, then fail to deliver gigabit speed or full power.
Choose a way to reach a camera
The distance and what lies in between decide the method. Pick a run.
How far is the camera?
A network of its own
Cameras should not share a network freely with office computers. Video would crowd the office traffic, and a camera is a small computer that an attacker on the office network could reach.
- Small sites: a recorder with powered camera ports on its back makes a private camera network by itself. Only the recorder touches the office network.
- Larger sites: use separate switches for cameras, or have the IT team set up a VLAN, which keeps camera traffic apart on shared switches.
- Give every camera a fixed address and record it on the drawings. A camera whose address changes goes missing from the recorder.
- Never open cameras or recorders directly to the internet. Remote viewing should go through the maker's secure service or a private connection set up by IT.
Three examples
Simple: the first cold night
A small site has an 8-port switch with a 65-watt budget. Seven fixed cameras draw up to 6 watts each, which is 42 watts. The eighth is a moving camera that drew 13 watts when tested in August. The total of 55 watts looked safe.
On the first freezing night the moving camera's heater switched on and its draw rose to 25 watts. The total became 67 watts, over budget, and the switch cut power to a port. The data sheet had listed 25 watts as the maximum all along. The fix was a separate power injector for the moving camera.
Medium: the amber light
A school has 30 cameras at 4 Mbps on one switch, which is 120 Mbps toward the recorder. The uplink ports are gigabit, so that should be easy. Yet recordings show gaps and the pictures break up at busy times.
A technician notices the uplink port's light is amber where its neighbors are green. The link has settled at 100 Mbps, because one pair in the patch cable is damaged. 120 Mbps will not fit through 100. A new cable brings the link up at gigabit and the gaps stop.
Advanced: two buildings and a storm
A workshop stands 500 feet from the main building. The installer ran outdoor copper cable with an extender halfway, and it worked for a year. Then a thunderstorm destroyed switch ports at both ends. Nothing was struck directly. A long copper cable between two buildings picks up surges, and the two buildings' electrical grounds are never at quite the same voltage.
The repair used fiber. Glass does not conduct electricity, so a surge cannot travel along it, and distance stops being a concern. A small switch in the workshop powers its cameras locally. Between buildings, fiber is the professional default.
From the field
- Test at night. Infrared lights raise the power draw, and night pictures raise the bitrate. A system that passes at noon can fail at midnight.
- Read the lights on the switch. Link speed and power faults are usually shown per port. Learn what the colors mean on the model you fit.
- Label both ends of every cable with the camera number, and keep a list of which camera is on which port.
- Leave a loop of spare cable at the camera for re-terminating, and make a drip loop outdoors so water runs off before the connector.
- Put the switch and recorder on a battery backup. Because the switch powers the cameras, one battery keeps the whole system recording through a short outage.
- Leave spare ports and spare watts. Someone will ask for two more cameras within the year.
Common mistakes
- Counting ports and forgetting the power budget.
- Budgeting with the daytime power draw.
- Running every camera through a 100 Mbps uplink.
- Stretching a copper run past 328 feet because "it worked when we tested it".
- Putting cameras on the office network, or opening the recorder to the internet for convenience.
Summary
- One cable gives a camera power and carries its video.
- Check each port's standard and the switch's total power budget, using maximum draw.
- The link into the recorder carries every camera. Add the bitrates and leave room.
- Copper reaches 328 feet. Beyond that, add a switch or use fiber. Between buildings, use fiber.
- Keep cameras on their own network, with fixed addresses, and off the open internet.
Exercises
Answer each one yourself first, then open the answer.
Exercise 1. Sixteen cameras each send 5 Mbps to the recorder through one switch. How much traffic is on the uplink, and is a 100 Mbps uplink a good choice?
Show answer
Exercise 2. A switch has a 130-watt budget. You plan ten cameras that draw up to 8 watts and two that draw up to 20 watts. Does the power fit, and what kind of port do the two larger cameras need?
Show answer
Exercise 3. A camera on a 360-foot copper run works all day and drops out some nights. Give two likely reasons.
Show answer
Exercise 4 (think, don't memorize). An owner wants to watch all 32 cameras from home at full quality. Each main stream is 4 Mbps. The site's internet line uploads at 20 Mbps. What do you explain, and what do you set up?