ai

Power Supply กล้องวงจรปิดคือ — เลือก Power

Power Supply กล้องวงจรปิดคือ — เลือก Power

Power Supply CCTV

Power Supply กล้องวงจรปิดคือ — เลือก Power

Power Supply กล้องวงจรปิด CCTV Adapter PoE Switch PoE Injector Power Box UPS Backup วัตต์ การคำนวณ การติดตั้ง Maintenance

TypeVoltagePowerDistanceCostเหมาะกับ
Adapter 12V12V DC1-5A per unit< 100mต่ำกล้อง 1-2 ตัว
Power Box12V DC10-30A shared< 100mปานกลางกล้อง 4-16 ตัว
PoE Switch48V DC (PoE)15.4-90W/port100m per portสูงกล้อง IP 4-48 ตัว
PoE Injector48V DC15.4-30W100mต่ำกล้อง IP 1 ตัว
24V AC24V AC2-4A per unit< 150mปานกลางPTZ Camera
Solar + Battery12V DC50-200W panelStandaloneสูงRemote ไม่มีไฟ

Power Calculation

# === Power Supply Calculation ===

from dataclasses import dataclass

@dataclass
class Camera:
    model: str
    cam_type: str
    voltage: str
    current: float
    watt: float
    poe_class: str
    ir_power: float

cameras = [
    Camera("Dome 2MP", "IP PoE", "48V PoE", 0.27, 13.0, "PoE (Class 3)", 3.0),
    Camera("Bullet 4MP", "IP PoE", "48V PoE", 0.52, 25.0, "PoE+ (Class 4)", 8.0),
    Camera("PTZ 2MP", "IP PoE++", "48V PoE++", 1.25, 60.0, "PoE++ (Class 6)", 15.0),
    Camera("Dome 2MP", "Analog", "12V DC", 1.0, 12.0, "N/A", 4.0),
    Camera("Bullet 5MP", "Analog", "12V DC", 1.5, 18.0, "N/A", 6.0),
    Camera("Wireless", "WiFi", "12V DC", 0.8, 9.6, "N/A", 2.0),
]

print("=== Camera Power Specs ===")
for c in cameras:
    print(f"  [{c.model}] Type: {c.cam_type} | {c.voltage}")
    print(f"    Current: {c.current}A | Power: {c.watt}W | IR: +{c.ir_power}W")
    print(f"    PoE Class: {c.poe_class}")

# Power Budget Calculation
def calculate_power(cam_list, quantity_list, margin=1.3):
    total = 0
    print(f"\n=== Power Budget ===")
    for cam, qty in zip(cam_list, quantity_list):
        power = (cam.watt + cam.ir_power) * qty
        total += power
        print(f"  {cam.model} x{qty}: {cam.watt + cam.ir_power:.0f}W x {qty} = {power:.0f}W")
    with_margin = total * margin
    print(f"  Subtotal: {total:.0f}W")
    print(f"  + {(margin-1)*100:.0f}% margin: {with_margin:.0f}W")
    print(f"  Recommended PSU: >= {with_margin:.0f}W")
    return with_margin

# Example: 6 Dome + 2 Bullet IP cameras
required = calculate_power(
    [cameras[0], cameras[1]],
    [6, 2]
)

PoE Switch Selection

# === PoE Switch Selection Guide ===

@dataclass
class PoESwitch:
    model: str
    ports: int
    poe_standard: str
    per_port_w: float
    total_budget_w: float
    uplink: str
    price_range: str

switches = [
    PoESwitch("TP-Link TL-SG1008P", 8, "PoE (802.3af)", 15.4, 64, "None", "2,000-3,000"),
    PoESwitch("TP-Link TL-SG1016PE", 16, "PoE+ (802.3at)", 30, 192, "None", "5,000-7,000"),
    PoESwitch("Ubiquiti USW-Lite-8-PoE", 8, "PoE+ (802.3at)", 30, 52, "1G SFP", "4,000-5,000"),
    PoESwitch("Ubiquiti USW-Pro-24-PoE", 24, "PoE++ (802.3bt)", 60, 400, "2x 10G SFP+", "15,000-20,000"),
    PoESwitch("Dahua PFS3010-8ET-96", 8, "PoE (802.3af/at)", 30, 96, "2x Uplink", "3,000-4,000"),
    PoESwitch("Hikvision DS-3E0510HP-E", 8, "PoE+ (802.3at)", 30, 110, "2x Uplink", "3,500-5,000"),
]

print("=== PoE Switch Options ===")
for s in switches:
    print(f"  [{s.model}] {s.ports} Ports | {s.poe_standard}")
    print(f"    Per Port: {s.per_port_w}W | Budget: {s.total_budget_w}W")
    print(f"    Uplink: {s.uplink} | Price: {s.price_range} THB")

# Selection Logic
def select_switch(num_cameras, watts_per_camera, need_ptz=False):
    total_watts = num_cameras * watts_per_camera * 1.3
    min_ports = num_cameras + 2  # +2 for uplink
    poe_type = "PoE++" if need_ptz else "PoE+" if watts_per_camera > 15 else "PoE"

    print(f"\n  Recommendation for {num_cameras} cameras @ {watts_per_camera}W:")
    print(f"    Total Power (30% margin): {total_watts:.0f}W")
    print(f"    Min Ports: {min_ports}")
    print(f"    PoE Standard: {poe_type}")

    for s in switches:
        if s.ports >= min_ports and s.total_budget_w >= total_watts:
            print(f"    Suggested: {s.model} ({s.total_budget_w}W budget)")
            return s
    print(f"    No single switch found — use multiple or higher model")
    return None

select_switch(8, 16)
select_switch(4, 25, need_ptz=True)

UPS and Installation

# === UPS Backup and Installation ===

