Physical layer design of 802.15.4/ZigBee wireless sensor network nodes
2026-04-06 07:22:00··#1
Abstract: Wireless sensor networks and ZigBee are currently popular research topics. This paper briefly introduces the main advantages of wireless sensor networks based on IEEE 802.15.4/ZigBee, focuses on the sensor node model based on IEEE 802.15.4/ZigBee and several selectable transmission module chips, and presents a practical node design scheme. Keywords: Wireless sensor network; 802.15.4; ZigBee node; Wireless sensor Introduction Wireless applications, represented by sensors and ad hoc networks, do not require high transmission bandwidth, but demand low transmission latency and extremely low power consumption, enabling users to have long battery life and a large number of device arrays. The IEEE 802.15.4/ZigBee standard takes low power consumption and low cost as its main goals, providing an interconnection platform for sensor networks. Currently, the research and development of wireless sensor networks based on this technology is receiving increasing attention. The IEEE 802.15.4 specification is an economical, efficient, low-data-rate (<250kbps) wireless technology operating at 2.4GHz and 868/928MHz. Protocols above the network layer are defined by the ZigBee Alliance, with IEEE 802.15.4 responsible for the physical and data link layer standards. A complete ZigBee protocol suite consists of higher-level application specifications, an application convergence layer, a network layer, and data link and physical layers. The protocol stack structure is shown in Figure 1. [IMG=ZigBee Protocol Stack Structure]/uploadpic/THESIS/2007/11/2007111912064614098W.jpg[/IMG] Figure 1 ZigBee Protocol Stack Structure Physical Layer The physical layer uses DSSS (Direct Sequence Spread Spectrum) technology and provides 27 channels for data transmission and reception. IEEE 802.15.4 defines two physical layer standards: one for the 2.4 GHz band and the other for the 868/915 MHz band. The main functions of the physical layer include: activating and extinguishing RF transceivers, channel energy detection, link quality indication for received data packets, idle channel assessment, and data transmission and reception. The IEEE 802 series of standards divides the data link layer into the Media Access Layer (MAC) and the Logical Link Control Layer (LLC). The MAC sublayer of IEEE 802.15.4 supports various LLC standards. The MAC sublayer uses the services provided by the physical layer to enable data frame transmission between devices; while the LLC sublayer, building upon the MAC sublayer, provides connection-oriented and connectionless services to devices. Specific functions of the MAC sublayer include: the coordinator generating and sending beacon frames; ordinary devices synchronizing with the coordinator based on the coordinator's beacon frames; supporting association and disassociation of PAN networks; supporting communication security on wireless channels; using the CSMA-CA mechanism; supporting the Guard Time Slot (GTS) mechanism; and supporting reliable transmission between the MAC layers of different devices. The LLC sublayer functions include: transmission reliability assurance and control; packet segmentation and reassembly; and packet sequential transmission. Significant Advantages of Sensors Based on the IEEE 802.15.4 standard, coordinated communication can be achieved between thousands of tiny sensors. Furthermore, relaying data from one sensor to another via radio waves using relay methods results in very high communication efficiency. Generally, as communication distance increases, device complexity, power consumption, and system cost all increase. Compared to existing wireless communication technologies, ZigBee technology's low power consumption and low data rate make it the most suitable standard for sensor networks. ZigBee technology is suitable for carrying services with relatively small data traffic, especially in sensor networks. Low Power Consumption and Low Cost In ZigBee-based sensor networks, full-featured devices can act as sink nodes, while terminal nodes typically use reduced-feature devices to reduce system cost and power consumption, and improve battery life. High Capacity and Low Latency A single network can accommodate a higher density of nodes. A single ZigBee network can accommodate up to 254 slave devices and 1 master device. Up to 100 ZigBee networks can exist simultaneously in a given area, making it particularly suitable for large-scale sensor arrays. The ZigBee protocol is simple and highly secure; its stack length is on average only 1/4 that of Bluetooth or other IEEE 802.11 protocols. This simplification is crucial for low cost, interoperability, and maintainability. ZigBee technology provides data integrity checks and authentication functions, offering three security levels and allowing for flexible determination of security attributes, effectively ensuring network security. The design of an IEEE/ZigBee sensor node: 1. Hardware Reference Model of the Sensor Node. A typical wireless sensor network micro-node consists of four parts: a sensor module, a data processing module, a data transmission module, and a power management module. The sensor module is responsible for collecting information from the monitored area and performing data conversion. The collected information can include temperature, humidity, light intensity, acceleration, and atmospheric pressure. The data processing module is responsible for controlling the entire node's processing operations, routing protocols, synchronous positioning, power management, and task management. The data communication module is responsible for wireless communication with other nodes, exchanging control messages and sending and receiving collected data. The power management module selects the sensors used. The node's power supply consists of two 1.5V alkaline batteries; future designs will use miniature button batteries to further reduce size. The sensor node designed in this paper uses an IEEE/ZigBee transmission module instead of a traditional serial communication module to wirelessly transmit the collected information. This node also includes an IEEE/ZigBee wireless communication module, a microcontroller module, sensor modules and interfaces, a DC power supply module, and external memory. 2. Selection of Modules and Components for the Sensor Node With the release of the IEEE/ZigBee standard, major wireless chip manufacturers worldwide have successively launched wireless transceiver chips supporting this standard. These chips mostly integrate the physical layer functions of this standard and can be used as communication modules for the sensor node. A microcontroller is used as the processing module to implement the MAC layer functions. * Selection of Wireless Transceiver Chips The selection of wireless transceiver chips mainly considers the following factors: ① Frequency Band: IEEE 802.14.5 defines two operating frequencies. Generally speaking, higher frequencies provide higher data transmission rates, but place higher demands on the antenna, and higher speeds also mean more energy consumption. Various countries have strict management and supervision of radio products. According to relevant domestic regulations on wireless spectrum management, only devices operating in the 2.4GHz frequency band can be selected. ② Modulation Method: The large scale, high density, and narrow bandwidth of wireless sensor networks (WSNs) result in severe internal communication interference. Therefore, WSNs need to implement simple, anti-interference, low-power, and low-cost modulation and spread spectrum mechanisms. Currently, FSK and OQPSK are widely used. FSK has advantages such as simple equipment, convenient modulation and demodulation, and good resistance to multipath delay. ③ Sleep Current and Wake-up Time: Sensors are usually in a sleep state, and sleep wake-up time and sleep current are essential indicators. Table 1 lists the main indicators of several common transceiver chips. Considering the above factors, the CC2420 and CC2430 RF chips operating in the 2.4GHz band are suitable for use in China. * Processor Selection: The processor is the core of the sensor node. When selecting a processor, it must meet several requirements, including small size, high integration, low power consumption and support for sleep mode, sufficiently high speed, and low cost. AVR microcontrollers achieve an optimized balance in terms of software/hardware overhead, speed, performance, and cost, making them high-performance microcontrollers. High-end ATMega series AVR microcontrollers, mainly including models such as ATMega8/16/32/64/128, integrate large-capacity memory (8/16/32/64/128 KB respectively) and rich and powerful hardware interface circuits, featuring an advanced RISC reduced instruction set architecture. * Sensors and Power Supply: Sensors should be selected according to actual needs and can be temperature, humidity, intensity, acceleration, vibration, etc. The power supply uses AA batteries. Node Reference Design Schematic The circuit schematic of the sensor node reference design is shown in Figure 2. The CC2420 wireless transceiver chip is used as the transmission module, and the AVR Mega128 is used as the processor. Specific sensor devices are not shown in the diagram and can be added according to the specific application. The Mega128 and CC2420 can implement the IEEE 802.15.4 physical layer protocol. [IMG=IEEE/ZigBee-based Wireless Sensor Network Node Reference Design Circuit Diagram]/uploadpic/THESIS/2007/11/2007111912141087121P.jpg[/IMG] Figure 2: IEEE/ZigBee-based Wireless Sensor Network Node Reference Design Circuit Diagram. The circuit design mainly includes three key parts: the RF interface circuit, the processor interface circuit, and the upper-layer application interface circuit. The RF interface is the circuit between the CC2420 chip's RF pins and the antenna. The CC2420's RF signal uses a differential method, and its optimal differential load is 115 + j180Ω. The impedance matching circuit needs to be adjusted according to this value. This design employs a 50-ohm monopole antenna, with an impedance matching circuit using a balun. The balun circuit consists of inexpensive inductors and capacitors (see Figure 2), including inductors L1, L2, and L3, and capacitors C3, C4, C5, and C6. Inductors L1 and L2 also provide DC bias for the chip's internal low-noise amplifier and power amplifier. Conclusion This paper focuses on the advantages of WSNs based on the IEEE 802.15.4/ZigBee standard and their node design. The emergence of a low-cost, low-power, and simple-to-use protocol provides an international standard for interconnectivity in wireless sensor networks and numerous microcontroller-based applications. Microsensors from different manufacturers can only achieve interconnection and networking based on a unified standard. Competition among open products will ultimately lead to mass production of sensors and reduced costs, thus providing a strong opportunity to promote the application of wireless sensor networks and the development of related industries. References 1. ZigBee Alliance document. http://www.ZigBee.Org. 2. IEEE std. 802.15.4. Wireless Medium Access Control (MAC) and Physical Layer (PHY) specifications for Low Rate Wireless Personal Area Networks (LR-WPAN). http://standards.ieee.org/getieee802/download/802.15.4-2003.pdf 3. Yu Haibin, Zeng Peng, Liang Ye. Intelligent Wireless Sensor Network System. Science Press, 2004. 4. Han Xudong, Zhang Chunye. Sensor Wireless Interconnection Standards and Implementation. Electronic Technology Application, 2004, 30(4). Source: "Electronic Products World"