With the progress of science and technology, the smart home has slowly stepped into the home life of ordinary residents, which will certainly be the future development trend of lifestyle. In the current smart home equipment market is rich and colorful, a variety of equipment networking methods are different, in the cost, power consumption, distance, and other characteristics also have a variety of different, of course, the different networking methods also directly affect the different ways of control technology, such as Bluetooth LED Controller. Currently, we are widely known networking methods include wifi, Zigbee, and Bluetooth, and so on.
- WiFi is very good, but the chip module is relatively high cost, and power consumption, small devices used in less, of course, the amount of data transmission, has been plugged into the device is basically WiFi
- ZigBee, the current market share of the basic first, convenient networking, low power consumption, suitable for transmission network control signaling, connection stability is also good, very suitable for small smart home devices
- Bluetooth mesh, rapid development in recent years, although the beginning of Bluetooth technology is not geared to the smart home field, in these years has been adapted to the smart home field, the potential of the later, compared to ZigBee, with the cell phone side of the adaptation is also more convenient, can be free of gateway devices, but the ecology is not mature enough. At this stage, home lighting is already in use. Such as Bluetooth LED Controller and Bluetooth Mesh Bridge
This article analyzes the network characteristics and performance of Bluetooth mesh for different solutions. The Bluetooth mesh network is a Bluetooth standard approved in 2017, which is a networking technology, Bluetooth 4.0 or above support BLE low-power chips are supported. Bluetooth 5.0 is the latest standard of Bluetooth, mainly to improve 2 times the transmission speed and 4 times the transmission distance, and Bluetooth mesh is two concepts.
Bluetooth Mesh Features
Bluetooth Mesh is born out of the private protocol advocated by CSR – CSR Mesh, the technology was born in 2014.
The Bluetooth Technology Alliance officially announced on July 19 last year that Bluetooth (Bluetooth) technology began to fully support mesh networks. The new Mesh feature provides many-to-many transmission between devices and specifically improves the ability to build communication over a wide range of network coverage for building automation, wireless sensor networks, and other IoT solutions that need to allow tens of thousands of devices to transmit in a reliable and secure environment.
The network node types of Bluetooth mesh are as follows:
Proxy (proxy node): Through the proxy node, cell phones and pads and other Bluetooth-enabled devices can access every device in the network.
Edge (edge node): ordinary node, does not support relay and other functions, just ordinary send and receive data.
Relay (relay node): It can be used as a relay for messages, forwarded to other nodes, and can receive messages themselves.
Friend+Low power node: These two nodes are used together, Friend node can cache the information of the Low power node so that the Low power node can be in a dormant state and wake up regularly to retrieve messages from the Friend node to meet the low power application.
Bluetooth mesh is different from Zigbee, it does not use routing protocols, but uses network flooding management technology, simply put, the data sent by a node will be forwarded by all nodes that support relaying, but will not be forwarded infinitely, the node that has forwarded the data will no longer be forwarded, at the same time, Bluetooth mesh has some special mechanisms, such as packet survival cycle (Time To Live) management, is also effective in preventing the infinite forwarding of data.
The network characteristics of Bluetooth mesh are as follows.
1) The network does not need a central node
Bluetooth mesh is very different from other mesh topology, no central gateway, node to node communication, node access, are achieved through the configuration.
2) Node information, network entry can be configured
The node is configured to complete the network entry, no cumbersome entry interaction process, and the corresponding entry process routing table establishment.
3) Flooding mode is used for communication
Compared with the general mesh based on routing table communication, Bluetooth mesh uses broadcast + relay receiving and forwarding mechanisms to complete the delivery of messages.
4) Communication uses the publish/subscribe model
The node publishes information, sends the message to the corresponding address, and the node subscribing to the address, will receive the message; this feature allows one-to-many control as well as many-to-one control; for example, one switch can control three light bulbs, and one light bulb can be controlled by three switches. this feature also takes full advantage of Bluetooth Mesh broadcast communication.
5) Dual security mechanism
Bluetooth Mesh adopts the application layer security key and network security key to protect the security of the network; the network security key is applied to the whole network, while the application layer key is dedicated to protecting the specialized end nodes; for example, the light control message can be forwarded by the same network of switches, actuators, etc., while the switch, actuators forwarding process, can not decrypt the specific application data, even if the same network, but also can not achieve the light control (which increases the difficulty of cracking the network).
6) Low power support
for low-power such as battery-powered nodes, other nodes can be formulated as Friend nodes of low-power nodes, when the low-power node goes to sleep, Friend nodes can receive low-power node messages instead, and after the low-power node wakes up, the data will be passed to the low-power node.
7) Proxy support
For traditional BLE devices that have implemented BLE 4.0/4.2 protocol, traditional BLE nodes can join the mesh network through proxy nodes; the proxy nodes and traditional BLE nodes can pass messages through specific GATT profiles.
Bluetooth mesh performance analysis
Silicon Lab has specifically done a network performance comparison test between Zigbee network, Thread network (based on Zigbee protocol supporting IPv6), and Bluetooth mesh, where Bluetooth mesh sets all nodes as routing nodes, so there is some room for optimization for dense networks.
From the following two tests, data can be seen, for 192 nodes of the small and medium-sized network, Bluetooth mesh in 8 bytes of short data transmission is more advantageous, the transmission delay is less than 100ms, significantly better than Zigbee, while when the data is 16 bytes, the performance is the worst.
The test also shows that the performance of the Thread network is far ahead, and also excellent performance in large data, but this protocol is not well promoted now, and the consumption of resources is relatively large.
Times are changing, our life also with the development of technology, a radical change, the type and function of the smart home continues to expand, as the connection of smart products Bluetooth technology will bring us a surprise in the future again? Let’s wait and see.