跳到正文
VGroup.IT Solutions
网络中级8 分钟阅读

PoE 功率预算详解:为摄像机和 AP 供电

为什么摄像机白天正常、晚上掉线:802.3af/at/bt、交换机如何实际分配 PoE 功率预算,以及后端的 UPS。

PoE 功率预算详解:为摄像机和 AP 供电
本页内容
  1. Two terms first
  2. The standards
  3. A switch has two limits, not one
  4. How we calculate on site
  5. What causes the "random" outages
  6. Don't forget the UPS
  7. Cameras or APs more than 100 m away
  8. Our view for Lao sites
  9. Send us your device list

The most common symptom we see on CCTV service calls: everything works during the day, then around 6 pm some cameras start rebooting or the picture drops in and out. The camera is rarely faulty. The switch simply runs out of PoE budget once every camera's IR illuminators switch on at the same time.

This guide explains how a switch actually counts power, and how much headroom you need.

Two terms first

Power over Ethernet (PoE) carries data and power over a single network cable. IP cameras, access points, IP phones and face-recognition terminals don't need their own outlet, and everything can ride on one UPS in the rack.

  • PSE (power sourcing equipment): the switch or injector supplying power
  • PD (powered device): the device receiving it

The standards

Standard Common name Max at PSE port Guaranteed at PD Pairs used Typical devices
802.3af (Type 1) PoE 15.4 W 12.95 W 2 pairs IP phones, basic fixed cameras
802.3at (Type 2) PoE+ 30 W 25.5 W 2 pairs Wi-Fi 6 APs, cameras with strong IR
802.3bt (Type 3) PoE++ / 4PPoE 60 W about 51 W 4 pairs Larger Wi-Fi 7 APs, PTZ cameras
802.3bt (Type 4) PoE++ / 4PPoE 90 W about 71 W 4 pairs PTZ with heaters, displays

The gap between PSE and PD is the worst-case loss over 100 m of cable. Maximum PoE distance is the same 100 m as ordinary Ethernet.

Watch out for "passive PoE" (24 V or 48 V applied without any negotiation). It is not an IEEE standard. Some outdoor wireless gear still uses it, and plugging the wrong device into it can kill that device instantly.

A switch has two limits, not one

The first is maximum power per port, for example 30 W for PoE+. The second is the total budget the whole switch can deliver at once, for example 370 W on a typical 24-port model.

A 24-port PoE+ switch cannot deliver 30 W on every port simultaneously (24 × 30 = 720 W). The box says "24-Port PoE+" in large print. The total budget is on the last page of the datasheet. Read that page before you order.

The part most people miss: how the switch allocates power

Many switches don't deduct from the budget based on what a device actually draws. They reserve power by class, as declared by the device. A camera that announces itself as Class 4 gets 30 W reserved, even if it really draws 9 W. The switch then reports the budget as exhausted and refuses power to the next port, while real consumption is far below the limit.

Most managed switches let you choose the mode (class-based, actual/consumption-based, or LLDP negotiation). Know which mode your switch uses before you calculate. Unmanaged PoE switches usually can't be configured and tend to allocate by class.

How we calculate on site

  1. List every device with its maximum draw from the device datasheet (for cameras, the figure with IR on; for outdoor cameras with heaters, the figure with the heater running)
  2. Note each device's class, in case the switch allocates by class
  3. Add it all up, then add 20–30% headroom
  4. Compare with the switch budget, and confirm each port supports the standard that device needs

Example: a mid-sized warehouse

Device Qty Max draw Total
Bullet camera with IR 12 8 W 96 W
PTZ camera 2 40 W 80 W
Wi-Fi 6 access point 6 20 W 120 W
IP phone 4 5 W 20 W
Total 316 W
+ 25% headroom about 395 W

A 370 W switch is not enough. Choose a model with roughly 500 W or more, or split the load across two switches (cameras on one, APs and phones on the other). The 40 W PTZ cameras exceed PoE+, so they need 802.3bt ports.

The same warehouse, as a class-based switch sees it

Each device declares a class when it connects. In class mode, the switch reserves the full class amount at the PSE port:

Class Reserved at switch port Delivered to device
1 4 W 3.84 W
2 7 W 6.49 W
3 (or 0) 15.4 W 12.95 W
4 30 W 25.5 W
5 / 6 45 W / 60 W 40 W / 51 W
7 / 8 75 W / 90 W 62 W / 71.3 W

Now redo the warehouse. The 12 bullet cameras declare Class 3: 12 × 15.4 = 184.8 W. The two PTZs declare Class 6: 2 × 60 = 120 W. The six APs declare Class 4: 6 × 30 = 180 W. The four phones declare Class 2: 4 × 7 = 28 W. Reserved total: 512.8 W, against a real draw of 316 W.

