Figure 1 Some examples of wireless sensor applications
Figure 2 shows the various wireless sensor technologies currently under development. From this figure, we can see that different wireless sensor networks ultimately hope to achieve communication with the Internet, which may be the channel for these sensor networks to finally converge.
Figure 2 Some of the wireless sensor network technologies currently under development worldwide
The basic architecture of a wireless sensor network system consists of three parts. The first part is a wireless transceiver chip, which is responsible for converting digital information into high-frequency wireless signals for transmission and restoring received high-frequency wireless signals into digital information. For wireless sensor transceiver chips, IEEE 802.15.4 can provide the best solution for wireless sensor applications, because the IEEE 802.15.4 specification may be the main and possibly the only practical standard. Currently, there are many companies around the world that provide transceiver chips in this area. Chips such as TI's CC2420/CC2520 are particularly suitable for low power consumption characteristics of button batteries and low-power applications.
To implement a typical wireless sensor network node and router, a multi-chip solution can be used, as shown in Figure 3, which consists of a wireless transceiver chip and a microcontroller (single-chip microcomputer). The microprocessor can use the low-power MSP430, and the wireless chip can use CC2520/CC2420, etc.
Figure 3 Typical wireless sensor network node or router
second part of the wireless sensor network architecture is the embedded software running inside the microcontroller or wireless microcontroller, also known as the software protocol stack (network stack). The network stack has two responsibilities. First of all, it must handle the frequent changes in the quality of wireless link communication between nodes and the interference caused by environmental factors on wireless communication, and have the ability to self-organize and self-recover the network; the second function of the network stack is to have a strong routing algorithm capability to ensure that information is reliably and efficiently sent from the source node (if it exists, it can be sent through hundreds or thousands of routing nodes) to the target node through various network topologies (star/mesh, etc.). Ensure the real-time requirements of communication.
The ZigBee Alliance is an independent standards organization composed of many technology suppliers and developers. It is also the world's largest alliance providing network software protocol stack standards based on the IEEE 802.15.4 platform.
The organization has been continuously developing from ZigBee2004, ZigBee2006, and ZigBee2007. The two network stacks currently provided are: ZigBee and ZigBee PRO. From the perspective of use, the ZigBee stack is very suitable for small networks that generally contain ten to hundreds of nodes. ZigBee PRO is a superset of ZigBee. It adds some functions to expand the network and better deal with wireless interference from other technologies. It can adapt to larger networks and has more reliable routing communication algorithms and wireless communication reliability. The third part of the wireless
sensor network architecture is application software. This part includes various software codes developed according to the user's existing development. Most of these codes are currently developed in C language, and can call the functions of the software protocol stack in the form of interfaces and APIs.
Among the various wireless sensor network technologies, we believe that using the 802.15.4 international standard and ZigBee technology as the starting point for our design of wireless sensor systems has the following advantages:
compatible with a global and reliable international standard.
Large chip suppliers such as TI and Freescale can be used to obtain stable sources of wireless transceiver chips and wireless microcontrollers, and free ZigBee protocol stacks and related source codes can also be obtained to lower the threshold for opening.
The ability to use high-performance software compilation and debugging environments such as KEIL and IAR can greatly speed up the opening speed and shorten the listing cycle.
What should I prepare for the design of a wireless sensor network system?
First of all, we need to prepare some knowledge and the technology and knowledge required for wireless sensor networks. Although we may be familiar with microcontrollers and related software development technologies, wireless transceivers and wireless SoCs (wireless microcontrollers) still have their own unique features, and IEEE802.15.4 and ZigBee protocol stacks are also knowledge areas with certain difficulties. Fortunately, there are already a large number of technical books available for reference in wireless sensor networks and wireless microcontrollers. Figure 4 shows some technical books related to wireless sensors, which may be helpful for getting started with wireless sensor networks.
Secondly, we still need an easy-to-use wireless sensor network (WSN) development system, because:
we need a complete software compilation and development platform, including IAR and KEIL compilation and debugging environments, online simulators and other necessary development tools.
The difficulty of our entry into wireless sensor system design is to master the use of wireless sensor network protocol stack software as soon as possible, and enter the development of related application software as soon as possible, so we need a set of wireless nodes, gateways, routers and wireless modules that have completed high-frequency testing to conduct hardware evaluation and run our embedded application software and protocol stack software.
We need to interface related temperature, pressure, acceleration, light, humidity and other sensors to this system to facilitate our system design.
When we enter an unfamiliar technical field, we often encounter many difficulties, and we need corresponding technical support and knowledge support.
At present, many domestic companies have launched various wireless sensor network development tools. Figure 5 is a new product of Chengdu Wireless Dragon Communication Technology Co., Ltd., a domestic company, which supports the American Texas Instruments TI CC2520 wireless transceiver and TI's ZigBee2007/PRO protocol stack wireless sensor network (WSN) development system. It includes an online simulator, PC GUI network monitoring and control software, related source code wireless sensor network demonstration code packaging, etc. It is one of the optional domestic tools for quickly entering the wireless sensor network system design.
Wireless Sensor Network Development System
After we have completed the above knowledge preparation and relevant development tool preparation, we can start a wireless sensor design process. Next, we take a home energy-saving wireless sensor network system as an example to see the actual process of a wireless sensor network. The block diagram of the home energy-saving system is shown in Figure 6.
Figure 6 Home energy saving system using ZigBee network technology
The design tasks include designing wireless sensor network units (wireless nodes) embedded in home appliances, home wireless display units and home energy control units (wireless nodes or wireless routers), energy management gateways (wireless gateways), etc.
First, we use multiple wireless SoC modules (including wireless microcontrollers such as CC2430) provided by the Wireless Dragon WSN wireless sensor development system platform, download TI ZigBee protocol stack and smart energy related codes, and conduct wireless communication effect and reliability evaluation. This software package is provided free of charge by TI (after actual testing and evaluation by Wireless Dragon engineers) and can be used for technology development free of charge. Figure 7 is the software structure.
Figure 7 ZigBee Smart Energy Software Package
Then we can still directly use these wireless SoC modules to add our application design, such as LED and LCD display parts, which can display the real-time electricity bill and whether there is energy waste at home. At the same time, we design the relevant control circuits we need, such as switch control and motor control, so as to perform energy-saving control on appliances such as air conditioners when necessary.
Since there is a set of network protocol analyzers and monitors in the development tools provided by Wireless Dragon, we can clearly monitor the various wireless packaging contents transmitted in the air during the test process, so as to quickly determine whether our wireless communication software code is correct.
Due to the use of ready-made high-frequency modules, we avoid the difficulties of high-frequency technology involved in getting started, but focus our main energy on the most important direction, our application code and the hardware design required by our application, which greatly speeds up the progress of system productization; for the wireless modules used in the products in customer orders, we can easily find OEM professional manufacturers to produce them. If everything goes well, this ZigBee home energy-saving system will hopefully be completed in 3-4 weeks.
Previous article:Banner Ultrasonic Sensors Provide Flexible Solutions
Next article:How to Start Designing a Wireless Sensor Network System
- Popular Resources
- Popular amplifiers
- Melexis launches ultra-low power automotive contactless micro-power switch chip
- Infineon's PASCO2V15 XENSIV PAS CO2 5V Sensor Now Available at Mouser for Accurate CO2 Level Measurement
- Milestone! SmartSens CMOS image sensor chip shipments exceed 100 million units in a single month!
- Taishi Micro released the ultra-high integration automotive touch chip TCAE10
- The first of its kind in the world: a high-spectral real-time imaging device with 100 channels and 1 million pixels independently developed by Chinese scientists
- Melexis Launches Breakthrough Arcminaxis™ Position Sensing Technology and Products for Robotic Joints
- ams and OSRAM held a roundtable forum at the China Development Center: Close to local customer needs, leading the new direction of the intelligent era
- Optimizing Vision System Power Consumption Using Wake-on-Motion
- Infineon Technologies Expands Leading REAL3™ Time-of-Flight Portfolio with New Automotive-Qualified Laser Driver IC
- Innolux's intelligent steer-by-wire solution makes cars smarter and safer
- 8051 MCU - Parity Check
- How to efficiently balance the sensitivity of tactile sensing interfaces
- What should I do if the servo motor shakes? What causes the servo motor to shake quickly?
- 【Brushless Motor】Analysis of three-phase BLDC motor and sharing of two popular development boards
- Midea Industrial Technology's subsidiaries Clou Electronics and Hekang New Energy jointly appeared at the Munich Battery Energy Storage Exhibition and Solar Energy Exhibition
- Guoxin Sichen | Application of ferroelectric memory PB85RS2MC in power battery management, with a capacity of 2M
- Analysis of common faults of frequency converter
- In a head-on competition with Qualcomm, what kind of cockpit products has Intel come up with?
- Dalian Rongke's all-vanadium liquid flow battery energy storage equipment industrialization project has entered the sprint stage before production
- Allegro MicroSystems Introduces Advanced Magnetic and Inductive Position Sensing Solutions at Electronica 2024
- Car key in the left hand, liveness detection radar in the right hand, UWB is imperative for cars!
- After a decade of rapid development, domestic CIS has entered the market
- Aegis Dagger Battery + Thor EM-i Super Hybrid, Geely New Energy has thrown out two "king bombs"
- A brief discussion on functional safety - fault, error, and failure
- In the smart car 2.0 cycle, these core industry chains are facing major opportunities!
- The United States and Japan are developing new batteries. CATL faces challenges? How should China's new energy battery industry respond?
- Murata launches high-precision 6-axis inertial sensor for automobiles
- Ford patents pre-charge alarm to help save costs and respond to emergencies
- New real-time microcontroller system from Texas Instruments enables smarter processing in automotive and industrial applications
- My thoughts
- Qorvo's RF front-end technology innovation leads the development of 5G terminals
- The official website CC2541SDK cannot print via serial port
- Why does dsp use BIOS?
- Decoupling capacitors
- Let's talk about out of stock issues
- What is the US energy metering chip that corresponds to ATT7021?
- 28335 cannot connect to JTAG, urgent help!!!!!!
- Summary of pspice circuit simulation
- Playing with Zynq Serial 40——[ex59] Binocular vision image acquisition and display example based on Zynq