@dataclass
class UPSOption:
    model: str
    va: int
    watts: int
    battery: str
    runtime_150w: str
    ups_type: str
    price: str

ups_options = [
    UPSOption("APC BX600", 600, 360, "12V 7Ah x1", "20 min", "Line-interactive", "2,500"),
    UPSOption("APC BX1100", 1100, 660, "12V 7Ah x2", "45 min", "Line-interactive", "4,500"),
    UPSOption("CyberPower UT1050E", 1050, 630, "12V 9Ah x1", "35 min", "Line-interactive", "3,500"),
    UPSOption("APC SMT1500", 1500, 1000, "12V 9Ah x2", "70 min", "Online", "12,000"),
    UPSOption("APC SRT2200", 2200, 1980, "External pack", "120+ min", "Online", "35,000"),
]

print("UPS Options:")
for u in ups_options:
    print(f"  [{u.model}] {u.va}VA / {u.watts}W | {u.ups_type}")
    print(f"    Battery: {u.battery} | Runtime @150W: {u.runtime_150w}")
    print(f"    Price: {u.price} THB")

# Installation Checklist
checklist = {
    "Survey": "สำรวจจุดติดตั้ง วัดระยะทาง วางแผนเดินสาย",
    "Cable": "สาย LAN Cat6 สำหรับ PoE สาย RG6 สำหรับ Analog",
    "Power": "เดินสายไฟจาก Power Box หรือ PoE Switch",
    "Grounding": "ต่อ Ground ป้องกันไฟกระชาก ฟ้าผ่า",
    "Surge": "ติด Surge Protector ทุกจุด ป้องกันไฟกระชาก",
    "UPS": "ต่อ UPS กับ NVR DVR PoE Switch ทุกตัว",
    "Labeling": "ติด Label สาย ทุกเส้น ระบุ กล้อง-Port",
    "Testing": "ทดสอบไฟทุก Port วัด Voltage ก่อนต่อกล้อง",
    "Documentation": "บันทึก IP Address Port Power ทุกกล้อง",
    "Maintenance": "ตรวจ UPS ทุก 3 เดือน เปลี่ยน Battery ทุก 2-3 ปี",
}

print(f"\n\nInstallation Checklist:")
for k, v in checklist.items():
    print(f"  [{k}]: {v}")

เคล็ดลับ

  • Margin: เผื่อ Power 30% เสมอ ไม่ใช้เต็มกำลัง
  • PoE: ใช้ PoE Switch ลดสายไฟ จัดการง่ายกว่า
  • UPS: ต่อ UPS ทุกอุปกรณ์ ป้องกันไฟดับ
  • Surge: ติด Surge Protector ป้องกันไฟกระชาก
  • Label: ติด Label สายทุกเส้น แก้ปัญหาง่าย

การนำความรู้ไปประยุกต์ใช้งานจริง

Power Supply กล้องวงจรปิดคือ — เลือก Power

แหล่งเรียนรู้ที่แนะนำ ได้แก่ Official Documentation ที่อัพเดทล่าสุดเสมอ Online Course จาก Coursera Udemy edX ช่อง YouTube คุณภาพทั้งไทยและอังกฤษ และ Community อย่าง Discord Reddit Stack Overflow ที่ช่วยแลกเปลี่ยนประสบการณ์กับนักพัฒนาทั่วโลก

เนื้อหาเกี่ยวข้อง — ดูเพิ่มเติมเรื่อง Parquet Format GreenOps Sustainability

Power Supply กล้องวงจรปิดคืออะไร

อุปกรณ์จ่ายไฟ CCTV Adapter 12V Power Box PoE Switch สาย LAN PoE Injector คำนวณวัตต์ เผื่อ 20-30% จำนวนกล้อง ระยะทาง

PoE กับ Adapter ต่างกันอย่างไร

Adapter 12V DC ราคาถูก สายไฟแยก Analog 100m PoE 48V สาย LAN เส้นเดียว ข้อมูล+ไฟ 100m PoE+ 30W PoE++ 60-90W IP ระบบใหญ่

แนะนำเพิ่มเติม — หนังสือเทรดที่ SiamCafeBook

เนื้อหาเกี่ยวข้อง — แนะนำให้อ่าน Tailscale Mesh Audit Trail Logging

คำนวณ Power Supply อย่างไร

รวมวัตต์ทุกกล้อง 12V 1A = 12W 8 ตัว = 96W เผื่อ 30% = 125W เลือก 150W PoE ดูวัตต์ Port Total Budget Switch เผื่อเสมอ

เนื้อหาเกี่ยวข้อง — ทำความเข้าใจ ChatGPT คือ AI — คู่มือใช้งาน ChatGPT ฉบับสมบูรณ์

ต้องใช้ UPS หรือไม่

ควรใช้เสมอ ไฟดับกล้องทำงานต่อ 600VA 30 นาที Online ดีกว่า NVR DVR PoE Switch Alert Battery ทดสอบ 3 เดือน เปลี่ยน 2-3 ปี

แนะนำเพิ่มเติม — ติดตาม XM Signal

สรุป

Power Supply กล้องวงจรปิด CCTV Adapter PoE Switch Power Box UPS Backup วัตต์ คำนวณ Surge Protector Installation Maintenance

เนื้อหาเกี่ยวข้อง — OpenID Connect Best Practices ที่ต้องรู้

XM Legend · เทรดเดอร์ & ผู้สอน Forex 13 ปี

ผู้ก่อตั้ง SiamCafe ตั้งแต่ปี 1997 · เทรดเดอร์สาย Forex มากกว่า 13 ปี ได้รับการยกย่องเป็น XM Legend · แบ่งปันความรู้ Forex, ไอที, AI และการเทรด จากประสบการณ์จริงในตลาดจริง