So on a 500 W switch running in class mode, the last device to boot gets no power, even though the switch is only delivering about 60% of its budget. Two fixes: switch the allocation to actual consumption or LLDP negotiation where the switch supports it, or size the budget for the reserved figure. On unmanaged switches only the second fix is available.

Checking a switch that is already running

Every managed PoE switch shows, per port, the class detected, the power allocated and the power actually consumed, plus the total remaining budget. Look at that page twice: once at midday and once after dark with IR on. If the remaining budget at night is under 15% of the total, you have no room for the next camera. Write both readings into the site documentation so the next engineer has a baseline.

If you'd rather not do it by hand, try our PoE budget calculator.

What causes the "random" outages

  • Reading "PoE+" on the box and never checking the total budget
  • Not knowing the switch allocates by class, calculating from real draw, and then the last few ports get no power
  • IR cameras draw more at night, so the fault only appears after sunset, and a technician who visits during the day finds nothing
  • Cheap CCA (copper-clad aluminium) cable has higher resistance, heats up and drops voltage under high-power PoE. Use solid copper only
  • A switch in an unventilated cabinet overheats, and some models cut their PoE budget to protect themselves

Don't forget the UPS

All PoE power comes from the switch. When mains fails, cameras and Wi-Fi go dark with it. In Vientiane and many provinces we regularly see brownouts and flicker between 17:00 and 19:00 when load peaks, which is exactly when IR switches on.

Size the UPS for the switch's own consumption + the actual PoE load (not the maximum budget) + everything else in the rack, such as the NVR and firewall. For switches that power security cameras we recommend an online UPS, or at minimum a line-interactive unit with AVR. You can check runtime with our UPS runtime calculator.

Cameras or APs more than 100 m away

Fence lines, mine gatehouses, car parks: plenty of points sit more than 100 m from the nearest switch. There are three proper options:

Option How it works Notes
PoE extender Takes PoE in and passes it on for another 100 m Power drops at each hop; fine for 1–2 hops
Fiber + outdoor switch Fiber to a cabinet with AC power and a PoE switch Best for long runs; fiber doesn't conduct lightning surges
Media converter + PoE injector Fiber in, PoE out Good for one or two devices

Don't stretch copper past the standard just because the camera came up during testing. Testing happens in daylight. At night, with IR on, or on a hot April afternoon, the voltage at the far end won't be enough.

Our view for Lao sites

Keep at least 25–30% headroom. A rack cabinet without air conditioning easily reaches 40°C inside, and most sites end up adding cameras later.

For outdoor cabinets at mines or car parks, use industrial PoE switches rated for wide temperature ranges, surge protection on both the AC side and the LAN side, and a dust-tight enclosure (IP55 or better). In the rainy season, lightning destroys more PoE ports than everything else combined.

One more thing: when switches come in from Thailand, check the plug and input voltage, and keep the datasheet for the exact model you bought. Sub-models in the same series often have different budgets.

Send us your device list

Take a photo of your camera and AP list (brand, model, quantity) and send it on WhatsApp. Our engineers will check each device's class, work out the budget and UPS, and tell you whether the switches you already own can still do the job.

常见问题

Can 802.3af devices run on a PoE+ or 802.3bt switch?

Yes. Newer IEEE standards are backward compatible: the switch detects the class and supplies what the device asks for. The reverse is the problem: a device that needs 802.3bt on a PoE+ port won't start, or runs with features disabled.

Will PoE damage a laptop or a device that doesn't support PoE?

Standard IEEE PoE won't, because the switch first detects a valid PoE device before applying power. The real risk is passive PoE, which applies voltage without checking. Label passive ports and injectors clearly.

Why do cameras only drop out at night?

With IR on, cameras draw noticeably more, and cameras with heaters draw more when it is cool. If the budget is tight, or the run is long on CCA cable, the voltage at the camera sags and it reboots. Check the remaining budget at night and the cable length.

How big a PoE budget do we need for 16 cameras?

It depends on the camera. Sixteen bullet cameras at 8 W maximum draw 128 W, about 160 W with 25% headroom. But if the switch reserves by Class 3 it will set aside 246 W, so a budget of around 250–370 W is the safe choice. Try your own numbers in our PoE budget calculator.

  • #poe
  • #poe budget
  • #802.3af
  • #802.3at
  • #802.3bt
  • #switch
  • #ups

相关计算工具

相关解决方案

相关指南

发给我们建筑平面图或几张现场照片

我们会先询问一些细节,再给出初步设计方案。首次咨询免费,可用老挝语、泰语或英语,通过 WhatsApp 或 Facebook 主页联系。