導入
In IoT, タイミングとコミュニケーションに関しては、すべてのデバイスが同じ「言語」を話すわけではありません. で LoRaWAN, 定義された3つのデバイスクラスがあります, B, およびc - それぞれがデータを送信および受信するための独自のパターンを備えています. 違いを知ることが重要です. デバイスの応答速度に影響します, バッテリーでどれくらい続くか, そして、彼らがあなたのユースケースにどれだけうまく適合しますか.
What are LoRa and LoRaWAN?
LoRa is the wireless modulation that carries data over long distances using low power. LoRaWAN is the network protocol that sits on top, defining how devices connect, send, and receive messages through gateways to a network server. LoRa is the physical layer. LoRaWAN is the rules of the conversation.
What are LoRaWAN Classes?
クラスA
What is Class A
Class A is the baseline. Every LoRaWAN device supports it. It’s the most power-efficient option, ideal for battery-powered devices.
How does it work?
A device sends an uplink whenever it needs to. Right after that, it opens two short receive windows — RX1 and RX2 — for possible downlinks from the network. If nothing comes in, it goes back to sleep until the next uplink. Downlink messages can only be delivered right after an uplink.
長所
–Lowest power use
–Works well for devices that send data infrequently
–Simple to deploy and scale
短所
–High downlink latency
–Server can only send data after the device transmits
–Not suitable for real-time control
クラスb
What is Class B
Class B builds on Class A by adding scheduled receive slots. It’s a middle ground between Class A’s efficiency and Class C’s responsiveness.
How does it work?
The network sends out regular time-synced beacons. Devices use these IoTビーコン to align their internal clocks. Alongside the two receive windows after an uplink, Class B devices also open “ping slots” at specific times. This lets the network send downlinks on schedule, reducing latency compared to Class A.
長所
–Lower downlink latency than Class A
–Can do scheduled unicast or multicast messages
–Still possible to run on batteries
短所
–Higher power use than Class A
–Requires network and device time sync–
–Slightly more complex setup
クラスC
What is Class C
Class C keeps the receive window open almost all the time. It’s for applications where immediate action matters more than saving power.
How does it work?
Like Class A, there are RX1 and RX2 windows, but RX2 stays open continuously, only closing during an uplink transmission. This means the server can send a downlink almost instantly at any time. The trade-off: much higher energy use, so these devices are usually mains-powered.
長所
–Lowest downlink latency
–Real-time control possible
–Can receive data at any moment
短所
–High power consumption
–Rarely practical for battery use
–More sensitive to network interference
The Differences of Class A, Class B and Class C?
Class A listens only right after it talks.
Class B listens after it talks and also at agreed times.
Class C listens almost all the time.
Class A uses the least power but has the longest wait for downlink. Class B trades a bit of power for faster responses. Class C is always ready but needs constant power.
Quick Showing of Different LoRaWAN Classes
特徴 | クラスA | クラスb | クラスC |
---|---|---|---|
Uplink | Anytime | Anytime | Anytime |
Downlink Timing | Only right after an uplink (two short receive windows) |
After uplink and at scheduled ping slots |
Almost anytime except during uplink |
Latency for Downlink | Highest | 中くらい | Lowest |
Power Use | Lowest | 中くらい | Highest |
Extra Requirements | なし | Network time sync via beacons |
Continuous power 可用性 |
一般的な用途 | 環境モニタリング, 資産管理 | Utility meters, street lighting | Fire alarms, 工業用 control |
よくある質問
Which end device class consumes the lowest power?
Class A — because it spends most of its life asleep and only opens receive windows briefly after sending.
Which device class has the lowest downlink latency?
Class C — its receive window is open nearly all the time, so the network can send commands instantly.
Which device class is synchronized to the network using periodic beacons?
Class B — it listens for network beacons to keep its schedule aligned.